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 : 3501723 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 (4201511) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4201511) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29282223 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4201511'] with mtr_portfolio_ids : ['29282223'] and first list_photo_ids : [] new path : /proc/3501723/ Name: python3 Umask: 0002 State: R (running) Tgid: 3501723 Ngid: 0 Pid: 3501723 PPid: 3501722 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3501723 NSpid: 3501723 NSpgid: 3500412 NSsid: 3500412 VmPeak: 1113364 kB VmSize: 1113364 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 105440 kB VmRSS: 105440 kB RssAnon: 66292 kB RssFile: 39148 kB RssShmem: 0 kB VmData: 872092 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130476 kB VmPTE: 612 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: 45 nonvoluntary_ctxt_switches: 91 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3501723', 'Ngid': '0', 'Pid': '3501723', 'PPid': '3501722', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3501723', 'NSpid': '3501723', 'NSpgid': '3500412', 'NSsid': '3500412', 'VmPeak': '1113364 kB', 'VmSize': '1113364 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '105440 kB', 'VmRSS': '105440 kB', 'RssAnon': '66292 kB', 'RssFile': '39148 kB', 'RssShmem': '0 kB', 'VmData': '872092 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130476 kB', 'VmPTE': '612 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': '45', 'nonvoluntary_ctxt_switches': '91'} ('datou_batch_current', '3501723', '1113364', '0', '1113364', '872092', '105440', b'', 'marlene', '4201511') 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 (29282223) 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 (4201511 ) ) 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 (29282223) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1398577006, 'portfolio_id': 29282223}, {'photo_id': 1398575789, 'portfolio_id': 29282223}, {'photo_id': 1398575671, 'portfolio_id': 29282223}, {'photo_id': 1398575130, 'portfolio_id': 29282223}, {'photo_id': 1398575097, 'portfolio_id': 29282223}, {'photo_id': 1398574673, 'portfolio_id': 29282223}, {'photo_id': 1398574638, 'portfolio_id': 29282223}, {'photo_id': 1398573216, 'portfolio_id': 29282223}, {'photo_id': 1398573089, 'portfolio_id': 29282223}] map_portfolio_id_photo_id: {29282223: [1398577006, 1398575789, 1398575671, 1398575130, 1398575097, 1398574673, 1398574638, 1398573216, 1398573089]} ##### 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.017444610595703125 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Wed Dec 10 06:05:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29282223) 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 : 29282223 get user id for portfolio 29282223 get sub ptf for main ptf 29282223, type 3726 and hashtags ['autre_refus', 'plastique', 'environnement', 'kraft', 'metal', 'Carton_brun', 'papier', 'Teint_Dans_La_Masse', 'flou', 'mal_croppe', 'Carton_gris', 'cartonnette'] 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`=29282223 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','plastique','environnement','kraft','metal','Carton_brun','papier','Teint_Dans_La_Masse','flou','mal_croppe','Carton_gris','cartonnette')) 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`=29282223 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','plastique','environnement','kraft','metal','Carton_brun','papier','Teint_Dans_La_Masse','flou','mal_croppe','Carton_gris','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 29282223, 'sub_port_id': 29282260, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19927071, 'last_updated_at': datetime.datetime(2025, 12, 9, 23, 32, 31), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 23, 32, 31), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 23, 21, 8)}, 'papier': {'main_port_id': 29282223, 'sub_port_id': 29282261, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19927072, 'last_updated_at': datetime.datetime(2025, 12, 9, 23, 32, 31), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 23, 32, 31), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 23, 21, 8)}, 'metal': {'main_port_id': 29282223, 'sub_port_id': 29282262, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19927073, 'last_updated_at': datetime.datetime(2025, 12, 9, 23, 32, 31), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 23, 32, 31), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 23, 21, 8)}, 'Carton_gris': {'main_port_id': 29282223, 'sub_port_id': 29282263, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19927074, 'last_updated_at': datetime.datetime(2025, 12, 9, 23, 32, 31), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 23, 32, 31), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 23, 21, 8)}, 'mal_croppe': {'main_port_id': 29282223, 'sub_port_id': 29282264, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19927075, 'last_updated_at': datetime.datetime(2025, 12, 9, 23, 32, 31), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 23, 32, 31), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 23, 21, 8)}, 'flou': {'main_port_id': 29282223, 'sub_port_id': 29282265, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19927076, 'last_updated_at': datetime.datetime(2025, 12, 9, 23, 32, 31), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 23, 32, 31), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 23, 21, 8)}, 'cartonnette': {'main_port_id': 29282223, 'sub_port_id': 29282266, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19927077, 'last_updated_at': datetime.datetime(2025, 12, 9, 23, 32, 31), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 23, 32, 31), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 23, 21, 8)}, 'environnement': {'main_port_id': 29282223, 'sub_port_id': 29282267, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19927078, 'last_updated_at': datetime.datetime(2025, 12, 9, 23, 32, 31), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 23, 32, 31), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 23, 21, 8)}, 'kraft': {'main_port_id': 29282223, 'sub_port_id': 29282268, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19927079, 'last_updated_at': datetime.datetime(2025, 12, 9, 23, 32, 31), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 23, 32, 31), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 23, 21, 8)}, 'plastique': {'main_port_id': 29282223, 'sub_port_id': 29282269, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19927080, 'last_updated_at': datetime.datetime(2025, 12, 9, 23, 32, 31), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 23, 32, 31), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 23, 21, 8)}, 'Carton_brun': {'main_port_id': 29282223, 'sub_port_id': 29282270, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19927081, 'last_updated_at': datetime.datetime(2025, 12, 9, 23, 32, 31), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 23, 32, 31), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 23, 21, 8)}, 'Teint_Dans_La_Masse': {'main_port_id': 29282223, 'sub_port_id': 29282271, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19927082, 'last_updated_at': datetime.datetime(2025, 12, 9, 23, 32, 31), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 23, 32, 31), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 23, 21, 8)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29282260 , 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=29282223 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 (29282260) result : ((1398576784,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29282223) result : ((1398573089,), (1398573216,), (1398574638,), (1398574673,), (1398575097,), (1398575130,), (1398575671,), (1398575789,), (1398577006,)) 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 29282261 , 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=29282223 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 (29282261) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29282223) result : ((1398573089,), (1398573216,), (1398574638,), (1398574673,), (1398575097,), (1398575130,), (1398575671,), (1398575789,), (1398577006,)) 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 29282262 , 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=29282223 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 (29282262) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29282223) result : ((1398573089,), (1398573216,), (1398574638,), (1398574673,), (1398575097,), (1398575130,), (1398575671,), (1398575789,), (1398577006,)) 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 29282263 , 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=29282223 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 (29282263) result : ((1398576620,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29282223) result : ((1398573089,), (1398573216,), (1398574638,), (1398574673,), (1398575097,), (1398575130,), (1398575671,), (1398575789,), (1398577006,)) 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 29282264 , 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=29282223 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 (29282264) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29282223) result : ((1398573089,), (1398573216,), (1398574638,), (1398574673,), (1398575097,), (1398575130,), (1398575671,), (1398575789,), (1398577006,)) 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 29282265 , 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=29282223 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 (29282265) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29282223) result : ((1398573089,), (1398573216,), (1398574638,), (1398574673,), (1398575097,), (1398575130,), (1398575671,), (1398575789,), (1398577006,)) 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 29282266 , 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=29282223 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 (29282266) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29282223) result : ((1398573089,), (1398573216,), (1398574638,), (1398574673,), (1398575097,), (1398575130,), (1398575671,), (1398575789,), (1398577006,)) 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 29282267 , 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=29282223 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 (29282267) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29282223) result : ((1398573089,), (1398573216,), (1398574638,), (1398574673,), (1398575097,), (1398575130,), (1398575671,), (1398575789,), (1398577006,)) 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 29282268 , 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=29282223 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 (29282268) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29282223) result : ((1398573089,), (1398573216,), (1398574638,), (1398574673,), (1398575097,), (1398575130,), (1398575671,), (1398575789,), (1398577006,)) 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 29282269 , 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=29282223 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 (29282269) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29282223) result : ((1398573089,), (1398573216,), (1398574638,), (1398574673,), (1398575097,), (1398575130,), (1398575671,), (1398575789,), (1398577006,)) 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 29282270 , 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=29282223 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 (29282270) result : ((1398576785,), (1398576786,), (1398576915,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29282223) result : ((1398573089,), (1398573216,), (1398574638,), (1398574673,), (1398575097,), (1398575130,), (1398575671,), (1398575789,), (1398577006,)) 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 29282271 , 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=29282223 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 (29282271) result : ((1398575189,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29282223) result : ((1398573089,), (1398573216,), (1398574638,), (1398574673,), (1398575097,), (1398575130,), (1398575671,), (1398575789,), (1398577006,)) 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`=29282223 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','plastique','environnement','kraft','metal','Carton_brun','papier','Teint_Dans_La_Masse','flou','mal_croppe','Carton_gris','cartonnette')) 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`=29282223 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','plastique','environnement','kraft','metal','Carton_brun','papier','Teint_Dans_La_Masse','flou','mal_croppe','Carton_gris','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 29282223, 'sub_port_id': 29282289, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19927101, 'last_updated_at': datetime.datetime(2025, 12, 9, 23, 21, 14), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 23, 21, 14), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 23, 21, 14)}, 'papier': {'main_port_id': 29282223, 'sub_port_id': 29282291, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19927102, 'last_updated_at': datetime.datetime(2025, 12, 9, 23, 21, 14), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 23, 21, 14), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 23, 21, 14)}, 'metal': {'main_port_id': 29282223, 'sub_port_id': 29282292, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19927103, 'last_updated_at': datetime.datetime(2025, 12, 9, 23, 21, 14), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 23, 21, 14), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 23, 21, 14)}, 'Carton_gris': {'main_port_id': 29282223, 'sub_port_id': 29282293, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19927104, 'last_updated_at': datetime.datetime(2025, 12, 9, 23, 21, 14), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 23, 21, 14), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 23, 21, 14)}, 'mal_croppe': {'main_port_id': 29282223, 'sub_port_id': 29282294, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19927105, 'last_updated_at': datetime.datetime(2025, 12, 9, 23, 21, 14), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 23, 21, 14), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 23, 21, 14)}, 'flou': {'main_port_id': 29282223, 'sub_port_id': 29282295, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19927106, 'last_updated_at': datetime.datetime(2025, 12, 9, 23, 21, 14), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 23, 21, 14), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 23, 21, 14)}, 'cartonnette': {'main_port_id': 29282223, 'sub_port_id': 29282296, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19927107, 'last_updated_at': datetime.datetime(2025, 12, 9, 23, 21, 14), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 23, 21, 14), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 23, 21, 14)}, 'environnement': {'main_port_id': 29282223, 'sub_port_id': 29282297, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19927108, 'last_updated_at': datetime.datetime(2025, 12, 9, 23, 21, 14), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 23, 21, 14), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 23, 21, 14)}, 'kraft': {'main_port_id': 29282223, 'sub_port_id': 29282298, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19927109, 'last_updated_at': datetime.datetime(2025, 12, 9, 23, 21, 14), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 23, 21, 14), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 23, 21, 14)}, 'plastique': {'main_port_id': 29282223, 'sub_port_id': 29282299, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19927110, 'last_updated_at': datetime.datetime(2025, 12, 9, 23, 21, 14), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 23, 21, 14), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 23, 21, 14)}, 'Carton_brun': {'main_port_id': 29282223, 'sub_port_id': 29282300, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19927111, 'last_updated_at': datetime.datetime(2025, 12, 9, 23, 21, 14), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 23, 21, 14), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 23, 21, 14)}, 'Teint_Dans_La_Masse': {'main_port_id': 29282223, 'sub_port_id': 29282301, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19927112, 'last_updated_at': datetime.datetime(2025, 12, 9, 23, 32, 31), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 23, 32, 31), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 23, 21, 14)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29282289,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29282260 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29282291,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29282261 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29282292,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29282262 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29282293,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29282263 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29282294,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29282264 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29282295,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29282265 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29282296,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29282266 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29282297,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29282267 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29282298,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29282268 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29282299,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29282269 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29282300,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29282270 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29282301,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29282271 lien utilise dans velours : https://marlene.fotonower.com/velours/29282289,29282291,29282292,29282293,29282294,29282295,29282296,29282297,29282298,29282299,29282300,29282301?tags=autre_refus,papier,metal,Carton_gris,mal_croppe,flou,cartonnette,environnement,kraft,plastique,Carton_brun,Teint_Dans_La_Masse After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29282223]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1398577006, 1398575789, 1398575671, 1398575130, 1398575097, 1398574673, 1398574638, 1398573216, 1398573089] map_info['map_portfolio_photo'] : {29282223: [1398577006, 1398575789, 1398575671, 1398575130, 1398575097, 1398574673, 1398574638, 1398573216, 1398573089]} final : False mtd_id 4302 list_pids : [1398577006, 1398575789, 1398575671, 1398575130, 1398575097, 1398574673, 1398574638, 1398573216, 1398573089] Looping around the photos to save general results len do output : 1 /29282223. 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, '4201511') ('4302', '29282223', '1398577006', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398575789', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398575671', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398575130', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398575097', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398574673', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398574638', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398573216', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398573089', None, None, None, None, None, '4201511') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '29282223', "{'autre_refus': 29282260, 'papier': 29282261, 'metal': 29282262, 'Carton_gris': 29282263, 'mal_croppe': 29282264, 'flou': 29282265, 'cartonnette': 29282266, 'environnement': 29282267, 'kraft': 29282268, 'plastique': 29282269, 'Carton_brun': 29282270, 'Teint_Dans_La_Masse': 29282271}", None, None, None, None, '4201511'), ('4302', '29282223', '1398577006', None, None, None, None, None, '4201511'), ('4302', '29282223', '1398575789', None, None, None, None, None, '4201511'), ('4302', '29282223', '1398575671', None, None, None, None, None, '4201511'), ('4302', '29282223', '1398575130', None, None, None, None, None, '4201511'), ('4302', '29282223', '1398575097', None, None, None, None, None, '4201511'), ('4302', '29282223', '1398574673', None, None, None, None, None, '4201511'), ('4302', '29282223', '1398574638', None, None, None, None, None, '4201511'), ('4302', '29282223', '1398573216', None, None, None, None, None, '4201511'), ('4302', '29282223', '1398573089', None, None, None, None, None, '4201511')] time used for this insertion : 0.01521444320678711 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7910661697387695 time spend to save output : 0.015482664108276367 total time spend for step 1 : 1.806548833847046 step2:final Wed Dec 10 06:05:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29282223) 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 29282223 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1398573216,1398573089,1398574673,1398574638,1398575130,1398575097,1398575789,1398575671,1398577006); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29282223]) Inside saveOutput : final : False verbose : True original output for save of step final : {1398577006: ('0.02620681653202164',), 1398575789: ('0.02620681653202164',), 1398575671: ('0.02620681653202164',), 1398575130: ('0.02620681653202164',), 1398575097: ('0.02620681653202164',), 1398574673: ('0.02620681653202164',), 1398574638: ('0.02620681653202164',), 1398573216: ('0.02620681653202164',), 1398573089: ('0.02620681653202164',)} new output for save of step final : {1398577006: ('0.02620681653202164',), 1398575789: ('0.02620681653202164',), 1398575671: ('0.02620681653202164',), 1398575130: ('0.02620681653202164',), 1398575097: ('0.02620681653202164',), 1398574673: ('0.02620681653202164',), 1398574638: ('0.02620681653202164',), 1398573216: ('0.02620681653202164',), 1398573089: ('0.02620681653202164',)} [1398577006, 1398575789, 1398575671, 1398575130, 1398575097, 1398574673, 1398574638, 1398573216, 1398573089] map_info['map_portfolio_photo'] : {29282223: [1398577006, 1398575789, 1398575671, 1398575130, 1398575097, 1398574673, 1398574638, 1398573216, 1398573089]} final : False mtd_id 4302 list_pids : [1398577006, 1398575789, 1398575671, 1398575130, 1398575097, 1398574673, 1398574638, 1398573216, 1398573089] Looping around the photos to save general results len do output : 9 /1398577006.Didn't retrieve data . /1398575789.Didn't retrieve data . /1398575671.Didn't retrieve data . /1398575130.Didn't retrieve data . /1398575097.Didn't retrieve data . /1398574673.Didn't retrieve data . /1398574638.Didn't retrieve data . /1398573216.Didn't retrieve data . /1398573089.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, '4201511') ('4302', '29282223', '1398577006', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398575789', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398575671', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398575130', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398575097', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398574673', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398574638', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398573216', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398573089', None, None, None, None, None, '4201511') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '29282223', '1398577006', '0.02620681653202164', None, None, None, None, '4201511'), ('4302', '29282223', '1398575789', '0.02620681653202164', None, None, None, None, '4201511'), ('4302', '29282223', '1398575671', '0.02620681653202164', None, None, None, None, '4201511'), ('4302', '29282223', '1398575130', '0.02620681653202164', None, None, None, None, '4201511'), ('4302', '29282223', '1398575097', '0.02620681653202164', None, None, None, None, '4201511'), ('4302', '29282223', '1398574673', '0.02620681653202164', None, None, None, None, '4201511'), ('4302', '29282223', '1398574638', '0.02620681653202164', None, None, None, None, '4201511'), ('4302', '29282223', '1398573216', '0.02620681653202164', None, None, None, None, '4201511'), ('4302', '29282223', '1398573089', '0.02620681653202164', None, None, None, None, '4201511')] time used for this insertion : 0.01555943489074707 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08157706260681152 time spend to save output : 0.016020774841308594 total time spend for step 2 : 0.09759783744812012 step3:velours_tree Wed Dec 10 06:05:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {29282223: [{'autre_refus': 29282260, 'papier': 29282261, 'metal': 29282262, 'Carton_gris': 29282263, 'mal_croppe': 29282264, 'flou': 29282265, 'cartonnette': 29282266, 'environnement': 29282267, 'kraft': 29282268, 'plastique': 29282269, 'Carton_brun': 29282270, 'Teint_Dans_La_Masse': 29282271}]} input_args_next_step : {29282223: ()} output_args : {29282223: [{'autre_refus': 29282260, 'papier': 29282261, 'metal': 29282262, 'Carton_gris': 29282263, 'mal_croppe': 29282264, 'flou': 29282265, 'cartonnette': 29282266, 'environnement': 29282267, 'kraft': 29282268, 'plastique': 29282269, 'Carton_brun': 29282270, 'Teint_Dans_La_Masse': 29282271}]} args : 29282223 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 : ({'autre_refus': 29282260, 'papier': 29282261, 'metal': 29282262, 'Carton_gris': 29282263, 'mal_croppe': 29282264, 'flou': 29282265, 'cartonnette': 29282266, 'environnement': 29282267, 'kraft': 29282268, 'plastique': 29282269, 'Carton_brun': 29282270, 'Teint_Dans_La_Masse': 29282271},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29282223) 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([29282223]) 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.2498612403869629 time spend to save output : 5.078315734863281e-05 total time spend for step 3 : 0.24991202354431152 step4:send_mail_cod Wed Dec 10 06:05:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1398577006: ('0.02620681653202164',), 1398575789: ('0.02620681653202164',), 1398575671: ('0.02620681653202164',), 1398575130: ('0.02620681653202164',), 1398575097: ('0.02620681653202164',), 1398574673: ('0.02620681653202164',), 1398574638: ('0.02620681653202164',), 1398573216: ('0.02620681653202164',), 1398573089: ('0.02620681653202164',)} input_args_next_step : {1398577006: ()} output_args : {1398577006: ('0.02620681653202164',), 1398575789: ('0.02620681653202164',), 1398575671: ('0.02620681653202164',), 1398575130: ('0.02620681653202164',), 1398575097: ('0.02620681653202164',), 1398574673: ('0.02620681653202164',), 1398574638: ('0.02620681653202164',), 1398573216: ('0.02620681653202164',), 1398573089: ('0.02620681653202164',)} args : 1398577006 depend.output_id : 0 input_args_next_step : {1398577006: ('0.02620681653202164',), 1398575789: ()} output_args : {1398577006: ('0.02620681653202164',), 1398575789: ('0.02620681653202164',), 1398575671: ('0.02620681653202164',), 1398575130: ('0.02620681653202164',), 1398575097: ('0.02620681653202164',), 1398574673: ('0.02620681653202164',), 1398574638: ('0.02620681653202164',), 1398573216: ('0.02620681653202164',), 1398573089: ('0.02620681653202164',)} args : 1398575789 depend.output_id : 0 input_args_next_step : {1398577006: ('0.02620681653202164',), 1398575789: ('0.02620681653202164',), 1398575671: ()} output_args : {1398577006: ('0.02620681653202164',), 1398575789: ('0.02620681653202164',), 1398575671: ('0.02620681653202164',), 1398575130: ('0.02620681653202164',), 1398575097: ('0.02620681653202164',), 1398574673: ('0.02620681653202164',), 1398574638: ('0.02620681653202164',), 1398573216: ('0.02620681653202164',), 1398573089: ('0.02620681653202164',)} args : 1398575671 depend.output_id : 0 input_args_next_step : {1398577006: ('0.02620681653202164',), 1398575789: ('0.02620681653202164',), 1398575671: ('0.02620681653202164',), 1398575130: ()} output_args : {1398577006: ('0.02620681653202164',), 1398575789: ('0.02620681653202164',), 1398575671: ('0.02620681653202164',), 1398575130: ('0.02620681653202164',), 1398575097: ('0.02620681653202164',), 1398574673: ('0.02620681653202164',), 1398574638: ('0.02620681653202164',), 1398573216: ('0.02620681653202164',), 1398573089: ('0.02620681653202164',)} args : 1398575130 depend.output_id : 0 input_args_next_step : {1398577006: ('0.02620681653202164',), 1398575789: ('0.02620681653202164',), 1398575671: ('0.02620681653202164',), 1398575130: ('0.02620681653202164',), 1398575097: ()} output_args : {1398577006: ('0.02620681653202164',), 1398575789: ('0.02620681653202164',), 1398575671: ('0.02620681653202164',), 1398575130: ('0.02620681653202164',), 1398575097: ('0.02620681653202164',), 1398574673: ('0.02620681653202164',), 1398574638: ('0.02620681653202164',), 1398573216: ('0.02620681653202164',), 1398573089: ('0.02620681653202164',)} args : 1398575097 depend.output_id : 0 input_args_next_step : {1398577006: ('0.02620681653202164',), 1398575789: ('0.02620681653202164',), 1398575671: ('0.02620681653202164',), 1398575130: ('0.02620681653202164',), 1398575097: ('0.02620681653202164',), 1398574673: ()} output_args : {1398577006: ('0.02620681653202164',), 1398575789: ('0.02620681653202164',), 1398575671: ('0.02620681653202164',), 1398575130: ('0.02620681653202164',), 1398575097: ('0.02620681653202164',), 1398574673: ('0.02620681653202164',), 1398574638: ('0.02620681653202164',), 1398573216: ('0.02620681653202164',), 1398573089: ('0.02620681653202164',)} args : 1398574673 depend.output_id : 0 input_args_next_step : {1398577006: ('0.02620681653202164',), 1398575789: ('0.02620681653202164',), 1398575671: ('0.02620681653202164',), 1398575130: ('0.02620681653202164',), 1398575097: ('0.02620681653202164',), 1398574673: ('0.02620681653202164',), 1398574638: ()} output_args : {1398577006: ('0.02620681653202164',), 1398575789: ('0.02620681653202164',), 1398575671: ('0.02620681653202164',), 1398575130: ('0.02620681653202164',), 1398575097: ('0.02620681653202164',), 1398574673: ('0.02620681653202164',), 1398574638: ('0.02620681653202164',), 1398573216: ('0.02620681653202164',), 1398573089: ('0.02620681653202164',)} args : 1398574638 depend.output_id : 0 input_args_next_step : {1398577006: ('0.02620681653202164',), 1398575789: ('0.02620681653202164',), 1398575671: ('0.02620681653202164',), 1398575130: ('0.02620681653202164',), 1398575097: ('0.02620681653202164',), 1398574673: ('0.02620681653202164',), 1398574638: ('0.02620681653202164',), 1398573216: ()} output_args : {1398577006: ('0.02620681653202164',), 1398575789: ('0.02620681653202164',), 1398575671: ('0.02620681653202164',), 1398575130: ('0.02620681653202164',), 1398575097: ('0.02620681653202164',), 1398574673: ('0.02620681653202164',), 1398574638: ('0.02620681653202164',), 1398573216: ('0.02620681653202164',), 1398573089: ('0.02620681653202164',)} args : 1398573216 depend.output_id : 0 input_args_next_step : {1398577006: ('0.02620681653202164',), 1398575789: ('0.02620681653202164',), 1398575671: ('0.02620681653202164',), 1398575130: ('0.02620681653202164',), 1398575097: ('0.02620681653202164',), 1398574673: ('0.02620681653202164',), 1398574638: ('0.02620681653202164',), 1398573216: ('0.02620681653202164',), 1398573089: ()} output_args : {1398577006: ('0.02620681653202164',), 1398575789: ('0.02620681653202164',), 1398575671: ('0.02620681653202164',), 1398575130: ('0.02620681653202164',), 1398575097: ('0.02620681653202164',), 1398574673: ('0.02620681653202164',), 1398574638: ('0.02620681653202164',), 1398573216: ('0.02620681653202164',), 1398573089: ('0.02620681653202164',)} args : 1398573089 depend.output_id : 0 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 : {29282223: [{'autre_refus': 29282260, 'papier': 29282261, 'metal': 29282262, 'Carton_gris': 29282263, 'mal_croppe': 29282264, 'flou': 29282265, 'cartonnette': 29282266, 'environnement': 29282267, 'kraft': 29282268, 'plastique': 29282269, 'Carton_brun': 29282270, 'Teint_Dans_La_Masse': 29282271}]} input_args_next_step : {1398577006: ('0.02620681653202164',), 1398575789: ('0.02620681653202164',), 1398575671: ('0.02620681653202164',), 1398575130: ('0.02620681653202164',), 1398575097: ('0.02620681653202164',), 1398574673: ('0.02620681653202164',), 1398574638: ('0.02620681653202164',), 1398573216: ('0.02620681653202164',), 1398573089: ('0.02620681653202164',), 29282223: ()} output_args : {29282223: [{'autre_refus': 29282260, 'papier': 29282261, 'metal': 29282262, 'Carton_gris': 29282263, 'mal_croppe': 29282264, 'flou': 29282265, 'cartonnette': 29282266, 'environnement': 29282267, 'kraft': 29282268, 'plastique': 29282269, 'Carton_brun': 29282270, 'Teint_Dans_La_Masse': 29282271}]} args : 29282223 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :10, first value : ('0.02620681653202164',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29282223) 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 (1398577006,1398575789,1398575671,1398575130,1398575097,1398574673,1398574638,1398573216,1398573089) Found this number of photos: 9 ##### Call download_photos : nb_thread : 5 begin to download photo : 1398573089 begin to download photo : 1398574638 begin to download photo : 1398575097 begin to download photo : 1398575671 begin to download photo : 1398577006 download finish for photo 1398573089 begin to download photo : 1398573216 download finish for photo 1398577006 download finish for photo 1398575671 begin to download photo : 1398575789 download finish for photo 1398575097 begin to download photo : 1398575130 download finish for photo 1398574638 begin to download photo : 1398574673 download finish for photo 1398575789 download finish for photo 1398575130 download finish for photo 1398573216 download finish for photo 1398574673 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 results_Auto_P29282223_10-12-2025_06_05_59.pdf 29282260 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=29282260 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398576784: '1765319126_622239_1398575130_d23c3e467718c544e7cb9b4d7bd1d04d_rle_crop_4063885742_0.png'} change filename to text .imagette292822601765343159/ imagette292822601765343159/1765319126_622239_1398575130_d23c3e467718c544e7cb9b4d7bd1d04d_rle_crop_4063885742_0.png.png imagette292822621765343159/ imagette292822641765343159/ imagette292822651765343159/ imagette292822661765343159/ imagette292822681765343159/ imagette292822691765343159/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/66600b1df16b4f112fa898f81e1ca53c_8539289.png imagette292822601765343159 29282262 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=29282262 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette292822621765343159 29282264 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=29282264 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette292822641765343159 29282265 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=29282265 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette292822651765343159 29282266 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=29282266 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette292822661765343159 29282268 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=29282268 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette292822681765343159 29282269 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=29282269 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette292822691765343159 29282263 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=29282263 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398576620: '1765319106_621742_1398575789_f620db60ecc76ddfac3cc3e1f7051f65_rle_crop_4063885692_0.png'} change filename to text .imagette292822631765343159/ imagette292822631765343159/1765319106_621742_1398575789_f620db60ecc76ddfac3cc3e1f7051f65_rle_crop_4063885692_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9b6eca9fb9f8a4b35c1dc51f5b5f9d30_85483839.png imagette292822631765343159 29282270 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=29282270 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398576785: '1765319126_622239_1398575130_d23c3e467718c544e7cb9b4d7bd1d04d_rle_crop_4063885743_0.png', 1398576786: '1765319126_622239_1398575130_d23c3e467718c544e7cb9b4d7bd1d04d_rle_crop_4063885738_0.png', 1398576915: '1765319224_628179_1398574673_b7a2904d9c055a3c6d5a5289959aecd0_rle_crop_4063885783_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5656016bf819bda9b68ab5c17f2a9d8b_65794765.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f2961cb389f98bd30f358fb6056a2068_39021643.png change filename to text .imagette292822701765343159/ imagette292822701765343159/1765319126_622239_1398575130_d23c3e467718c544e7cb9b4d7bd1d04d_rle_crop_4063885738_0.png.png imagette292822701765343159/1765319224_628179_1398574673_b7a2904d9c055a3c6d5a5289959aecd0_rle_crop_4063885783_0.png.png imagette292822701765343159/1765319126_622239_1398575130_d23c3e467718c544e7cb9b4d7bd1d04d_rle_crop_4063885743_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/760a2cac918db401e3e1df5416d1df58_97495641.png imagette292822701765343159 29282271 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=29282271 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398575189: '1765318985_617725_1398573216_9c3146b04ce7b1659ac6696c6eac0e15_rle_crop_4063885639_0.png'} change filename to text .imagette292822711765343159/ imagette292822711765343159/1765318985_617725_1398573216_9c3146b04ce7b1659ac6696c6eac0e15_rle_crop_4063885639_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/70ddebc214378e574b030c6f562ea781_45073026.png imagette292822711765343159 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29282223 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29282289,29282291,29282292,29282293,29282294,29282295,29282296,29282297,29282298,29282299,29282300,29282301?tags=autre_refus,papier,metal,Carton_gris,mal_croppe,flou,cartonnette,environnement,kraft,plastique,Carton_brun,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1398577006] : ('0.02620681653202164',) no score found for photo 1398577006 We are sending mail with results at report@fotonower.com args[1398575789] : ('0.02620681653202164',) no score found for photo 1398575789 We are sending mail with results at report@fotonower.com args[1398575671] : ('0.02620681653202164',) no score found for photo 1398575671 We are sending mail with results at report@fotonower.com args[1398575130] : ('0.02620681653202164',) no score found for photo 1398575130 We are sending mail with results at report@fotonower.com args[1398575097] : ('0.02620681653202164',) no score found for photo 1398575097 We are sending mail with results at report@fotonower.com args[1398574673] : ('0.02620681653202164',) no score found for photo 1398574673 We are sending mail with results at report@fotonower.com args[1398574638] : ('0.02620681653202164',) no score found for photo 1398574638 We are sending mail with results at report@fotonower.com args[1398573216] : ('0.02620681653202164',) no score found for photo 1398573216 We are sending mail with results at report@fotonower.com args[1398573089] : ('0.02620681653202164',) no score found for photo 1398573089 We are sending mail with results at report@fotonower.com refus_total : 0.02620681653202164 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=29282223 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_P29282223_10-12-2025_06_05_59.pdf results_Auto_P29282223_10-12-2025_06_05_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29282223_10-12-2025_06_05_59.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','29282223','results_Auto_P29282223_10-12-2025_06_05_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29282223_10-12-2025_06_05_59.pdf','pdf','','0.11','0.02620681653202164') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29282223]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1398577006, 1398575789, 1398575671, 1398575130, 1398575097, 1398574673, 1398574638, 1398573216, 1398573089] map_info['map_portfolio_photo'] : {29282223: [1398577006, 1398575789, 1398575671, 1398575130, 1398575097, 1398574673, 1398574638, 1398573216, 1398573089]} final : False mtd_id 4302 list_pids : [1398577006, 1398575789, 1398575671, 1398575130, 1398575097, 1398574673, 1398574638, 1398573216, 1398573089] 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, '4201511') ('4302', '29282223', '1398577006', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398575789', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398575671', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398575130', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398575097', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398574673', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398574638', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398573216', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398573089', None, None, None, None, None, '4201511') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '29282223', '1398577006', None, None, None, None, None, '4201511'), ('4302', '29282223', '1398575789', None, None, None, None, None, '4201511'), ('4302', '29282223', '1398575671', None, None, None, None, None, '4201511'), ('4302', '29282223', '1398575130', None, None, None, None, None, '4201511'), ('4302', '29282223', '1398575097', None, None, None, None, None, '4201511'), ('4302', '29282223', '1398574673', None, None, None, None, None, '4201511'), ('4302', '29282223', '1398574638', None, None, None, None, None, '4201511'), ('4302', '29282223', '1398573216', None, None, None, None, None, '4201511'), ('4302', '29282223', '1398573089', None, None, None, None, None, '4201511')] time used for this insertion : 0.020592451095581055 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.063295602798462 time spend to save output : 0.0207672119140625 total time spend for step 4 : 2.0840628147125244 step5:split_time_score Wed Dec 10 06:06:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['29282223'] 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 : [('29282223',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29282223) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1398577006: {'path': 'temp/1765343158_3501723_1398577006_0f26e90e4051ae47b66beefb16a20980.jpg', 'extension': 'jpg'}, 1398575671: {'path': 'temp/1765343158_3501723_1398575671_6c88cd97727a87a72cea7dcc4c57764e.jpg', 'extension': 'jpg'}, 1398575789: {'path': 'temp/1765343158_3501723_1398575789_f620db60ecc76ddfac3cc3e1f7051f65.jpg', 'extension': 'jpg'}, 1398575097: {'path': 'temp/1765343158_3501723_1398575097_bb6ee460b5d15a67fb4dbf019d7a93c5.jpg', 'extension': 'jpg'}, 1398575130: {'path': 'temp/1765343158_3501723_1398575130_d23c3e467718c544e7cb9b4d7bd1d04d.jpg', 'extension': 'jpg'}, 1398573089: {'path': 'temp/1765343158_3501723_1398573089_4b9c3d026503b39afa94571a115c066e.jpg', 'extension': 'jpg'}, 1398573216: {'path': 'temp/1765343158_3501723_1398573216_9c3146b04ce7b1659ac6696c6eac0e15.jpg', 'extension': 'jpg'}, 1398574638: {'path': 'temp/1765343158_3501723_1398574638_097f46f53f7e8d3ed2c19f532f146035.jpg', 'extension': 'jpg'}, 1398574673: {'path': 'temp/1765343158_3501723_1398574673_b7a2904d9c055a3c6d5a5289959aecd0.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 = 29282223; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm_bis',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 29282223 group by h (('23', 9),) 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=29282223 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 (29282223) 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 (29282223) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 09122025 29282223 Nombre de photos uploadées : 9 / 23040 (0%) 09122025 29282223 Nombre de photos taguées (types de déchets): 0 / 9 (0%) 09122025 29282223 Nombre de photos taguées (volume) : 0 / 9 (0%) [{'photo_id': 1398573216, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9c3146b04ce7b1659ac6696c6eac0e15.jpg', 'username': None, 'uploaded_at': 1765318703, 'text': 'image_09122025_23_17_04_010157m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1398573089, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4b9c3d026503b39afa94571a115c066e.jpg', 'username': None, 'uploaded_at': 1765318703, 'text': 'image_09122025_23_17_45_010136m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1398574673, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b7a2904d9c055a3c6d5a5289959aecd0.jpg', 'username': None, 'uploaded_at': 1765318942, 'text': 'image_09122025_23_17_55_010137m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1398574638, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/097f46f53f7e8d3ed2c19f532f146035.jpg', 'username': None, 'uploaded_at': 1765318942, 'text': 'image_09122025_23_21_44_009125m0.jpg 4e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.4836273193359375e-06 ????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005285739898681641 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 29282223, '2025-12-09' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-12-09' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2709875,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.257521390914917 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= 2709875 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29273493, 'dashboard_result_id': 18193283, '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_P29273493_10-12-2025_05_34_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29273701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29273703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29273704, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29273705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29273707, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29273708, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29273709, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29273711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29273712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29273714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29273715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29273716, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29273494, 'dashboard_result_id': 18193284, '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_P29273494_10-12-2025_05_35_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29273734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29273735, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29273736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29273737, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29273738, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29273739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29273740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29273741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29273742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29273743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29273744, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29273745, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29273495, 'dashboard_result_id': 18193285, '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_P29273495_10-12-2025_05_35_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29273686, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29273687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29273688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29273689, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29273690, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29273691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29273692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29273693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29273694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29273695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29273696, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29273697, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29273496, 'dashboard_result_id': 18193286, '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_P29273496_10-12-2025_05_36_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29273662, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29273663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29273664, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29273665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29273666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29273667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29273668, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29273669, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29273670, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29273671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29273672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29273673, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29273497, 'dashboard_result_id': 18193287, '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_P29273497_10-12-2025_05_36_12.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29273638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29273639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29273640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29273641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29273642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29273643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29273644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29273645, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29273646, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29273647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29273648, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29273649, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29273499, 'dashboard_result_id': 18193288, '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_P29273499_10-12-2025_05_36_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29273578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29273579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29273580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29273581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29273582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29273583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29273584, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29273585, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29273586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29273587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29273588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29273589, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29273500, 'dashboard_result_id': 18193289, '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_P29273500_10-12-2025_05_37_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29273530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29273531, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29273532, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29273533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29273534, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29273535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29273536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29273537, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29273538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29273539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29273540, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29273541, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29273501, 'dashboard_result_id': 18193291, '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_P29273501_10-12-2025_05_38_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29273506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29273507, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29273508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29273509, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29273510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29273511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29273512, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29273513, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29273514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29273515, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29273516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29273517, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29271794, 'dashboard_result_id': 18193292, '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_P29271794_10-12-2025_05_38_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272334, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272342, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272345, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29271799, 'dashboard_result_id': 18193293, '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_P29271799_10-12-2025_05_39_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29272286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272299, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272305, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29271820, 'dashboard_result_id': 18193294, '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_P29271820_10-12-2025_05_40_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272263, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272273, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29271821, 'dashboard_result_id': 18193296, '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_P29271821_10-12-2025_05_40_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272210, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272211, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272214, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272217, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272218, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272219, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272221, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29271823, 'dashboard_result_id': 18193297, '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_P29271823_10-12-2025_05_41_12.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272131, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272136, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272139, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272142, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29271824, 'dashboard_result_id': 18193298, '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_P29271824_10-12-2025_05_41_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272094, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272101, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272102, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272105, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29271826, 'dashboard_result_id': 18193300, '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_P29271826_10-12-2025_05_42_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29272031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272035, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272036, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272038, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272040, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272041, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272042, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29271830, 'dashboard_result_id': 18193301, '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_P29271830_10-12-2025_05_42_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29271841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271842, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271847, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271850, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271851, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271852, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29271834, 'dashboard_result_id': 18193302, '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_P29271834_10-12-2025_05_43_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271945, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271948, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271951, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29271836, 'dashboard_result_id': 18193304, '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_P29271836_10-12-2025_05_44_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29271904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271910, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271915, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271919, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271921, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271922, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29271839, 'dashboard_result_id': 18193305, '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_P29271839_10-12-2025_05_44_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271853, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271862, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271863, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271864, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29267748, 'dashboard_result_id': 18193306, '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_P29267748_10-12-2025_05_45_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268340, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268353, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29267751, 'dashboard_result_id': 18193307, '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_P29267751_10-12-2025_05_45_41.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268268, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268272, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268273, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268274, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268276, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268278, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29267753, 'dashboard_result_id': 18193309, '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_P29267753_10-12-2025_05_46_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29268223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268235, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268238, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268242, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29267754, 'dashboard_result_id': 18193310, '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_P29267754_10-12-2025_05_46_13.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268110, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268112, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268113, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268117, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268118, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29267755, 'dashboard_result_id': 18193311, '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_P29267755_10-12-2025_05_46_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268035, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268036, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268039, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268040, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268042, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268043, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268045, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268046, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29267756, 'dashboard_result_id': 18193313, '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_P29267756_10-12-2025_05_47_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268010, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29267757, 'dashboard_result_id': 18193314, '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_P29267757_10-12-2025_05_48_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29267950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267951, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267952, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267954, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267961, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29267758, 'dashboard_result_id': 18193315, '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_P29267758_10-12-2025_05_49_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29267886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267890, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267891, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267893, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267896, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267897, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29267759, 'dashboard_result_id': 18193316, '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_P29267759_10-12-2025_05_49_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267844, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267845, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267846, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267847, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267849, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29266334, 'dashboard_result_id': 18193318, '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_P29266334_10-12-2025_05_49_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29266389, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29266390, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29266391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29266392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29266393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29266394, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29266395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29266396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29266397, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29266398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29266399, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29266400, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29266335, 'dashboard_result_id': 18193319, '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_P29266335_10-12-2025_05_50_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29266363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29266364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29266365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29266366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29266367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29266368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29266369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29266370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29266371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29266372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29266373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29266374, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29266336, 'dashboard_result_id': 18193320, '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_P29266336_10-12-2025_05_50_42.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29266337, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29266338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29266339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29266340, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29266341, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29266342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29266343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29266344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29266345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29266346, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29266347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29266348, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29267192, 'dashboard_result_id': 18193322, '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_P29267192_10-12-2025_05_51_11.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267235, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29267785, 'dashboard_result_id': 18193323, '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_P29267785_10-12-2025_05_51_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267790, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267797, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267801, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29268760, 'dashboard_result_id': 18193324, '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_P29268760_10-12-2025_05_52_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268769, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268778, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29269175, 'dashboard_result_id': 18193325, '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_P29269175_10-12-2025_05_52_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269178, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269185, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269188, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29269542, 'dashboard_result_id': 18193327, '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_P29269542_10-12-2025_05_53_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269545, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269550, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269552, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269556, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29269897, 'dashboard_result_id': 18193328, '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_P29269897_10-12-2025_05_54_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269915, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29270467, 'dashboard_result_id': 18193329, '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_P29270467_10-12-2025_05_54_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29270528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29270529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29270530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29270531, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29270532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29270533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29270534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29270535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29270536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29270537, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29270538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29270539, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29271024, 'dashboard_result_id': 18193330, '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_P29271024_10-12-2025_05_55_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271067, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29271469, 'dashboard_result_id': 18193332, '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_P29271469_10-12-2025_05_55_43.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271480, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271482, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271487, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29272155, 'dashboard_result_id': 18193333, '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_P29272155_10-12-2025_05_56_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272171, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272178, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272179, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272181, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29272828, 'dashboard_result_id': 18193334, '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_P29272828_10-12-2025_05_56_16.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29272853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272856, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272859, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272864, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29273785, 'dashboard_result_id': 18193335, '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_P29273785_10-12-2025_05_56_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29273786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29273787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29273788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29273789, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29273790, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29273791, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29273792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29273793, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29273794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29273795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29273796, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29273797, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29274052, 'dashboard_result_id': 18193337, '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_P29274052_10-12-2025_05_57_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29274056, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29274057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29274058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29274059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29274060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29274061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29274062, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29274063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29274064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29274065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29274066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29274067, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29274392, 'dashboard_result_id': 18193338, '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_P29274392_10-12-2025_05_58_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29274397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29274398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29274399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29274400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29274401, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29274402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29274403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29274404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29274405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29274406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29274407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29274408, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29274819, 'dashboard_result_id': 18193339, '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_P29274819_10-12-2025_05_58_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29274822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29274823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29274824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29274825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29274826, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29274827, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29274828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29274829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29274830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29274831, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29274832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29274833, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29275269, 'dashboard_result_id': 18193340, '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_P29275269_10-12-2025_05_59_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29275272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29275273, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29275274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29275275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29275276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29275277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29275278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29275279, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29275280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29275281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29275282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29275283, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29276023, 'dashboard_result_id': 18193342, '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_P29276023_10-12-2025_06_00_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29276029, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29276030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29276031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29276032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29276033, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29276034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29276035, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29276036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29276037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29276038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29276039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29276040, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29276607, 'dashboard_result_id': 18193343, '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_P29276607_10-12-2025_06_00_43.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29276611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29276612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29276613, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29276614, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29276615, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29276616, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29276617, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29276618, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29276619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29276620, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29276621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29276622, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29277316, 'dashboard_result_id': 18193344, '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_P29277316_10-12-2025_06_01_16.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29277322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29277323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29277324, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29277325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29277326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29277327, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29277328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29277329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29277330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29277331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29277332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29277333, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29277918, 'dashboard_result_id': 18193345, '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_P29277918_10-12-2025_06_01_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29277962, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29277963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29277964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29277965, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29277966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29277967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29277968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29277969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29277970, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29277971, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29277972, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29277973, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29278788, 'dashboard_result_id': 18193347, '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_P29278788_10-12-2025_06_02_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29278810, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29278811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29278812, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29278813, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29278814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29278815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29278816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29278817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29278818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29278819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29278820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29278821, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29279316, 'dashboard_result_id': 18193348, '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_P29279316_10-12-2025_06_02_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29279324, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29279325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29279326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29279330, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29279335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29279340, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29279345, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29279349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29279350, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29279351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29279352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29279354, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29280984, 'dashboard_result_id': 18193349, '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_P29280984_10-12-2025_06_03_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29280986, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29280987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29280988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29280989, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29280990, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29280991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29280992, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29280993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29280994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29280995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29280996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29280997, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29281293, 'dashboard_result_id': 18193350, '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_P29281293_10-12-2025_06_04_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29281298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29281299, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29281300, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29281301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29281302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29281303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29281304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29281305, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29281306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29281307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29281308, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29281309, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29281407, 'dashboard_result_id': 18193352, '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_P29281407_10-12-2025_06_04_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29281408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29281409, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29281410, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29281411, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29281412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29281413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29281414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29281415, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29281416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29281417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29281418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29281419, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29281580, 'dashboard_result_id': 18193353, '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_P29281580_10-12-2025_06_05_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29281583, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29281584, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29281585, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29281586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29281587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29281588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29281589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29281590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29281591, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29281592, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29281593, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29281594, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29281828, 'dashboard_result_id': 18193354, '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_P29281828_10-12-2025_06_05_42.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29281829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29281830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29281831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29281832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29281833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29281834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29281835, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29281836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29281837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29281838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29281839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29281840, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29282223, 'dashboard_result_id': 18193355, '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_P29282223_09-12-2025_23_32_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29282260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29282261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29282262, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29282263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29282264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29282265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29282266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29282267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29282268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29282269, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29282270, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29282271, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29282751, 'dashboard_result_id': 18193357, '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_P29282751_09-12-2025_23_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29282752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29282753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29282754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29282755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29282756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29282757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29282758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29282759, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29282760, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29282761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29282762, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29282763, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2720969, 'mtr_portfolio_id': 29282832, 'dashboard_result_id': 18193358, '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_P29282832_10-12-2025_01_02_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29282833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29282834, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29282835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29282836, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29282837, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29282838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29282839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29282840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29282841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29282842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29282843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29282844, '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 = 29273493 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 = 29273493 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 = 29273493 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29273493 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 = 29273493 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 = 29273493 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29273493_10-12-2025_05_34_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29273493 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_P29273493_10-12-2025_05_34_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29273701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29273703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29273704, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29273705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29273707, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29273708, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29273709, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29273711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29273712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29273714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29273715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29273716, 'pht': 3726}}" where mtr_portfolio_id = 29273493 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29273494 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 = 29273494 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 = 29273494 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29273494 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 = 29273494 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 = 29273494 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29273494_10-12-2025_05_35_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29273494 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_P29273494_10-12-2025_05_35_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29273734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29273735, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29273736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29273737, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29273738, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29273739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29273740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29273741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29273742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29273743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29273744, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29273745, 'pht': 3726}}" where mtr_portfolio_id = 29273494 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29273495 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 = 29273495 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 = 29273495 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29273495 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 = 29273495 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 = 29273495 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29273495_10-12-2025_05_35_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29273495 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_P29273495_10-12-2025_05_35_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29273686, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29273687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29273688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29273689, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29273690, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29273691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29273692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29273693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29273694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29273695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29273696, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29273697, 'pht': 3726}}" where mtr_portfolio_id = 29273495 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29273496 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 = 29273496 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 = 29273496 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29273496 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 = 29273496 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 = 29273496 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29273496_10-12-2025_05_36_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29273496 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_P29273496_10-12-2025_05_36_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29273662, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29273663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29273664, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29273665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29273666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29273667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29273668, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29273669, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29273670, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29273671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29273672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29273673, 'pht': 3726}}" where mtr_portfolio_id = 29273496 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29273497 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 = 29273497 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 = 29273497 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29273497 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 = 29273497 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 = 29273497 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29273497_10-12-2025_05_36_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29273497 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_P29273497_10-12-2025_05_36_12.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29273638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29273639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29273640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29273641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29273642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29273643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29273644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29273645, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29273646, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29273647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29273648, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29273649, 'pht': 3726}}" where mtr_portfolio_id = 29273497 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29273499 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 = 29273499 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 = 29273499 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29273499 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 = 29273499 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 = 29273499 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29273499_10-12-2025_05_36_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29273499 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_P29273499_10-12-2025_05_36_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29273578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29273579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29273580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29273581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29273582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29273583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29273584, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29273585, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29273586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29273587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29273588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29273589, 'pht': 3726}}" where mtr_portfolio_id = 29273499 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29273500 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 = 29273500 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 = 29273500 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29273500 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 = 29273500 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 = 29273500 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29273500_10-12-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29273500 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_P29273500_10-12-2025_05_37_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29273530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29273531, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29273532, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29273533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29273534, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29273535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29273536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29273537, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29273538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29273539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29273540, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29273541, 'pht': 3726}}" where mtr_portfolio_id = 29273500 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29273501 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 = 29273501 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 = 29273501 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29273501 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 = 29273501 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 = 29273501 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29273501_10-12-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29273501 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_P29273501_10-12-2025_05_38_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29273506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29273507, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29273508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29273509, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29273510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29273511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29273512, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29273513, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29273514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29273515, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29273516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29273517, 'pht': 3726}}" where mtr_portfolio_id = 29273501 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271794 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 = 29271794 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 = 29271794 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271794 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 = 29271794 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 = 29271794 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271794_10-12-2025_05_38_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271794 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_P29271794_10-12-2025_05_38_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272334, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272342, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272345, 'pht': 3726}}" where mtr_portfolio_id = 29271794 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271799 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 = 29271799 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 = 29271799 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271799 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 = 29271799 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 = 29271799 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271799_10-12-2025_05_39_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271799 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_P29271799_10-12-2025_05_39_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29272286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272299, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272305, 'pht': 3726}}" where mtr_portfolio_id = 29271799 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271820 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 = 29271820 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 = 29271820 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271820 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 = 29271820 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 = 29271820 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271820_10-12-2025_05_40_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271820 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_P29271820_10-12-2025_05_40_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272263, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272273, 'pht': 3726}}" where mtr_portfolio_id = 29271820 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271821 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 = 29271821 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 = 29271821 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271821 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 = 29271821 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 = 29271821 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271821_10-12-2025_05_40_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271821 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_P29271821_10-12-2025_05_40_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272210, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272211, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272214, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272217, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272218, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272219, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272221, 'pht': 3726}}" where mtr_portfolio_id = 29271821 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271823 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 = 29271823 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 = 29271823 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271823 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 = 29271823 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 = 29271823 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271823_10-12-2025_05_41_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271823 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_P29271823_10-12-2025_05_41_12.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272131, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272136, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272139, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272142, 'pht': 3726}}" where mtr_portfolio_id = 29271823 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271824 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 = 29271824 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 = 29271824 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271824 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 = 29271824 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 = 29271824 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271824_10-12-2025_05_41_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271824 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_P29271824_10-12-2025_05_41_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272094, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272101, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272102, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272105, 'pht': 3726}}" where mtr_portfolio_id = 29271824 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271826 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 = 29271826 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 = 29271826 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271826 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 = 29271826 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 = 29271826 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271826_10-12-2025_05_42_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271826 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_P29271826_10-12-2025_05_42_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29272031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272035, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272036, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272038, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272040, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272041, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272042, 'pht': 3726}}" where mtr_portfolio_id = 29271826 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271830 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 = 29271830 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 = 29271830 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271830 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 = 29271830 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 = 29271830 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271830_10-12-2025_05_42_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271830 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_P29271830_10-12-2025_05_42_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29271841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271842, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271847, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271850, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271851, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271852, 'pht': 3726}}" where mtr_portfolio_id = 29271830 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271834 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 = 29271834 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 = 29271834 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271834 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 = 29271834 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 = 29271834 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271834_10-12-2025_05_43_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271834 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_P29271834_10-12-2025_05_43_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271945, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271948, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271951, 'pht': 3726}}" where mtr_portfolio_id = 29271834 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271836 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 = 29271836 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 = 29271836 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271836 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 = 29271836 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 = 29271836 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271836_10-12-2025_05_44_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271836 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_P29271836_10-12-2025_05_44_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29271904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271910, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271915, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271919, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271921, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271922, 'pht': 3726}}" where mtr_portfolio_id = 29271836 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271839 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 = 29271839 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 = 29271839 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271839 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 = 29271839 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 = 29271839 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271839_10-12-2025_05_44_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271839 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_P29271839_10-12-2025_05_44_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271853, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271862, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271863, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271864, 'pht': 3726}}" where mtr_portfolio_id = 29271839 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267748 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 = 29267748 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 = 29267748 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267748 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 = 29267748 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 = 29267748 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267748_10-12-2025_05_45_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267748 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_P29267748_10-12-2025_05_45_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268340, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268353, 'pht': 3726}}" where mtr_portfolio_id = 29267748 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267751 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 = 29267751 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 = 29267751 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267751 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 = 29267751 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 = 29267751 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267751_10-12-2025_05_45_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267751 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_P29267751_10-12-2025_05_45_41.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268268, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268272, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268273, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268274, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268276, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268278, 'pht': 3726}}" where mtr_portfolio_id = 29267751 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267753 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 = 29267753 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 = 29267753 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267753 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 = 29267753 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 = 29267753 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267753_10-12-2025_05_46_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267753 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_P29267753_10-12-2025_05_46_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29268223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268235, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268238, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268242, 'pht': 3726}}" where mtr_portfolio_id = 29267753 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267754 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 = 29267754 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 = 29267754 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267754 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 = 29267754 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 = 29267754 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267754_10-12-2025_05_46_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267754 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_P29267754_10-12-2025_05_46_13.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268110, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268112, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268113, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268117, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268118, 'pht': 3726}}" where mtr_portfolio_id = 29267754 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267755 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 = 29267755 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 = 29267755 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267755 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 = 29267755 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 = 29267755 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267755_10-12-2025_05_46_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267755 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_P29267755_10-12-2025_05_46_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268035, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268036, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268039, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268040, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268042, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268043, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268045, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268046, 'pht': 3726}}" where mtr_portfolio_id = 29267755 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267756 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 = 29267756 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 = 29267756 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267756 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 = 29267756 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 = 29267756 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267756_10-12-2025_05_47_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267756 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_P29267756_10-12-2025_05_47_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268010, 'pht': 3726}}" where mtr_portfolio_id = 29267756 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267757 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 = 29267757 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 = 29267757 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267757 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 = 29267757 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 = 29267757 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267757_10-12-2025_05_48_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267757 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_P29267757_10-12-2025_05_48_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29267950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267951, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267952, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267954, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267961, 'pht': 3726}}" where mtr_portfolio_id = 29267757 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267758 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 = 29267758 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 = 29267758 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267758 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 = 29267758 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 = 29267758 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267758_10-12-2025_05_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267758 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_P29267758_10-12-2025_05_49_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29267886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267890, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267891, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267893, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267896, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267897, 'pht': 3726}}" where mtr_portfolio_id = 29267758 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267759 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 = 29267759 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 = 29267759 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267759 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 = 29267759 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 = 29267759 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267759_10-12-2025_05_49_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267759 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_P29267759_10-12-2025_05_49_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267844, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267845, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267846, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267847, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267849, 'pht': 3726}}" where mtr_portfolio_id = 29267759 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29266334 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 = 29266334 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 = 29266334 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29266334 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 = 29266334 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 = 29266334 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29266334_10-12-2025_05_49_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29266334 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_P29266334_10-12-2025_05_49_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29266389, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29266390, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29266391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29266392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29266393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29266394, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29266395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29266396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29266397, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29266398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29266399, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29266400, 'pht': 3726}}" where mtr_portfolio_id = 29266334 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29266335 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 = 29266335 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 = 29266335 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29266335 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 = 29266335 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 = 29266335 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29266335_10-12-2025_05_50_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29266335 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_P29266335_10-12-2025_05_50_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29266363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29266364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29266365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29266366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29266367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29266368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29266369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29266370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29266371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29266372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29266373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29266374, 'pht': 3726}}" where mtr_portfolio_id = 29266335 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29266336 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 = 29266336 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 = 29266336 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29266336 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 = 29266336 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 = 29266336 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29266336_10-12-2025_05_50_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29266336 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_P29266336_10-12-2025_05_50_42.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29266337, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29266338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29266339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29266340, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29266341, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29266342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29266343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29266344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29266345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29266346, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29266347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29266348, 'pht': 3726}}" where mtr_portfolio_id = 29266336 and dashboard_run_id = 2720969 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267192 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': 4201484, 'mtr_portfolio_id': 29267192, 'created_at': datetime.datetime(2025, 12, 10, 5, 51, 8), 'result': '0.049854820269888946', 'result_long': None, 'result_double': None}] Qualite : 0.049854820269888946 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29267192 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267192_10-12-2025_05_51_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267192 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_P29267192_10-12-2025_05_51_11.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267235, 'pht': 3726}}" where mtr_portfolio_id = 29267192 and dashboard_run_id = 2720969 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`=29267192 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193322, 0.049854820269888946, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267192_10-12-2025_05_51_11.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267235, '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 = 29267785 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': 4201485, 'mtr_portfolio_id': 29267785, 'created_at': datetime.datetime(2025, 12, 10, 5, 51, 29), 'result': '0.04436651274925336', 'result_long': None, 'result_double': None}] Qualite : 0.04436651274925336 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29267785 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267785_10-12-2025_05_51_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267785 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_P29267785_10-12-2025_05_51_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267790, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267797, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267801, 'pht': 3726}}" where mtr_portfolio_id = 29267785 and dashboard_run_id = 2720969 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`=29267785 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193323, 0.04436651274925336, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267785_10-12-2025_05_51_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267790, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267797, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267801, '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 = 29268760 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': 4201486, 'mtr_portfolio_id': 29268760, 'created_at': datetime.datetime(2025, 12, 10, 5, 52, 1), 'result': '0.04545820824098292', 'result_long': None, 'result_double': None}] Qualite : 0.04545820824098292 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29268760 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29268760_10-12-2025_05_52_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29268760 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_P29268760_10-12-2025_05_52_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268769, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268778, 'pht': 3726}}" where mtr_portfolio_id = 29268760 and dashboard_run_id = 2720969 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`=29268760 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193324, 0.04545820824098292, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29268760_10-12-2025_05_52_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268769, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268778, '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 = 29269175 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': 4201487, 'mtr_portfolio_id': 29269175, 'created_at': datetime.datetime(2025, 12, 10, 5, 52, 28), 'result': '0.058236734453649346', 'result_long': None, 'result_double': None}] Qualite : 0.058236734453649346 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29269175 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29269175_10-12-2025_05_52_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29269175 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_P29269175_10-12-2025_05_52_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269178, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269185, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269188, 'pht': 3726}}" where mtr_portfolio_id = 29269175 and dashboard_run_id = 2720969 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`=29269175 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193325, 0.058236734453649346, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29269175_10-12-2025_05_52_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269178, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269185, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269188, '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 = 29269542 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': 4201488, 'mtr_portfolio_id': 29269542, 'created_at': datetime.datetime(2025, 12, 10, 5, 53, 31), 'result': '0.06737333992437101', 'result_long': None, 'result_double': None}] Qualite : 0.06737333992437101 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29269542 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29269542_10-12-2025_05_53_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29269542 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_P29269542_10-12-2025_05_53_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269545, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269550, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269552, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269556, 'pht': 3726}}" where mtr_portfolio_id = 29269542 and dashboard_run_id = 2720969 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`=29269542 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193327, 0.06737333992437101, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29269542_10-12-2025_05_53_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269545, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269550, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269552, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269556, '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 = 29269897 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': 4201489, 'mtr_portfolio_id': 29269897, 'created_at': datetime.datetime(2025, 12, 10, 5, 53, 59), 'result': '0.052186799134214784', 'result_long': None, 'result_double': None}] Qualite : 0.052186799134214784 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29269897 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29269897_10-12-2025_05_54_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29269897 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_P29269897_10-12-2025_05_54_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269915, 'pht': 3726}}" where mtr_portfolio_id = 29269897 and dashboard_run_id = 2720969 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`=29269897 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193328, 0.052186799134214784, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29269897_10-12-2025_05_54_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269915, '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 = 29270467 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': 4201490, 'mtr_portfolio_id': 29270467, 'created_at': datetime.datetime(2025, 12, 10, 5, 54, 28), 'result': '0.04552650259918705', 'result_long': None, 'result_double': None}] Qualite : 0.04552650259918705 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29270467 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29270467_10-12-2025_05_54_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29270467 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_P29270467_10-12-2025_05_54_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29270528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29270529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29270530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29270531, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29270532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29270533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29270534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29270535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29270536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29270537, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29270538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29270539, 'pht': 3726}}" where mtr_portfolio_id = 29270467 and dashboard_run_id = 2720969 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`=29270467 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193329, 0.04552650259918705, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29270467_10-12-2025_05_54_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29270528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29270529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29270530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29270531, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29270532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29270533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29270534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29270535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29270536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29270537, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29270538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29270539, '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 = 29271024 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': 4201491, 'mtr_portfolio_id': 29271024, 'created_at': datetime.datetime(2025, 12, 10, 5, 55, 30), 'result': '0.0481689514519952', 'result_long': None, 'result_double': None}] Qualite : 0.0481689514519952 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29271024 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271024_10-12-2025_05_55_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271024 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_P29271024_10-12-2025_05_55_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271067, 'pht': 3726}}" where mtr_portfolio_id = 29271024 and dashboard_run_id = 2720969 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`=29271024 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193330, 0.0481689514519952, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271024_10-12-2025_05_55_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271067, '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 = 29271469 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': 4201492, 'mtr_portfolio_id': 29271469, 'created_at': datetime.datetime(2025, 12, 10, 5, 55, 40), 'result': '0.041139274307971346', 'result_long': None, 'result_double': None}] Qualite : 0.041139274307971346 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29271469 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271469_10-12-2025_05_55_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271469 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_P29271469_10-12-2025_05_55_43.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271480, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271482, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271487, 'pht': 3726}}" where mtr_portfolio_id = 29271469 and dashboard_run_id = 2720969 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`=29271469 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193332, 0.041139274307971346, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271469_10-12-2025_05_55_43.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271480, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271482, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271487, '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 = 29272155 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': 4201493, 'mtr_portfolio_id': 29272155, 'created_at': datetime.datetime(2025, 12, 10, 5, 56), 'result': '0.05018099612163566', 'result_long': None, 'result_double': None}] Qualite : 0.05018099612163566 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29272155 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29272155_10-12-2025_05_56_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29272155 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_P29272155_10-12-2025_05_56_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272171, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272178, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272179, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272181, 'pht': 3726}}" where mtr_portfolio_id = 29272155 and dashboard_run_id = 2720969 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`=29272155 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193333, 0.05018099612163566, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29272155_10-12-2025_05_56_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272171, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272178, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272179, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272181, '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 = 29272828 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': 4201494, 'mtr_portfolio_id': 29272828, 'created_at': datetime.datetime(2025, 12, 10, 5, 56, 13), 'result': '0.040694934847137175', 'result_long': None, 'result_double': None}] Qualite : 0.040694934847137175 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29272828 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29272828_10-12-2025_05_56_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29272828 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_P29272828_10-12-2025_05_56_16.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29272853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272856, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272859, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272864, 'pht': 3726}}" where mtr_portfolio_id = 29272828 and dashboard_run_id = 2720969 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`=29272828 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193334, 0.040694934847137175, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29272828_10-12-2025_05_56_16.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29272853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272856, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272859, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272864, '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 = 29273785 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': 4201495, 'mtr_portfolio_id': 29273785, 'created_at': datetime.datetime(2025, 12, 10, 5, 56, 31), 'result': '0.04043243912418004', 'result_long': None, 'result_double': None}] Qualite : 0.04043243912418004 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29273785 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29273785_10-12-2025_05_56_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29273785 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_P29273785_10-12-2025_05_56_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29273786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29273787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29273788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29273789, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29273790, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29273791, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29273792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29273793, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29273794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29273795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29273796, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29273797, 'pht': 3726}}" where mtr_portfolio_id = 29273785 and dashboard_run_id = 2720969 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`=29273785 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193335, 0.04043243912418004, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29273785_10-12-2025_05_56_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29273786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29273787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29273788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29273789, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29273790, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29273791, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29273792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29273793, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29273794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29273795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29273796, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29273797, '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 = 29274052 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': 4201496, 'mtr_portfolio_id': 29274052, 'created_at': datetime.datetime(2025, 12, 10, 5, 57, 29), 'result': '0.04936157822056145', 'result_long': None, 'result_double': None}] Qualite : 0.04936157822056145 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29274052 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29274052_10-12-2025_05_57_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29274052 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_P29274052_10-12-2025_05_57_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29274056, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29274057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29274058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29274059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29274060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29274061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29274062, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29274063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29274064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29274065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29274066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29274067, 'pht': 3726}}" where mtr_portfolio_id = 29274052 and dashboard_run_id = 2720969 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`=29274052 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193337, 0.04936157822056145, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29274052_10-12-2025_05_57_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29274056, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29274057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29274058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29274059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29274060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29274061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29274062, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29274063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29274064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29274065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29274066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29274067, '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 = 29274392 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': 4201497, 'mtr_portfolio_id': 29274392, 'created_at': datetime.datetime(2025, 12, 10, 5, 57, 59), 'result': '0.038096340275987885', 'result_long': None, 'result_double': None}] Qualite : 0.038096340275987885 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29274392 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29274392_10-12-2025_05_58_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29274392 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_P29274392_10-12-2025_05_58_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29274397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29274398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29274399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29274400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29274401, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29274402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29274403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29274404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29274405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29274406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29274407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29274408, 'pht': 3726}}" where mtr_portfolio_id = 29274392 and dashboard_run_id = 2720969 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`=29274392 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193338, 0.038096340275987885, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29274392_10-12-2025_05_58_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29274397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29274398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29274399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29274400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29274401, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29274402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29274403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29274404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29274405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29274406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29274407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29274408, '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 = 29274819 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': 4201498, 'mtr_portfolio_id': 29274819, 'created_at': datetime.datetime(2025, 12, 10, 5, 58, 28), 'result': '0.049889474204194054', 'result_long': None, 'result_double': None}] Qualite : 0.049889474204194054 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29274819 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29274819_10-12-2025_05_58_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29274819 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_P29274819_10-12-2025_05_58_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29274822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29274823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29274824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29274825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29274826, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29274827, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29274828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29274829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29274830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29274831, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29274832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29274833, 'pht': 3726}}" where mtr_portfolio_id = 29274819 and dashboard_run_id = 2720969 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`=29274819 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193339, 0.049889474204194054, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29274819_10-12-2025_05_58_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29274822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29274823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29274824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29274825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29274826, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29274827, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29274828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29274829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29274830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29274831, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29274832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29274833, '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 = 29275269 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': 4201499, 'mtr_portfolio_id': 29275269, 'created_at': datetime.datetime(2025, 12, 10, 5, 59, 29), 'result': '0.05287439535003438', 'result_long': None, 'result_double': None}] Qualite : 0.05287439535003438 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29275269 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29275269_10-12-2025_05_59_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29275269 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_P29275269_10-12-2025_05_59_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29275272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29275273, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29275274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29275275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29275276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29275277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29275278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29275279, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29275280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29275281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29275282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29275283, 'pht': 3726}}" where mtr_portfolio_id = 29275269 and dashboard_run_id = 2720969 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`=29275269 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193340, 0.05287439535003438, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29275269_10-12-2025_05_59_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29275272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29275273, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29275274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29275275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29275276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29275277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29275278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29275279, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29275280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29275281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29275282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29275283, '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 = 29276023 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': 4201500, 'mtr_portfolio_id': 29276023, 'created_at': datetime.datetime(2025, 12, 10, 6, 0, 33), 'result': '0.039968371308973134', 'result_long': None, 'result_double': None}] Qualite : 0.039968371308973134 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29276023 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29276023_10-12-2025_06_00_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29276023 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_P29276023_10-12-2025_06_00_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29276029, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29276030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29276031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29276032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29276033, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29276034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29276035, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29276036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29276037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29276038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29276039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29276040, 'pht': 3726}}" where mtr_portfolio_id = 29276023 and dashboard_run_id = 2720969 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`=29276023 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193342, 0.039968371308973134, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29276023_10-12-2025_06_00_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29276029, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29276030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29276031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29276032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29276033, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29276034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29276035, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29276036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29276037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29276038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29276039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29276040, '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 = 29276607 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': 4201501, 'mtr_portfolio_id': 29276607, 'created_at': datetime.datetime(2025, 12, 10, 6, 0, 40), 'result': '0.04091976089225973', 'result_long': None, 'result_double': None}] Qualite : 0.04091976089225973 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29276607 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29276607_10-12-2025_06_00_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29276607 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_P29276607_10-12-2025_06_00_43.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29276611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29276612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29276613, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29276614, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29276615, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29276616, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29276617, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29276618, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29276619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29276620, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29276621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29276622, 'pht': 3726}}" where mtr_portfolio_id = 29276607 and dashboard_run_id = 2720969 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`=29276607 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193343, 0.04091976089225973, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29276607_10-12-2025_06_00_43.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29276611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29276612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29276613, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29276614, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29276615, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29276616, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29276617, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29276618, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29276619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29276620, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29276621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29276622, '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 = 29277316 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': 4201502, 'mtr_portfolio_id': 29277316, 'created_at': datetime.datetime(2025, 12, 10, 6, 1, 12), 'result': '0.035689277189538876', 'result_long': None, 'result_double': None}] Qualite : 0.035689277189538876 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29277316 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29277316_10-12-2025_06_01_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29277316 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_P29277316_10-12-2025_06_01_16.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29277322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29277323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29277324, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29277325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29277326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29277327, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29277328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29277329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29277330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29277331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29277332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29277333, 'pht': 3726}}" where mtr_portfolio_id = 29277316 and dashboard_run_id = 2720969 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`=29277316 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193344, 0.035689277189538876, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29277316_10-12-2025_06_01_16.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29277322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29277323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29277324, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29277325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29277326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29277327, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29277328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29277329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29277330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29277331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29277332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29277333, '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 = 29277918 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': 4201503, 'mtr_portfolio_id': 29277918, 'created_at': datetime.datetime(2025, 12, 10, 6, 1, 28), 'result': '0.04003691154459805', 'result_long': None, 'result_double': None}] Qualite : 0.04003691154459805 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29277918 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29277918_10-12-2025_06_01_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29277918 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_P29277918_10-12-2025_06_01_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29277962, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29277963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29277964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29277965, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29277966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29277967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29277968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29277969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29277970, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29277971, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29277972, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29277973, 'pht': 3726}}" where mtr_portfolio_id = 29277918 and dashboard_run_id = 2720969 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`=29277918 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193345, 0.04003691154459805, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29277918_10-12-2025_06_01_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29277962, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29277963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29277964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29277965, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29277966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29277967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29277968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29277969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29277970, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29277971, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29277972, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29277973, '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 = 29278788 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': 4201504, 'mtr_portfolio_id': 29278788, 'created_at': datetime.datetime(2025, 12, 10, 6, 1, 58), 'result': '0.0447349469805257', 'result_long': None, 'result_double': None}] Qualite : 0.0447349469805257 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29278788 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29278788_10-12-2025_06_02_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29278788 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_P29278788_10-12-2025_06_02_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29278810, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29278811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29278812, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29278813, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29278814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29278815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29278816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29278817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29278818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29278819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29278820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29278821, 'pht': 3726}}" where mtr_portfolio_id = 29278788 and dashboard_run_id = 2720969 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`=29278788 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193347, 0.0447349469805257, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29278788_10-12-2025_06_02_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29278810, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29278811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29278812, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29278813, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29278814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29278815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29278816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29278817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29278818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29278819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29278820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29278821, '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 = 29279316 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': 4201505, 'mtr_portfolio_id': 29279316, 'created_at': datetime.datetime(2025, 12, 10, 6, 2, 29), 'result': '0.04359771099879228', 'result_long': None, 'result_double': None}] Qualite : 0.04359771099879228 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29279316 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29279316_10-12-2025_06_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29279316 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_P29279316_10-12-2025_06_02_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29279324, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29279325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29279326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29279330, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29279335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29279340, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29279345, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29279349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29279350, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29279351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29279352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29279354, 'pht': 3726}}" where mtr_portfolio_id = 29279316 and dashboard_run_id = 2720969 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`=29279316 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193348, 0.04359771099879228, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29279316_10-12-2025_06_02_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29279324, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29279325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29279326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29279330, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29279335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29279340, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29279345, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29279349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29279350, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29279351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29279352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29279354, '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 = 29280984 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': 4201506, 'mtr_portfolio_id': 29280984, 'created_at': datetime.datetime(2025, 12, 10, 6, 3, 29), 'result': '0.08783611097967686', 'result_long': None, 'result_double': None}] Qualite : 0.08783611097967686 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29280984 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29280984_10-12-2025_06_03_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29280984 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_P29280984_10-12-2025_06_03_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29280986, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29280987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29280988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29280989, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29280990, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29280991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29280992, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29280993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29280994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29280995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29280996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29280997, 'pht': 3726}}" where mtr_portfolio_id = 29280984 and dashboard_run_id = 2720969 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`=29280984 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193349, 0.08783611097967686, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29280984_10-12-2025_06_03_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29280986, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29280987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29280988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29280989, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29280990, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29280991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29280992, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29280993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29280994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29280995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29280996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29280997, '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 = 29281293 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': 4201507, 'mtr_portfolio_id': 29281293, 'created_at': datetime.datetime(2025, 12, 10, 6, 4, 1), 'result': '0.012725153694335427', 'result_long': None, 'result_double': None}] Qualite : 0.012725153694335427 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29281293 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29281293_10-12-2025_06_04_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29281293 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_P29281293_10-12-2025_06_04_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29281298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29281299, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29281300, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29281301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29281302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29281303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29281304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29281305, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29281306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29281307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29281308, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29281309, 'pht': 3726}}" where mtr_portfolio_id = 29281293 and dashboard_run_id = 2720969 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`=29281293 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193350, 0.012725153694335427, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29281293_10-12-2025_06_04_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29281298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29281299, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29281300, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29281301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29281302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29281303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29281304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29281305, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29281306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29281307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29281308, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29281309, '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 = 29281407 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': 4201508, 'mtr_portfolio_id': 29281407, 'created_at': datetime.datetime(2025, 12, 10, 6, 4, 30), 'result': '0.02842570640286059', 'result_long': None, 'result_double': None}] Qualite : 0.02842570640286059 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29281407 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29281407_10-12-2025_06_04_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29281407 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_P29281407_10-12-2025_06_04_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29281408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29281409, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29281410, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29281411, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29281412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29281413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29281414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29281415, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29281416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29281417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29281418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29281419, 'pht': 3726}}" where mtr_portfolio_id = 29281407 and dashboard_run_id = 2720969 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`=29281407 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193352, 0.02842570640286059, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29281407_10-12-2025_06_04_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29281408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29281409, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29281410, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29281411, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29281412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29281413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29281414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29281415, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29281416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29281417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29281418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29281419, '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 = 29281580 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': 4201509, 'mtr_portfolio_id': 29281580, 'created_at': datetime.datetime(2025, 12, 10, 6, 5, 30), 'result': '0.07936297725601436', 'result_long': None, 'result_double': None}] Qualite : 0.07936297725601436 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29281580 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29281580_10-12-2025_06_05_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29281580 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_P29281580_10-12-2025_06_05_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29281583, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29281584, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29281585, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29281586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29281587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29281588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29281589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29281590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29281591, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29281592, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29281593, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29281594, 'pht': 3726}}" where mtr_portfolio_id = 29281580 and dashboard_run_id = 2720969 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`=29281580 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193353, 0.07936297725601436, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29281580_10-12-2025_06_05_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29281583, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29281584, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29281585, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29281586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29281587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29281588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29281589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29281590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29281591, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29281592, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29281593, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29281594, '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 = 29281828 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': 4201510, 'mtr_portfolio_id': 29281828, 'created_at': datetime.datetime(2025, 12, 10, 6, 5, 41), 'result': '0.10079782619358155', 'result_long': None, 'result_double': None}] Qualite : 0.10079782619358155 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29281828 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29281828_10-12-2025_06_05_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29281828 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_P29281828_10-12-2025_06_05_42.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29281829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29281830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29281831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29281832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29281833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29281834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29281835, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29281836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29281837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29281838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29281839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29281840, 'pht': 3726}}" where mtr_portfolio_id = 29281828 and dashboard_run_id = 2720969 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`=29281828 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193354, 0.10079782619358155, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29281828_10-12-2025_06_05_42.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29281829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29281830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29281831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29281832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29281833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29281834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29281835, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29281836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29281837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29281838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29281839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29281840, '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 = 29282223 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': 4201511, 'mtr_portfolio_id': 29282223, 'created_at': datetime.datetime(2025, 12, 10, 6, 5, 58), 'result': '0.02620681653202164', 'result_long': None, 'result_double': None}] Qualite : 0.02620681653202164 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29282223 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29282223_10-12-2025_06_05_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29282223 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_P29282223_10-12-2025_06_05_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29282260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29282261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29282262, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29282263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29282264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29282265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29282266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29282267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29282268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29282269, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29282270, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29282271, 'pht': 3726}}" where mtr_portfolio_id = 29282223 and dashboard_run_id = 2720969 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`=29282223 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193355, 0.02620681653202164, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29282223_10-12-2025_06_05_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29282260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29282261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29282262, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29282263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29282264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29282265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29282266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29282267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29282268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29282269, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29282270, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29282271, '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 = 29282751 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': 4200755, 'mtr_portfolio_id': 29282751, 'created_at': datetime.datetime(2025, 12, 9, 23, 49), 'result': '0.1416398971533147', 'result_long': None, 'result_double': None}] Qualite : 0.1416398971533147 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29282751 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29282751_09-12-2025_23_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29282751 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_P29282751_09-12-2025_23_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29282752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29282753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29282754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29282755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29282756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29282757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29282758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29282759, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29282760, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29282761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29282762, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29282763, 'pht': 3726}}" where mtr_portfolio_id = 29282751 and dashboard_run_id = 2720969 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`=29282751 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193357, 0.1416398971533147, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29282751_09-12-2025_23_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29282752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29282753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29282754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29282755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29282756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29282757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29282758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29282759, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29282760, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29282761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29282762, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29282763, '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 = 29282832 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': 4200779, 'mtr_portfolio_id': 29282832, 'created_at': datetime.datetime(2025, 12, 10, 1, 2, 31), 'result': '0.05045004484157834', 'result_long': None, 'result_double': None}] Qualite : 0.05045004484157834 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29282832 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29282832_10-12-2025_01_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29282832 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_P29282832_10-12-2025_01_02_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29282833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29282834, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29282835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29282836, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29282837, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29282838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29282839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29282840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29282841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29282842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29282843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29282844, 'pht': 3726}}" where mtr_portfolio_id = 29282832 and dashboard_run_id = 2720969 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`=29282832 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18193358, 0.05045004484157834, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29282832_10-12-2025_01_02_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29282833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29282834, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29282835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29282836, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29282837, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29282838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29282839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29282840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29282841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29282842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29282843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29282844, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29273493,29273494,29273495,29273496,29273497,29273499,29273500,29273501,29271794,29271799,29271820,29271821,29271823,29271824,29271826,29271830,29271834,29271836,29271839,29267748,29267751,29267753,29267754,29267755,29267756,29267757,29267758,29267759,29266334,29266335,29266336,29267192,29267785,29268760,29269175,29269542,29269897,29270467,29271024,29271469,29272155,29272828,29273785,29274052,29274392,29274819,29275269,29276023,29276607,29277316,29277918,29278788,29279316,29280984,29281293,29281407,29281580,29281828,29282223,29282751,29282832) result : ((1398478389,), (1398478392,), (1398478395,), (1398478404,), (1398478406,), (1398478408,), (1398478411,), (1398478413,), (1398478415,), (1398478421,), (1398478422,), (1398478425,), (1398478426,), (1398478429,), (1398478430,), (1398478433,), (1398478434,), (1398478438,), (1398478439,), (1398478442,), (1398478443,), (1398478457,), (1398478492,), (1398478526,), (1398478560,), (1398478593,), (1398478627,), (1398478793,), (1398478869,), (1398478936,), (1398478975,), (1398479014,), (1398479050,), (1398479333,), (1398479338,), (1398479344,), (1398479350,), (1398479353,), (1398479358,), (1398479362,), (1398479364,), (1398479366,), (1398479368,), (1398479370,), (1398479374,), (1398479382,), (1398479384,), (1398479387,), (1398479389,), (1398479391,), (1398479393,), (1398479400,), (1398479403,), (1398479405,), (1398479408,), (1398479411,), (1398479414,), (1398479421,), (1398479422,), (1398479424,), (1398479426,), (1398479430,), (1398479434,), (1398479442,), (1398479445,), (1398479448,), (1398479450,), (1398479452,), (1398479454,), (1398478115,), (1398478116,), (1398478118,), (1398478120,), (1398478126,), (1398478128,), (1398478132,), (1398478137,), (1398478142,), (1398478146,), (1398478154,), (1398478156,), (1398478158,), (1398478161,), (1398478164,), (1398478166,), (1398478174,), (1398478177,), (1398478181,), (1398478185,), (1398478190,), (1398478194,), (1398478201,), (1398478203,), (1398478205,), (1398478208,), (1398478212,), (1398478216,), (1398478222,), (1398478225,), (1398478227,), (1398478229,), (1398478231,), (1398478234,), (1398478247,), (1398478250,), (1398478254,), (1398478257,), (1398478261,), (1398478264,), (1398478268,), (1398478271,), (1398478274,), (1398478277,), (1398478280,), (1398478284,), (1398478294,), (1398478298,), (1398478301,), (1398478303,), (1398478308,), (1398478311,), (1398478320,), (1398478323,), (1398478327,), (1398478332,), (1398478335,), (1398478338,), (1398478344,), (1398478346,), (1398478349,), (1398478352,), (1398478355,), (1398478358,), (1398478367,), (1398478370,), (1398478372,), (1398478373,), (1398478375,), (1398478377,), (1398478381,), (1398478383,), (1398478386,), (1398477880,), (1398477881,), (1398477883,), (1398477892,), (1398477895,), (1398477899,), (1398477903,), (1398477905,), (1398477906,), (1398477907,), (1398477909,), (1398477911,), (1398477915,), (1398477919,), (1398477922,), (1398477934,), (1398477936,), (1398477938,), (1398477939,), (1398477940,), (1398477943,), (1398477954,), (1398477957,), (1398477959,), (1398477962,), (1398477965,), (1398477968,), (1398477985,), (1398477987,), (1398477991,), (1398477994,), (1398477998,), (1398478002,), (1398478010,), (1398478012,), (1398478014,), (1398478016,), (1398478019,), (1398478022,), (1398478042,), (1398478044,), (1398478046,), (1398478048,), (1398478051,), (1398478053,), (1398478063,), (1398478067,), (1398478070,), (1398478073,), (1398478077,), (1398478079,), (1398478087,), (1398478089,), (1398478092,), (1398478095,), (1398478097,), (1398478101,), (1398478109,), (1398478111,), (1398480933,), (1398491628,), (1398491666,), (1398492370,), (1398492402,), (1398492436,), (1398492548,), (1398492777,), (1398492778,), (1398492782,), (1398492786,), (1398492790,), (1398492835,), (1398492838,), (1398492841,), (1398492861,), (1398492862,), (1398492866,), (1398493100,), (1398493206,), (1398493314,), (1398493409,), (1398493473,), (1398493477,), (1398493555,), (1398493564,), (1398493590,), (1398494074,), (1398494075,), (1398494110,), (1398494115,), (1398494156,), (1398494157,), (1398494188,), (1398494189,), (1398494241,), (1398494270,), (1398494297,), (1398494315,), (1398494318,), (1398494509,), (1398494565,), (1398494624,), (1398494759,), (1398494761,), (1398494764,), (1398494767,), (1398494770,), (1398495332,), (1398495418,), (1398495454,), (1398495483,), (1398496799,), (1398494378,), (1398494380,), (1398494381,), (1398494383,), (1398494386,), (1398494675,), (1398494688,), (1398494693,), (1398494774,), (1398495513,), (1398495598,), (1398495867,), (1398495948,), (1398496030,), (1398496080,), (1398496138,), (1398496199,), (1398496871,), (1398497043,), (1398497065,), (1398497093,), (1398497395,), (1398497451,), (1398497687,), (1398497732,), (1398497778,), (1398497835,), (1398497908,), (1398497961,), (1398498085,), (1398498090,), (1398498149,), (1398498150,), (1398498180,), (1398498182,), (1398498441,), (1398498469,), (1398498591,), (1398498624,), (1398498653,), (1398498663,), (1398498680,), (1398498699,), (1398498808,), (1398498827,), (1398498832,), (1398498840,), (1398498842,), (1398498867,), (1398498893,), (1398498919,), (1398498945,), (1398499177,), (1398499810,), (1398500190,), (1398500334,), (1398500486,), (1398500582,), (1398500641,), (1398500688,), (1398501004,), (1398501049,), (1398501231,), (1398501248,), (1398501258,), (1398501263,), (1398501264,), (1398501270,), (1398501280,), (1398501287,), (1398492879,), (1398492882,), (1398492885,), (1398492888,), (1398492891,), (1398492894,), (1398493613,), (1398493618,), (1398493621,), (1398493766,), (1398493801,), (1398493839,), (1398493875,), (1398493912,), (1398493950,), (1398494192,), (1398494193,), (1398494196,), (1398494197,), (1398494339,), (1398494376,), (1398487618,), (1398487771,), (1398487905,), (1398488061,), (1398488374,), (1398488465,), (1398488568,), (1398488731,), (1398488858,), (1398488995,), (1398489461,), (1398489543,), (1398489612,), (1398489708,), (1398489793,), (1398489854,), (1398490018,), (1398490101,), (1398490172,), (1398490257,), (1398490351,), (1398490431,), (1398490745,), (1398490823,), (1398490882,), (1398490900,), (1398490926,), (1398491021,), (1398491057,), (1398491090,), (1398491123,), (1398491182,), (1398491253,), (1398491374,), (1398491383,), (1398491417,), (1398491471,), (1398491494,), (1398491497,), (1398491611,), (1398491616,), (1398491618,), (1398491620,), (1398491622,), (1398491624,), (1398491771,), (1398491880,), (1398492000,), (1398492133,), (1398492580,), (1398492607,), (1398492688,), (1398492724,), (1398492726,), (1398492752,), (1398492766,), (1398492772,), (1398492794,), (1398492798,), (1398492800,), (1398492803,), (1398492806,), (1398492809,), (1398492813,), (1398492844,), (1398492845,), (1398492850,), (1398492871,), (1398492873,), (1398492875,), (1398483611,), (1398483721,), (1398484213,), (1398484326,), (1398484391,), (1398484427,), (1398484472,), (1398484542,), (1398484924,), (1398485056,), (1398485166,), (1398485247,), (1398485324,), (1398485385,), (1398485779,), (1398485903,), (1398486077,), (1398486136,), (1398486170,), (1398486184,), (1398486262,), (1398486299,), (1398486336,), (1398486374,), (1398486410,), (1398486437,), (1398486569,), (1398486619,), (1398486660,), (1398486716,), (1398486787,), (1398486848,), (1398486975,), (1398487044,), (1398487098,), (1398487140,), (1398487197,), (1398487259,), (1398487432,), (1398487440,), (1398487442,), (1398487444,), (1398487447,), (1398487450,), (1398487461,), (1398487484,), (1398481083,), (1398481086,), (1398481091,), (1398481102,), (1398481106,), (1398481110,), (1398481113,), (1398481115,), (1398481118,), (1398481132,), (1398481137,), (1398481142,), (1398481145,), (1398481148,), (1398481152,), (1398481157,), (1398481159,), (1398481161,), (1398481164,), (1398481167,), (1398481170,), (1398481179,), (1398481182,), (1398481183,), (1398481186,), (1398481189,), (1398481191,), (1398481197,), (1398481199,), (1398481202,), (1398481205,), (1398481208,), (1398481211,), (1398481214,), (1398481216,), (1398481219,), (1398481222,), (1398481226,), (1398481236,), (1398481249,), (1398481251,), (1398481277,), (1398481280,), (1398481284,), (1398481285,), (1398481294,), (1398481298,), (1398481301,), (1398481304,), (1398481307,), (1398481310,), (1398481323,), (1398481357,), (1398481393,), (1398481429,), (1398481471,), (1398481537,), (1398481782,), (1398481783,), (1398481855,), (1398481856,), (1398481930,), (1398481936,), (1398482010,), (1398482024,), (1398482083,), (1398482110,), (1398482239,), (1398482283,), (1398482826,), (1398482891,), (1398483022,), (1398483120,), (1398483264,), (1398483317,), (1398483432,), (1398483466,), (1398483501,), (1398483533,), (1398480841,), (1398480843,), (1398480853,), (1398480856,), (1398480858,), (1398480862,), (1398480866,), (1398480868,), (1398480875,), (1398480877,), (1398480881,), (1398480885,), (1398480889,), (1398480893,), (1398480897,), (1398480899,), (1398480902,), (1398480905,), (1398480908,), (1398480911,), (1398480934,), (1398480935,), (1398480938,), (1398480941,), (1398480951,), (1398480955,), (1398480957,), (1398480959,), (1398480960,), (1398480961,), (1398480968,), (1398480971,), (1398480974,), (1398480977,), (1398480978,), (1398480980,), (1398480990,), (1398480993,), (1398480996,), (1398480999,), (1398481002,), (1398481003,), (1398481007,), (1398481008,), (1398481012,), (1398481016,), (1398481021,), (1398481026,), (1398481032,), (1398481035,), (1398481038,), (1398481040,), (1398481042,), (1398481045,), (1398481054,), (1398481059,), (1398481062,), (1398481065,), (1398481067,), (1398481070,), (1398481079,), (1398481081,), (1398479970,), (1398479985,), (1398479990,), (1398479999,), (1398480013,), (1398480015,), (1398480020,), (1398480024,), (1398480027,), (1398480031,), (1398480035,), (1398480039,), (1398480045,), (1398480046,), (1398480049,), (1398480052,), (1398480055,), (1398480057,), (1398480065,), (1398480066,), (1398480068,), (1398480069,), (1398480072,), (1398480073,), (1398480078,), (1398480079,), (1398480084,), (1398480085,), (1398480089,), (1398480090,), (1398480099,), (1398480101,), (1398480105,), (1398480126,), (1398480163,), (1398480203,), (1398480327,), (1398480365,), (1398480398,), (1398480434,), (1398480470,), (1398480505,), (1398480556,), (1398480557,), (1398480581,), (1398480617,), (1398480642,), (1398480646,), (1398480693,), (1398480718,), (1398480720,), (1398480721,), (1398480724,), (1398480727,), (1398480741,), (1398480744,), (1398480746,), (1398480750,), (1398480754,), (1398480758,), (1398480765,), (1398480766,), (1398480768,), (1398480770,), (1398480774,), (1398480777,), (1398480789,), (1398480791,), (1398480793,), (1398480795,), (1398480799,), (1398480803,), (1398480813,), (1398480817,), (1398480819,), (1398480821,), (1398480822,), (1398480825,), (1398480831,), (1398480834,), (1398480836,), (1398480839,), (1398479697,), (1398479700,), (1398479703,), (1398479712,), (1398479714,), (1398479716,), (1398479719,), (1398479721,), (1398479723,), (1398479731,), (1398479733,), (1398479737,), (1398479741,), (1398479743,), (1398479746,), (1398479753,), (1398479756,), (1398479761,), (1398479765,), (1398479769,), (1398479772,), (1398479780,), (1398479783,), (1398479785,), (1398479788,), (1398479792,), (1398479794,), (1398479805,), (1398479806,), (1398479811,), (1398479813,), (1398479816,), (1398479818,), (1398479822,), (1398479823,), (1398479829,), (1398479830,), (1398479833,), (1398479834,), (1398479841,), (1398479843,), (1398479845,), (1398479847,), (1398479850,), (1398479852,), (1398479862,), (1398479865,), (1398479867,), (1398479869,), (1398479873,), (1398479876,), (1398479883,), (1398479886,), (1398479887,), (1398479889,), (1398479891,), (1398479895,), (1398479905,), (1398479908,), (1398479911,), (1398479913,), (1398479914,), (1398479915,), (1398479923,), (1398479924,), (1398479928,), (1398479929,), (1398479933,), (1398479934,), (1398479936,), (1398479938,), (1398479941,), (1398479942,), (1398479944,), (1398479945,), (1398479949,), (1398479951,), (1398479953,), (1398479956,), (1398479959,), (1398479961,), (1398479459,), (1398479462,), (1398479466,), (1398479470,), (1398479474,), (1398479477,), (1398479481,), (1398479483,), (1398479486,), (1398479490,), (1398479497,), (1398479502,), (1398479537,), (1398479541,), (1398479545,), (1398479549,), (1398479553,), (1398479557,), (1398479567,), (1398479571,), (1398479576,), (1398479579,), (1398479583,), (1398479587,), (1398479591,), (1398479594,), (1398479598,), (1398479601,), (1398479605,), (1398479609,), (1398479613,), (1398479615,), (1398479618,), (1398479621,), (1398479624,), (1398479627,), (1398479631,), (1398479633,), (1398479638,), (1398479641,), (1398479645,), (1398479649,), (1398479654,), (1398479655,), (1398479656,), (1398479659,), (1398479662,), (1398479665,), (1398479676,), (1398479678,), (1398479680,), (1398479681,), (1398479683,), (1398479685,), (1398479688,), (1398479691,), (1398479694,), (1398496493,), (1398496560,), (1398496624,), (1398496711,), (1398497030,), (1398497039,), (1398497041,), (1398497241,), (1398497292,), (1398497323,), (1398497370,), (1398498021,), (1398498022,), (1398498024,), (1398498025,), (1398498037,), (1398498042,), (1398498335,), (1398498361,), (1398498389,), (1398498415,), (1398498784,), (1398498799,), (1398498803,), (1398498805,), (1398498807,), (1398498815,), (1398498818,), (1398498821,), (1398498824,), (1398499042,), (1398499066,), (1398499091,), (1398499123,), (1398499151,), (1398499318,), (1398499415,), (1398499511,), (1398499616,), (1398499713,), (1398500756,), (1398500820,), (1398500865,), (1398500952,), (1398501138,), (1398501183,), (1398501216,), (1398501300,), (1398501303,), (1398501306,), (1398501308,), (1398501310,), (1398501313,), (1398501322,), (1398501325,), (1398501327,), (1398501333,), (1398501339,), (1398501361,), (1398501368,), (1398501382,), (1398501903,), (1398501933,), (1398501960,), (1398501986,), (1398502016,), (1398502048,), (1398502275,), (1398502155,), (1398502186,), (1398502216,), (1398502244,), (1398502443,), (1398502479,), (1398502506,), (1398502535,), (1398502548,), (1398502557,), (1398502603,), (1398502625,), (1398502647,), (1398502833,), (1398502885,), (1398503286,), (1398503336,), (1398504466,), (1398504467,), (1398504539,), (1398504560,), (1398504563,), (1398504566,), (1398504625,), (1398504631,), (1398504633,), (1398504635,), (1398504637,), (1398504639,), (1398504644,), (1398504647,), (1398504650,), (1398504654,), (1398504658,), (1398504664,), (1398504689,), (1398504690,), (1398504693,), (1398504694,), (1398504697,), (1398504698,), (1398504703,), (1398504704,), (1398504707,), (1398504708,), (1398504784,), (1398504785,), (1398504768,), (1398504769,), (1398504772,), (1398504773,), (1398504776,), (1398504777,), (1398504780,), (1398504781,), (1398504792,), (1398504794,), (1398504796,), (1398504798,), (1398504801,), (1398504804,), (1398504853,), (1398504854,), (1398504856,), (1398504858,), (1398504860,), (1398504861,), (1398504877,), (1398504878,), (1398504880,), (1398504883,), (1398504886,), (1398504927,), (1398504928,), (1398504931,), (1398504932,), (1398504935,), (1398504936,), (1398504941,), (1398504942,), (1398504945,), (1398504946,), (1398504948,), (1398504949,), (1398504954,), (1398504956,), (1398504959,), (1398504962,), (1398505032,), (1398505035,), (1398505039,), (1398505041,), (1398505044,), (1398505045,), (1398505050,), (1398505054,), (1398505057,), (1398505109,), (1398505112,), (1398505115,), (1398505126,), (1398505129,), (1398505176,), (1398505179,), (1398505182,), (1398505184,), (1398505191,), (1398505194,), (1398505197,), (1398505254,), (1398505258,), (1398505272,), (1398505275,), (1398505278,), (1398505287,), (1398505300,), (1398505342,), (1398505333,), (1398505340,), (1398505380,), (1398505383,), (1398505448,), (1398505471,), (1398505509,), (1398505512,), (1398505613,), (1398505654,), (1398505657,), (1398505659,), (1398505670,), (1398505673,), (1398505676,), (1398505724,), (1398505728,), (1398505730,), (1398505732,), (1398505741,), (1398505744,), (1398505747,), (1398505750,), (1398505753,), (1398505756,), (1398505796,), (1398505829,), (1398505903,), (1398506258,), (1398506314,), (1398506365,), (1398506420,), (1398506467,), (1398506725,), (1398506628,), (1398506657,), (1398506685,), (1398507122,), (1398507124,), (1398507152,), (1398508073,), (1398508100,), (1398508298,), (1398508325,), (1398508353,), (1398508719,), (1398508722,), (1398508729,), (1398508734,), (1398508739,), (1398508742,), (1398508824,), (1398508825,), (1398508852,), (1398508855,), (1398508880,), (1398508883,), (1398508907,), (1398508910,), (1398508938,), (1398508946,), (1398509083,), (1398509118,), (1398509185,), (1398509242,), (1398509295,), (1398510072,), (1398510111,), (1398510139,), (1398510164,), (1398510219,), (1398510283,), (1398510594,), (1398510677,), (1398510747,), (1398510794,), (1398511309,), (1398511313,), (1398511320,), (1398511327,), (1398511330,), (1398511402,), (1398511457,), (1398511512,), (1398511561,), (1398511614,), (1398512077,), (1398512082,), (1398512088,), (1398512094,), (1398512217,), (1398512220,), (1398512223,), (1398512246,), (1398512274,), (1398512351,), (1398512354,), (1398512358,), (1398512419,), (1398512411,), (1398512413,), (1398512416,), (1398512429,), (1398512431,), (1398512433,), (1398512435,), (1398512482,), (1398512484,), (1398512487,), (1398512490,), (1398512501,), (1398512503,), (1398512505,), (1398512553,), (1398512564,), (1398512594,), (1398512595,), (1398512641,), (1398512642,), (1398512645,), (1398512646,), (1398512670,), (1398512673,), (1398512676,), (1398512679,), (1398512723,), (1398512724,), (1398512726,), (1398512727,), (1398512729,), (1398512730,), (1398512735,), (1398512736,), (1398512738,), (1398512739,), (1398512750,), (1398512753,), (1398512756,), (1398512801,), (1398512803,), (1398512820,), (1398512823,), (1398512827,), (1398512830,), (1398512837,), (1398512848,), (1398512873,), (1398512876,), (1398512889,), (1398512892,), (1398512895,), (1398512898,), (1398512901,), (1398512913,), (1398512915,), (1398512918,), (1398512920,), (1398512922,), (1398512923,), (1398512975,), (1398512976,), (1398512961,), (1398512962,), (1398512965,), (1398512966,), (1398512970,), (1398512971,), (1398512995,), (1398512997,), (1398512999,), (1398513001,), (1398513002,), (1398513004,), (1398513040,), (1398513045,), (1398513051,), (1398513055,), (1398513066,), (1398513068,), (1398513070,), (1398513072,), (1398513074,), (1398513105,), (1398513107,), (1398513113,), (1398513117,), (1398513119,), (1398513138,), (1398513141,), (1398513143,), (1398513146,), (1398513148,), (1398513156,), (1398513159,), (1398513162,), (1398513197,), (1398513199,), (1398513201,), (1398513203,), (1398513206,), (1398513223,), (1398513226,), (1398513228,), (1398513230,), (1398513232,), (1398513282,), (1398513285,), (1398513287,), (1398513298,), (1398513301,), (1398513304,), (1398513308,), (1398513356,), (1398513360,), (1398513361,), (1398513362,), (1398513363,), (1398513379,), (1398513384,), (1398513389,), (1398513394,), (1398513434,), (1398513435,), (1398513436,), (1398513437,), (1398513438,), (1398513439,), (1398513440,), (1398513441,), (1398513442,), (1398513443,), (1398513444,), (1398513445,), (1398513455,), (1398513460,), (1398513466,), (1398513471,), (1398513473,), (1398513475,), (1398513514,), (1398513512,), (1398513513,), (1398513536,), (1398513540,), (1398513544,), (1398513547,), (1398513548,), (1398513549,), (1398513583,), (1398513584,), (1398513589,), (1398513591,), (1398513605,), (1398513609,), (1398513613,), (1398513616,), (1398513649,), (1398513650,), (1398513652,), (1398513654,), (1398513659,), (1398513674,), (1398513677,), (1398513680,), (1398513681,), (1398513682,), (1398513730,), (1398513732,), (1398513734,), (1398513737,), (1398513756,), (1398513760,), (1398513762,), (1398513764,), (1398513770,), (1398513797,), (1398513800,), (1398513803,), (1398513806,), (1398513849,), (1398513850,), (1398513851,), (1398513852,), (1398513853,), (1398513854,), (1398513859,), (1398513861,), (1398513882,), (1398513885,), (1398513922,), (1398513927,), (1398513936,), (1398513951,), (1398513954,), (1398513965,), (1398513991,), (1398514020,), (1398514391,), (1398514422,), (1398514451,), (1398514481,), (1398514498,), (1398514575,), (1398514579,), (1398514581,), (1398514583,), (1398514588,), (1398514607,), (1398513888,), (1398513891,), (1398513892,), (1398513893,), (1398513898,), (1398513900,), (1398513904,), (1398513907,), (1398513911,), (1398513915,), (1398513938,), (1398513941,), (1398513943,), (1398514044,), (1398514154,), (1398514182,), (1398514212,), (1398514240,), (1398514272,), (1398514303,), (1398514501,), (1398514593,), (1398514613,), (1398514638,), (1398514670,), (1398514709,), (1398515140,), (1398515191,), (1398515433,), (1398515485,), (1398515532,), (1398515580,), (1398515630,), (1398515688,), (1398516020,), (1398516054,), (1398516303,), (1398516323,), (1398516328,), (1398516385,), (1398516396,), (1398516398,), (1398516399,), (1398516402,), (1398516405,), (1398516519,), (1398516548,), (1398516740,), (1398516771,), (1398516801,), (1398513401,), (1398513404,), (1398513405,), (1398513406,), (1398513415,), (1398513420,), (1398513424,), (1398513488,), (1398513489,), (1398513493,), (1398513497,), (1398513501,), (1398513505,), (1398513515,), (1398513516,), (1398513524,), (1398513560,), (1398513562,), (1398513569,), (1398513572,), (1398513575,), (1398513578,), (1398513593,), (1398513595,), (1398513619,), (1398513622,), (1398513629,), (1398513631,), (1398513635,), (1398513638,), (1398513641,), (1398513644,), (1398513663,), (1398513692,), (1398513713,), (1398513715,), (1398513718,), (1398513721,), (1398513724,), (1398513727,), (1398513742,), (1398513746,), (1398513780,), (1398513809,), (1398513812,), (1398513818,), (1398513821,), (1398513825,), (1398513833,), (1398513838,), (1398513841,), (1398513868,), (1398513869,), (1398513871,), (1398513872,), (1398512853,), (1398512855,), (1398512857,), (1398512859,), (1398512861,), (1398512864,), (1398512878,), (1398512880,), (1398512882,), (1398512884,), (1398512904,), (1398512935,), (1398512939,), (1398512942,), (1398512948,), (1398512953,), (1398512956,), (1398512980,), (1398512981,), (1398512986,), (1398512987,), (1398513022,), (1398513024,), (1398513028,), (1398513031,), (1398513033,), (1398513035,), (1398513057,), (1398513060,), (1398513076,), (1398513083,), (1398513085,), (1398513089,), (1398513093,), (1398513096,), (1398513099,), (1398513123,), (1398513151,), (1398513165,), (1398513168,), (1398513170,), (1398513182,), (1398513185,), (1398513187,), (1398513189,), (1398513191,), (1398513193,), (1398513208,), (1398513234,), (1398513243,), (1398513246,), (1398513251,), (1398513253,), (1398513258,), (1398513268,), (1398513290,), (1398513292,), (1398513294,), (1398513312,), (1398513316,), (1398513319,), (1398513327,), (1398513334,), (1398513338,), (1398513342,), (1398513346,), (1398513364,), (1398513399,), (1398512474,), (1398512476,), (1398512493,), (1398512496,), (1398512507,), (1398512509,), (1398512512,), (1398512528,), (1398512532,), (1398512536,), (1398512539,), (1398512542,), (1398512545,), (1398512569,), (1398512574,), (1398512578,), (1398512582,), (1398512596,), (1398512597,), (1398512598,), (1398512601,), (1398512620,), (1398512624,), (1398512629,), (1398512635,), (1398512637,), (1398512638,), (1398512649,), (1398512650,), (1398512653,), (1398512654,), (1398512658,), (1398512659,), (1398512662,), (1398512663,), (1398512682,), (1398512688,), (1398512694,), (1398512696,), (1398512701,), (1398512710,), (1398512713,), (1398512716,), (1398512741,), (1398512742,), (1398512759,), (1398512761,), (1398512765,), (1398512769,), (1398512775,), (1398512784,), (1398512787,), (1398512790,), (1398512793,), (1398512805,), (1398512809,), (1398512810,), (1398512812,), (1398507239,), (1398507438,), (1398507476,), (1398507504,), (1398507526,), (1398507557,), (1398507587,), (1398507782,), (1398507808,), (1398507835,), (1398507878,), (1398507928,), (1398507969,), (1398508127,), (1398508150,), (1398508181,), (1398508208,), (1398508377,), (1398508407,), (1398508432,), (1398508539,), (1398508565,), (1398508593,), (1398508620,), (1398508647,), (1398508675,), (1398508967,), (1398508976,), (1398509345,), (1398509641,), (1398509692,), (1398509744,), (1398509795,), (1398509842,), (1398509906,), (1398510844,), (1398510899,), (1398511075,), (1398511126,), (1398511165,), (1398511198,), (1398511249,), (1398511291,), (1398511333,), (1398511674,), (1398511813,), (1398511871,), (1398511900,), (1398511941,), (1398511984,), (1398512009,), (1398512110,), (1398512146,), (1398512300,), (1398512361,), (1398512365,), (1398512369,), (1398512388,), (1398512392,), (1398512393,), (1398512395,), (1398512399,), (1398512405,), (1398512422,), (1398512425,), (1398512438,), (1398512441,), (1398512450,), (1398512461,), (1398512471,), (1398512472,), (1398505584,), (1398505590,), (1398505593,), (1398505595,), (1398505597,), (1398505616,), (1398505619,), (1398505622,), (1398505625,), (1398505628,), (1398505636,), (1398505637,), (1398505639,), (1398505641,), (1398505644,), (1398505647,), (1398505661,), (1398505663,), (1398505665,), (1398505679,), (1398505688,), (1398505696,), (1398505705,), (1398505707,), (1398505709,), (1398505711,), (1398505714,), (1398505717,), (1398505734,), (1398505736,), (1398505761,), (1398505763,), (1398505765,), (1398505766,), (1398505767,), (1398505768,), (1398505967,), (1398506024,), (1398506082,), (1398506522,), (1398506776,), (1398506824,), (1398506999,), (1398507035,), (1398507043,), (1398507067,), (1398507093,), (1398507113,), (1398507179,), (1398507210,), (1398505466,), (1398505474,), (1398505477,), (1398505480,), (1398505483,), (1398505485,), (1398505491,), (1398505492,), (1398505494,), (1398505496,), (1398505499,), (1398505502,), (1398505514,), (1398505519,), (1398505531,), (1398505533,), (1398505540,), (1398505543,), (1398505546,), (1398505549,), (1398505552,), (1398505555,), (1398505559,), (1398505561,), (1398505563,), (1398505565,), (1398505568,), (1398505571,), (1398505581,), (1398505203,), (1398505206,), (1398505234,), (1398505236,), (1398505239,), (1398505240,), (1398505242,), (1398505245,), (1398505260,), (1398505261,), (1398505263,), (1398505266,), (1398505304,), (1398505344,), (1398505347,), (1398505350,), (1398505359,), (1398505362,), (1398505366,), (1398505367,), (1398505370,), (1398505373,), (1398505384,), (1398505388,), (1398505393,), (1398505396,), (1398505410,), (1398505413,), (1398505416,), (1398505419,), (1398505422,), (1398505425,), (1398505430,), (1398505432,), (1398505434,), (1398505435,), (1398505438,), (1398505441,), (1398504601,), (1398504672,), (1398504674,), (1398504675,), (1398504677,), (1398504680,), (1398504682,), (1398504710,), (1398504711,), (1398504717,), (1398504720,), (1398504722,), (1398504726,), (1398504732,), (1398504735,), (1398504742,), (1398504744,), (1398504746,), (1398504755,), (1398504760,), (1398504762,), (1398504787,), (1398504788,), (1398504826,), (1398504828,), (1398504830,), (1398504833,), (1398504842,), (1398504846,), (1398504864,), (1398504865,), (1398504868,), (1398504869,), (1398504871,), (1398504872,), (1398504889,), (1398504907,), (1398504909,), (1398504911,), (1398504917,), (1398504919,), (1398504921,), (1398504965,), (1398504968,), (1398504990,), (1398504991,), (1398505003,), (1398505005,), (1398505022,), (1398505025,), (1398505060,), (1398505064,), (1398505068,), (1398505079,), (1398505084,), (1398505094,), (1398505098,), (1398505100,), (1398505102,), (1398505118,), (1398505120,), (1398505122,), (1398505133,), (1398505137,), (1398505146,), (1398505149,), (1398505158,), (1398505159,), (1398505161,), (1398505163,), (1398505165,), (1398505168,), (1398505185,), (1398505187,), (1398505200,), (1398502675,), (1398502678,), (1398502681,), (1398502684,), (1398502690,), (1398502696,), (1398502700,), (1398502702,), (1398502703,), (1398502706,), (1398502937,), (1398502982,), (1398503026,), (1398503066,), (1398503384,), (1398503439,), (1398503491,), (1398503538,), (1398503719,), (1398503824,), (1398503925,), (1398503997,), (1398504005,), (1398504008,), (1398504015,), (1398504018,), (1398504020,), (1398504022,), (1398504024,), (1398504026,), (1398504222,), (1398504270,), (1398504285,), (1398504289,), (1398504294,), (1398504310,), (1398504358,), (1398504374,), (1398504414,), (1398504436,), (1398504455,), (1398504458,), (1398504470,), (1398504471,), (1398504474,), (1398504475,), (1398504478,), (1398504479,), (1398504481,), (1398504482,), (1398504485,), (1398504486,), (1398504493,), (1398504496,), (1398504499,), (1398504502,), (1398504504,), (1398504507,), (1398504518,), (1398504522,), (1398504523,), (1398504526,), (1398504529,), (1398504532,), (1398504542,), (1398504545,), (1398504547,), (1398504550,), (1398504553,), (1398504569,), (1398504573,), (1398504581,), (1398504586,), (1398504588,), (1398504592,), (1398504595,), (1398504598,), (1398501288,), (1398501343,), (1398501411,), (1398501454,), (1398501491,), (1398501603,), (1398501631,), (1398501662,), (1398501693,), (1398501727,), (1398501763,), (1398502301,), (1398502353,), (1398502356,), (1398502359,), (1398502362,), (1398502365,), (1398502368,), (1398502654,), (1398502656,), (1398502658,), (1398502668,), (1398502671,), (1398514604,), (1398514902,), (1398514971,), (1398515028,), (1398515084,), (1398515872,), (1398515922,), (1398515963,), (1398515991,), (1398516194,), (1398516243,), (1398516275,), (1398516413,), (1398516429,), (1398516457,), (1398516486,), (1398516655,), (1398516683,), (1398516714,), (1398516980,), (1398516982,), (1398516990,), (1398516992,), (1398517010,), (1398517012,), (1398517016,), (1398517017,), (1398517020,), (1398517021,), (1398517023,), (1398517026,), (1398517034,), (1398517036,), (1398517039,), (1398517073,), (1398517075,), (1398517081,), (1398517096,), (1398517097,), (1398517101,), (1398517103,), (1398517328,), (1398517330,), (1398517332,), (1398517343,), (1398517346,), (1398517350,), (1398517354,), (1398517356,), (1398517358,), (1398517387,), (1398517389,), (1398517392,), (1398517394,), (1398517396,), (1398517407,), (1398517410,), (1398517414,), (1398517416,), (1398517418,), (1398517453,), (1398517456,), (1398517458,), (1398517461,), (1398517462,), (1398517465,), (1398517484,), (1398517473,), (1398517478,), (1398517480,), (1398517482,), (1398517521,), (1398517524,), (1398517527,), (1398517529,), (1398517553,), (1398517556,), (1398517559,), (1398517561,), (1398517563,), (1398517569,), (1398517601,), (1398517609,), (1398517612,), (1398517614,), (1398517628,), (1398517632,), (1398517636,), (1398517666,), (1398517674,), (1398517699,), (1398517702,), (1398517706,), (1398517708,), (1398517710,), (1398517723,), (1398517727,), (1398517731,), (1398517735,), (1398517740,), (1398517743,), (1398517782,), (1398517785,), (1398517801,), (1398517803,), (1398517805,), (1398517807,), (1398517810,), (1398517813,), (1398517852,), (1398517853,), (1398517856,), (1398517857,), (1398517860,), (1398517861,), (1398517864,), (1398517865,), (1398517868,), (1398517869,), (1398517883,), (1398517886,), (1398517890,), (1398517944,), (1398517946,), (1398517949,), (1398517962,), (1398517964,), (1398518715,), (1398519054,), (1398519056,), (1398519058,), (1398519065,), (1398519068,), (1398519071,), (1398519075,), (1398519079,), (1398519082,), (1398519089,), (1398519091,), (1398519092,), (1398519093,), (1398519097,), (1398519101,), (1398519111,), (1398519116,), (1398519118,), (1398519120,), (1398519122,), (1398519155,), (1398519271,), (1398519302,), (1398519337,), (1398519372,), (1398519408,), (1398519448,), (1398519676,), (1398519692,), (1398519696,), (1398519701,), (1398519705,), (1398519708,), (1398519714,), (1398519716,), (1398519717,), (1398519719,), (1398519721,), (1398519724,), (1398519733,), (1398518892,), (1398518899,), (1398518901,), (1398518904,), (1398518906,), (1398518908,), (1398518912,), (1398518920,), (1398518922,), (1398518926,), (1398518929,), (1398518931,), (1398518933,), (1398518941,), (1398518944,), (1398518946,), (1398518949,), (1398518952,), (1398518953,), (1398518960,), (1398518964,), (1398518967,), (1398518971,), (1398518974,), (1398518977,), (1398518980,), (1398518983,), (1398518986,), (1398518989,), (1398518993,), (1398518997,), (1398519001,), (1398519005,), (1398519008,), (1398519011,), (1398519014,), (1398519016,), (1398519020,), (1398519024,), (1398519028,), (1398519032,), (1398519036,), (1398519040,), (1398519046,), (1398519048,), (1398519051,), (1398518687,), (1398518688,), (1398518690,), (1398518691,), (1398518695,), (1398518696,), (1398518700,), (1398518701,), (1398518704,), (1398518705,), (1398518716,), (1398518718,), (1398518721,), (1398518724,), (1398518726,), (1398518738,), (1398518740,), (1398518743,), (1398518747,), (1398518752,), (1398518757,), (1398518766,), (1398518770,), (1398518772,), (1398518774,), (1398518776,), (1398518784,), (1398518792,), (1398518795,), (1398518798,), (1398518801,), (1398518803,), (1398518805,), (1398518816,), (1398518817,), (1398518821,), (1398518825,), (1398518828,), (1398518831,), (1398518838,), (1398518840,), (1398518842,), (1398518845,), (1398518848,), (1398518850,), (1398518856,), (1398518858,), (1398518860,), (1398518862,), (1398518865,), (1398518868,), (1398518879,), (1398518881,), (1398518882,), (1398518884,), (1398518888,), (1398518468,), (1398518470,), (1398518473,), (1398518476,), (1398518478,), (1398518480,), (1398518489,), (1398518490,), (1398518493,), (1398518496,), (1398518501,), (1398518502,), (1398518509,), (1398518512,), (1398518517,), (1398518519,), (1398518523,), (1398518526,), (1398518529,), (1398518532,), (1398518535,), (1398518538,), (1398518544,), (1398518553,), (1398518558,), (1398518561,), (1398518563,), (1398518566,), (1398518569,), (1398518570,), (1398518577,), (1398518579,), (1398518582,), (1398518585,), (1398518588,), (1398518591,), (1398518599,), (1398518600,), (1398518602,), (1398518605,), (1398518608,), (1398518610,), (1398518618,), (1398518620,), (1398518623,), (1398518626,), (1398518630,), (1398518632,), (1398518638,), (1398518641,), (1398518644,), (1398518647,), (1398518650,), (1398518657,), (1398518667,), (1398518670,), (1398518672,), (1398518674,), (1398518676,), (1398518678,), (1398518684,), (1398518685,), (1398518207,), (1398518209,), (1398518211,), (1398518213,), (1398518216,), (1398518221,), (1398518223,), (1398518227,), (1398518230,), (1398518233,), (1398518236,), (1398518248,), (1398518250,), (1398518253,), (1398518256,), (1398518258,), (1398518259,), (1398518280,), (1398518283,), (1398518285,), (1398518289,), (1398518292,), (1398518295,), (1398518299,), (1398518300,), (1398518307,), (1398518308,), (1398518312,), (1398518313,), (1398518318,), (1398518319,), (1398518324,), (1398518325,), (1398518330,), (1398518331,), (1398518345,), (1398518347,), (1398518349,), (1398518352,), (1398518355,), (1398518356,), (1398518363,), (1398518365,), (1398518367,), (1398518369,), (1398518372,), (1398518376,), (1398518389,), (1398518392,), (1398518394,), (1398518395,), (1398518396,), (1398518398,), (1398518433,), (1398518442,), (1398518455,), (1398517834,), (1398517837,), (1398517839,), (1398517842,), (1398517871,), (1398517872,), (1398517894,), (1398517897,), (1398517900,), (1398517927,), (1398517929,), (1398517932,), (1398517934,), (1398517936,), (1398517938,), (1398517953,), (1398517955,), (1398517956,), (1398517967,), (1398517970,), (1398517972,), (1398517976,), (1398517986,), (1398517990,), (1398517994,), (1398517997,), (1398518000,), (1398518004,), (1398518010,), (1398518014,), (1398518031,), (1398518035,), (1398518037,), (1398518040,), (1398518045,), (1398518047,), (1398518049,), (1398518052,), (1398518054,), (1398518057,), (1398518076,), (1398518079,), (1398518096,), (1398518098,), (1398518100,), (1398518101,), (1398518120,), (1398518121,), (1398518123,), (1398518125,), (1398518127,), (1398518129,), (1398518160,), (1398518163,), (1398518166,), (1398518169,), (1398518172,), (1398518174,), (1398518180,), (1398518181,), (1398518183,), (1398518185,), (1398518189,), (1398518193,), (1398518203,), (1398517309,), (1398517334,), (1398517335,), (1398517336,), (1398517362,), (1398517363,), (1398517366,), (1398517369,), (1398517373,), (1398517377,), (1398517397,), (1398517420,), (1398517422,), (1398517425,), (1398517428,), (1398517432,), (1398517435,), (1398517438,), (1398517486,), (1398517488,), (1398517493,), (1398517501,), (1398517508,), (1398517511,), (1398517515,), (1398517531,), (1398517534,), (1398517579,), (1398517585,), (1398517587,), (1398517589,), (1398517591,), (1398517594,), (1398517616,), (1398517619,), (1398517638,), (1398517640,), (1398517641,), (1398517644,), (1398517647,), (1398517650,), (1398517653,), (1398517656,), (1398517660,), (1398517682,), (1398517687,), (1398517688,), (1398517691,), (1398517712,), (1398517752,), (1398517762,), (1398517764,), (1398517770,), (1398517775,), (1398517777,), (1398517787,), (1398517789,), (1398517792,), (1398517795,), (1398517825,), (1398517829,), (1398516834,), (1398516861,), (1398516893,), (1398516901,), (1398516903,), (1398516905,), (1398517042,), (1398517044,), (1398517046,), (1398517052,), (1398517057,), (1398517060,), (1398517063,), (1398517065,), (1398517066,), (1398517084,), (1398517086,), (1398517089,), (1398517105,), (1398517107,), (1398517188,), (1398517214,), (1398517247,), (1398517278,), (1398517297,), (1398519769,), (1398521212,), (1398521993,), (1398522749,), (1398523171,), (1398523173,), (1398523176,), (1398523179,), (1398523180,), (1398523207,), (1398523217,), (1398523253,), (1398523286,), (1398523473,), (1398523475,), (1398523478,), (1398523482,), (1398523493,), (1398523496,), (1398523499,), (1398523503,), (1398523507,), (1398523544,), (1398523547,), (1398523549,), (1398523550,), (1398523578,), (1398523580,), (1398523583,), (1398523589,), (1398523598,), (1398523650,), (1398523634,), (1398523638,), (1398523641,), (1398523644,), (1398523647,), (1398523656,), (1398523658,), (1398523660,), (1398523699,), (1398523702,), (1398523704,), (1398523706,), (1398523708,), (1398523711,), (1398523740,), (1398523741,), (1398523748,), (1398523749,), (1398523754,), (1398523755,), (1398523758,), (1398523759,), (1398523763,), (1398523764,), (1398523787,), (1398523790,), (1398523792,), (1398523828,), (1398523830,), (1398523832,), (1398523863,), (1398523882,), (1398523965,), (1398523967,), (1398523997,), (1398524000,), (1398524003,), (1398524006,), (1398524014,), (1398524061,), (1398524063,), (1398524065,), (1398524067,), (1398524070,), (1398524073,), (1398524083,), (1398524118,), (1398524119,), (1398524146,), (1398524149,), (1398524151,), (1398524153,), (1398524196,), (1398524200,), (1398524202,), (1398524204,), (1398524225,), (1398524217,), (1398524219,), (1398524221,), (1398524257,), (1398524260,), (1398524262,), (1398524266,), (1398524275,), (1398524277,), (1398524280,), (1398524283,), (1398524286,), (1398524287,), (1398524345,), (1398524347,), (1398524349,), (1398524351,), (1398524392,), (1398524394,), (1398524398,), (1398524469,), (1398524471,), (1398524473,), (1398524475,), (1398524479,), (1398524483,), (1398524492,), (1398524496,), (1398524498,), (1398524500,), (1398524502,), (1398524510,), (1398524513,), (1398524660,), (1398524699,), (1398524702,), (1398524704,), (1398524706,), (1398524752,), (1398524753,), (1398524755,), (1398524783,), (1398524785,), (1398524815,), (1398524816,), (1398524817,), (1398524818,), (1398524819,), (1398524820,), (1398524892,), (1398524884,), (1398524886,), (1398524888,), (1398524926,), (1398524929,), (1398524933,), (1398524937,), (1398524945,), (1398524947,), (1398524950,), (1398525009,), (1398525010,), (1398525011,), (1398525013,), (1398525017,), (1398525059,), (1398525101,), (1398525140,), (1398525183,), (1398525213,), (1398525214,), (1398525333,), (1398525334,), (1398525336,), (1398525337,), (1398525341,), (1398525343,), (1398525350,), (1398525351,), (1398525371,), (1398525379,), (1398525382,), (1398525384,), (1398525394,), (1398525395,), (1398525396,), (1398525399,), (1398525538,), (1398525556,), (1398525561,), (1398525584,), (1398525586,), (1398525593,), (1398525650,), (1398525652,), (1398525653,), (1398525654,), (1398525715,), (1398525717,), (1398525730,), (1398525740,), (1398525743,), (1398525745,), (1398525754,), (1398525756,), (1398525758,), (1398525761,), (1398525763,), (1398525765,), (1398525872,), (1398527664,), (1398528295,), (1398529059,), (1398529130,), (1398529586,), (1398529589,), (1398529593,), (1398529596,), (1398529599,), (1398529603,), (1398529608,), (1398529636,), (1398529673,), (1398529898,), (1398529900,), (1398529903,), (1398529940,), (1398529998,), (1398530093,), (1398530095,), (1398530096,), (1398530098,), (1398530259,), (1398530260,), (1398530262,), (1398530263,), (1398530265,), (1398530266,), (1398530269,), (1398530270,), (1398530306,), (1398530317,), (1398530320,), (1398530323,), (1398530326,), (1398530338,), (1398530341,), (1398530345,), (1398530484,), (1398530487,), (1398530490,), (1398530495,), (1398530497,), (1398530571,), (1398530744,), (1398530745,), (1398530747,), (1398530748,), (1398530749,), (1398530750,), (1398530754,), (1398530755,), (1398530759,), (1398530761,), (1398530817,), (1398530819,), (1398530821,), (1398530870,), (1398530887,), (1398531167,), (1398531173,), (1398531174,), (1398531359,), (1398531270,), (1398531272,), (1398531275,), (1398531347,), (1398531458,), (1398531465,), (1398531468,), (1398531470,), (1398531474,), (1398531503,), (1398531541,), (1398531577,), (1398531905,), (1398532244,), (1398532275,), (1398532646,), (1398532762,), (1398532863,), (1398532868,), (1398532871,), (1398533148,), (1398533151,), (1398533154,), (1398533158,), (1398533161,), (1398533166,), (1398533172,), (1398533175,), (1398533177,), (1398533179,), (1398533183,), (1398533192,), (1398533194,), (1398533197,), (1398533198,), (1398533234,), (1398533237,), (1398533239,), (1398533241,), (1398533286,), (1398533290,), (1398533291,), (1398533293,), (1398533295,), (1398533308,), (1398533310,), (1398533314,), (1398533317,), (1398533320,), (1398533323,), (1398533339,), (1398533340,), (1398533341,), (1398533344,), (1398533347,), (1398533378,), (1398533380,), (1398533381,), (1398533385,), (1398533386,), (1398533424,), (1398533425,), (1398533427,), (1398533431,), (1398533435,), (1398533438,), (1398533449,), (1398533446,), (1398533517,), (1398533520,), (1398533523,), (1398533533,), (1398533535,), (1398533537,), (1398533539,), (1398533542,), (1398533545,), (1398533597,), (1398533600,), (1398533603,), (1398533732,), (1398533735,), (1398533738,), (1398533741,), (1398533867,), (1398533893,), (1398533898,), (1398533954,), (1398533956,), (1398533960,), (1398533964,), (1398533968,), (1398533982,), (1398533984,), (1398533987,), (1398533990,), (1398533993,), (1398533996,), (1398534142,), (1398534177,), (1398534214,), (1398534248,), (1398534496,), (1398534498,), (1398534501,), (1398534529,), (1398534555,), (1398534565,), (1398534567,), (1398534571,), (1398534843,), (1398534859,), (1398534862,), (1398534865,), (1398534868,), (1398535210,), (1398535213,), (1398536024,), (1398535980,), (1398535992,), (1398536017,), (1398536018,), (1398536021,), (1398536116,), (1398536124,), (1398536147,), (1398536152,), (1398536230,), (1398536231,), (1398536234,), (1398536237,), (1398536239,), (1398536276,), (1398536278,), (1398536281,), (1398536449,), (1398536450,), (1398536455,), (1398536456,), (1398536466,), (1398536468,), (1398536493,), (1398536496,), (1398536502,), (1398536503,), (1398536559,), (1398536587,), (1398536589,), (1398536591,), (1398536653,), (1398536671,), (1398536929,), (1398536961,), (1398536987,), (1398536990,), (1398537016,), (1398537032,), (1398537039,), (1398537042,), (1398537044,), (1398537046,), (1398537048,), (1398537055,), (1398537068,), (1398537070,), (1398537072,), (1398537074,), (1398537205,), (1398537216,), (1398537218,), (1398537221,), (1398537224,), (1398537337,), (1398537436,), (1398537453,), (1398537455,), (1398537504,), (1398537629,), (1398537631,), (1398537649,), (1398537684,), (1398537691,), (1398537803,), (1398537846,), (1398537881,), (1398538020,), (1398538060,), (1398538091,), (1398538130,), (1398538614,), (1398538533,), (1398538535,), (1398538541,), (1398538551,), (1398538556,), (1398538756,), (1398538760,), (1398539618,), (1398539655,), (1398539693,), (1398539733,), (1398539768,), (1398539938,), (1398539971,), (1398540004,), (1398540515,), (1398540520,), (1398540529,), (1398540532,), (1398540535,), (1398540585,), (1398540587,), (1398540702,), (1398540742,), (1398540801,), (1398541004,), (1398541054,), (1398541377,), (1398541411,), (1398541469,), (1398541515,), (1398541794,), (1398541795,), (1398541798,), (1398541801,), (1398541804,), (1398541838,), (1398541840,), (1398541843,), (1398541844,), (1398541845,), (1398541847,), (1398541995,), (1398542000,), (1398542083,), (1398542158,), (1398542212,), (1398542233,), (1398542267,), (1398542454,), (1398542451,), (1398542490,), (1398542491,), (1398542494,), (1398542497,), (1398542500,), (1398542538,), (1398542541,), (1398542544,), (1398542547,), (1398542551,), (1398542674,), (1398542675,), (1398542676,), (1398542677,), (1398542678,), (1398542679,), (1398542683,), (1398542684,), (1398542718,), (1398542728,), (1398542732,), (1398542734,), (1398542738,), (1398542746,), (1398542756,), (1398542759,), (1398542761,), (1398542763,), (1398542961,), (1398542971,), (1398542974,), (1398542981,), (1398542992,), (1398542994,), (1398542996,), (1398542998,), (1398543001,), (1398543004,), (1398543039,), (1398543041,), (1398543043,), (1398543051,), (1398543352,), (1398543353,), (1398543357,), (1398543361,), (1398543366,), (1398543373,), (1398543380,), (1398543381,), (1398543384,), (1398543387,), (1398543436,), (1398543437,), (1398543440,), (1398543441,), (1398543442,), (1398543443,), (1398543627,), (1398543629,), (1398543635,), (1398543637,), (1398543651,), (1398543652,), (1398543697,), (1398543699,), (1398543708,), (1398543711,), (1398543713,), (1398543736,), (1398543721,), (1398543724,), (1398543727,), (1398543730,), (1398543733,), (1398544228,), (1398544230,), (1398544266,), (1398544270,), (1398544296,), (1398544297,), (1398544329,), (1398544330,), (1398544464,), (1398544478,), (1398544489,), (1398544495,), (1398544498,), (1398544502,), (1398544509,), (1398544512,), (1398544514,), (1398544516,), (1398544518,), (1398544567,), (1398544576,), (1398544589,), (1398544896,), (1398544949,), (1398545011,), (1398545051,), (1398545086,), (1398545144,), (1398545177,), (1398545216,), (1398545244,), (1398545258,), (1398545260,), (1398545262,), (1398545453,), (1398545489,), (1398545524,), (1398545787,), (1398545800,), (1398545803,), (1398545806,), (1398545809,), (1398545814,), (1398545829,), (1398545831,), (1398545834,), (1398545862,), (1398552715,), (1398553752,), (1398553755,), (1398553866,), (1398554043,), (1398554057,), (1398554128,), (1398554130,), (1398554153,), (1398554155,), (1398554157,), (1398554204,), (1398554211,), (1398554574,), (1398555908,), (1398555910,), (1398555941,), (1398556182,), (1398556186,), (1398556232,), (1398556258,), (1398556315,), (1398556376,), (1398556377,), (1398556460,), (1398556478,), (1398556479,), (1398556525,), (1398556568,), (1398556572,), (1398556629,), (1398556632,), (1398556654,), (1398556656,), (1398556920,), (1398556949,), (1398557115,), (1398557116,), (1398557118,), (1398557119,), (1398557247,), (1398557269,), (1398557271,), (1398557301,), (1398557302,), (1398557325,), (1398557404,), (1398560529,), (1398561784,), (1398562848,), (1398563970,), (1398563972,), (1398564572,), (1398564660,), (1398564762,), (1398565741,), (1398565742,), (1398565843,), (1398565844,), (1398568432,), (1398573309,), (1398573089,), (1398573216,), (1398574638,), (1398574673,), (1398575097,), (1398575130,), (1398575671,), (1398575789,), (1398577006,), (1398577025,), (1398577047,), (1398577049,), (1398577263,), (1398577266,), (1398577269,), (1398577376,), (1398577447,), (1398577443,), (1398577445,), (1398577469,), (1398577482,), (1398577502,), (1398577532,), (1398577535,), (1398577658,), (1398577965,), (1398578736,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'09122025': {'nb_upload': 9, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29282223]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1398577006, 1398575789, 1398575671, 1398575130, 1398575097, 1398574673, 1398574638, 1398573216, 1398573089] map_info['map_portfolio_photo'] : {29282223: [1398577006, 1398575789, 1398575671, 1398575130, 1398575097, 1398574673, 1398574638, 1398573216, 1398573089]} final : True mtd_id 4302 list_pids : [1398577006, 1398575789, 1398575671, 1398575130, 1398575097, 1398574673, 1398574638, 1398573216, 1398573089] Looping around the photos to save general results len do output : 1 /29282223Didn'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, '4201511') ('4302', '29282223', '1398577006', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398575789', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398575671', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398575130', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398575097', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398574673', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398574638', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398573216', None, None, None, None, None, '4201511') ('4302', None, None, None, None, None, None, None, '4201511') ('4302', '29282223', '1398573089', None, None, None, None, None, '4201511') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '29282223', 'None', None, None, None, None, '4201511'), ('4302', '29282223', '1398577006', None, None, None, None, None, '4201511'), ('4302', '29282223', '1398575789', None, None, None, None, None, '4201511'), ('4302', '29282223', '1398575671', None, None, None, None, None, '4201511'), ('4302', '29282223', '1398575130', None, None, None, None, None, '4201511'), ('4302', '29282223', '1398575097', None, None, None, None, None, '4201511'), ('4302', '29282223', '1398574673', None, None, None, None, None, '4201511'), ('4302', '29282223', '1398574638', None, None, None, None, None, '4201511'), ('4302', '29282223', '1398573216', None, None, None, None, None, '4201511'), ('4302', '29282223', '1398573089', None, None, None, None, None, '4201511')] time used for this insertion : 0.014380931854248047 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.347386360168457 time spend to save output : 0.014546871185302734 total time spend for step 5 : 4.36193323135376 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 (4201511) 2.13user 2.44system 0:10.04elapsed 45%CPU (0avgtext+0avgdata 168076maxresident)k 808inputs+7448outputs (4major+67546minor)pagefaults 0swaps