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 : 2231534 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 (4175580) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4175580) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29108201 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4175580'] with mtr_portfolio_ids : ['29108201'] and first list_photo_ids : [] new path : /proc/2231534/ Name: python3 Umask: 0002 State: R (running) Tgid: 2231534 Ngid: 0 Pid: 2231534 PPid: 2231533 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2231534 NSpid: 2231534 NSpgid: 2224178 NSsid: 2224178 VmPeak: 1113360 kB VmSize: 1113360 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 104692 kB VmRSS: 104692 kB RssAnon: 66292 kB RssFile: 38400 kB RssShmem: 0 kB VmData: 872088 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130476 kB VmPTE: 624 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: 211 nonvoluntary_ctxt_switches: 167 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2231534', 'Ngid': '0', 'Pid': '2231534', 'PPid': '2231533', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2231534', 'NSpid': '2231534', 'NSpgid': '2224178', 'NSsid': '2224178', 'VmPeak': '1113360 kB', 'VmSize': '1113360 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '104692 kB', 'VmRSS': '104692 kB', 'RssAnon': '66292 kB', 'RssFile': '38400 kB', 'RssShmem': '0 kB', 'VmData': '872088 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130476 kB', 'VmPTE': '624 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': '211', 'nonvoluntary_ctxt_switches': '167'} ('datou_batch_current', '2231534', '1113360', '0', '1113360', '872088', '104692', b'', 'marlene', '4175580') 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 (29108201) 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 (4175580 ) ) 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 (29108201) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1397472935, 'portfolio_id': 29108201}, {'photo_id': 1397472907, 'portfolio_id': 29108201}, {'photo_id': 1397472901, 'portfolio_id': 29108201}, {'photo_id': 1397472873, 'portfolio_id': 29108201}, {'photo_id': 1397472872, 'portfolio_id': 29108201}, {'photo_id': 1397472871, 'portfolio_id': 29108201}, {'photo_id': 1397472833, 'portfolio_id': 29108201}, {'photo_id': 1397472831, 'portfolio_id': 29108201}, {'photo_id': 1397472830, 'portfolio_id': 29108201}, {'photo_id': 1397472829, 'portfolio_id': 29108201}, {'photo_id': 1397472728, 'portfolio_id': 29108201}, {'photo_id': 1397472692, 'portfolio_id': 29108201}, {'photo_id': 1397472674, 'portfolio_id': 29108201}, {'photo_id': 1397472673, 'portfolio_id': 29108201}, {'photo_id': 1397472577, 'portfolio_id': 29108201}, {'photo_id': 1397472499, 'portfolio_id': 29108201}, {'photo_id': 1397472447, 'portfolio_id': 29108201}, {'photo_id': 1397472407, 'portfolio_id': 29108201}, {'photo_id': 1397472370, 'portfolio_id': 29108201}, {'photo_id': 1397472317, 'portfolio_id': 29108201}, {'photo_id': 1397472278, 'portfolio_id': 29108201}, {'photo_id': 1397472208, 'portfolio_id': 29108201}, {'photo_id': 1397472206, 'portfolio_id': 29108201}, {'photo_id': 1397472197, 'portfolio_id': 29108201}, {'photo_id': 1397472185, 'portfolio_id': 29108201}, {'photo_id': 1397472163, 'portfolio_id': 29108201}, {'photo_id': 1397472130, 'portfolio_id': 29108201}, {'photo_id': 1397472016, 'portfolio_id': 29108201}, {'photo_id': 1397471985, 'portfolio_id': 29108201}, {'photo_id': 1397471951, 'portfolio_id': 29108201}, {'photo_id': 1397471905, 'portfolio_id': 29108201}, {'photo_id': 1397471827, 'portfolio_id': 29108201}, {'photo_id': 1397471750, 'portfolio_id': 29108201}, {'photo_id': 1397471567, 'portfolio_id': 29108201}, {'photo_id': 1397471496, 'portfolio_id': 29108201}, {'photo_id': 1397471423, 'portfolio_id': 29108201}, {'photo_id': 1397471359, 'portfolio_id': 29108201}, {'photo_id': 1397471278, 'portfolio_id': 29108201}, {'photo_id': 1397471164, 'portfolio_id': 29108201}, {'photo_id': 1397470763, 'portfolio_id': 29108201}, {'photo_id': 1397470754, 'portfolio_id': 29108201}, {'photo_id': 1397470741, 'portfolio_id': 29108201}, {'photo_id': 1397470717, 'portfolio_id': 29108201}, {'photo_id': 1397470675, 'portfolio_id': 29108201}, {'photo_id': 1397470657, 'portfolio_id': 29108201}, {'photo_id': 1397470406, 'portfolio_id': 29108201}, {'photo_id': 1397470398, 'portfolio_id': 29108201}, {'photo_id': 1397470397, 'portfolio_id': 29108201}, {'photo_id': 1397470381, 'portfolio_id': 29108201}, {'photo_id': 1397470340, 'portfolio_id': 29108201}, {'photo_id': 1397470170, 'portfolio_id': 29108201}, {'photo_id': 1397470158, 'portfolio_id': 29108201}, {'photo_id': 1397470147, 'portfolio_id': 29108201}, {'photo_id': 1397470086, 'portfolio_id': 29108201}, {'photo_id': 1397470079, 'portfolio_id': 29108201}, {'photo_id': 1397469957, 'portfolio_id': 29108201}, {'photo_id': 1397469567, 'portfolio_id': 29108201}, {'photo_id': 1397469490, 'portfolio_id': 29108201}, {'photo_id': 1397469408, 'portfolio_id': 29108201}, {'photo_id': 1397469352, 'portfolio_id': 29108201}, {'photo_id': 1397469312, 'portfolio_id': 29108201}, {'photo_id': 1397469263, 'portfolio_id': 29108201}, {'photo_id': 1397468925, 'portfolio_id': 29108201}, {'photo_id': 1397468863, 'portfolio_id': 29108201}, {'photo_id': 1397468793, 'portfolio_id': 29108201}, {'photo_id': 1397468727, 'portfolio_id': 29108201}, {'photo_id': 1397468368, 'portfolio_id': 29108201}, {'photo_id': 1397468330, 'portfolio_id': 29108201}, {'photo_id': 1397468294, 'portfolio_id': 29108201}, {'photo_id': 1397468246, 'portfolio_id': 29108201}, {'photo_id': 1397468181, 'portfolio_id': 29108201}, {'photo_id': 1397468140, 'portfolio_id': 29108201}, {'photo_id': 1397467815, 'portfolio_id': 29108201}, {'photo_id': 1397467784, 'portfolio_id': 29108201}, {'photo_id': 1397467782, 'portfolio_id': 29108201}] map_portfolio_id_photo_id: {29108201: [1397472935, 1397472907, 1397472901, 1397472873, 1397472872, 1397472871, 1397472833, 1397472831, 1397472830, 1397472829, 1397472728, 1397472692, 1397472674, 1397472673, 1397472577, 1397472499, 1397472447, 1397472407, 1397472370, 1397472317, 1397472278, 1397472208, 1397472206, 1397472197, 1397472185, 1397472163, 1397472130, 1397472016, 1397471985, 1397471951, 1397471905, 1397471827, 1397471750, 1397471567, 1397471496, 1397471423, 1397471359, 1397471278, 1397471164, 1397470763, 1397470754, 1397470741, 1397470717, 1397470675, 1397470657, 1397470406, 1397470398, 1397470397, 1397470381, 1397470340, 1397470170, 1397470158, 1397470147, 1397470086, 1397470079, 1397469957, 1397469567, 1397469490, 1397469408, 1397469352, 1397469312, 1397469263, 1397468925, 1397468863, 1397468793, 1397468727, 1397468368, 1397468330, 1397468294, 1397468246, 1397468181, 1397468140, 1397467815, 1397467784, 1397467782]} ##### 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.01899242401123047 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Tue Dec 2 20:14:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29108201) 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 : 29108201 get user id for portfolio 29108201 get sub ptf for main ptf 29108201, type 3726 and hashtags ['environnement', 'flou', 'Carton_gris', 'papier', 'Teint_Dans_La_Masse', 'plastique', 'mal_croppe', 'metal', 'kraft', 'autre_refus', 'cartonnette', 'Carton_brun'] 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`=29108201 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','flou','Carton_gris','papier','Teint_Dans_La_Masse','plastique','mal_croppe','metal','kraft','autre_refus','cartonnette','Carton_brun')) 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`=29108201 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','flou','Carton_gris','papier','Teint_Dans_La_Masse','plastique','mal_croppe','metal','kraft','autre_refus','cartonnette','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 29108201, 'sub_port_id': 29108229, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19773432, 'last_updated_at': datetime.datetime(2025, 12, 2, 20, 13), 'last_updated_at_desc': datetime.datetime(2025, 12, 2, 20, 13), 'last_updated_at_asc': datetime.datetime(2025, 12, 2, 20, 2, 58)}, 'environnement': {'main_port_id': 29108201, 'sub_port_id': 29108230, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19773433, 'last_updated_at': datetime.datetime(2025, 12, 2, 20, 13), 'last_updated_at_desc': datetime.datetime(2025, 12, 2, 20, 13), 'last_updated_at_asc': datetime.datetime(2025, 12, 2, 20, 2, 58)}, 'flou': {'main_port_id': 29108201, 'sub_port_id': 29108231, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19773434, 'last_updated_at': datetime.datetime(2025, 12, 2, 20, 13), 'last_updated_at_desc': datetime.datetime(2025, 12, 2, 20, 13), 'last_updated_at_asc': datetime.datetime(2025, 12, 2, 20, 2, 58)}, 'Carton_brun': {'main_port_id': 29108201, 'sub_port_id': 29108232, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19773435, 'last_updated_at': datetime.datetime(2025, 12, 2, 20, 13), 'last_updated_at_desc': datetime.datetime(2025, 12, 2, 20, 13), 'last_updated_at_asc': datetime.datetime(2025, 12, 2, 20, 2, 58)}, 'autre_refus': {'main_port_id': 29108201, 'sub_port_id': 29108233, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19773436, 'last_updated_at': datetime.datetime(2025, 12, 2, 20, 13), 'last_updated_at_desc': datetime.datetime(2025, 12, 2, 20, 13), 'last_updated_at_asc': datetime.datetime(2025, 12, 2, 20, 2, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 29108201, 'sub_port_id': 29108234, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19773437, 'last_updated_at': datetime.datetime(2025, 12, 2, 20, 13), 'last_updated_at_desc': datetime.datetime(2025, 12, 2, 20, 13), 'last_updated_at_asc': datetime.datetime(2025, 12, 2, 20, 2, 58)}, 'plastique': {'main_port_id': 29108201, 'sub_port_id': 29108235, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19773438, 'last_updated_at': datetime.datetime(2025, 12, 2, 20, 13), 'last_updated_at_desc': datetime.datetime(2025, 12, 2, 20, 13), 'last_updated_at_asc': datetime.datetime(2025, 12, 2, 20, 2, 58)}, 'mal_croppe': {'main_port_id': 29108201, 'sub_port_id': 29108236, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19773439, 'last_updated_at': datetime.datetime(2025, 12, 2, 20, 13), 'last_updated_at_desc': datetime.datetime(2025, 12, 2, 20, 13), 'last_updated_at_asc': datetime.datetime(2025, 12, 2, 20, 2, 58)}, 'cartonnette': {'main_port_id': 29108201, 'sub_port_id': 29108237, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19773440, 'last_updated_at': datetime.datetime(2025, 12, 2, 20, 13), 'last_updated_at_desc': datetime.datetime(2025, 12, 2, 20, 13), 'last_updated_at_asc': datetime.datetime(2025, 12, 2, 20, 2, 58)}, 'Carton_gris': {'main_port_id': 29108201, 'sub_port_id': 29108238, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19773441, 'last_updated_at': datetime.datetime(2025, 12, 2, 20, 13), 'last_updated_at_desc': datetime.datetime(2025, 12, 2, 20, 13), 'last_updated_at_asc': datetime.datetime(2025, 12, 2, 20, 2, 58)}, 'kraft': {'main_port_id': 29108201, 'sub_port_id': 29108239, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19773442, 'last_updated_at': datetime.datetime(2025, 12, 2, 20, 13), 'last_updated_at_desc': datetime.datetime(2025, 12, 2, 20, 13), 'last_updated_at_asc': datetime.datetime(2025, 12, 2, 20, 2, 58)}, 'papier': {'main_port_id': 29108201, 'sub_port_id': 29108240, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19773443, 'last_updated_at': datetime.datetime(2025, 12, 2, 20, 13), 'last_updated_at_desc': datetime.datetime(2025, 12, 2, 20, 13), 'last_updated_at_asc': datetime.datetime(2025, 12, 2, 20, 2, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29108229 , 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=29108201 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 (29108229) result : ((1397472305,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29108201) result : ((1397467782,), (1397467784,), (1397467815,), (1397468140,), (1397468181,), (1397468246,), (1397468294,), (1397468330,), (1397468368,), (1397468727,), (1397468793,), (1397468863,), (1397468925,), (1397469263,), (1397469312,), (1397469352,), (1397469408,), (1397469490,), (1397469567,), (1397469957,), (1397470079,), (1397470086,), (1397470147,), (1397470158,), (1397470170,), (1397470340,), (1397470381,), (1397470397,), (1397470398,), (1397470406,), (1397470657,), (1397470675,), (1397470717,), (1397470741,), (1397470754,), (1397470763,), (1397471164,), (1397471278,), (1397471359,), (1397471423,), (1397471496,), (1397471567,), (1397471750,), (1397471827,), (1397471905,), (1397471951,), (1397471985,), (1397472016,), (1397472130,), (1397472163,), (1397472185,), (1397472197,), (1397472206,), (1397472208,), (1397472278,), (1397472317,), (1397472370,), (1397472407,), (1397472447,), (1397472499,), (1397472577,), (1397472673,), (1397472674,), (1397472692,), (1397472728,), (1397472829,), (1397472830,), (1397472831,), (1397472833,), (1397472871,), (1397472872,), (1397472873,), (1397472901,), (1397472907,), (1397472935,)) 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 29108230 , 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=29108201 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 (29108230) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29108201) result : ((1397467782,), (1397467784,), (1397467815,), (1397468140,), (1397468181,), (1397468246,), (1397468294,), (1397468330,), (1397468368,), (1397468727,), (1397468793,), (1397468863,), (1397468925,), (1397469263,), (1397469312,), (1397469352,), (1397469408,), (1397469490,), (1397469567,), (1397469957,), (1397470079,), (1397470086,), (1397470147,), (1397470158,), (1397470170,), (1397470340,), (1397470381,), (1397470397,), (1397470398,), (1397470406,), (1397470657,), (1397470675,), (1397470717,), (1397470741,), (1397470754,), (1397470763,), (1397471164,), (1397471278,), (1397471359,), (1397471423,), (1397471496,), (1397471567,), (1397471750,), (1397471827,), (1397471905,), (1397471951,), (1397471985,), (1397472016,), (1397472130,), (1397472163,), (1397472185,), (1397472197,), (1397472206,), (1397472208,), (1397472278,), (1397472317,), (1397472370,), (1397472407,), (1397472447,), (1397472499,), (1397472577,), (1397472673,), (1397472674,), (1397472692,), (1397472728,), (1397472829,), (1397472830,), (1397472831,), (1397472833,), (1397472871,), (1397472872,), (1397472873,), (1397472901,), (1397472907,), (1397472935,)) 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 29108231 , 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=29108201 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 (29108231) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29108201) result : ((1397467782,), (1397467784,), (1397467815,), (1397468140,), (1397468181,), (1397468246,), (1397468294,), (1397468330,), (1397468368,), (1397468727,), (1397468793,), (1397468863,), (1397468925,), (1397469263,), (1397469312,), (1397469352,), (1397469408,), (1397469490,), (1397469567,), (1397469957,), (1397470079,), (1397470086,), (1397470147,), (1397470158,), (1397470170,), (1397470340,), (1397470381,), (1397470397,), (1397470398,), (1397470406,), (1397470657,), (1397470675,), (1397470717,), (1397470741,), (1397470754,), (1397470763,), (1397471164,), (1397471278,), (1397471359,), (1397471423,), (1397471496,), (1397471567,), (1397471750,), (1397471827,), (1397471905,), (1397471951,), (1397471985,), (1397472016,), (1397472130,), (1397472163,), (1397472185,), (1397472197,), (1397472206,), (1397472208,), (1397472278,), (1397472317,), (1397472370,), (1397472407,), (1397472447,), (1397472499,), (1397472577,), (1397472673,), (1397472674,), (1397472692,), (1397472728,), (1397472829,), (1397472830,), (1397472831,), (1397472833,), (1397472871,), (1397472872,), (1397472873,), (1397472901,), (1397472907,), (1397472935,)) 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 29108232 , 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=29108201 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 (29108232) result : ((1397471826,), (1397471830,), (1397471834,), (1397472194,), (1397472195,), (1397472196,), (1397472790,), (1397472795,), (1397473418,), (1397473419,), (1397473420,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29108201) result : ((1397467782,), (1397467784,), (1397467815,), (1397468140,), (1397468181,), (1397468246,), (1397468294,), (1397468330,), (1397468368,), (1397468727,), (1397468793,), (1397468863,), (1397468925,), (1397469263,), (1397469312,), (1397469352,), (1397469408,), (1397469490,), (1397469567,), (1397469957,), (1397470079,), (1397470086,), (1397470147,), (1397470158,), (1397470170,), (1397470340,), (1397470381,), (1397470397,), (1397470398,), (1397470406,), (1397470657,), (1397470675,), (1397470717,), (1397470741,), (1397470754,), (1397470763,), (1397471164,), (1397471278,), (1397471359,), (1397471423,), (1397471496,), (1397471567,), (1397471750,), (1397471827,), (1397471905,), (1397471951,), (1397471985,), (1397472016,), (1397472130,), (1397472163,), (1397472185,), (1397472197,), (1397472206,), (1397472208,), (1397472278,), (1397472317,), (1397472370,), (1397472407,), (1397472447,), (1397472499,), (1397472577,), (1397472673,), (1397472674,), (1397472692,), (1397472728,), (1397472829,), (1397472830,), (1397472831,), (1397472833,), (1397472871,), (1397472872,), (1397472873,), (1397472901,), (1397472907,), (1397472935,)) 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 29108233 , 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=29108201 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 (29108233) result : ((1397470250,), (1397472251,), (1397472253,), (1397473389,), (1397473391,), (1397473393,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29108201) result : ((1397467782,), (1397467784,), (1397467815,), (1397468140,), (1397468181,), (1397468246,), (1397468294,), (1397468330,), (1397468368,), (1397468727,), (1397468793,), (1397468863,), (1397468925,), (1397469263,), (1397469312,), (1397469352,), (1397469408,), (1397469490,), (1397469567,), (1397469957,), (1397470079,), (1397470086,), (1397470147,), (1397470158,), (1397470170,), (1397470340,), (1397470381,), (1397470397,), (1397470398,), (1397470406,), (1397470657,), (1397470675,), (1397470717,), (1397470741,), (1397470754,), (1397470763,), (1397471164,), (1397471278,), (1397471359,), (1397471423,), (1397471496,), (1397471567,), (1397471750,), (1397471827,), (1397471905,), (1397471951,), (1397471985,), (1397472016,), (1397472130,), (1397472163,), (1397472185,), (1397472197,), (1397472206,), (1397472208,), (1397472278,), (1397472317,), (1397472370,), (1397472407,), (1397472447,), (1397472499,), (1397472577,), (1397472673,), (1397472674,), (1397472692,), (1397472728,), (1397472829,), (1397472830,), (1397472831,), (1397472833,), (1397472871,), (1397472872,), (1397472873,), (1397472901,), (1397472907,), (1397472935,)) 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 29108234 , 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=29108201 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 (29108234) result : ((1397470237,), (1397471761,), (1397471765,), (1397472186,), (1397472239,), (1397472241,), (1397472757,), (1397473357,), (1397473361,), (1397473365,), (1397473369,), (1397473373,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29108201) result : ((1397467782,), (1397467784,), (1397467815,), (1397468140,), (1397468181,), (1397468246,), (1397468294,), (1397468330,), (1397468368,), (1397468727,), (1397468793,), (1397468863,), (1397468925,), (1397469263,), (1397469312,), (1397469352,), (1397469408,), (1397469490,), (1397469567,), (1397469957,), (1397470079,), (1397470086,), (1397470147,), (1397470158,), (1397470170,), (1397470340,), (1397470381,), (1397470397,), (1397470398,), (1397470406,), (1397470657,), (1397470675,), (1397470717,), (1397470741,), (1397470754,), (1397470763,), (1397471164,), (1397471278,), (1397471359,), (1397471423,), (1397471496,), (1397471567,), (1397471750,), (1397471827,), (1397471905,), (1397471951,), (1397471985,), (1397472016,), (1397472130,), (1397472163,), (1397472185,), (1397472197,), (1397472206,), (1397472208,), (1397472278,), (1397472317,), (1397472370,), (1397472407,), (1397472447,), (1397472499,), (1397472577,), (1397472673,), (1397472674,), (1397472692,), (1397472728,), (1397472829,), (1397472830,), (1397472831,), (1397472833,), (1397472871,), (1397472872,), (1397472873,), (1397472901,), (1397472907,), (1397472935,)) 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 29108235 , 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=29108201 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 (29108235) result : ((1397470260,), (1397472296,), (1397472822,), (1397473097,), (1397473099,), (1397473421,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29108201) result : ((1397467782,), (1397467784,), (1397467815,), (1397468140,), (1397468181,), (1397468246,), (1397468294,), (1397468330,), (1397468368,), (1397468727,), (1397468793,), (1397468863,), (1397468925,), (1397469263,), (1397469312,), (1397469352,), (1397469408,), (1397469490,), (1397469567,), (1397469957,), (1397470079,), (1397470086,), (1397470147,), (1397470158,), (1397470170,), (1397470340,), (1397470381,), (1397470397,), (1397470398,), (1397470406,), (1397470657,), (1397470675,), (1397470717,), (1397470741,), (1397470754,), (1397470763,), (1397471164,), (1397471278,), (1397471359,), (1397471423,), (1397471496,), (1397471567,), (1397471750,), (1397471827,), (1397471905,), (1397471951,), (1397471985,), (1397472016,), (1397472130,), (1397472163,), (1397472185,), (1397472197,), (1397472206,), (1397472208,), (1397472278,), (1397472317,), (1397472370,), (1397472407,), (1397472447,), (1397472499,), (1397472577,), (1397472673,), (1397472674,), (1397472692,), (1397472728,), (1397472829,), (1397472830,), (1397472831,), (1397472833,), (1397472871,), (1397472872,), (1397472873,), (1397472901,), (1397472907,), (1397472935,)) 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 29108236 , 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=29108201 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 (29108236) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29108201) result : ((1397467782,), (1397467784,), (1397467815,), (1397468140,), (1397468181,), (1397468246,), (1397468294,), (1397468330,), (1397468368,), (1397468727,), (1397468793,), (1397468863,), (1397468925,), (1397469263,), (1397469312,), (1397469352,), (1397469408,), (1397469490,), (1397469567,), (1397469957,), (1397470079,), (1397470086,), (1397470147,), (1397470158,), (1397470170,), (1397470340,), (1397470381,), (1397470397,), (1397470398,), (1397470406,), (1397470657,), (1397470675,), (1397470717,), (1397470741,), (1397470754,), (1397470763,), (1397471164,), (1397471278,), (1397471359,), (1397471423,), (1397471496,), (1397471567,), (1397471750,), (1397471827,), (1397471905,), (1397471951,), (1397471985,), (1397472016,), (1397472130,), (1397472163,), (1397472185,), (1397472197,), (1397472206,), (1397472208,), (1397472278,), (1397472317,), (1397472370,), (1397472407,), (1397472447,), (1397472499,), (1397472577,), (1397472673,), (1397472674,), (1397472692,), (1397472728,), (1397472829,), (1397472830,), (1397472831,), (1397472833,), (1397472871,), (1397472872,), (1397472873,), (1397472901,), (1397472907,), (1397472935,)) 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 29108237 , 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=29108201 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 (29108237) result : ((1397471802,), (1397471805,), (1397472284,), (1397472286,), (1397472759,), (1397472763,), (1397473084,), (1397473086,), (1397473411,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29108201) result : ((1397467782,), (1397467784,), (1397467815,), (1397468140,), (1397468181,), (1397468246,), (1397468294,), (1397468330,), (1397468368,), (1397468727,), (1397468793,), (1397468863,), (1397468925,), (1397469263,), (1397469312,), (1397469352,), (1397469408,), (1397469490,), (1397469567,), (1397469957,), (1397470079,), (1397470086,), (1397470147,), (1397470158,), (1397470170,), (1397470340,), (1397470381,), (1397470397,), (1397470398,), (1397470406,), (1397470657,), (1397470675,), (1397470717,), (1397470741,), (1397470754,), (1397470763,), (1397471164,), (1397471278,), (1397471359,), (1397471423,), (1397471496,), (1397471567,), (1397471750,), (1397471827,), (1397471905,), (1397471951,), (1397471985,), (1397472016,), (1397472130,), (1397472163,), (1397472185,), (1397472197,), (1397472206,), (1397472208,), (1397472278,), (1397472317,), (1397472370,), (1397472407,), (1397472447,), (1397472499,), (1397472577,), (1397472673,), (1397472674,), (1397472692,), (1397472728,), (1397472829,), (1397472830,), (1397472831,), (1397472833,), (1397472871,), (1397472872,), (1397472873,), (1397472901,), (1397472907,), (1397472935,)) 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 29108238 , 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=29108201 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 (29108238) result : ((1397471783,), (1397472190,), (1397472191,), (1397472192,), (1397472193,), (1397472267,), (1397472269,), (1397472271,), (1397472273,), (1397472758,), (1397472838,), (1397473064,), (1397473066,), (1397473068,), (1397473070,), (1397473072,), (1397473075,), (1397473405,), (1397473407,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29108201) result : ((1397467782,), (1397467784,), (1397467815,), (1397468140,), (1397468181,), (1397468246,), (1397468294,), (1397468330,), (1397468368,), (1397468727,), (1397468793,), (1397468863,), (1397468925,), (1397469263,), (1397469312,), (1397469352,), (1397469408,), (1397469490,), (1397469567,), (1397469957,), (1397470079,), (1397470086,), (1397470147,), (1397470158,), (1397470170,), (1397470340,), (1397470381,), (1397470397,), (1397470398,), (1397470406,), (1397470657,), (1397470675,), (1397470717,), (1397470741,), (1397470754,), (1397470763,), (1397471164,), (1397471278,), (1397471359,), (1397471423,), (1397471496,), (1397471567,), (1397471750,), (1397471827,), (1397471905,), (1397471951,), (1397471985,), (1397472016,), (1397472130,), (1397472163,), (1397472185,), (1397472197,), (1397472206,), (1397472208,), (1397472278,), (1397472317,), (1397472370,), (1397472407,), (1397472447,), (1397472499,), (1397472577,), (1397472673,), (1397472674,), (1397472692,), (1397472728,), (1397472829,), (1397472830,), (1397472831,), (1397472833,), (1397472871,), (1397472872,), (1397472873,), (1397472901,), (1397472907,), (1397472935,)) 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 29108239 , 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=29108201 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 (29108239) result : ((1397472828,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29108201) result : ((1397467782,), (1397467784,), (1397467815,), (1397468140,), (1397468181,), (1397468246,), (1397468294,), (1397468330,), (1397468368,), (1397468727,), (1397468793,), (1397468863,), (1397468925,), (1397469263,), (1397469312,), (1397469352,), (1397469408,), (1397469490,), (1397469567,), (1397469957,), (1397470079,), (1397470086,), (1397470147,), (1397470158,), (1397470170,), (1397470340,), (1397470381,), (1397470397,), (1397470398,), (1397470406,), (1397470657,), (1397470675,), (1397470717,), (1397470741,), (1397470754,), (1397470763,), (1397471164,), (1397471278,), (1397471359,), (1397471423,), (1397471496,), (1397471567,), (1397471750,), (1397471827,), (1397471905,), (1397471951,), (1397471985,), (1397472016,), (1397472130,), (1397472163,), (1397472185,), (1397472197,), (1397472206,), (1397472208,), (1397472278,), (1397472317,), (1397472370,), (1397472407,), (1397472447,), (1397472499,), (1397472577,), (1397472673,), (1397472674,), (1397472692,), (1397472728,), (1397472829,), (1397472830,), (1397472831,), (1397472833,), (1397472871,), (1397472872,), (1397472873,), (1397472901,), (1397472907,), (1397472935,)) 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 29108240 , 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=29108201 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 (29108240) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29108201) result : ((1397467782,), (1397467784,), (1397467815,), (1397468140,), (1397468181,), (1397468246,), (1397468294,), (1397468330,), (1397468368,), (1397468727,), (1397468793,), (1397468863,), (1397468925,), (1397469263,), (1397469312,), (1397469352,), (1397469408,), (1397469490,), (1397469567,), (1397469957,), (1397470079,), (1397470086,), (1397470147,), (1397470158,), (1397470170,), (1397470340,), (1397470381,), (1397470397,), (1397470398,), (1397470406,), (1397470657,), (1397470675,), (1397470717,), (1397470741,), (1397470754,), (1397470763,), (1397471164,), (1397471278,), (1397471359,), (1397471423,), (1397471496,), (1397471567,), (1397471750,), (1397471827,), (1397471905,), (1397471951,), (1397471985,), (1397472016,), (1397472130,), (1397472163,), (1397472185,), (1397472197,), (1397472206,), (1397472208,), (1397472278,), (1397472317,), (1397472370,), (1397472407,), (1397472447,), (1397472499,), (1397472577,), (1397472673,), (1397472674,), (1397472692,), (1397472728,), (1397472829,), (1397472830,), (1397472831,), (1397472833,), (1397472871,), (1397472872,), (1397472873,), (1397472901,), (1397472907,), (1397472935,)) 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`=29108201 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','flou','Carton_gris','papier','Teint_Dans_La_Masse','plastique','mal_croppe','metal','kraft','autre_refus','cartonnette','Carton_brun')) 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`=29108201 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','flou','Carton_gris','papier','Teint_Dans_La_Masse','plastique','mal_croppe','metal','kraft','autre_refus','cartonnette','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 29108201, 'sub_port_id': 29108241, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19773444, 'last_updated_at': datetime.datetime(2025, 12, 2, 20, 3), 'last_updated_at_desc': datetime.datetime(2025, 12, 2, 20, 3), 'last_updated_at_asc': datetime.datetime(2025, 12, 2, 20, 3)}, 'environnement': {'main_port_id': 29108201, 'sub_port_id': 29108242, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19773445, 'last_updated_at': datetime.datetime(2025, 12, 2, 20, 3), 'last_updated_at_desc': datetime.datetime(2025, 12, 2, 20, 3), 'last_updated_at_asc': datetime.datetime(2025, 12, 2, 20, 3)}, 'flou': {'main_port_id': 29108201, 'sub_port_id': 29108243, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19773446, 'last_updated_at': datetime.datetime(2025, 12, 2, 20, 3), 'last_updated_at_desc': datetime.datetime(2025, 12, 2, 20, 3), 'last_updated_at_asc': datetime.datetime(2025, 12, 2, 20, 3)}, 'Carton_brun': {'main_port_id': 29108201, 'sub_port_id': 29108244, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19773447, 'last_updated_at': datetime.datetime(2025, 12, 2, 20, 3), 'last_updated_at_desc': datetime.datetime(2025, 12, 2, 20, 3), 'last_updated_at_asc': datetime.datetime(2025, 12, 2, 20, 3)}, 'autre_refus': {'main_port_id': 29108201, 'sub_port_id': 29108245, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19773448, 'last_updated_at': datetime.datetime(2025, 12, 2, 20, 3), 'last_updated_at_desc': datetime.datetime(2025, 12, 2, 20, 3), 'last_updated_at_asc': datetime.datetime(2025, 12, 2, 20, 3)}, 'Teint_Dans_La_Masse': {'main_port_id': 29108201, 'sub_port_id': 29108246, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19773449, 'last_updated_at': datetime.datetime(2025, 12, 2, 20, 3), 'last_updated_at_desc': datetime.datetime(2025, 12, 2, 20, 3), 'last_updated_at_asc': datetime.datetime(2025, 12, 2, 20, 3)}, 'plastique': {'main_port_id': 29108201, 'sub_port_id': 29108247, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19773450, 'last_updated_at': datetime.datetime(2025, 12, 2, 20, 3), 'last_updated_at_desc': datetime.datetime(2025, 12, 2, 20, 3), 'last_updated_at_asc': datetime.datetime(2025, 12, 2, 20, 3)}, 'mal_croppe': {'main_port_id': 29108201, 'sub_port_id': 29108248, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19773451, 'last_updated_at': datetime.datetime(2025, 12, 2, 20, 3), 'last_updated_at_desc': datetime.datetime(2025, 12, 2, 20, 3), 'last_updated_at_asc': datetime.datetime(2025, 12, 2, 20, 3)}, 'cartonnette': {'main_port_id': 29108201, 'sub_port_id': 29108249, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19773452, 'last_updated_at': datetime.datetime(2025, 12, 2, 20, 3), 'last_updated_at_desc': datetime.datetime(2025, 12, 2, 20, 3), 'last_updated_at_asc': datetime.datetime(2025, 12, 2, 20, 3)}, 'Carton_gris': {'main_port_id': 29108201, 'sub_port_id': 29108250, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19773453, 'last_updated_at': datetime.datetime(2025, 12, 2, 20, 3), 'last_updated_at_desc': datetime.datetime(2025, 12, 2, 20, 3), 'last_updated_at_asc': datetime.datetime(2025, 12, 2, 20, 3)}, 'kraft': {'main_port_id': 29108201, 'sub_port_id': 29108251, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19773454, 'last_updated_at': datetime.datetime(2025, 12, 2, 20, 3), 'last_updated_at_desc': datetime.datetime(2025, 12, 2, 20, 3), 'last_updated_at_asc': datetime.datetime(2025, 12, 2, 20, 3)}, 'papier': {'main_port_id': 29108201, 'sub_port_id': 29108252, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19773455, 'last_updated_at': datetime.datetime(2025, 12, 2, 20, 13), 'last_updated_at_desc': datetime.datetime(2025, 12, 2, 20, 13), 'last_updated_at_asc': datetime.datetime(2025, 12, 2, 20, 3)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29108241,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29108229 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29108242,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29108230 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29108243,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29108231 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29108244,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29108232 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29108245,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29108233 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29108246,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29108234 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29108247,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29108235 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29108248,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29108236 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29108249,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29108237 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29108250,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29108238 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29108251,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29108239 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29108252,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29108240 lien utilise dans velours : https://marlene.fotonower.com/velours/29108241,29108242,29108243,29108244,29108245,29108246,29108247,29108248,29108249,29108250,29108251,29108252?tags=metal,environnement,flou,Carton_brun,autre_refus,Teint_Dans_La_Masse,plastique,mal_croppe,cartonnette,Carton_gris,kraft,papier After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29108201]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1397472935, 1397472907, 1397472901, 1397472873, 1397472872, 1397472871] map_info['map_portfolio_photo'] : {29108201: [1397472935, 1397472907, 1397472901, 1397472873, 1397472872, 1397472871, 1397472833, 1397472831, 1397472830, 1397472829, 1397472728, 1397472692, 1397472674, 1397472673, 1397472577, 1397472499, 1397472447, 1397472407, 1397472370, 1397472317, 1397472278, 1397472208, 1397472206, 1397472197, 1397472185, 1397472163, 1397472130, 1397472016, 1397471985, 1397471951, 1397471905, 1397471827, 1397471750, 1397471567, 1397471496, 1397471423, 1397471359, 1397471278, 1397471164, 1397470763, 1397470754, 1397470741, 1397470717, 1397470675, 1397470657, 1397470406, 1397470398, 1397470397, 1397470381, 1397470340, 1397470170, 1397470158, 1397470147, 1397470086, 1397470079, 1397469957, 1397469567, 1397469490, 1397469408, 1397469352, 1397469312, 1397469263, 1397468925, 1397468863, 1397468793, 1397468727, 1397468368, 1397468330, 1397468294, 1397468246, 1397468181, 1397468140, 1397467815, 1397467784, 1397467782]} final : False mtd_id 4302 list_pids : [1397472935, 1397472907, 1397472901, 1397472873, 1397472872, 1397472871] Looping around the photos to save general results len do output : 1 /29108201. 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, '4175580') ('4302', '29108201', '1397472935', None, None, None, None, None, '4175580') ('4302', None, None, None, None, None, None, None, '4175580') ('4302', '29108201', '1397472907', None, None, None, None, None, '4175580') ('4302', None, None, None, None, None, None, None, '4175580') ('4302', '29108201', '1397472901', None, None, None, None, None, '4175580') ('4302', None, None, None, None, None, None, None, '4175580') ('4302', '29108201', '1397472873', None, None, None, None, None, '4175580') ('4302', None, None, None, None, None, None, None, '4175580') ('4302', '29108201', '1397472872', None, None, None, None, None, '4175580') ('4302', None, None, None, None, None, None, None, '4175580') ('4302', '29108201', '1397472871', None, None, None, None, None, '4175580') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 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, '29108201', "{'metal': 29108229, 'environnement': 29108230, 'flou': 29108231, 'Carton_brun': 29108232, 'autre_refus': 29108233, 'Teint_Dans_La_Masse': 29108234, 'plastique': 29108235, 'mal_croppe': 29108236, 'cartonnette': 29108237, 'Carton_gris': 29108238, 'kraft': 29108239, 'papier': 29108240}", None, None, None, None, '4175580'), ('4302', '29108201', '1397472935', None, None, None, None, None, '4175580'), ('4302', '29108201', '1397472907', None, None, None, None, None, '4175580'), ('4302', '29108201', '1397472901', None, None, None, None, None, '4175580'), ('4302', '29108201', '1397472873', None, None, None, None, None, '4175580'), ('4302', '29108201', '1397472872', None, None, None, None, None, '4175580'), ('4302', '29108201', '1397472871', None, None, None, None, None, '4175580')] time used for this insertion : 0.017946481704711914 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.9030754566192627 time spend to save output : 0.018301963806152344 total time spend for step 1 : 1.921377420425415 step2:final Tue Dec 2 20:15:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29108201) 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 29108201 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1397467815,1397467784,1397467782,1397468368,1397468330,1397468294,1397468246,1397468181,1397468140,1397468925,1397468863,1397468793,1397468727,1397469567,1397469490,1397469408,1397469352,1397469312,1397469263,1397470170,1397469957,1397470158,1397470147,1397470086,1397470079,1397472577,1397470406,1397472208,1397470398,1397472206,1397470397,1397472016,1397470381,1397470763,1397470340,1397471985,1397470754,1397470741,1397471951,1397470717,1397471905,1397471827,1397470675,1397470657,1397471750,1397471567,1397471496,1397471423,1397471359,1397471278,1397471164,1397472197,1397472185,1397472163,1397472130,1397472499,1397472447,1397472407,1397472370,1397472317,1397472278,1397472728,1397472692,1397472674,1397472673,1397472833,1397472831,1397472830,1397472829,1397472935,1397472907,1397472901,1397472873,1397472872,1397472871); 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([29108201]) Inside saveOutput : final : False verbose : True original output for save of step final : {1397472935: ('0.044619499932830604',), 1397472907: ('0.044619499932830604',), 1397472901: ('0.044619499932830604',), 1397472873: ('0.044619499932830604',), 1397472872: ('0.044619499932830604',), 1397472871: ('0.044619499932830604',)} new output for save of step final : {1397472935: ('0.044619499932830604',), 1397472907: ('0.044619499932830604',), 1397472901: ('0.044619499932830604',), 1397472873: ('0.044619499932830604',), 1397472872: ('0.044619499932830604',), 1397472871: ('0.044619499932830604',)} [1397472935, 1397472907, 1397472901, 1397472873, 1397472872, 1397472871] map_info['map_portfolio_photo'] : {29108201: [1397472935, 1397472907, 1397472901, 1397472873, 1397472872, 1397472871, 1397472833, 1397472831, 1397472830, 1397472829, 1397472728, 1397472692, 1397472674, 1397472673, 1397472577, 1397472499, 1397472447, 1397472407, 1397472370, 1397472317, 1397472278, 1397472208, 1397472206, 1397472197, 1397472185, 1397472163, 1397472130, 1397472016, 1397471985, 1397471951, 1397471905, 1397471827, 1397471750, 1397471567, 1397471496, 1397471423, 1397471359, 1397471278, 1397471164, 1397470763, 1397470754, 1397470741, 1397470717, 1397470675, 1397470657, 1397470406, 1397470398, 1397470397, 1397470381, 1397470340, 1397470170, 1397470158, 1397470147, 1397470086, 1397470079, 1397469957, 1397469567, 1397469490, 1397469408, 1397469352, 1397469312, 1397469263, 1397468925, 1397468863, 1397468793, 1397468727, 1397468368, 1397468330, 1397468294, 1397468246, 1397468181, 1397468140, 1397467815, 1397467784, 1397467782]} final : False mtd_id 4302 list_pids : [1397472935, 1397472907, 1397472901, 1397472873, 1397472872, 1397472871] Looping around the photos to save general results len do output : 6 /1397472935.Didn't retrieve data . /1397472907.Didn't retrieve data . /1397472901.Didn't retrieve data . /1397472873.Didn't retrieve data . /1397472872.Didn't retrieve data . /1397472871.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, '4175580') ('4302', '29108201', '1397472935', None, None, None, None, None, '4175580') ('4302', None, None, None, None, None, None, None, '4175580') ('4302', '29108201', '1397472907', None, None, None, None, None, '4175580') ('4302', None, None, None, None, None, None, None, '4175580') ('4302', '29108201', '1397472901', None, None, None, None, None, '4175580') ('4302', None, None, None, None, None, None, None, '4175580') ('4302', '29108201', '1397472873', None, None, None, None, None, '4175580') ('4302', None, None, None, None, None, None, None, '4175580') ('4302', '29108201', '1397472872', None, None, None, None, None, '4175580') ('4302', None, None, None, None, None, None, None, '4175580') ('4302', '29108201', '1397472871', None, None, None, None, None, '4175580') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 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', '29108201', '1397472935', '0.044619499932830604', None, None, None, None, '4175580'), ('4302', '29108201', '1397472907', '0.044619499932830604', None, None, None, None, '4175580'), ('4302', '29108201', '1397472901', '0.044619499932830604', None, None, None, None, '4175580'), ('4302', '29108201', '1397472873', '0.044619499932830604', None, None, None, None, '4175580'), ('4302', '29108201', '1397472872', '0.044619499932830604', None, None, None, None, '4175580'), ('4302', '29108201', '1397472871', '0.044619499932830604', None, None, None, None, '4175580')] time used for this insertion : 0.014793872833251953 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08934330940246582 time spend to save output : 0.015252351760864258 total time spend for step 2 : 0.10459566116333008 step3:velours_tree Tue Dec 2 20:15:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {29108201: [{'metal': 29108229, 'environnement': 29108230, 'flou': 29108231, 'Carton_brun': 29108232, 'autre_refus': 29108233, 'Teint_Dans_La_Masse': 29108234, 'plastique': 29108235, 'mal_croppe': 29108236, 'cartonnette': 29108237, 'Carton_gris': 29108238, 'kraft': 29108239, 'papier': 29108240}]} input_args_next_step : {29108201: ()} output_args : {29108201: [{'metal': 29108229, 'environnement': 29108230, 'flou': 29108231, 'Carton_brun': 29108232, 'autre_refus': 29108233, 'Teint_Dans_La_Masse': 29108234, 'plastique': 29108235, 'mal_croppe': 29108236, 'cartonnette': 29108237, 'Carton_gris': 29108238, 'kraft': 29108239, 'papier': 29108240}]} args : 29108201 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 : ({'metal': 29108229, 'environnement': 29108230, 'flou': 29108231, 'Carton_brun': 29108232, 'autre_refus': 29108233, 'Teint_Dans_La_Masse': 29108234, 'plastique': 29108235, 'mal_croppe': 29108236, 'cartonnette': 29108237, 'Carton_gris': 29108238, 'kraft': 29108239, 'papier': 29108240},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29108201) 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([29108201]) 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.7679388523101807 time spend to save output : 8.344650268554688e-05 total time spend for step 3 : 0.7680222988128662 step4:send_mail_cod Tue Dec 2 20:15:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1397472935: ('0.044619499932830604',), 1397472907: ('0.044619499932830604',), 1397472901: ('0.044619499932830604',), 1397472873: ('0.044619499932830604',), 1397472872: ('0.044619499932830604',), 1397472871: ('0.044619499932830604',)} input_args_next_step : {1397472935: ()} output_args : {1397472935: ('0.044619499932830604',), 1397472907: ('0.044619499932830604',), 1397472901: ('0.044619499932830604',), 1397472873: ('0.044619499932830604',), 1397472872: ('0.044619499932830604',), 1397472871: ('0.044619499932830604',)} args : 1397472935 depend.output_id : 0 input_args_next_step : {1397472935: ('0.044619499932830604',), 1397472907: ()} output_args : {1397472935: ('0.044619499932830604',), 1397472907: ('0.044619499932830604',), 1397472901: ('0.044619499932830604',), 1397472873: ('0.044619499932830604',), 1397472872: ('0.044619499932830604',), 1397472871: ('0.044619499932830604',)} args : 1397472907 depend.output_id : 0 input_args_next_step : {1397472935: ('0.044619499932830604',), 1397472907: ('0.044619499932830604',), 1397472901: ()} output_args : {1397472935: ('0.044619499932830604',), 1397472907: ('0.044619499932830604',), 1397472901: ('0.044619499932830604',), 1397472873: ('0.044619499932830604',), 1397472872: ('0.044619499932830604',), 1397472871: ('0.044619499932830604',)} args : 1397472901 depend.output_id : 0 input_args_next_step : {1397472935: ('0.044619499932830604',), 1397472907: ('0.044619499932830604',), 1397472901: ('0.044619499932830604',), 1397472873: ()} output_args : {1397472935: ('0.044619499932830604',), 1397472907: ('0.044619499932830604',), 1397472901: ('0.044619499932830604',), 1397472873: ('0.044619499932830604',), 1397472872: ('0.044619499932830604',), 1397472871: ('0.044619499932830604',)} args : 1397472873 depend.output_id : 0 input_args_next_step : {1397472935: ('0.044619499932830604',), 1397472907: ('0.044619499932830604',), 1397472901: ('0.044619499932830604',), 1397472873: ('0.044619499932830604',), 1397472872: ()} output_args : {1397472935: ('0.044619499932830604',), 1397472907: ('0.044619499932830604',), 1397472901: ('0.044619499932830604',), 1397472873: ('0.044619499932830604',), 1397472872: ('0.044619499932830604',), 1397472871: ('0.044619499932830604',)} args : 1397472872 depend.output_id : 0 input_args_next_step : {1397472935: ('0.044619499932830604',), 1397472907: ('0.044619499932830604',), 1397472901: ('0.044619499932830604',), 1397472873: ('0.044619499932830604',), 1397472872: ('0.044619499932830604',), 1397472871: ()} output_args : {1397472935: ('0.044619499932830604',), 1397472907: ('0.044619499932830604',), 1397472901: ('0.044619499932830604',), 1397472873: ('0.044619499932830604',), 1397472872: ('0.044619499932830604',), 1397472871: ('0.044619499932830604',)} args : 1397472871 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 : {29108201: [{'metal': 29108229, 'environnement': 29108230, 'flou': 29108231, 'Carton_brun': 29108232, 'autre_refus': 29108233, 'Teint_Dans_La_Masse': 29108234, 'plastique': 29108235, 'mal_croppe': 29108236, 'cartonnette': 29108237, 'Carton_gris': 29108238, 'kraft': 29108239, 'papier': 29108240}]} input_args_next_step : {1397472935: ('0.044619499932830604',), 1397472907: ('0.044619499932830604',), 1397472901: ('0.044619499932830604',), 1397472873: ('0.044619499932830604',), 1397472872: ('0.044619499932830604',), 1397472871: ('0.044619499932830604',), 29108201: ()} output_args : {29108201: [{'metal': 29108229, 'environnement': 29108230, 'flou': 29108231, 'Carton_brun': 29108232, 'autre_refus': 29108233, 'Teint_Dans_La_Masse': 29108234, 'plastique': 29108235, 'mal_croppe': 29108236, 'cartonnette': 29108237, 'Carton_gris': 29108238, 'kraft': 29108239, 'papier': 29108240}]} args : 29108201 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 :7, first value : ('0.044619499932830604',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29108201) 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 (1397472935,1397472907,1397472901,1397472873,1397472872,1397472871) Found this number of photos: 6 ##### Call download_photos : nb_thread : 5 begin to download photo : 1397472871 begin to download photo : 1397472873 begin to download photo : 1397472907 download finish for photo 1397472873 begin to download photo : 1397472901 download finish for photo 1397472907 begin to download photo : 1397472935 download finish for photo 1397472871 begin to download photo : 1397472872 download finish for photo 1397472935 download finish for photo 1397472872 download finish for photo 1397472901 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 : 6 ; length of list_pids : 6 ; length of list_args : 6 results_Auto_P29108201_02-12-2025_20_15_01.pdf 29108229 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=29108229 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1397472305: '1764702567_1618168_1397469408_38c0d0c87e01badfd14110f90f9933c9_rle_crop_4055473710_0.png'} change filename to text .imagette291082291764702901/ imagette291082291764702901/1764702567_1618168_1397469408_38c0d0c87e01badfd14110f90f9933c9_rle_crop_4055473710_0.png.png imagette291082311764702902/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/e5cf3bb746a20992751c9f974ef806da_73655580.png imagette291082291764702901 29108231 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=29108231 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette291082311764702902 29108233 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=29108233 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1397470250: '1764702306_1605211_1397467815_e7fa89500db16694334c5814fec9a109_rle_crop_4055462835_0.png', 1397472251: '1764702567_1618168_1397470170_82a15b91b4d9782f3fe3e2c26ab3a028_rle_crop_4055473675_0.png', 1397472253: '1764702567_1618168_1397470170_82a15b91b4d9782f3fe3e2c26ab3a028_rle_crop_4055473672_0.png', 1397473389: '1764702807_1636534_1397471423_78e171c9133d72e438a4e235f400a584_rle_crop_4055478699_0.png', 1397473391: '1764702807_1636534_1397471359_d36a97162dca6550a17a82db1f4b6e08_rle_crop_4055478718_0.png', 1397473393: '1764702807_1636534_1397471359_d36a97162dca6550a17a82db1f4b6e08_rle_crop_4055478720_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/3fb04e98191291cc19b391abaeb1b70d_36467298.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/cdd0789a5c6617c399c594f01eb0de06_88508871.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/afc6418a7bc9fac936f0ae30235c2ce3_70924035.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/73bb1ae15183e7c6f411b2bfdf5f621f_47714831.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/433a1aecd508d0e53131a6f98b8eeb93_18438850.png change filename to text .imagette291082331764702902/ imagette291082331764702902/1764702567_1618168_1397470170_82a15b91b4d9782f3fe3e2c26ab3a028_rle_crop_4055473675_0.png.png imagette291082331764702902/1764702807_1636534_1397471359_d36a97162dca6550a17a82db1f4b6e08_rle_crop_4055478718_0.png.png imagette291082331764702902/1764702306_1605211_1397467815_e7fa89500db16694334c5814fec9a109_rle_crop_4055462835_0.png.png imagette291082331764702902/1764702567_1618168_1397470170_82a15b91b4d9782f3fe3e2c26ab3a028_rle_crop_4055473672_0.png.png imagette291082331764702902/1764702807_1636534_1397471423_78e171c9133d72e438a4e235f400a584_rle_crop_4055478699_0.png.png imagette291082331764702902/1764702807_1636534_1397471359_d36a97162dca6550a17a82db1f4b6e08_rle_crop_4055478720_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/3ea26d4bf98a3dac90de86a2e80d10d9_22458023.png imagette291082331764702902 29108235 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=29108235 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1397470260: '1764702306_1605211_1397467782_9436e9be00575828f11a2b34702712d4_rle_crop_4055462891_0.png', 1397472296: '1764702567_1618168_1397470170_82a15b91b4d9782f3fe3e2c26ab3a028_rle_crop_4055473668_0.png', 1397472822: '1764702685_1625501_1397468246_a296479d2d8b1e3a1eaacd45cf4f5bde_rle_crop_4055477118_0.png', 1397473097: '1764702785_1633252_1397471827_cdc6781eccbe7d1822f5cb7fa0dabb98_rle_crop_4055478392_0.png', 1397473099: '1764702785_1633252_1397470675_e4c6849c51da7f233c37e15ce1c4871a_rle_crop_4055478449_0.png', 1397473421: '1764702807_1636534_1397471423_78e171c9133d72e438a4e235f400a584_rle_crop_4055478701_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/89a5aa88d2843db0c143817f0760e1d9_39552046.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/6d6ebcb74481b42ae980b41e1e49be19_17453805.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/08f2e056813dac84c1349e0129892468_86944473.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/8f01c127849cb48469f3175cb34b18aa_9554039.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/8f01c127849cb48469f3175cb34b18aa_69673390.png change filename to text .imagette291082351764702902/ imagette291082351764702902/1764702785_1633252_1397471827_cdc6781eccbe7d1822f5cb7fa0dabb98_rle_crop_4055478392_0.png.png imagette291082351764702902/1764702567_1618168_1397470170_82a15b91b4d9782f3fe3e2c26ab3a028_rle_crop_4055473668_0.png.png imagette291082351764702902/1764702306_1605211_1397467782_9436e9be00575828f11a2b34702712d4_rle_crop_4055462891_0.png.png imagette291082351764702902/1764702807_1636534_1397471423_78e171c9133d72e438a4e235f400a584_rle_crop_4055478701_0.png.png imagette291082351764702902/1764702685_1625501_1397468246_a296479d2d8b1e3a1eaacd45cf4f5bde_rle_crop_4055477118_0.png.png imagette291082351764702902/1764702785_1633252_1397470675_e4c6849c51da7f233c37e15ce1c4871a_rle_crop_4055478449_0.png.png imagette291082361764702903/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/4293c839f83ce03d1386a52f080bdc69_85334596.png imagette291082351764702902 29108236 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=29108236 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette291082361764702903 29108237 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=29108237 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1397471802: '1764702508_1614653_1397470340_6fbb1aa7490b9681ca8b0074f876fd47_rle_crop_4055472589_0.png', 1397471805: '1764702508_1614653_1397470340_6fbb1aa7490b9681ca8b0074f876fd47_rle_crop_4055472586_0.png', 1397472284: '1764702567_1618168_1397469490_86f5480378d27f672614bd29bab30951_rle_crop_4055473687_0.png', 1397472286: '1764702567_1618168_1397469408_38c0d0c87e01badfd14110f90f9933c9_rle_crop_4055473704_0.png', 1397472759: '1764702685_1625501_1397468140_83fdc0155508c045b877d079a73653d6_rle_crop_4055477160_0.png', 1397472763: '1764702685_1625501_1397468140_83fdc0155508c045b877d079a73653d6_rle_crop_4055477165_0.png', 1397473084: '1764702785_1633252_1397471905_dc4c84a18078f407f3e084ac79f821db_rle_crop_4055478360_0.png', 1397473086: '1764702785_1633252_1397470717_0d647273acc69c518380fbb5e60a5245_rle_crop_4055478439_0.png', 1397473411: '1764702807_1636534_1397472197_32819faa59abf25fd153832ecdf65b45_rle_crop_4055478653_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/9cca3ad404e461026992f3674bf8de2b_87208276.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/a381294bc1bfbd6407f0b451bb3fe9bd_40009792.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/c0cae5d3f10da5c0aec5c69526fc9bb1_35689788.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/100d11714b863e8a24497d259de07afe_1051077.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/3547414c19e3567f5ac32b00afc0fabd_65791247.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/fc2d6e4dc2de215dff26b8d447c948c4_52253928.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/fc74e4d6b6f4f59e08468213a719179a_23512770.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/fc74e4d6b6f4f59e08468213a719179a_73002040.png change filename to text .imagette291082371764702903/ imagette291082371764702903/1764702785_1633252_1397471905_dc4c84a18078f407f3e084ac79f821db_rle_crop_4055478360_0.png.png imagette291082371764702903/1764702567_1618168_1397469490_86f5480378d27f672614bd29bab30951_rle_crop_4055473687_0.png.png imagette291082371764702903/1764702807_1636534_1397472197_32819faa59abf25fd153832ecdf65b45_rle_crop_4055478653_0.png.png imagette291082371764702903/1764702785_1633252_1397470717_0d647273acc69c518380fbb5e60a5245_rle_crop_4055478439_0.png.png imagette291082371764702903/1764702685_1625501_1397468140_83fdc0155508c045b877d079a73653d6_rle_crop_4055477160_0.png.png imagette291082371764702903/1764702567_1618168_1397469408_38c0d0c87e01badfd14110f90f9933c9_rle_crop_4055473704_0.png.png imagette291082371764702903/1764702685_1625501_1397468140_83fdc0155508c045b877d079a73653d6_rle_crop_4055477165_0.png.png imagette291082371764702903/1764702508_1614653_1397470340_6fbb1aa7490b9681ca8b0074f876fd47_rle_crop_4055472586_0.png.png imagette291082371764702903/1764702508_1614653_1397470340_6fbb1aa7490b9681ca8b0074f876fd47_rle_crop_4055472589_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/05e52acd6087b2a415733520f6fa9f7e_79009839.png imagette291082371764702903 29108239 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=29108239 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1397472828: '1764702685_1625501_1397468294_daff048fd1e16e879853c61ddba3d3e8_rle_crop_4055477087_0.png'} change filename to text .imagette291082391764702903/ imagette291082391764702903/1764702685_1625501_1397468294_daff048fd1e16e879853c61ddba3d3e8_rle_crop_4055477087_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/bd29e53e24e4ae4767d0729211ec8a50_81188182.png imagette291082391764702903 29108232 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=29108232 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1397471826: '1764702508_1614653_1397470397_c864a2c6925a339fce005f0458771064_rle_crop_4055472560_0.png', 1397471830: '1764702508_1614653_1397470340_6fbb1aa7490b9681ca8b0074f876fd47_rle_crop_4055472591_0.png', 1397471834: '1764702508_1614653_1397470340_6fbb1aa7490b9681ca8b0074f876fd47_rle_crop_4055472592_0.png', 1397472194: '1764702547_1617065_1397470147_c75e2c7cebffce5ebbef1d4f541c0ef7_rle_crop_4055473361_0.png', 1397472195: '1764702547_1617065_1397470079_c6f310d86248ee9afd513f52cf6b2275_rle_crop_4055473385_0.png', 1397472196: '1764702547_1617065_1397469957_d8e89ec8f2dc8e27735f159a9c4378a5_rle_crop_4055473400_0.png', 1397472790: '1764702685_1625501_1397468181_006ce7a8450868d94fb496b090cf7580_rle_crop_4055477137_0.png', 1397472795: '1764702685_1625501_1397468181_006ce7a8450868d94fb496b090cf7580_rle_crop_4055477136_0.png', 1397473418: '1764702807_1636534_1397471423_78e171c9133d72e438a4e235f400a584_rle_crop_4055478705_0.png', 1397473419: '1764702807_1636534_1397471359_d36a97162dca6550a17a82db1f4b6e08_rle_crop_4055478722_0.png', 1397473420: '1764702807_1636534_1397471164_f16be0f61e49fe7f5cd517e1180e94e6_rle_crop_4055478752_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/cf34d8ec3c5d8776758f62f9de7b4b62_61365915.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/dc3d9a070a16f98027819fb9d2b1a8a2_1834628.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/f7d2cdd524ca48b7c76bc0750d10c4c0_20280458.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/011b5bbfebf19a34cee82bd716b11b9d_18788273.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/e8a2240bf188da6424623ef92e16f465_7987938.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/40fc48a39d539a98fdfc5211caaaaa80_6453313.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/a74d4a47e15931e6c8743b72bbaa0214_31087712.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/f1c90aa0aaaa9a6c383386d16bfa7fa7_89168900.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/998b2678161e79794205ce27b7f00b87_97872944.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/0f3bf3a0481f989f15fa4e639aa36eb1_40601042.png change filename to text .imagette291082321764702904/ imagette291082321764702904/1764702685_1625501_1397468181_006ce7a8450868d94fb496b090cf7580_rle_crop_4055477137_0.png.png imagette291082321764702904/1764702807_1636534_1397471359_d36a97162dca6550a17a82db1f4b6e08_rle_crop_4055478722_0.png.png imagette291082321764702904/1764702807_1636534_1397471164_f16be0f61e49fe7f5cd517e1180e94e6_rle_crop_4055478752_0.png.png imagette291082321764702904/1764702547_1617065_1397469957_d8e89ec8f2dc8e27735f159a9c4378a5_rle_crop_4055473400_0.png.png imagette291082321764702904/1764702547_1617065_1397470079_c6f310d86248ee9afd513f52cf6b2275_rle_crop_4055473385_0.png.png imagette291082321764702904/1764702685_1625501_1397468181_006ce7a8450868d94fb496b090cf7580_rle_crop_4055477136_0.png.png imagette291082321764702904/1764702508_1614653_1397470397_c864a2c6925a339fce005f0458771064_rle_crop_4055472560_0.png.png imagette291082321764702904/1764702807_1636534_1397471423_78e171c9133d72e438a4e235f400a584_rle_crop_4055478705_0.png.png imagette291082321764702904/1764702547_1617065_1397470147_c75e2c7cebffce5ebbef1d4f541c0ef7_rle_crop_4055473361_0.png.png imagette291082321764702904/1764702508_1614653_1397470340_6fbb1aa7490b9681ca8b0074f876fd47_rle_crop_4055472592_0.png.png imagette291082321764702904/1764702508_1614653_1397470340_6fbb1aa7490b9681ca8b0074f876fd47_rle_crop_4055472591_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/6befa1cd1e7b1d17433379371bfc446e_14526807.png imagette291082321764702904 29108234 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=29108234 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1397470237: '1764702306_1605211_1397467784_49081207105e6e3c24eb86a073c2c60d_rle_crop_4055462876_0.png', 1397471761: '1764702508_1614653_1397470397_c864a2c6925a339fce005f0458771064_rle_crop_4055472559_0.png', 1397471765: '1764702508_1614653_1397470340_6fbb1aa7490b9681ca8b0074f876fd47_rle_crop_4055472590_0.png', 1397472186: '1764702547_1617065_1397469957_d8e89ec8f2dc8e27735f159a9c4378a5_rle_crop_4055473402_0.png', 1397472239: '1764702567_1618168_1397470170_82a15b91b4d9782f3fe3e2c26ab3a028_rle_crop_4055473680_0.png', 1397472241: '1764702567_1618168_1397469312_1835ab3099dc4b1b11ec43d60ff5c412_rle_crop_4055473786_0.png', 1397472757: '1764702685_1625501_1397468246_a296479d2d8b1e3a1eaacd45cf4f5bde_rle_crop_4055477119_0.png', 1397473357: '1764702807_1636534_1397471359_d36a97162dca6550a17a82db1f4b6e08_rle_crop_4055478723_0.png', 1397473361: '1764702807_1636534_1397471278_c6a5e20716c0d7292c099dd5540813ce_rle_crop_4055478730_0.png', 1397473365: '1764702807_1636534_1397471278_c6a5e20716c0d7292c099dd5540813ce_rle_crop_4055478728_0.png', 1397473369: '1764702807_1636534_1397471164_f16be0f61e49fe7f5cd517e1180e94e6_rle_crop_4055478753_0.png', 1397473373: '1764702807_1636534_1397471164_f16be0f61e49fe7f5cd517e1180e94e6_rle_crop_4055478751_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/caa3d87aa11ea5c31f3f6bdcb066f9ef_68113019.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/128a2448686be062cf61a286158f9841_68036498.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/ba873b9b6c11f4aaa736e51227b4c974_92024568.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/959383de131719bb01bba4461a683efe_7772265.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/43202202128a497605678b638028e65c_22813684.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/460da8ceea603a3425a7c24fa3a3b980_71248205.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/a262b14cc803e0a4996249d82a24a878_65717735.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/34d0f424f7c61ceb6a46bab7e0f47f69_23873838.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/d0383b7319a341f0d8365ae33abb95fe_2069368.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/14b2281c314b4582ae22917c991366f7_71748820.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/ed62b48942855b047e53607d727897a6_47376620.png change filename to text .imagette291082341764702904/ imagette291082341764702904/1764702567_1618168_1397470170_82a15b91b4d9782f3fe3e2c26ab3a028_rle_crop_4055473680_0.png.png imagette291082341764702904/1764702807_1636534_1397471278_c6a5e20716c0d7292c099dd5540813ce_rle_crop_4055478730_0.png.png imagette291082341764702904/1764702685_1625501_1397468246_a296479d2d8b1e3a1eaacd45cf4f5bde_rle_crop_4055477119_0.png.png imagette291082341764702904/1764702508_1614653_1397470397_c864a2c6925a339fce005f0458771064_rle_crop_4055472559_0.png.png imagette291082341764702904/1764702508_1614653_1397470340_6fbb1aa7490b9681ca8b0074f876fd47_rle_crop_4055472590_0.png.png imagette291082341764702904/1764702807_1636534_1397471359_d36a97162dca6550a17a82db1f4b6e08_rle_crop_4055478723_0.png.png imagette291082341764702904/1764702306_1605211_1397467784_49081207105e6e3c24eb86a073c2c60d_rle_crop_4055462876_0.png.png imagette291082341764702904/1764702547_1617065_1397469957_d8e89ec8f2dc8e27735f159a9c4378a5_rle_crop_4055473402_0.png.png imagette291082341764702904/1764702807_1636534_1397471164_f16be0f61e49fe7f5cd517e1180e94e6_rle_crop_4055478751_0.png.png imagette291082341764702904/1764702807_1636534_1397471278_c6a5e20716c0d7292c099dd5540813ce_rle_crop_4055478728_0.png.png imagette291082341764702904/1764702567_1618168_1397469312_1835ab3099dc4b1b11ec43d60ff5c412_rle_crop_4055473786_0.png.png imagette291082341764702904/1764702807_1636534_1397471164_f16be0f61e49fe7f5cd517e1180e94e6_rle_crop_4055478753_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/ba9f276827f9dcccbeb07ee028321716_9607837.png imagette291082341764702904 29108238 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=29108238 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1397472758: '1764702685_1625501_1397468246_a296479d2d8b1e3a1eaacd45cf4f5bde_rle_crop_4055477108_0.png', 1397473407: '1764702807_1636534_1397471359_d36a97162dca6550a17a82db1f4b6e08_rle_crop_4055478716_0.png', 1397473405: '1764702807_1636534_1397471359_d36a97162dca6550a17a82db1f4b6e08_rle_crop_4055478715_0.png', 1397473075: '1764702785_1633252_1397470657_aada40a1d9f22a53b7b924ab14323b43_rle_crop_4055478617_0.png', 1397473072: '1764702785_1633252_1397470675_e4c6849c51da7f233c37e15ce1c4871a_rle_crop_4055478450_0.png', 1397473070: '1764702785_1633252_1397470717_0d647273acc69c518380fbb5e60a5245_rle_crop_4055478432_0.png', 1397473068: '1764702785_1633252_1397471750_f03f2f8e7bbb383fe1a90277e2fbd204_rle_crop_4055478415_0.png', 1397473066: '1764702785_1633252_1397471827_cdc6781eccbe7d1822f5cb7fa0dabb98_rle_crop_4055478393_0.png', 1397473064: '1764702785_1633252_1397471905_dc4c84a18078f407f3e084ac79f821db_rle_crop_4055478353_0.png', 1397472838: '1764702744_1630584_1397472185_05bc4d06f2a072262741c0b8f238876f_rle_crop_4055477716_0.png', 1397471783: '1764702508_1614653_1397470381_ef6bedd6c81740a7732c3b517ae1ea86_rle_crop_4055472571_0.png', 1397472273: '1764702567_1618168_1397469312_1835ab3099dc4b1b11ec43d60ff5c412_rle_crop_4055473790_0.png', 1397472271: '1764702567_1618168_1397469352_a29ac4cf431cee2ce730ade8c47f3cd5_rle_crop_4055473770_0.png', 1397472269: '1764702567_1618168_1397469408_38c0d0c87e01badfd14110f90f9933c9_rle_crop_4055473703_0.png', 1397472267: '1764702567_1618168_1397469408_38c0d0c87e01badfd14110f90f9933c9_rle_crop_4055473709_0.png', 1397472193: '1764702547_1617065_1397469957_d8e89ec8f2dc8e27735f159a9c4378a5_rle_crop_4055473405_0.png', 1397472192: '1764702547_1617065_1397469957_d8e89ec8f2dc8e27735f159a9c4378a5_rle_crop_4055473398_0.png', 1397472191: '1764702547_1617065_1397470079_c6f310d86248ee9afd513f52cf6b2275_rle_crop_4055473389_0.png', 1397472190: '1764702547_1617065_1397470158_1e604defb389d8c8018ec05c0c8c3ada_rle_crop_4055473351_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/9d72ae70adce3677cafb5e1f3eb24bfe_41830662.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/95141ddfbb7ab1b3560deb90cf580797_36363704.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/0f464e5190513c6583073b0f18e0a0f5_5611418.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/d342da38116d697b5590456c5610e73f_87873728.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/02dd80d6b1a057ad099324794c09ef70_25247574.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/97843ea07f510a337c6e1cbfc75d69b0_86816542.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/d342da38116d697b5590456c5610e73f_35346624.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/02dd80d6b1a057ad099324794c09ef70_69986785.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/97843ea07f510a337c6e1cbfc75d69b0_57184374.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/287bb0056865b83c4f2dd085345d5e4e_97487227.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/68aa3085bd8cbf783690359584311c52_12801621.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/cf91fd970a0668afb31c36871fe7aa97_22947400.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/a352dc8ea7879650767a043a835b512e_92963162.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/e9ac4971318eccd40c609630d1cc6a3d_97402157.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/af26d07e16b8dde60672dedf1e1b4789_57834647.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/8e5fe0033337123cac92ac0da8f945e0_63511785.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/a7a8b8fc063e8ae09fac0c1f5af6b933_60125656.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/986e97ff86caf232b945ab10bf258ada_98830736.png change filename to text .imagette291082381764702905/ imagette291082381764702905/1764702785_1633252_1397470657_aada40a1d9f22a53b7b924ab14323b43_rle_crop_4055478617_0.png.png imagette291082381764702905/1764702785_1633252_1397470717_0d647273acc69c518380fbb5e60a5245_rle_crop_4055478432_0.png.png imagette291082381764702905/1764702547_1617065_1397469957_d8e89ec8f2dc8e27735f159a9c4378a5_rle_crop_4055473398_0.png.png imagette291082381764702905/1764702785_1633252_1397470675_e4c6849c51da7f233c37e15ce1c4871a_rle_crop_4055478450_0.png.png imagette291082381764702905/1764702807_1636534_1397471359_d36a97162dca6550a17a82db1f4b6e08_rle_crop_4055478716_0.png.png imagette291082381764702905/1764702567_1618168_1397469408_38c0d0c87e01badfd14110f90f9933c9_rle_crop_4055473703_0.png.png imagette291082381764702905/1764702807_1636534_1397471359_d36a97162dca6550a17a82db1f4b6e08_rle_crop_4055478715_0.png.png imagette291082381764702905/1764702567_1618168_1397469352_a29ac4cf431cee2ce730ade8c47f3cd5_rle_crop_4055473770_0.png.png imagette291082381764702905/1764702744_1630584_1397472185_05bc4d06f2a072262741c0b8f238876f_rle_crop_4055477716_0.png.png imagette291082381764702905/1764702547_1617065_1397469957_d8e89ec8f2dc8e27735f159a9c4378a5_rle_crop_4055473405_0.png.png imagette291082381764702905/1764702508_1614653_1397470381_ef6bedd6c81740a7732c3b517ae1ea86_rle_crop_4055472571_0.png.png imagette291082381764702905/1764702547_1617065_1397470158_1e604defb389d8c8018ec05c0c8c3ada_rle_crop_4055473351_0.png.png imagette291082381764702905/1764702567_1618168_1397469408_38c0d0c87e01badfd14110f90f9933c9_rle_crop_4055473709_0.png.png imagette291082381764702905/1764702785_1633252_1397471905_dc4c84a18078f407f3e084ac79f821db_rle_crop_4055478353_0.png.png imagette291082381764702905/1764702547_1617065_1397470079_c6f310d86248ee9afd513f52cf6b2275_rle_crop_4055473389_0.png.png imagette291082381764702905/1764702685_1625501_1397468246_a296479d2d8b1e3a1eaacd45cf4f5bde_rle_crop_4055477108_0.png.png imagette291082381764702905/1764702567_1618168_1397469312_1835ab3099dc4b1b11ec43d60ff5c412_rle_crop_4055473790_0.png.png imagette291082381764702905/1764702785_1633252_1397471750_f03f2f8e7bbb383fe1a90277e2fbd204_rle_crop_4055478415_0.png.png imagette291082381764702905/1764702785_1633252_1397471827_cdc6781eccbe7d1822f5cb7fa0dabb98_rle_crop_4055478393_0.png.png wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/5f0e8cd9d1647d1bbd8b6b0bdbdc27e1_1268002.png imagette291082381764702905 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29108201 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29108241,29108242,29108243,29108244,29108245,29108246,29108247,29108248,29108249,29108250,29108251,29108252?tags=metal,environnement,flou,Carton_brun,autre_refus,Teint_Dans_La_Masse,plastique,mal_croppe,cartonnette,Carton_gris,kraft,papier your option no_mail is active, we will not send the real mail to your client args[1397472935] : ('0.044619499932830604',) no score found for photo 1397472935 We are sending mail with results at report@fotonower.com args[1397472907] : ('0.044619499932830604',) no score found for photo 1397472907 We are sending mail with results at report@fotonower.com args[1397472901] : ('0.044619499932830604',) no score found for photo 1397472901 We are sending mail with results at report@fotonower.com args[1397472873] : ('0.044619499932830604',) no score found for photo 1397472873 We are sending mail with results at report@fotonower.com args[1397472872] : ('0.044619499932830604',) no score found for photo 1397472872 We are sending mail with results at report@fotonower.com args[1397472871] : ('0.044619499932830604',) no score found for photo 1397472871 We are sending mail with results at report@fotonower.com refus_total : 0.044619499932830604 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=29108201 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_P29108201_02-12-2025_20_15_01.pdf results_Auto_P29108201_02-12-2025_20_15_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29108201_02-12-2025_20_15_01.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','29108201','results_Auto_P29108201_02-12-2025_20_15_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29108201_02-12-2025_20_15_01.pdf','pdf','','0.23','0.044619499932830604') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29108201]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1397472935, 1397472907, 1397472901, 1397472873, 1397472872, 1397472871] map_info['map_portfolio_photo'] : {29108201: [1397472935, 1397472907, 1397472901, 1397472873, 1397472872, 1397472871, 1397472833, 1397472831, 1397472830, 1397472829, 1397472728, 1397472692, 1397472674, 1397472673, 1397472577, 1397472499, 1397472447, 1397472407, 1397472370, 1397472317, 1397472278, 1397472208, 1397472206, 1397472197, 1397472185, 1397472163, 1397472130, 1397472016, 1397471985, 1397471951, 1397471905, 1397471827, 1397471750, 1397471567, 1397471496, 1397471423, 1397471359, 1397471278, 1397471164, 1397470763, 1397470754, 1397470741, 1397470717, 1397470675, 1397470657, 1397470406, 1397470398, 1397470397, 1397470381, 1397470340, 1397470170, 1397470158, 1397470147, 1397470086, 1397470079, 1397469957, 1397469567, 1397469490, 1397469408, 1397469352, 1397469312, 1397469263, 1397468925, 1397468863, 1397468793, 1397468727, 1397468368, 1397468330, 1397468294, 1397468246, 1397468181, 1397468140, 1397467815, 1397467784, 1397467782]} final : False mtd_id 4302 list_pids : [1397472935, 1397472907, 1397472901, 1397472873, 1397472872, 1397472871] 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, '4175580') ('4302', '29108201', '1397472935', None, None, None, None, None, '4175580') ('4302', None, None, None, None, None, None, None, '4175580') ('4302', '29108201', '1397472907', None, None, None, None, None, '4175580') ('4302', None, None, None, None, None, None, None, '4175580') ('4302', '29108201', '1397472901', None, None, None, None, None, '4175580') ('4302', None, None, None, None, None, None, None, '4175580') ('4302', '29108201', '1397472873', None, None, None, None, None, '4175580') ('4302', None, None, None, None, None, None, None, '4175580') ('4302', '29108201', '1397472872', None, None, None, None, None, '4175580') ('4302', None, None, None, None, None, None, None, '4175580') ('4302', '29108201', '1397472871', None, None, None, None, None, '4175580') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 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', '29108201', '1397472935', None, None, None, None, None, '4175580'), ('4302', '29108201', '1397472907', None, None, None, None, None, '4175580'), ('4302', '29108201', '1397472901', None, None, None, None, None, '4175580'), ('4302', '29108201', '1397472873', None, None, None, None, None, '4175580'), ('4302', '29108201', '1397472872', None, None, None, None, None, '4175580'), ('4302', '29108201', '1397472871', None, None, None, None, None, '4175580')] time used for this insertion : 0.017205238342285156 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.3325111865997314 time spend to save output : 0.017536401748657227 total time spend for step 4 : 7.350047588348389 step5:split_time_score Tue Dec 2 20:15:08 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 : ['29108201'] 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 : [('29108201',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29108201) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1397472907: {'path': 'temp/1764702901_2231534_1397472907_3e32daca18e09cbe08605362ea9579e5.jpg', 'extension': 'jpg'}, 1397472935: {'path': 'temp/1764702901_2231534_1397472935_bb3c07b6db04aeaf07ac8bbb8e7e4137.jpg', 'extension': 'jpg'}, 1397472871: {'path': 'temp/1764702901_2231534_1397472871_28f7ffce71f628f8eb1897b140997950.jpg', 'extension': 'jpg'}, 1397472872: {'path': 'temp/1764702901_2231534_1397472872_a4a920695fd24683c16b78ddf212759b.jpg', 'extension': 'jpg'}, 1397472873: {'path': 'temp/1764702901_2231534_1397472873_e0512757eb876cbbb600a732f83f8a2a.jpg', 'extension': 'jpg'}, 1397472901: {'path': 'temp/1764702901_2231534_1397472901_e0b14f770c8ab0ac8cb7e6fa53ad0594.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 = 29108201; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 29108201 group by h (('20', 75),) 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=29108201 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 (29108201) 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 (29108201) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 02122025 29108201 Nombre de photos uploadées : 75 / 23040 (0%) 02122025 29108201 Nombre de photos taguées (types de déchets): 0 / 75 (0%) 02122025 29108201 Nombre de photos taguées (volume) : 0 / 75 (0%) [{'photo_id': 1397467815, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/e7fa89500db16694334c5814fec9a109.jpg', 'username': None, 'uploaded_at': 1764702067, 'text': 'image_02122025_20_00_14_010206m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1397467784, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/49081207105e6e3c24eb86a073c2c60d.jpg', 'username': None, 'uploaded_at': 1764702067, 'text': 'image_02122025_20_00_24_010138m0.jpg 2e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1397467782, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/9436e9be00575828f11a2b34702712d4.jpg', 'username': None, 'uploaded_at': 1764702067, 'text': 'image_02122025_20_00_34_010135m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1397468368, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/2/6543feb33b56797b40c88d169387d8e1.jpg', 'username': None, 'uploaded_at': 1764702127, 'text': 'image_02122025_20_00_44_10140.jpg'}] 0 [] elapsed_time : load_data_split_time_score 3.814697265625e-06 elapsed_time : order_list_meta_photo_and_scores 1.049041748046875e-05 ??????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0032072067260742188 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 29108201, '2025-12-02' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2678222,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2405543327331543 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= 2678222 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29066955, 'dashboard_result_id': 17968843, '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_P29066955_02-12-2025_00_19_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29066959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29066960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29066961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29066962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29066963, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29066964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29066965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29066966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29066967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29066968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29066969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29066970, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29067020, 'dashboard_result_id': 17968844, '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_P29067020_02-12-2025_00_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29067022, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29067023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29067024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29067025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29067026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29067027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29067028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29067029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29067030, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29067031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29067032, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29067033, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29067220, 'dashboard_result_id': 17968845, '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_P29067220_02-12-2025_00_51_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29067237, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29067238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29067239, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29067240, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29067241, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29067242, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29067243, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29067244, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29067245, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29067246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29067247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29067248, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29067523, 'dashboard_result_id': 17968846, '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_P29067523_02-12-2025_01_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29067593, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29067594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29067595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29067596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29067597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29067598, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29067599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29067600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29067601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29067602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29067603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29067604, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29068404, 'dashboard_result_id': 17968847, '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_P29068404_02-12-2025_01_49_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29068409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29068410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29068411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29068412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29068413, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29068414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29068415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29068416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29068417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29068418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29068419, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29068420, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29068551, 'dashboard_result_id': 17968848, '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_P29068551_02-12-2025_02_03_28.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29068561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29068562, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29068563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29068564, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29068565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29068566, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29068567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29068568, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29068569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29068570, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29068571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29068572, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29068778, 'dashboard_result_id': 17968849, '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_P29068778_02-12-2025_02_22_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29068806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29068807, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29068808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29068809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29068810, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29068811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29068812, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29068813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29068814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29068815, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29068816, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29068817, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29069059, 'dashboard_result_id': 17968850, '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_P29069059_02-12-2025_02_33_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29069069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29069070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29069071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29069072, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29069073, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29069074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29069075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29069076, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29069077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29069078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29069079, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29069080, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29069438, 'dashboard_result_id': 17968851, '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_P29069438_02-12-2025_02_50_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29069462, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29069463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29069465, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29069466, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29069467, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29069468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29069469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29069470, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29069471, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29069472, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29069473, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29069474, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29069980, 'dashboard_result_id': 17968852, '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_P29069980_02-12-2025_03_03_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29070008, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29070009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29070010, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29070011, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29070012, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29070013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29070014, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29070015, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29070016, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29070017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29070018, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29070019, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29070512, 'dashboard_result_id': 17968853, '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_P29070512_02-12-2025_03_21_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29070583, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29070584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29070585, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29070586, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29070587, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29070588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29070589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29070590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29070591, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29070592, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29070593, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29070594, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29071077, 'dashboard_result_id': 17968854, '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_P29071077_02-12-2025_03_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29071105, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29071106, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29071107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29071108, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29071109, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29071110, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29071111, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29071112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29071113, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29071114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29071115, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29071116, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29071536, 'dashboard_result_id': 17968855, '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_P29071536_02-12-2025_03_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29071577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29071578, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29071579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29071580, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29071581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29071582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29071583, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29071584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29071585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29071586, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29071587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29071588, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29072120, 'dashboard_result_id': 17968856, '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_P29072120_02-12-2025_04_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29072149, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29072150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29072151, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29072152, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29072153, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29072154, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29072155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29072156, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29072157, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29072158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29072159, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29072160, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29072748, 'dashboard_result_id': 17968857, '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_P29072748_02-12-2025_11_40_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29072759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29072760, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29072761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29072762, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29072763, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29072764, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29072765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29072766, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29072767, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29072768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29072769, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29072770, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29073827, 'dashboard_result_id': 17968858, '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_P29073827_02-12-2025_05_19_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29073829, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29073830, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29073831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29073832, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29073833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29073834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29073835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29073836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29073837, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29073838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29073839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29073840, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29073899, 'dashboard_result_id': 17968859, '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_P29073899_02-12-2025_05_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29073906, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29073907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29073908, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29073909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29073910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29073911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29073912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29073913, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29073914, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29073915, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29073916, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29073917, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29074090, 'dashboard_result_id': 17968860, '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_P29074090_02-12-2025_05_51_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29074108, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29074109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29074110, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29074111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29074112, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29074113, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29074114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29074115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29074116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29074117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29074118, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29074119, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29074382, 'dashboard_result_id': 17968861, '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_P29074382_02-12-2025_06_03_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29074408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29074409, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29074410, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29074411, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29074412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29074413, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29074414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29074415, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29074416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29074417, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29074418, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29074419, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29074721, 'dashboard_result_id': 17968862, '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_P29074721_02-12-2025_06_23_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29074766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29074767, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29074768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29074770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29074771, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29074772, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29074773, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29074774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29074775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29074776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29074777, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29074778, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29075194, 'dashboard_result_id': 17968863, '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_P29075194_02-12-2025_06_33_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29075271, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29075272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29075273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29075274, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29075275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29075276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29075277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29075278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29075279, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29075280, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29075281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29075282, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29075652, 'dashboard_result_id': 17968864, '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_P29075652_02-12-2025_06_49_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29075673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29075674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29075675, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29075676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29075677, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29075678, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29075679, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29075680, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29075681, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29075682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29075683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29075684, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29076072, 'dashboard_result_id': 17968865, '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_P29076072_02-12-2025_07_04_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29076086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29076087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29076088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29076089, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29076091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29076092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29076093, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29076094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29076095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29076096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29076097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29076098, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29076601, 'dashboard_result_id': 17968866, '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_P29076601_02-12-2025_07_23_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29076621, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29076622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29076623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29076625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29076626, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29076627, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29076628, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29076629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29076630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29076631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29076632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29076633, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29077085, 'dashboard_result_id': 17968867, '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_P29077085_02-12-2025_07_34_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29077138, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29077139, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29077140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29077141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29077142, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29077143, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29077144, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29077145, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29077146, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29077147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29077148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29077149, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29077542, 'dashboard_result_id': 17968868, '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_P29077542_02-12-2025_07_50_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29077566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29077567, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29077568, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29077569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29077570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29077571, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29077572, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29077573, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29077574, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29077575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29077576, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29077577, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29078005, 'dashboard_result_id': 17968869, '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_P29078005_02-12-2025_08_06_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29078006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29078007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29078008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29078009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29078010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29078011, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29078012, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29078013, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29078014, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29078015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29078016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29078017, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29078429, 'dashboard_result_id': 17968870, '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_P29078429_02-12-2025_08_20_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29078441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29078442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29078443, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29078444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29078445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29078446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29078447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29078448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29078449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29078450, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29078451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29078452, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29078858, 'dashboard_result_id': 17968871, '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_P29078858_02-12-2025_08_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29078869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29078870, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29078871, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29078872, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29078873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29078874, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29078875, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29078876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29078877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29078879, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29078880, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29078881, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29079282, 'dashboard_result_id': 17968872, '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_P29079282_02-12-2025_08_49_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29079311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29079312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29079313, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29079314, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29079315, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29079316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29079317, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29079318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29079319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29079320, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29079321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29079322, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29079752, 'dashboard_result_id': 17968873, '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_P29079752_02-12-2025_09_33_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29079773, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29079774, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29079775, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29079776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29079777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29079778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29079779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29079780, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29079781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29079782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29079783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29079784, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29080984, 'dashboard_result_id': 17968874, '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_P29080984_02-12-2025_09_50_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29081045, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29081046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29081047, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29081048, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29081049, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29081050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29081051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29081052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29081053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29081054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29081055, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29081056, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29081318, 'dashboard_result_id': 17968875, '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_P29081318_02-12-2025_10_06_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29081334, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29081335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29081336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29081337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29081338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29081339, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29081340, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29081341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29081342, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29081343, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29081344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29081345, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29081699, 'dashboard_result_id': 17968876, '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_P29081699_02-12-2025_10_18_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29081720, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29081721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29081722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29081723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29081724, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29081725, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29081726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29081727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29081728, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29081729, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29081730, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29081731, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29081944, 'dashboard_result_id': 17968877, '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_P29081944_02-12-2025_10_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29081966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29081967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29081968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29081969, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29081970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29081971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29081972, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29081973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29081974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29081975, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29081976, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29081977, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29082316, 'dashboard_result_id': 17968878, '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_P29082316_02-12-2025_10_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29082361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29082362, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29082363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29082364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29082365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29082366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29082367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29082368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29082369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29082370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29082371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29082372, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29082910, 'dashboard_result_id': 17968879, '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_P29082910_02-12-2025_11_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29082936, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29082937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29082938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29082939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29082940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29082941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29082942, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29082943, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29082944, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29082945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29082946, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29082947, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29083344, 'dashboard_result_id': 17968880, '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_P29083344_02-12-2025_11_18_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29083383, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29083384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29083385, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29083386, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29083387, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29083388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29083389, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29083390, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29083391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29083392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29083393, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29083394, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29083839, 'dashboard_result_id': 17968881, '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_P29083839_02-12-2025_11_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29083875, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29083876, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29083877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29083878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29083879, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29083880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29083881, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29083882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29083883, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29083884, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29083885, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29083886, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29084832, 'dashboard_result_id': 17968882, '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_P29084832_02-12-2025_11_48_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29084909, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29084910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29084911, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29084912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29084913, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29084914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29084915, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29084917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29084918, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29084919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29084920, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29084921, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29086259, 'dashboard_result_id': 17968883, '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_P29086259_02-12-2025_12_04_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29086296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29086297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29086298, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29086299, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29086300, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29086301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29086302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29086303, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29086304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29086305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29086306, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29086307, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29087300, 'dashboard_result_id': 17968884, '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_P29087300_02-12-2025_14_00_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29087362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29087363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29087364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29087365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29087366, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29087367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29087368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29087369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29087370, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29087371, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29087372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29087373, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29092354, 'dashboard_result_id': 17968885, '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_P29092354_02-12-2025_13_51_17.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29092390, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29092391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29092392, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29092393, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29092394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29092395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29092396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29092397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29092398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29092399, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29092400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29092401, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29092165, 'dashboard_result_id': 17968886, '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_P29092165_02-12-2025_14_03_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29092167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29092168, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29092169, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29092170, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29092171, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29092172, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29092173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29092174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29092175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29092176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29092177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29092178, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29092858, 'dashboard_result_id': 17968887, '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_P29092858_02-12-2025_14_19_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29092873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29092874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29092875, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29092876, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29092877, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29092878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29092879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29092880, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29092881, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29092882, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29092883, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29092884, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29093721, 'dashboard_result_id': 17968888, '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_P29093721_02-12-2025_14_34_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29093729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29093730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29093731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29093732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29093733, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29093734, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29093735, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29093736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29093737, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29093738, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29093739, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29093740, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29094576, 'dashboard_result_id': 17968889, '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_P29094576_02-12-2025_14_48_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29094594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29094595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29094596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29094597, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29094598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29094599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29094600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29094601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29094602, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29094603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29094604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29094605, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29095513, 'dashboard_result_id': 17968890, '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_P29095513_02-12-2025_15_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29095537, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29095538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29095539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29095540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29095541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29095542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29095543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29095544, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29095545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29095546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29095547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29095548, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29096101, 'dashboard_result_id': 17968891, '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_P29096101_02-12-2025_15_19_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29096207, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29096208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29096209, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29096210, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29096211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29096212, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29096213, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29096214, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29096215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29096216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29096217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29096218, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29096985, 'dashboard_result_id': 17968892, '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_P29096985_02-12-2025_15_32_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29097004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29097005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29097006, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29097007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29097008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29097009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29097010, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29097011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29097012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29097013, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29097014, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29097015, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29097519, 'dashboard_result_id': 17968893, '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_P29097519_02-12-2025_15_49_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29097569, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29097570, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29097571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29097572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29097573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29097574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29097575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29097576, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29097577, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29097578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29097579, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29097580, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29098250, 'dashboard_result_id': 17968894, '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_P29098250_02-12-2025_16_02_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29098275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29098276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29098277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29098278, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29098279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29098280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29098281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29098282, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29098283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29098284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29098285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29098286, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29098766, 'dashboard_result_id': 17968895, '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_P29098766_02-12-2025_16_19_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29098808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29098809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29098810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29098811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29098812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29098814, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29098815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29098817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29098818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29098819, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29098821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29098822, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29099397, 'dashboard_result_id': 17968896, '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_P29099397_02-12-2025_16_32_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29099419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29099420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29099421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29099422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29099423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29099424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29099425, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29099426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29099427, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29099428, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29099429, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29099430, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29100099, 'dashboard_result_id': 17968897, '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_P29100099_02-12-2025_16_49_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29100128, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29100129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29100130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29100131, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29100132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29100133, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29100134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29100135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29100136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29100137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29100138, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29100139, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29100874, 'dashboard_result_id': 17968898, '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_P29100874_02-12-2025_17_02_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29100878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29100879, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29100880, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29100881, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29100882, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29100883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29100884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29100885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29100886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29100887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29100888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29100889, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29101364, 'dashboard_result_id': 17968899, '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_P29101364_02-12-2025_17_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29101380, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29101381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29101382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29101383, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29101384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29101385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29101386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29101387, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29101388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29101389, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29101390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29101391, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29102173, 'dashboard_result_id': 17968900, '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_P29102173_02-12-2025_17_34_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29102205, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29102206, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29102207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29102208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29102209, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29102210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29102211, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29102212, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29102213, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29102214, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29102215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29102216, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29103590, 'dashboard_result_id': 17968901, '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_P29103590_02-12-2025_18_23_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29103596, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29103597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29103598, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29103599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29103600, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29103601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29103602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29103603, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29103604, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29103605, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29103606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29103607, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29104303, 'dashboard_result_id': 17968902, '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_P29104303_02-12-2025_18_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29104310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29104311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29104312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29104313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29104314, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29104315, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29104316, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29104317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29104318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29104319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29104320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29104321, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29104771, 'dashboard_result_id': 17968903, '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_P29104771_02-12-2025_18_47_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29104820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29104821, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29104822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29104823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29104824, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29104825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29104826, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29104827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29104828, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29104829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29104830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29104831, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29105323, 'dashboard_result_id': 17968904, '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_P29105323_02-12-2025_19_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29105380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29105381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29105382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29105383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29105384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29105385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29105386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29105387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29105388, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29105389, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29105390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29105391, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29105887, 'dashboard_result_id': 17968905, '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_P29105887_02-12-2025_19_23_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29105921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29105922, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29105923, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29105924, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29105925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29105926, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29105927, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29105928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29105929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29105930, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29105931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29105932, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29106547, 'dashboard_result_id': 17968906, '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_P29106547_02-12-2025_19_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29106551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29106552, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29106553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29106554, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29106555, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29106556, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29106557, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29106558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29106559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29106560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29106561, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29106562, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29107196, 'dashboard_result_id': 17968907, '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_P29107196_02-12-2025_19_47_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29107213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29107214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29107215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29107216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29107217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29107218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29107219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29107220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29107221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29107222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29107223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29107224, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29107828, 'dashboard_result_id': 17968908, '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_P29107828_02-12-2025_20_03_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29107832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29107833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29107834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29107835, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29107836, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29107837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29107838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29107839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29107840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29107841, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29107842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29107843, 'pht': 3726}}"}, {'dashboat_entry_day': 2678222, 'dashboard_run_id': 2688401, 'mtr_portfolio_id': 29108201, 'dashboard_result_id': 17968909, '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_P29108201_02-12-2025_20_13_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29108229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29108230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29108231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29108232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29108233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29108234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29108235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29108236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29108237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29108238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29108239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29108240, '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 = 29066955 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 = 29066955 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 = 29066955 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29066955 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 = 29066955 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 = 29066955 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29066955_02-12-2025_00_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29066955 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_P29066955_02-12-2025_00_19_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29066959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29066960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29066961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29066962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29066963, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29066964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29066965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29066966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29066967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29066968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29066969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29066970, 'pht': 3726}}" where mtr_portfolio_id = 29066955 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29067020 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 = 29067020 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 = 29067020 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29067020 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 = 29067020 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 = 29067020 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29067020_02-12-2025_00_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29067020 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_P29067020_02-12-2025_00_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29067022, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29067023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29067024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29067025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29067026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29067027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29067028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29067029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29067030, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29067031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29067032, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29067033, 'pht': 3726}}" where mtr_portfolio_id = 29067020 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29067220 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 = 29067220 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 = 29067220 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29067220 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 = 29067220 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 = 29067220 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29067220_02-12-2025_00_51_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29067220 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_P29067220_02-12-2025_00_51_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29067237, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29067238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29067239, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29067240, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29067241, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29067242, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29067243, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29067244, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29067245, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29067246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29067247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29067248, 'pht': 3726}}" where mtr_portfolio_id = 29067220 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29067523 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 = 29067523 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 = 29067523 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29067523 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 = 29067523 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 = 29067523 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29067523_02-12-2025_01_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29067523 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_P29067523_02-12-2025_01_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29067593, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29067594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29067595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29067596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29067597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29067598, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29067599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29067600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29067601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29067602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29067603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29067604, 'pht': 3726}}" where mtr_portfolio_id = 29067523 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29068404 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 = 29068404 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 = 29068404 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29068404 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 = 29068404 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 = 29068404 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29068404_02-12-2025_01_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29068404 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_P29068404_02-12-2025_01_49_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29068409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29068410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29068411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29068412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29068413, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29068414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29068415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29068416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29068417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29068418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29068419, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29068420, 'pht': 3726}}" where mtr_portfolio_id = 29068404 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29068551 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 = 29068551 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 = 29068551 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29068551 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 = 29068551 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 = 29068551 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29068551_02-12-2025_02_03_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29068551 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_P29068551_02-12-2025_02_03_28.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29068561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29068562, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29068563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29068564, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29068565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29068566, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29068567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29068568, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29068569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29068570, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29068571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29068572, 'pht': 3726}}" where mtr_portfolio_id = 29068551 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29068778 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 = 29068778 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 = 29068778 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29068778 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 = 29068778 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 = 29068778 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29068778_02-12-2025_02_22_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29068778 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_P29068778_02-12-2025_02_22_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29068806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29068807, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29068808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29068809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29068810, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29068811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29068812, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29068813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29068814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29068815, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29068816, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29068817, 'pht': 3726}}" where mtr_portfolio_id = 29068778 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29069059 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 = 29069059 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 = 29069059 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29069059 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 = 29069059 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 = 29069059 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29069059_02-12-2025_02_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29069059 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_P29069059_02-12-2025_02_33_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29069069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29069070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29069071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29069072, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29069073, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29069074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29069075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29069076, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29069077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29069078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29069079, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29069080, 'pht': 3726}}" where mtr_portfolio_id = 29069059 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29069438 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 = 29069438 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 = 29069438 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29069438 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 = 29069438 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 = 29069438 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29069438_02-12-2025_02_50_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29069438 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_P29069438_02-12-2025_02_50_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29069462, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29069463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29069465, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29069466, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29069467, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29069468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29069469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29069470, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29069471, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29069472, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29069473, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29069474, 'pht': 3726}}" where mtr_portfolio_id = 29069438 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29069980 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 = 29069980 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 = 29069980 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29069980 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 = 29069980 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 = 29069980 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29069980_02-12-2025_03_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29069980 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_P29069980_02-12-2025_03_03_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29070008, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29070009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29070010, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29070011, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29070012, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29070013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29070014, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29070015, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29070016, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29070017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29070018, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29070019, 'pht': 3726}}" where mtr_portfolio_id = 29069980 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29070512 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 = 29070512 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 = 29070512 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29070512 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 = 29070512 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 = 29070512 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29070512_02-12-2025_03_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29070512 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_P29070512_02-12-2025_03_21_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29070583, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29070584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29070585, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29070586, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29070587, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29070588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29070589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29070590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29070591, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29070592, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29070593, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29070594, 'pht': 3726}}" where mtr_portfolio_id = 29070512 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29071077 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 = 29071077 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 = 29071077 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29071077 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 = 29071077 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 = 29071077 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29071077_02-12-2025_03_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29071077 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_P29071077_02-12-2025_03_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29071105, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29071106, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29071107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29071108, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29071109, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29071110, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29071111, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29071112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29071113, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29071114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29071115, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29071116, 'pht': 3726}}" where mtr_portfolio_id = 29071077 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29071536 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 = 29071536 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 = 29071536 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29071536 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 = 29071536 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 = 29071536 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29071536_02-12-2025_03_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29071536 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_P29071536_02-12-2025_03_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29071577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29071578, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29071579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29071580, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29071581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29071582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29071583, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29071584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29071585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29071586, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29071587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29071588, 'pht': 3726}}" where mtr_portfolio_id = 29071536 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29072120 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 = 29072120 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 = 29072120 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29072120 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 = 29072120 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 = 29072120 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29072120_02-12-2025_04_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29072120 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_P29072120_02-12-2025_04_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29072149, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29072150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29072151, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29072152, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29072153, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29072154, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29072155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29072156, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29072157, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29072158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29072159, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29072160, 'pht': 3726}}" where mtr_portfolio_id = 29072120 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29072748 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 = 29072748 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 = 29072748 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29072748 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 = 29072748 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 = 29072748 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29072748_02-12-2025_11_40_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29072748 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_P29072748_02-12-2025_11_40_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29072759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29072760, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29072761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29072762, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29072763, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29072764, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29072765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29072766, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29072767, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29072768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29072769, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29072770, 'pht': 3726}}" where mtr_portfolio_id = 29072748 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29073827 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 = 29073827 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 = 29073827 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29073827 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 = 29073827 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 = 29073827 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29073827_02-12-2025_05_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29073827 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_P29073827_02-12-2025_05_19_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29073829, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29073830, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29073831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29073832, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29073833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29073834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29073835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29073836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29073837, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29073838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29073839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29073840, 'pht': 3726}}" where mtr_portfolio_id = 29073827 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29073899 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 = 29073899 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 = 29073899 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29073899 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 = 29073899 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 = 29073899 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29073899_02-12-2025_05_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29073899 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_P29073899_02-12-2025_05_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29073906, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29073907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29073908, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29073909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29073910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29073911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29073912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29073913, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29073914, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29073915, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29073916, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29073917, 'pht': 3726}}" where mtr_portfolio_id = 29073899 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29074090 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 = 29074090 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 = 29074090 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29074090 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 = 29074090 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 = 29074090 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29074090_02-12-2025_05_51_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29074090 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_P29074090_02-12-2025_05_51_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29074108, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29074109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29074110, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29074111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29074112, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29074113, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29074114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29074115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29074116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29074117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29074118, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29074119, 'pht': 3726}}" where mtr_portfolio_id = 29074090 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29074382 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 = 29074382 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 = 29074382 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29074382 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 = 29074382 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 = 29074382 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29074382_02-12-2025_06_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29074382 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_P29074382_02-12-2025_06_03_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29074408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29074409, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29074410, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29074411, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29074412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29074413, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29074414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29074415, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29074416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29074417, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29074418, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29074419, 'pht': 3726}}" where mtr_portfolio_id = 29074382 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29074721 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 = 29074721 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 = 29074721 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29074721 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 = 29074721 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 = 29074721 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29074721_02-12-2025_06_23_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29074721 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_P29074721_02-12-2025_06_23_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29074766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29074767, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29074768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29074770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29074771, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29074772, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29074773, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29074774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29074775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29074776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29074777, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29074778, 'pht': 3726}}" where mtr_portfolio_id = 29074721 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29075194 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 = 29075194 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 = 29075194 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29075194 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 = 29075194 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 = 29075194 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29075194_02-12-2025_06_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29075194 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_P29075194_02-12-2025_06_33_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29075271, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29075272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29075273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29075274, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29075275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29075276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29075277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29075278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29075279, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29075280, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29075281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29075282, 'pht': 3726}}" where mtr_portfolio_id = 29075194 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29075652 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 = 29075652 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 = 29075652 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29075652 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 = 29075652 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 = 29075652 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29075652_02-12-2025_06_49_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29075652 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_P29075652_02-12-2025_06_49_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29075673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29075674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29075675, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29075676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29075677, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29075678, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29075679, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29075680, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29075681, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29075682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29075683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29075684, 'pht': 3726}}" where mtr_portfolio_id = 29075652 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29076072 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 = 29076072 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 = 29076072 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29076072 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 = 29076072 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 = 29076072 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29076072_02-12-2025_07_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29076072 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_P29076072_02-12-2025_07_04_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29076086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29076087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29076088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29076089, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29076091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29076092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29076093, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29076094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29076095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29076096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29076097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29076098, 'pht': 3726}}" where mtr_portfolio_id = 29076072 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29076601 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 = 29076601 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 = 29076601 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29076601 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 = 29076601 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 = 29076601 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29076601_02-12-2025_07_23_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29076601 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_P29076601_02-12-2025_07_23_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29076621, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29076622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29076623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29076625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29076626, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29076627, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29076628, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29076629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29076630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29076631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29076632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29076633, 'pht': 3726}}" where mtr_portfolio_id = 29076601 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29077085 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 = 29077085 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 = 29077085 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29077085 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 = 29077085 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 = 29077085 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29077085_02-12-2025_07_34_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29077085 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_P29077085_02-12-2025_07_34_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29077138, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29077139, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29077140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29077141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29077142, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29077143, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29077144, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29077145, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29077146, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29077147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29077148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29077149, 'pht': 3726}}" where mtr_portfolio_id = 29077085 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29077542 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 = 29077542 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 = 29077542 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29077542 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 = 29077542 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 = 29077542 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29077542_02-12-2025_07_50_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29077542 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_P29077542_02-12-2025_07_50_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29077566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29077567, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29077568, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29077569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29077570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29077571, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29077572, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29077573, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29077574, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29077575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29077576, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29077577, 'pht': 3726}}" where mtr_portfolio_id = 29077542 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29078005 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 = 29078005 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 = 29078005 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29078005 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 = 29078005 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 = 29078005 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29078005_02-12-2025_08_06_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29078005 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_P29078005_02-12-2025_08_06_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29078006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29078007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29078008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29078009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29078010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29078011, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29078012, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29078013, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29078014, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29078015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29078016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29078017, 'pht': 3726}}" where mtr_portfolio_id = 29078005 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29078429 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 = 29078429 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 = 29078429 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29078429 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 = 29078429 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 = 29078429 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29078429_02-12-2025_08_20_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29078429 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_P29078429_02-12-2025_08_20_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29078441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29078442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29078443, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29078444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29078445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29078446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29078447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29078448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29078449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29078450, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29078451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29078452, 'pht': 3726}}" where mtr_portfolio_id = 29078429 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29078858 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 = 29078858 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 = 29078858 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29078858 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 = 29078858 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 = 29078858 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29078858_02-12-2025_08_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29078858 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_P29078858_02-12-2025_08_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29078869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29078870, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29078871, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29078872, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29078873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29078874, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29078875, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29078876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29078877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29078879, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29078880, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29078881, 'pht': 3726}}" where mtr_portfolio_id = 29078858 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29079282 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 = 29079282 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 = 29079282 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29079282 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 = 29079282 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 = 29079282 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29079282_02-12-2025_08_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29079282 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_P29079282_02-12-2025_08_49_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29079311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29079312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29079313, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29079314, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29079315, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29079316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29079317, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29079318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29079319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29079320, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29079321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29079322, 'pht': 3726}}" where mtr_portfolio_id = 29079282 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29079752 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 = 29079752 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 = 29079752 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29079752 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 = 29079752 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 = 29079752 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29079752_02-12-2025_09_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29079752 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_P29079752_02-12-2025_09_33_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29079773, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29079774, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29079775, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29079776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29079777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29079778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29079779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29079780, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29079781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29079782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29079783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29079784, 'pht': 3726}}" where mtr_portfolio_id = 29079752 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29080984 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 = 29080984 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 = 29080984 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29080984 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 = 29080984 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 = 29080984 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29080984_02-12-2025_09_50_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29080984 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_P29080984_02-12-2025_09_50_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29081045, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29081046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29081047, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29081048, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29081049, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29081050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29081051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29081052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29081053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29081054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29081055, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29081056, 'pht': 3726}}" where mtr_portfolio_id = 29080984 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29081318 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 = 29081318 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 = 29081318 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29081318 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 = 29081318 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 = 29081318 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29081318_02-12-2025_10_06_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29081318 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_P29081318_02-12-2025_10_06_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29081334, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29081335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29081336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29081337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29081338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29081339, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29081340, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29081341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29081342, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29081343, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29081344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29081345, 'pht': 3726}}" where mtr_portfolio_id = 29081318 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29081699 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 = 29081699 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 = 29081699 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29081699 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 = 29081699 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 = 29081699 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29081699_02-12-2025_10_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29081699 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_P29081699_02-12-2025_10_18_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29081720, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29081721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29081722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29081723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29081724, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29081725, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29081726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29081727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29081728, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29081729, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29081730, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29081731, 'pht': 3726}}" where mtr_portfolio_id = 29081699 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29081944 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 = 29081944 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 = 29081944 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29081944 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 = 29081944 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 = 29081944 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29081944_02-12-2025_10_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29081944 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_P29081944_02-12-2025_10_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29081966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29081967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29081968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29081969, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29081970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29081971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29081972, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29081973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29081974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29081975, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29081976, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29081977, 'pht': 3726}}" where mtr_portfolio_id = 29081944 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29082316 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 = 29082316 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 = 29082316 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29082316 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 = 29082316 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 = 29082316 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29082316_02-12-2025_10_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29082316 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_P29082316_02-12-2025_10_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29082361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29082362, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29082363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29082364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29082365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29082366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29082367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29082368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29082369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29082370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29082371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29082372, 'pht': 3726}}" where mtr_portfolio_id = 29082316 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29082910 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 = 29082910 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 = 29082910 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29082910 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 = 29082910 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 = 29082910 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29082910_02-12-2025_11_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29082910 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_P29082910_02-12-2025_11_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29082936, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29082937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29082938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29082939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29082940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29082941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29082942, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29082943, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29082944, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29082945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29082946, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29082947, 'pht': 3726}}" where mtr_portfolio_id = 29082910 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29083344 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 = 29083344 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 = 29083344 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29083344 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 = 29083344 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 = 29083344 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29083344_02-12-2025_11_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29083344 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_P29083344_02-12-2025_11_18_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29083383, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29083384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29083385, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29083386, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29083387, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29083388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29083389, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29083390, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29083391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29083392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29083393, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29083394, 'pht': 3726}}" where mtr_portfolio_id = 29083344 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29083839 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 = 29083839 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 = 29083839 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29083839 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 = 29083839 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 = 29083839 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29083839_02-12-2025_11_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29083839 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_P29083839_02-12-2025_11_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29083875, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29083876, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29083877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29083878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29083879, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29083880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29083881, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29083882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29083883, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29083884, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29083885, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29083886, 'pht': 3726}}" where mtr_portfolio_id = 29083839 and dashboard_run_id = 2688401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29084832 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': 4172878, 'mtr_portfolio_id': 29084832, 'created_at': datetime.datetime(2025, 12, 2, 11, 48, 56), 'result': '0.05832819937633373', 'result_long': None, 'result_double': None}] Qualite : 0.05832819937633373 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29084832 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29084832_02-12-2025_11_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29084832 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_P29084832_02-12-2025_11_48_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29084909, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29084910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29084911, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29084912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29084913, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29084914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29084915, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29084917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29084918, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29084919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29084920, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29084921, 'pht': 3726}}" where mtr_portfolio_id = 29084832 and dashboard_run_id = 2688401 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`=29084832 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968882, 0.05832819937633373, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29084832_02-12-2025_11_48_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29084909, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29084910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29084911, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29084912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29084913, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29084914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29084915, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29084917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29084918, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29084919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29084920, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29084921, '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 = 29086259 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': 4173278, 'mtr_portfolio_id': 29086259, 'created_at': datetime.datetime(2025, 12, 2, 12, 4, 58), 'result': '0.05803586486300274', 'result_long': None, 'result_double': None}] Qualite : 0.05803586486300274 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29086259 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29086259_02-12-2025_12_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29086259 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_P29086259_02-12-2025_12_04_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29086296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29086297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29086298, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29086299, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29086300, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29086301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29086302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29086303, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29086304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29086305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29086306, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29086307, 'pht': 3726}}" where mtr_portfolio_id = 29086259 and dashboard_run_id = 2688401 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`=29086259 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968883, 0.05803586486300274, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29086259_02-12-2025_12_04_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29086296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29086297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29086298, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29086299, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29086300, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29086301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29086302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29086303, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29086304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29086305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29086306, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29086307, '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 = 29087300 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': 4173552, 'mtr_portfolio_id': 29087300, 'created_at': datetime.datetime(2025, 12, 2, 14, 0, 1), 'result': '0.0486485320523854', 'result_long': None, 'result_double': None}] Qualite : 0.0486485320523854 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29087300 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29087300_02-12-2025_14_00_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29087300 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_P29087300_02-12-2025_14_00_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29087362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29087363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29087364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29087365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29087366, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29087367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29087368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29087369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29087370, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29087371, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29087372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29087373, 'pht': 3726}}" where mtr_portfolio_id = 29087300 and dashboard_run_id = 2688401 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`=29087300 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968884, 0.0486485320523854, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29087300_02-12-2025_14_00_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29087362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29087363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29087364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29087365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29087366, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29087367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29087368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29087369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29087370, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29087371, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29087372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29087373, '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 = 29092354 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': 4173932, 'mtr_portfolio_id': 29092354, 'created_at': datetime.datetime(2025, 12, 2, 13, 51, 16), 'result': '0.012346576331153113', 'result_long': None, 'result_double': None}] Qualite : 0.012346576331153113 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29092354 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29092354_02-12-2025_13_51_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29092354 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_P29092354_02-12-2025_13_51_17.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29092390, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29092391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29092392, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29092393, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29092394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29092395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29092396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29092397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29092398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29092399, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29092400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29092401, 'pht': 3726}}" where mtr_portfolio_id = 29092354 and dashboard_run_id = 2688401 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`=29092354 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968885, 0.012346576331153113, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29092354_02-12-2025_13_51_17.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29092390, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29092391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29092392, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29092393, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29092394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29092395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29092396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29092397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29092398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29092399, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29092400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29092401, '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 = 29092165 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': 4173920, 'mtr_portfolio_id': 29092165, 'created_at': datetime.datetime(2025, 12, 2, 14, 2, 59), 'result': '0.052539290140518544', 'result_long': None, 'result_double': None}] Qualite : 0.052539290140518544 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29092165 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29092165_02-12-2025_14_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29092165 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_P29092165_02-12-2025_14_03_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29092167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29092168, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29092169, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29092170, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29092171, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29092172, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29092173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29092174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29092175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29092176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29092177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29092178, 'pht': 3726}}" where mtr_portfolio_id = 29092165 and dashboard_run_id = 2688401 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`=29092165 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968886, 0.052539290140518544, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29092165_02-12-2025_14_03_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29092167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29092168, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29092169, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29092170, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29092171, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29092172, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29092173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29092174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29092175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29092176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29092177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29092178, '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 = 29092858 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': 4173969, 'mtr_portfolio_id': 29092858, 'created_at': datetime.datetime(2025, 12, 2, 14, 19, 28), 'result': '0.06399811666013737', 'result_long': None, 'result_double': None}] Qualite : 0.06399811666013737 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29092858 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29092858_02-12-2025_14_19_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29092858 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_P29092858_02-12-2025_14_19_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29092873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29092874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29092875, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29092876, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29092877, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29092878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29092879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29092880, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29092881, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29092882, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29092883, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29092884, 'pht': 3726}}" where mtr_portfolio_id = 29092858 and dashboard_run_id = 2688401 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`=29092858 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968887, 0.06399811666013737, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29092858_02-12-2025_14_19_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29092873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29092874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29092875, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29092876, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29092877, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29092878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29092879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29092880, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29092881, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29092882, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29092883, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29092884, '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 = 29093721 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': 4174030, 'mtr_portfolio_id': 29093721, 'created_at': datetime.datetime(2025, 12, 2, 14, 34, 57), 'result': '0.04125445847536761', 'result_long': None, 'result_double': None}] Qualite : 0.04125445847536761 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29093721 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29093721_02-12-2025_14_34_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29093721 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_P29093721_02-12-2025_14_34_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29093729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29093730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29093731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29093732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29093733, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29093734, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29093735, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29093736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29093737, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29093738, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29093739, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29093740, 'pht': 3726}}" where mtr_portfolio_id = 29093721 and dashboard_run_id = 2688401 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`=29093721 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968888, 0.04125445847536761, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29093721_02-12-2025_14_34_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29093729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29093730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29093731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29093732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29093733, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29093734, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29093735, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29093736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29093737, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29093738, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29093739, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29093740, '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 = 29094576 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': 4174116, 'mtr_portfolio_id': 29094576, 'created_at': datetime.datetime(2025, 12, 2, 14, 48, 58), 'result': '0.04761046772393013', 'result_long': None, 'result_double': None}] Qualite : 0.04761046772393013 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29094576 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29094576_02-12-2025_14_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29094576 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_P29094576_02-12-2025_14_48_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29094594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29094595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29094596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29094597, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29094598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29094599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29094600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29094601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29094602, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29094603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29094604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29094605, 'pht': 3726}}" where mtr_portfolio_id = 29094576 and dashboard_run_id = 2688401 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`=29094576 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968889, 0.04761046772393013, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29094576_02-12-2025_14_48_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29094594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29094595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29094596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29094597, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29094598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29094599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29094600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29094601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29094602, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29094603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29094604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29094605, '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 = 29095513 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': 4174197, 'mtr_portfolio_id': 29095513, 'created_at': datetime.datetime(2025, 12, 2, 15, 2, 57), 'result': '0.04970019329542553', 'result_long': None, 'result_double': None}] Qualite : 0.04970019329542553 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29095513 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29095513_02-12-2025_15_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29095513 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_P29095513_02-12-2025_15_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29095537, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29095538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29095539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29095540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29095541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29095542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29095543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29095544, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29095545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29095546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29095547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29095548, 'pht': 3726}}" where mtr_portfolio_id = 29095513 and dashboard_run_id = 2688401 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`=29095513 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968890, 0.04970019329542553, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29095513_02-12-2025_15_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29095537, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29095538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29095539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29095540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29095541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29095542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29095543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29095544, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29095545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29095546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29095547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29095548, '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 = 29096101 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': 4174290, 'mtr_portfolio_id': 29096101, 'created_at': datetime.datetime(2025, 12, 2, 15, 19, 1), 'result': '0.10725522849812787', 'result_long': None, 'result_double': None}] Qualite : 0.10725522849812787 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29096101 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29096101_02-12-2025_15_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29096101 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_P29096101_02-12-2025_15_19_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29096207, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29096208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29096209, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29096210, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29096211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29096212, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29096213, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29096214, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29096215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29096216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29096217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29096218, 'pht': 3726}}" where mtr_portfolio_id = 29096101 and dashboard_run_id = 2688401 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`=29096101 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968891, 0.10725522849812787, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29096101_02-12-2025_15_19_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29096207, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29096208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29096209, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29096210, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29096211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29096212, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29096213, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29096214, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29096215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29096216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29096217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29096218, '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 = 29096985 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': 4174340, 'mtr_portfolio_id': 29096985, 'created_at': datetime.datetime(2025, 12, 2, 15, 32, 57), 'result': '0.04833782005005309', 'result_long': None, 'result_double': None}] Qualite : 0.04833782005005309 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29096985 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29096985_02-12-2025_15_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29096985 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_P29096985_02-12-2025_15_32_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29097004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29097005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29097006, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29097007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29097008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29097009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29097010, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29097011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29097012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29097013, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29097014, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29097015, 'pht': 3726}}" where mtr_portfolio_id = 29096985 and dashboard_run_id = 2688401 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`=29096985 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968892, 0.04833782005005309, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29096985_02-12-2025_15_32_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29097004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29097005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29097006, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29097007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29097008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29097009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29097010, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29097011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29097012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29097013, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29097014, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29097015, '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 = 29097519 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': 4174398, 'mtr_portfolio_id': 29097519, 'created_at': datetime.datetime(2025, 12, 2, 15, 49), 'result': '0.04541827924167279', 'result_long': None, 'result_double': None}] Qualite : 0.04541827924167279 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29097519 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29097519_02-12-2025_15_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29097519 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_P29097519_02-12-2025_15_49_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29097569, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29097570, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29097571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29097572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29097573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29097574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29097575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29097576, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29097577, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29097578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29097579, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29097580, 'pht': 3726}}" where mtr_portfolio_id = 29097519 and dashboard_run_id = 2688401 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`=29097519 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968893, 0.04541827924167279, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29097519_02-12-2025_15_49_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29097569, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29097570, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29097571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29097572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29097573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29097574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29097575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29097576, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29097577, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29097578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29097579, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29097580, '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 = 29098250 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': 4174478, 'mtr_portfolio_id': 29098250, 'created_at': datetime.datetime(2025, 12, 2, 16, 2, 56), 'result': '0.030839538262650474', 'result_long': None, 'result_double': None}] Qualite : 0.030839538262650474 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29098250 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29098250_02-12-2025_16_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29098250 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_P29098250_02-12-2025_16_02_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29098275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29098276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29098277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29098278, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29098279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29098280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29098281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29098282, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29098283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29098284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29098285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29098286, 'pht': 3726}}" where mtr_portfolio_id = 29098250 and dashboard_run_id = 2688401 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`=29098250 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968894, 0.030839538262650474, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29098250_02-12-2025_16_02_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29098275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29098276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29098277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29098278, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29098279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29098280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29098281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29098282, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29098283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29098284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29098285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29098286, '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 = 29098766 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': 4174538, 'mtr_portfolio_id': 29098766, 'created_at': datetime.datetime(2025, 12, 2, 16, 19), 'result': '0.04965665770568795', 'result_long': None, 'result_double': None}] Qualite : 0.04965665770568795 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29098766 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29098766_02-12-2025_16_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29098766 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_P29098766_02-12-2025_16_19_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29098808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29098809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29098810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29098811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29098812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29098814, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29098815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29098817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29098818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29098819, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29098821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29098822, 'pht': 3726}}" where mtr_portfolio_id = 29098766 and dashboard_run_id = 2688401 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`=29098766 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968895, 0.04965665770568795, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29098766_02-12-2025_16_19_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29098808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29098809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29098810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29098811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29098812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29098814, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29098815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29098817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29098818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29098819, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29098821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29098822, '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 = 29099397 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': 4174612, 'mtr_portfolio_id': 29099397, 'created_at': datetime.datetime(2025, 12, 2, 16, 32, 58), 'result': '0.04932886319785939', 'result_long': None, 'result_double': None}] Qualite : 0.04932886319785939 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29099397 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29099397_02-12-2025_16_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29099397 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_P29099397_02-12-2025_16_32_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29099419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29099420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29099421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29099422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29099423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29099424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29099425, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29099426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29099427, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29099428, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29099429, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29099430, 'pht': 3726}}" where mtr_portfolio_id = 29099397 and dashboard_run_id = 2688401 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`=29099397 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968896, 0.04932886319785939, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29099397_02-12-2025_16_32_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29099419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29099420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29099421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29099422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29099423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29099424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29099425, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29099426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29099427, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29099428, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29099429, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29099430, '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 = 29100099 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': 4174679, 'mtr_portfolio_id': 29100099, 'created_at': datetime.datetime(2025, 12, 2, 16, 49, 31), 'result': '0.05632068972732307', 'result_long': None, 'result_double': None}] Qualite : 0.05632068972732307 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29100099 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29100099_02-12-2025_16_49_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29100099 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_P29100099_02-12-2025_16_49_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29100128, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29100129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29100130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29100131, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29100132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29100133, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29100134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29100135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29100136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29100137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29100138, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29100139, 'pht': 3726}}" where mtr_portfolio_id = 29100099 and dashboard_run_id = 2688401 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`=29100099 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968897, 0.05632068972732307, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29100099_02-12-2025_16_49_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29100128, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29100129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29100130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29100131, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29100132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29100133, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29100134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29100135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29100136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29100137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29100138, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29100139, '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 = 29100874 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': 4174766, 'mtr_portfolio_id': 29100874, 'created_at': datetime.datetime(2025, 12, 2, 17, 2, 58), 'result': '0.05176276495596911', 'result_long': None, 'result_double': None}] Qualite : 0.05176276495596911 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29100874 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29100874_02-12-2025_17_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29100874 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_P29100874_02-12-2025_17_02_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29100878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29100879, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29100880, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29100881, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29100882, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29100883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29100884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29100885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29100886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29100887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29100888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29100889, 'pht': 3726}}" where mtr_portfolio_id = 29100874 and dashboard_run_id = 2688401 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`=29100874 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968898, 0.05176276495596911, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29100874_02-12-2025_17_02_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29100878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29100879, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29100880, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29100881, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29100882, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29100883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29100884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29100885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29100886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29100887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29100888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29100889, '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 = 29101364 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': 4174832, 'mtr_portfolio_id': 29101364, 'created_at': datetime.datetime(2025, 12, 2, 17, 18, 58), 'result': '0.04788225789048022', 'result_long': None, 'result_double': None}] Qualite : 0.04788225789048022 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29101364 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29101364_02-12-2025_17_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29101364 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_P29101364_02-12-2025_17_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29101380, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29101381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29101382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29101383, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29101384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29101385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29101386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29101387, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29101388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29101389, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29101390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29101391, 'pht': 3726}}" where mtr_portfolio_id = 29101364 and dashboard_run_id = 2688401 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`=29101364 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968899, 0.04788225789048022, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29101364_02-12-2025_17_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29101380, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29101381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29101382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29101383, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29101384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29101385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29101386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29101387, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29101388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29101389, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29101390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29101391, '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 = 29102173 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': 4174919, 'mtr_portfolio_id': 29102173, 'created_at': datetime.datetime(2025, 12, 2, 17, 34, 58), 'result': '0.05491144550822898', 'result_long': None, 'result_double': None}] Qualite : 0.05491144550822898 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29102173 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29102173_02-12-2025_17_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29102173 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_P29102173_02-12-2025_17_34_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29102205, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29102206, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29102207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29102208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29102209, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29102210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29102211, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29102212, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29102213, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29102214, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29102215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29102216, 'pht': 3726}}" where mtr_portfolio_id = 29102173 and dashboard_run_id = 2688401 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`=29102173 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968900, 0.05491144550822898, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29102173_02-12-2025_17_34_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29102205, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29102206, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29102207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29102208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29102209, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29102210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29102211, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29102212, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29102213, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29102214, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29102215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29102216, '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 = 29103590 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': 4175055, 'mtr_portfolio_id': 29103590, 'created_at': datetime.datetime(2025, 12, 2, 18, 22, 59), 'result': '0.05392884196865765', 'result_long': None, 'result_double': None}] Qualite : 0.05392884196865765 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29103590 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29103590_02-12-2025_18_23_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29103590 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_P29103590_02-12-2025_18_23_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29103596, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29103597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29103598, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29103599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29103600, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29103601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29103602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29103603, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29103604, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29103605, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29103606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29103607, 'pht': 3726}}" where mtr_portfolio_id = 29103590 and dashboard_run_id = 2688401 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`=29103590 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968901, 0.05392884196865765, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29103590_02-12-2025_18_23_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29103596, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29103597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29103598, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29103599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29103600, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29103601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29103602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29103603, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29103604, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29103605, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29103606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29103607, '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 = 29104303 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': 4175135, 'mtr_portfolio_id': 29104303, 'created_at': datetime.datetime(2025, 12, 2, 18, 32, 59), 'result': '0.04190788120474496', 'result_long': None, 'result_double': None}] Qualite : 0.04190788120474496 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29104303 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29104303_02-12-2025_18_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29104303 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_P29104303_02-12-2025_18_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29104310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29104311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29104312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29104313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29104314, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29104315, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29104316, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29104317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29104318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29104319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29104320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29104321, 'pht': 3726}}" where mtr_portfolio_id = 29104303 and dashboard_run_id = 2688401 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`=29104303 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968902, 0.04190788120474496, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29104303_02-12-2025_18_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29104310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29104311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29104312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29104313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29104314, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29104315, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29104316, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29104317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29104318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29104319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29104320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29104321, '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 = 29104771 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': 4175200, 'mtr_portfolio_id': 29104771, 'created_at': datetime.datetime(2025, 12, 2, 18, 47), 'result': '0.04583685145190995', 'result_long': None, 'result_double': None}] Qualite : 0.04583685145190995 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29104771 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29104771_02-12-2025_18_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29104771 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_P29104771_02-12-2025_18_47_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29104820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29104821, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29104822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29104823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29104824, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29104825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29104826, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29104827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29104828, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29104829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29104830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29104831, 'pht': 3726}}" where mtr_portfolio_id = 29104771 and dashboard_run_id = 2688401 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`=29104771 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968903, 0.04583685145190995, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29104771_02-12-2025_18_47_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29104820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29104821, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29104822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29104823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29104824, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29104825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29104826, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29104827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29104828, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29104829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29104830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29104831, '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 = 29105323 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': 4175265, 'mtr_portfolio_id': 29105323, 'created_at': datetime.datetime(2025, 12, 2, 19, 2, 59), 'result': '0.029925837231485803', 'result_long': None, 'result_double': None}] Qualite : 0.029925837231485803 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29105323 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29105323_02-12-2025_19_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29105323 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_P29105323_02-12-2025_19_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29105380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29105381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29105382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29105383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29105384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29105385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29105386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29105387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29105388, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29105389, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29105390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29105391, 'pht': 3726}}" where mtr_portfolio_id = 29105323 and dashboard_run_id = 2688401 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`=29105323 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968904, 0.029925837231485803, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29105323_02-12-2025_19_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29105380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29105381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29105382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29105383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29105384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29105385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29105386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29105387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29105388, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29105389, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29105390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29105391, '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 = 29105887 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': 4175334, 'mtr_portfolio_id': 29105887, 'created_at': datetime.datetime(2025, 12, 2, 19, 23), 'result': '0.04685869284954253', 'result_long': None, 'result_double': None}] Qualite : 0.04685869284954253 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29105887 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29105887_02-12-2025_19_23_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29105887 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_P29105887_02-12-2025_19_23_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29105921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29105922, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29105923, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29105924, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29105925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29105926, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29105927, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29105928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29105929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29105930, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29105931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29105932, 'pht': 3726}}" where mtr_portfolio_id = 29105887 and dashboard_run_id = 2688401 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`=29105887 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968905, 0.04685869284954253, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29105887_02-12-2025_19_23_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29105921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29105922, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29105923, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29105924, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29105925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29105926, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29105927, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29105928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29105929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29105930, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29105931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29105932, '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 = 29106547 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': 4175391, 'mtr_portfolio_id': 29106547, 'created_at': datetime.datetime(2025, 12, 2, 19, 32, 59), 'result': '0.05611945915594882', 'result_long': None, 'result_double': None}] Qualite : 0.05611945915594882 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29106547 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29106547_02-12-2025_19_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29106547 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_P29106547_02-12-2025_19_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29106551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29106552, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29106553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29106554, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29106555, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29106556, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29106557, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29106558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29106559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29106560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29106561, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29106562, 'pht': 3726}}" where mtr_portfolio_id = 29106547 and dashboard_run_id = 2688407 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`=29106547 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968906, 0.05611945915594882, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29106547_02-12-2025_19_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29106551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29106552, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29106553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29106554, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29106555, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29106556, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29106557, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29106558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29106559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29106560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29106561, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29106562, '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 = 29107196 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': 4175448, 'mtr_portfolio_id': 29107196, 'created_at': datetime.datetime(2025, 12, 2, 19, 46, 59), 'result': '0.04775047273068774', 'result_long': None, 'result_double': None}] Qualite : 0.04775047273068774 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29107196 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29107196_02-12-2025_19_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29107196 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_P29107196_02-12-2025_19_47_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29107213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29107214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29107215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29107216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29107217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29107218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29107219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29107220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29107221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29107222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29107223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29107224, 'pht': 3726}}" where mtr_portfolio_id = 29107196 and dashboard_run_id = 2688407 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`=29107196 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968907, 0.04775047273068774, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29107196_02-12-2025_19_47_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29107213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29107214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29107215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29107216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29107217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29107218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29107219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29107220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29107221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29107222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29107223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29107224, '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 = 29107828 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': 4175519, 'mtr_portfolio_id': 29107828, 'created_at': datetime.datetime(2025, 12, 2, 20, 3, 29), 'result': '0.03961488120265929', 'result_long': None, 'result_double': None}] Qualite : 0.03961488120265929 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29107828 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29107828_02-12-2025_20_03_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29107828 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_P29107828_02-12-2025_20_03_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29107832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29107833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29107834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29107835, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29107836, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29107837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29107838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29107839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29107840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29107841, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29107842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29107843, 'pht': 3726}}" where mtr_portfolio_id = 29107828 and dashboard_run_id = 2688407 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`=29107828 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968908, 0.03961488120265929, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29107828_02-12-2025_20_03_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29107832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29107833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29107834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29107835, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29107836, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29107837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29107838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29107839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29107840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29107841, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29107842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29107843, '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 = 29108201 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': 4175580, 'mtr_portfolio_id': 29108201, 'created_at': datetime.datetime(2025, 12, 2, 20, 15), 'result': '0.044619499932830604', 'result_long': None, 'result_double': None}] Qualite : 0.044619499932830604 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29108201 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29108201_02-12-2025_20_15_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29108201 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_P29108201_02-12-2025_20_15_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29108229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29108230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29108231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29108232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29108233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29108234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29108235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29108236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29108237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29108238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29108239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29108240, 'pht': 3726}}" where mtr_portfolio_id = 29108201 and dashboard_run_id = 2688407 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`=29108201 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17968909, 0.044619499932830604, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29108201_02-12-2025_20_15_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29108229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29108230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29108231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29108232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29108233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29108234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29108235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29108236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29108237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29108238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29108239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29108240, '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 (29066955,29067020,29067220,29067523,29068404,29068551,29068778,29069059,29069438,29069980,29070512,29071077,29071536,29072120,29072748,29073827,29073899,29074090,29074382,29074721,29075194,29075652,29076072,29076601,29077085,29077542,29078005,29078429,29078858,29079282,29079752,29080984,29081318,29081699,29081944,29082316,29082910,29083344,29083839,29084832,29086259,29087300,29092354,29092165,29092858,29093721,29094576,29095513,29096101,29096985,29097519,29098250,29098766,29099397,29100099,29100874,29101364,29102173,29103590,29104303,29104771,29105323,29105887,29106547,29107196,29107828,29108201) result : ((1397262819,), (1397262823,), (1397262825,), (1397262827,), (1397262852,), (1397262854,), (1397262856,), (1397262859,), (1397262862,), (1397262930,), (1397262945,), (1397262947,), (1397262948,), (1397262949,), (1397263240,), (1397263241,), (1397263248,), (1397263254,), (1397263305,), (1397263307,), (1397263309,), (1397263312,), (1397263316,), (1397263332,), (1397263374,), (1397263375,), (1397263495,), (1397263497,), (1397263498,), (1397263521,), (1397263523,), (1397263558,), (1397263605,), (1397263640,), (1397263643,), (1397263646,), (1397263650,), (1397263729,), (1397263755,), (1397263756,), (1397263783,), (1397263784,), (1397263786,), (1397263789,), (1397263805,), (1397263807,), (1397263810,), (1397263814,), (1397263833,), (1397263835,), (1397263838,), (1397263842,), (1397263846,), (1397263849,), (1397263854,), (1397263859,), (1397263861,), (1397263863,), (1397263883,), (1397263885,), (1397263889,), (1397263893,), (1397263913,), (1397263918,), (1397263923,), (1397263927,), (1397263882,), (1397263905,), (1397263908,), (1397263946,), (1397264017,), (1397264019,), (1397264020,), (1397264071,), (1397264073,), (1397264074,), (1397264076,), (1397264079,), (1397264082,), (1397264096,), (1397264097,), (1397264098,), (1397264100,), (1397264115,), (1397264119,), (1397264122,), (1397264126,), (1397264130,), (1397264133,), (1397264143,), (1397264145,), (1397264146,), (1397264148,), (1397264151,), (1397264154,), (1397264168,), (1397264169,), (1397264171,), (1397264174,), (1397264190,), (1397264192,), (1397264194,), (1397264197,), (1397264216,), (1397264218,), (1397264219,), (1397264221,), (1397264258,), (1397264263,), (1397264267,), (1397264304,), (1397264309,), (1397264314,), (1397264316,), (1397264317,), (1397264319,), (1397264321,), (1397264329,), (1397264333,), (1397264336,), (1397264343,), (1397264345,), (1397264347,), (1397264350,), (1397264354,), (1397264371,), (1397264373,), (1397264374,), (1397264376,), (1397264378,), (1397264422,), (1397264434,), (1397264435,), (1397264436,), (1397264438,), (1397264440,), (1397264403,), (1397264405,), (1397264408,), (1397264412,), (1397264417,), (1397264498,), (1397264511,), (1397264522,), (1397264524,), (1397264525,), (1397264527,), (1397264544,), (1397264545,), (1397264547,), (1397264566,), (1397264568,), (1397264569,), (1397264589,), (1397264591,), (1397264711,), (1397264901,), (1397264921,), (1397264923,), (1397264925,), (1397264928,), (1397264932,), (1397264985,), (1397265006,), (1397265007,), (1397265010,), (1397265029,), (1397265033,), (1397265062,), (1397265124,), (1397265054,), (1397265055,), (1397265056,), (1397265058,), (1397265077,), (1397265079,), (1397265082,), (1397265086,), (1397265092,), (1397265098,), (1397265117,), (1397265119,), (1397265120,), (1397265122,), (1397265128,), (1397265132,), (1397265207,), (1397265209,), (1397265210,), (1397265212,), (1397265215,), (1397265230,), (1397265232,), (1397265234,), (1397265237,), (1397265257,), (1397265260,), (1397265262,), (1397265265,), (1397265422,), (1397266534,), (1397266840,), (1397266976,), (1397267102,), (1397267107,), (1397267110,), (1397267114,), (1397267119,), (1397267161,), (1397267163,), (1397267166,), (1397267170,), (1397267174,), (1397267177,), (1397267185,), (1397267187,), (1397267191,), (1397267195,), (1397267198,), (1397267201,), (1397267207,), (1397267208,), (1397267210,), (1397267212,), (1397267214,), (1397267216,), (1397267223,), (1397267224,), (1397267228,), (1397267229,), (1397267233,), (1397267234,), (1397267237,), (1397267238,), (1397267240,), (1397267242,), (1397267245,), (1397267246,), (1397267247,), (1397267289,), (1397267291,), (1397267292,), (1397267294,), (1397267431,), (1397267433,), (1397267434,), (1397267436,), (1397267457,), (1397267468,), (1397267469,), (1397267516,), (1397267518,), (1397267520,), (1397267523,), (1397267547,), (1397267549,), (1397267550,), (1397267569,), (1397267570,), (1397267571,), (1397267574,), (1397267577,), (1397267593,), (1397267597,), (1397267601,), (1397267604,), (1397267639,), (1397267715,), (1397267724,), (1397267726,), (1397267729,), (1397267732,), (1397267588,), (1397267590,), (1397267623,), (1397267625,), (1397267628,), (1397267631,), (1397267635,), (1397267742,), (1397267745,), (1397267748,), (1397267756,), (1397267758,), (1397267760,), (1397267795,), (1397267797,), (1397267799,), (1397267852,), (1397267854,), (1397267855,), (1397267974,), (1397267976,), (1397268000,), (1397268007,), (1397268011,), (1397268121,), (1397268123,), (1397268125,), (1397268128,), (1397268206,), (1397268208,), (1397268209,), (1397268211,), (1397268229,), (1397268230,), (1397268232,), (1397268235,), (1397268240,), (1397268258,), (1397268260,), (1397268262,), (1397268265,), (1397268269,), (1397268281,), (1397268283,), (1397268286,), (1397268289,), (1397268293,), (1397268296,), (1397268307,), (1397268309,), (1397268318,), (1397268320,), (1397268323,), (1397268327,), (1397268350,), (1397268354,), (1397268357,), (1397268360,), (1397268364,), (1397268382,), (1397268377,), (1397268380,), (1397268416,), (1397268419,), (1397268509,), (1397268512,), (1397268514,), (1397268530,), (1397268531,), (1397268532,), (1397268551,), (1397268553,), (1397268555,), (1397268557,), (1397268560,), (1397268563,), (1397268577,), (1397268578,), (1397268580,), (1397268584,), (1397268586,), (1397268601,), (1397268604,), (1397268608,), (1397268613,), (1397268617,), (1397268621,), (1397268627,), (1397268628,), (1397268631,), (1397268633,), (1397268635,), (1397268638,), (1397268641,), (1397268645,), (1397268656,), (1397268657,), (1397268658,), (1397268660,), (1397268664,), (1397268678,), (1397268680,), (1397268682,), (1397268685,), (1397268700,), (1397268703,), (1397268704,), (1397268723,), (1397268725,), (1397268726,), (1397268728,), (1397268731,), (1397268747,), (1397268748,), (1397268751,), (1397268769,), (1397268771,), (1397268773,), (1397268791,), (1397268793,), (1397268795,), (1397268895,), (1397268836,), (1397268837,), (1397268838,), (1397268840,), (1397268844,), (1397268848,), (1397268860,), (1397268862,), (1397268865,), (1397268869,), (1397268873,), (1397268877,), (1397268886,), (1397268888,), (1397268889,), (1397268891,), (1397268893,), (1397268905,), (1397268906,), (1397268909,), (1397268910,), (1397268913,), (1397268914,), (1397268918,), (1397268940,), (1397269039,), (1397269212,), (1397269330,), (1397269341,), (1397269358,), (1397269362,), (1397269408,), (1397269466,), (1397269476,), (1397269478,), (1397269591,), (1397269593,), (1397269594,), (1397269596,), (1397269612,), (1397269613,), (1397269615,), (1397269618,), (1397269634,), (1397269635,), (1397269637,), (1397269650,), (1397269652,), (1397269654,), (1397269656,), (1397269659,), (1397269662,), (1397269716,), (1397269717,), (1397269718,), (1397269721,), (1397269724,), (1397269727,), (1397269731,), (1397269732,), (1397269733,), (1397269734,), (1397269892,), (1397269894,), (1397269905,), (1397269907,), (1397269921,), (1397269922,), (1397269928,), (1397269932,), (1397269937,), (1397269940,), (1397269943,), (1397269946,), (1397269947,), (1397269949,), (1397269951,), (1397269953,), (1397269956,), (1397269959,), (1397269976,), (1397269968,), (1397269969,), (1397269970,), (1397269971,), (1397269973,), (1397269986,), (1397269987,), (1397269999,), (1397270001,), (1397270003,), (1397270004,), (1397270006,), (1397270008,), (1397270019,), (1397270020,), (1397270021,), (1397270022,), (1397270025,), (1397270028,), (1397270037,), (1397270039,), (1397270051,), (1397270075,), (1397270078,), (1397270091,), (1397270092,), (1397270096,), (1397270101,), (1397270105,), (1397270108,), (1397270199,), (1397270201,), (1397270214,), (1397270216,), (1397270226,), (1397270235,), (1397270236,), (1397270237,), (1397270336,), (1397270338,), (1397270339,), (1397270352,), (1397270353,), (1397270354,), (1397270355,), (1397270358,), (1397270367,), (1397270369,), (1397270371,), (1397270373,), (1397270383,), (1397270385,), (1397270406,), (1397270408,), (1397270410,), (1397270412,), (1397270430,), (1397270432,), (1397270501,), (1397270504,), (1397270505,), (1397270506,), (1397270508,), (1397270529,), (1397270532,), (1397270582,), (1397270604,), (1397270606,), (1397270608,), (1397270610,), (1397270639,), (1397270522,), (1397270523,), (1397270524,), (1397270526,), (1397270564,), (1397270566,), (1397270569,), (1397270572,), (1397270575,), (1397270578,), (1397270581,), (1397270618,), (1397270622,), (1397270626,), (1397270630,), (1397270634,), (1397270651,), (1397270666,), (1397270669,), (1397270670,), (1397270672,), (1397270695,), (1397270922,), (1397270923,), (1397270924,), (1397270925,), (1397270938,), (1397270940,), (1397270942,), (1397270944,), (1397270947,), (1397270971,), (1397270973,), (1397270987,), (1397270989,), (1397270992,), (1397270995,), (1397271003,), (1397271005,), (1397271006,), (1397271019,), (1397271020,), (1397271021,), (1397271040,), (1397271116,), (1397271118,), (1397271139,), (1397271145,), (1397271156,), (1397271158,), (1397271160,), (1397271161,), (1397271163,), (1397271175,), (1397271177,), (1397271179,), (1397271182,), (1397271185,), (1397271188,), (1397271192,), (1397271193,), (1397271195,), (1397271204,), (1397271206,), (1397271221,), (1397271226,), (1397271229,), (1397271649,), (1397271654,), (1397271658,), (1397271719,), (1397271708,), (1397271711,), (1397271713,), (1397271716,), (1397271734,), (1397271737,), (1397271740,), (1397271745,), (1397271756,), (1397271769,), (1397271773,), (1397271797,), (1397271799,), (1397271820,), (1397271821,), (1397271822,), (1397271846,), (1397271849,), (1397271851,), (1397271853,), (1397271874,), (1397271948,), (1397271950,), (1397271952,), (1397271955,), (1397271958,), (1397271962,), (1397271973,), (1397271976,), (1397271980,), (1397271984,), (1397271988,), (1397271992,), (1397272004,), (1397272010,), (1397272015,), (1397272019,), (1397272021,), (1397272029,), (1397272052,), (1397272055,), (1397272057,), (1397272058,), (1397272059,), (1397272062,), (1397272072,), (1397272075,), (1397272081,), (1397272084,), (1397272087,), (1397272089,), (1397272120,), (1397272121,), (1397272122,), (1397272123,), (1397272126,), (1397272129,), (1397272134,), (1397272137,), (1397272139,), (1397272141,), (1397272143,), (1397272145,), (1397272153,), (1397272156,), (1397272160,), (1397272163,), (1397272165,), (1397272167,), (1397272176,), (1397272179,), (1397272181,), (1397272183,), (1397272185,), (1397272186,), (1397272190,), (1397272192,), (1397272195,), (1397272198,), (1397272202,), (1397272205,), (1397272215,), (1397272218,), (1397272220,), (1397272223,), (1397272227,), (1397272244,), (1397272246,), (1397272247,), (1397272248,), (1397272252,), (1397272254,), (1397272274,), (1397272278,), (1397272282,), (1397272286,), (1397272318,), (1397272319,), (1397272323,), (1397272326,), (1397272328,), (1397272351,), (1397272353,), (1397272354,), (1397272356,), (1397272271,), (1397272272,), (1397272298,), (1397272301,), (1397272305,), (1397272308,), (1397272310,), (1397272312,), (1397272316,), (1397272332,), (1397272333,), (1397272336,), (1397272338,), (1397272341,), (1397272343,), (1397272346,), (1397272347,), (1397272359,), (1397272360,), (1397272362,), (1397272382,), (1397272385,), (1397272387,), (1397272409,), (1397272411,), (1397272413,), (1397272417,), (1397272421,), (1397272426,), (1397272437,), (1397272439,), (1397272441,), (1397272444,), (1397272448,), (1397272452,), (1397272463,), (1397272465,), (1397272487,), (1397272490,), (1397272491,), (1397272492,), (1397272494,), (1397272496,), (1397272524,), (1397272525,), (1397272526,), (1397272528,), (1397272532,), (1397272548,), (1397272551,), (1397272554,), (1397272558,), (1397272562,), (1397272564,), (1397272589,), (1397272590,), (1397272593,), (1397272596,), (1397272599,), (1397272643,), (1397272652,), (1397272653,), (1397272654,), (1397272655,), (1397272657,), (1397272659,), (1397272668,), (1397272669,), (1397272673,), (1397272674,), (1397272678,), (1397272679,), (1397272681,), (1397272682,), (1397272684,), (1397272685,), (1397272688,), (1397272692,), (1397272694,), (1397272698,), (1397272720,), (1397272722,), (1397272723,), (1397272748,), (1397272744,), (1397272745,), (1397272746,), (1397272774,), (1397272778,), (1397272780,), (1397272783,), (1397272787,), (1397273183,), (1397273273,), (1397273285,), (1397273288,), (1397273295,), (1397273298,), (1397273433,), (1397273448,), (1397273449,), (1397273490,), (1397273492,), (1397273495,), (1397273498,), (1397273563,), (1397273693,), (1397273717,), (1397273719,), (1397273723,), (1397273725,), (1397273728,), (1397273742,), (1397273744,), (1397273748,), (1397273752,), (1397273845,), (1397273850,), (1397273854,), (1397273855,), (1397273858,), (1397273861,), (1397273863,), (1397273866,), (1397273885,), (1397273887,), (1397273888,), (1397273891,), (1397273893,), (1397273918,), (1397273930,), (1397273931,), (1397273932,), (1397273935,), (1397273953,), (1397273955,), (1397273956,), (1397273958,), (1397273964,), (1397273965,), (1397273998,), (1397274000,), (1397274005,), (1397274008,), (1397274012,), (1397274036,), (1397274039,), (1397274040,), (1397274041,), (1397274060,), (1397274061,), (1397274062,), (1397274064,), (1397274068,), (1397274084,), (1397274086,), (1397274089,), (1397274092,), (1397274111,), (1397274115,), (1397274116,), (1397274118,), (1397274199,), (1397274320,), (1397274157,), (1397274159,), (1397274161,), (1397274163,), (1397274258,), (1397274283,), (1397274285,), (1397274301,), (1397274304,), (1397274307,), (1397274315,), (1397274317,), (1397274324,), (1397274325,), (1397274328,), (1397274331,), (1397274335,), (1397274346,), (1397274348,), (1397274350,), (1397274353,), (1397274357,), (1397274370,), (1397274373,), (1397274395,), (1397274399,), (1397274400,), (1397274425,), (1397274429,), (1397274431,), (1397274433,), (1397274437,), (1397274507,), (1397274513,), (1397274520,), (1397274522,), (1397274600,), (1397274604,), (1397274608,), (1397274614,), (1397274649,), (1397274651,), (1397274653,), (1397274674,), (1397274676,), (1397274678,), (1397274681,), (1397274702,), (1397274704,), (1397274705,), (1397274707,), (1397274709,), (1397274713,), (1397274724,), (1397274727,), (1397274729,), (1397274730,), (1397274732,), (1397274792,), (1397274795,), (1397274799,), (1397274804,), (1397274808,), (1397274835,), (1397274830,), (1397274863,), (1397274865,), (1397274867,), (1397274870,), (1397274874,), (1397274904,), (1397274907,), (1397274910,), (1397274914,), (1397275026,), (1397275029,), (1397275031,), (1397275032,), (1397275035,), (1397275060,), (1397275064,), (1397275066,), (1397275068,), (1397275095,), (1397275096,), (1397275097,), (1397275123,), (1397275125,), (1397275128,), (1397275131,), (1397275155,), (1397275157,), (1397275158,), (1397275159,), (1397275185,), (1397275187,), (1397275189,), (1397275192,), (1397275196,), (1397275219,), (1397275222,), (1397275224,), (1397275226,), (1397275229,), (1397277684,), (1397278194,), (1397278221,), (1397278222,), (1397278275,), (1397278313,), (1397278327,), (1397278429,), (1397278431,), (1397278433,), (1397278528,), (1397278531,), (1397278534,), (1397278554,), (1397278596,), (1397278548,), (1397278550,), (1397278551,), (1397278552,), (1397278568,), (1397278569,), (1397278570,), (1397278573,), (1397278576,), (1397278581,), (1397278592,), (1397278594,), (1397278597,), (1397278657,), (1397278737,), (1397278829,), (1397279000,), (1397279002,), (1397279005,), (1397279006,), (1397279009,), (1397279113,), (1397279115,), (1397279116,), (1397279149,), (1397279171,), (1397279172,), (1397279173,), (1397279176,), (1397279227,), (1397279229,), (1397279230,), (1397279231,), (1397279233,), (1397279246,), (1397279247,), (1397279248,), (1397279249,), (1397279273,), (1397279286,), (1397279292,), (1397279294,), (1397279296,), (1397279300,), (1397279408,), (1397279409,), (1397279410,), (1397279411,), (1397279414,), (1397279437,), (1397279446,), (1397279448,), (1397279450,), (1397279453,), (1397279456,), (1397279458,), (1397279826,), (1397279827,), (1397279830,), (1397279853,), (1397279855,), (1397279858,), (1397279865,), (1397279874,), (1397279904,), (1397279906,), (1397279916,), (1397279918,), (1397279948,), (1397279951,), (1397279959,), (1397279991,), (1397279992,), (1397279994,), (1397280011,), (1397280020,), (1397280021,), (1397280058,), (1397280060,), (1397280085,), (1397280075,), (1397280079,), (1397280082,), (1397280093,), (1397280096,), (1397280099,), (1397280102,), (1397280105,), (1397280107,), (1397280150,), (1397280153,), (1397280156,), (1397280202,), (1397280204,), (1397280205,), (1397280206,), (1397280208,), (1397280221,), (1397280222,), (1397280224,), (1397280226,), (1397280229,), (1397280231,), (1397280244,), (1397280246,), (1397280248,), (1397280251,), (1397280254,), (1397280256,), (1397280264,), (1397280265,), (1397280267,), (1397280269,), (1397280272,), (1397280275,), (1397280282,), (1397280284,), (1397280285,), (1397280286,), (1397280287,), (1397280288,), (1397280293,), (1397280295,), (1397280298,), (1397280301,), (1397280302,), (1397280304,), (1397280308,), (1397280309,), (1397280311,), (1397280313,), (1397280315,), (1397280318,), (1397280324,), (1397280328,), (1397280329,), (1397280330,), (1397280331,), (1397280334,), (1397280337,), (1397280344,), (1397280346,), (1397280348,), (1397280350,), (1397280361,), (1397280363,), (1397280364,), (1397280365,), (1397280380,), (1397280445,), (1397280455,), (1397280467,), (1397280470,), (1397280540,), (1397280546,), (1397280555,), (1397280558,), (1397280664,), (1397280666,), (1397280667,), (1397280668,), (1397280672,), (1397280675,), (1397280691,), (1397280694,), (1397280697,), (1397280699,), (1397280753,), (1397280754,), (1397280755,), (1397280756,), (1397280919,), (1397280949,), (1397280951,), (1397280687,), (1397280689,), (1397280709,), (1397280710,), (1397280712,), (1397280714,), (1397280727,), (1397280734,), (1397280749,), (1397280751,), (1397280832,), (1397280834,), (1397280852,), (1397280857,), (1397280862,), (1397280864,), (1397280892,), (1397280895,), (1397280896,), (1397280899,), (1397280915,), (1397280954,), (1397280956,), (1397280958,), (1397280961,), (1397280964,), (1397280966,), (1397280976,), (1397280978,), (1397280979,), (1397280993,), (1397280994,), (1397280995,), (1397280998,), (1397281001,), (1397281004,), (1397281014,), (1397281016,), (1397281018,), (1397281020,), (1397281033,), (1397281035,), (1397281037,), (1397281039,), (1397281042,), (1397281045,), (1397281052,), (1397281053,), (1397281055,), (1397281081,), (1397281082,), (1397281084,), (1397281132,), (1397281135,), (1397281138,), (1397281149,), (1397281151,), (1397281153,), (1397281156,), (1397281158,), (1397281160,), (1397281166,), (1397281168,), (1397281170,), (1397281171,), (1397281174,), (1397281176,), (1397281178,), (1397281181,), (1397281184,), (1397281193,), (1397281196,), (1397281199,), (1397281202,), (1397281205,), (1397281208,), (1397281211,), (1397281226,), (1397281216,), (1397281224,), (1397281235,), (1397281237,), (1397281240,), (1397281244,), (1397281254,), (1397281257,), (1397281274,), (1397281275,), (1397281277,), (1397281278,), (1397281280,), (1397281282,), (1397281293,), (1397281294,), (1397281295,), (1397281296,), (1397281311,), (1397281313,), (1397281314,), (1397281315,), (1397281318,), (1397281329,), (1397281331,), (1397281333,), (1397281336,), (1397281339,), (1397281341,), (1397281346,), (1397281347,), (1397281348,), (1397281350,), (1397281353,), (1397281354,), (1397281356,), (1397281359,), (1397281362,), (1397281371,), (1397281372,), (1397281374,), (1397281376,), (1397281379,), (1397281390,), (1397281392,), (1397281394,), (1397281395,), (1397281409,), (1397281410,), (1397281411,), (1397281412,), (1397281415,), (1397281418,), (1397281426,), (1397281432,), (1397281435,), (1397281437,), (1397281443,), (1397281444,), (1397281446,), (1397281448,), (1397281451,), (1397281454,), (1397281461,), (1397281462,), (1397281464,), (1397281466,), (1397281479,), (1397281480,), (1397281482,), (1397281484,), (1397281487,), (1397281490,), (1397281511,), (1397281513,), (1397281629,), (1397281630,), (1397281632,), (1397281665,), (1397281668,), (1397281672,), (1397281673,), (1397281501,), (1397281503,), (1397281505,), (1397281508,), (1397281551,), (1397281552,), (1397281554,), (1397281556,), (1397281559,), (1397281562,), (1397281625,), (1397281627,), (1397281628,), (1397281639,), (1397281642,), (1397281646,), (1397281650,), (1397281651,), (1397281652,), (1397281654,), (1397281656,), (1397281659,), (1397281662,), (1397281677,), (1397281679,), (1397281682,), (1397281685,), (1397281687,), (1397281689,), (1397281696,), (1397281699,), (1397281702,), (1397281706,), (1397281715,), (1397281716,), (1397281717,), (1397281718,), (1397281721,), (1397281724,), (1397281732,), (1397281734,), (1397281735,), (1397281751,), (1397281752,), (1397281753,), (1397281754,), (1397281757,), (1397281769,), (1397281771,), (1397281773,), (1397281775,), (1397281785,), (1397281786,), (1397281787,), (1397281788,), (1397281790,), (1397281847,), (1397281849,), (1397281851,), (1397281854,), (1397281856,), (1397281916,), (1397281928,), (1397281930,), (1397281932,), (1397281934,), (1397282025,), (1397282030,), (1397282033,), (1397282036,), (1397282039,), (1397282087,), (1397282088,), (1397282105,), (1397282107,), (1397282110,), (1397282113,), (1397282221,), (1397282222,), (1397282223,), (1397282225,), (1397282227,), (1397282248,), (1397282241,), (1397282243,), (1397282244,), (1397282245,), (1397282260,), (1397282262,), (1397282263,), (1397282264,), (1397282266,), (1397282279,), (1397282280,), (1397282281,), (1397282282,), (1397282296,), (1397282298,), (1397282300,), (1397282303,), (1397282306,), (1397282308,), (1397282316,), (1397282317,), (1397282318,), (1397282320,), (1397282324,), (1397282327,), (1397282330,), (1397282332,), (1397282357,), (1397282360,), (1397282365,), (1397282367,), (1397282375,), (1397282377,), (1397282409,), (1397282410,), (1397282413,), (1397282414,), (1397282426,), (1397282427,), (1397282431,), (1397282432,), (1397282435,), (1397282436,), (1397282437,), (1397282438,), (1397282471,), (1397282473,), (1397282475,), (1397282478,), (1397282481,), (1397282484,), (1397282491,), (1397282492,), (1397282493,), (1397282494,), (1397282495,), (1397282497,), (1397282502,), (1397282505,), (1397282507,), (1397282509,), (1397282569,), (1397282656,), (1397282817,), (1397282830,), (1397282831,), (1397282833,), (1397282855,), (1397282858,), (1397282888,), (1397282889,), (1397282891,), (1397282893,), (1397282896,), (1397282899,), (1397282907,), (1397282909,), (1397282911,), (1397282927,), (1397282929,), (1397282931,), (1397282935,), (1397282938,), (1397282942,), (1397282951,), (1397282952,), (1397282954,), (1397282956,), (1397282958,), (1397282961,), (1397282972,), (1397282973,), (1397282975,), (1397282976,), (1397282999,), (1397283053,), (1397282991,), (1397282993,), (1397282994,), (1397282995,), (1397282997,), (1397283032,), (1397283033,), (1397283034,), (1397283037,), (1397283040,), (1397283042,), (1397283049,), (1397283051,), (1397283108,), (1397283109,), (1397283110,), (1397283112,), (1397283115,), (1397283118,), (1397283132,), (1397283134,), (1397283135,), (1397283136,), (1397283138,), (1397283259,), (1397283276,), (1397283280,), (1397283283,), (1397283285,), (1397283314,), (1397283390,), (1397283392,), (1397283393,), (1397283396,), (1397283408,), (1397283409,), (1397283411,), (1397283413,), (1397283427,), (1397283429,), (1397283431,), (1397283435,), (1397283444,), (1397283447,), (1397283465,), (1397283466,), (1397283467,), (1397283468,), (1397283561,), (1397283564,), (1397283566,), (1397283568,), (1397283570,), (1397283573,), (1397283582,), (1397283586,), (1397283590,), (1397283594,), (1397283597,), (1397283599,), (1397283672,), (1397283674,), (1397283677,), (1397283680,), (1397283682,), (1397283684,), (1397283688,), (1397283689,), (1397283692,), (1397283695,), (1397283697,), (1397283698,), (1397283703,), (1397283705,), (1397283708,), (1397283712,), (1397283715,), (1397283718,), (1397283723,), (1397283727,), (1397283730,), (1397283732,), (1397283737,), (1397283739,), (1397283771,), (1397283765,), (1397283766,), (1397283767,), (1397283768,), (1397283785,), (1397283789,), (1397283791,), (1397283804,), (1397283825,), (1397283827,), (1397283829,), (1397283830,), (1397283832,), (1397283834,), (1397283847,), (1397283848,), (1397283849,), (1397283852,), (1397283855,), (1397283866,), (1397283869,), (1397283872,), (1397283874,), (1397283876,), (1397283878,), (1397283884,), (1397283887,), (1397283890,), (1397283893,), (1397283897,), (1397283899,), (1397283901,), (1397283902,), (1397283904,), (1397283906,), (1397283909,), (1397283911,), (1397283917,), (1397283920,), (1397283923,), (1397283924,), (1397283925,), (1397283927,), (1397283930,), (1397283931,), (1397283933,), (1397283935,), (1397283937,), (1397283939,), (1397283947,), (1397283950,), (1397283951,), (1397283952,), (1397283953,), (1397283956,), (1397283958,), (1397283970,), (1397283972,), (1397283973,), (1397283974,), (1397284074,), (1397284079,), (1397284135,), (1397284136,), (1397284139,), (1397284224,), (1397284226,), (1397284227,), (1397284247,), (1397284297,), (1397284354,), (1397284358,), (1397284360,), (1397284363,), (1397284367,), (1397284371,), (1397284379,), (1397284382,), (1397284384,), (1397284386,), (1397284389,), (1397284468,), (1397284649,), (1397284653,), (1397284690,), (1397284693,), (1397284694,), (1397284765,), (1397284768,), (1397284770,), (1397284833,), (1397284638,), (1397284640,), (1397284642,), (1397284645,), (1397284665,), (1397284667,), (1397284670,), (1397284673,), (1397284675,), (1397284677,), (1397284683,), (1397284685,), (1397284687,), (1397284699,), (1397284702,), (1397284707,), (1397284728,), (1397284747,), (1397284750,), (1397284757,), (1397284759,), (1397284762,), (1397284841,), (1397284843,), (1397284845,), (1397284847,), (1397284875,), (1397284913,), (1397284954,), (1397284956,), (1397284958,), (1397284977,), (1397284979,), (1397284981,), (1397284982,), (1397284985,), (1397284988,), (1397285003,), (1397285005,), (1397285007,), (1397285009,), (1397285024,), (1397285027,), (1397285030,), (1397285032,), (1397285036,), (1397285039,), (1397285049,), (1397285052,), (1397285054,), (1397285057,), (1397285061,), (1397285064,), (1397285072,), (1397285074,), (1397285075,), (1397285077,), (1397285117,), (1397285119,), (1397285121,), (1397285124,), (1397285128,), (1397285131,), (1397285165,), (1397285167,), (1397285168,), (1397285177,), (1397285210,), (1397285212,), (1397285216,), (1397285218,), (1397285230,), (1397285232,), (1397285234,), (1397285235,), (1397285238,), (1397285241,), (1397285259,), (1397285263,), (1397285271,), (1397285274,), (1397285321,), (1397285330,), (1397285332,), (1397285333,), (1397285335,), (1397285310,), (1397285311,), (1397285313,), (1397285316,), (1397285319,), (1397285340,), (1397285344,), (1397285348,), (1397285351,), (1397285354,), (1397285361,), (1397285362,), (1397285364,), (1397285366,), (1397285369,), (1397285373,), (1397285382,), (1397285384,), (1397285387,), (1397285390,), (1397285406,), (1397285407,), (1397285408,), (1397285409,), (1397285412,), (1397285448,), (1397285450,), (1397285453,), (1397285485,), (1397285490,), (1397285493,), (1397285508,), (1397285510,), (1397285511,), (1397285514,), (1397285517,), (1397285521,), (1397285629,), (1397285632,), (1397285634,), (1397285689,), (1397285693,), (1397285696,), (1397285698,), (1397285701,), (1397285813,), (1397285829,), (1397285832,), (1397285924,), (1397285927,), (1397285930,), (1397285932,), (1397285935,), (1397285939,), (1397285949,), (1397285951,), (1397285954,), (1397285956,), (1397286228,), (1397286305,), (1397286307,), (1397286317,), (1397286320,), (1397286330,), (1397286367,), (1397286370,), (1397286372,), (1397286373,), (1397286413,), (1397286414,), (1397286415,), (1397286417,), (1397286421,), (1397286424,), (1397286437,), (1397286439,), (1397286441,), (1397286443,), (1397286465,), (1397286500,), (1397286461,), (1397286463,), (1397286464,), (1397286486,), (1397286488,), (1397286491,), (1397286494,), (1397286497,), (1397286551,), (1397286552,), (1397286571,), (1397286573,), (1397286576,), (1397286578,), (1397286609,), (1397286643,), (1397286646,), (1397286649,), (1397286660,), (1397286671,), (1397286673,), (1397286675,), (1397286678,), (1397286682,), (1397286686,), (1397286696,), (1397286697,), (1397286698,), (1397286699,), (1397286746,), (1397286751,), (1397286755,), (1397286759,), (1397286762,), (1397286764,), (1397286777,), (1397286780,), (1397286782,), (1397286784,), (1397286805,), (1397286807,), (1397286810,), (1397286813,), (1397286816,), (1397286820,), (1397286834,), (1397286838,), (1397286845,), (1397286849,), (1397286858,), (1397286860,), (1397286863,), (1397286866,), (1397286953,), (1397286956,), (1397286959,), (1397286962,), (1397286964,), (1397286979,), (1397286970,), (1397286972,), (1397286974,), (1397286976,), (1397286990,), (1397286992,), (1397286993,), (1397286994,), (1397287015,), (1397287016,), (1397287063,), (1397287064,), (1397287066,), (1397287068,), (1397287077,), (1397287079,), (1397287080,), (1397287082,), (1397287092,), (1397287093,), (1397287095,), (1397287097,), (1397287099,), (1397287102,), (1397287110,), (1397287111,), (1397287113,), (1397287145,), (1397287147,), (1397287148,), (1397287150,), (1397287153,), (1397287155,), (1397287258,), (1397287259,), (1397287261,), (1397287262,), (1397287274,), (1397287275,), (1397287276,), (1397287278,), (1397287281,), (1397287284,), (1397287292,), (1397287327,), (1397287328,), (1397287329,), (1397287331,), (1397287343,), (1397287344,), (1397287345,), (1397287398,), (1397287401,), (1397287405,), (1397287468,), (1397287471,), (1397287472,), (1397287473,), (1397287475,), (1397287526,), (1397287527,), (1397287529,), (1397287531,), (1397287533,), (1397287535,), (1397287542,), (1397287543,), (1397287545,), (1397287547,), (1397287549,), (1397287556,), (1397287558,), (1397287560,), (1397287562,), (1397287584,), (1397287615,), (1397287574,), (1397287575,), (1397287577,), (1397287579,), (1397287581,), (1397287592,), (1397287594,), (1397287596,), (1397287598,), (1397287601,), (1397287604,), (1397287610,), (1397287611,), (1397287612,), (1397287613,), (1397287614,), (1397287619,), (1397287622,), (1397287624,), (1397287627,), (1397287861,), (1397287869,), (1397287872,), (1397287874,), (1397287877,), (1397287879,), (1397287939,), (1397287958,), (1397287959,), (1397287960,), (1397287987,), (1397288011,), (1397288012,), (1397288013,), (1397288015,), (1397288017,), (1397288026,), (1397288028,), (1397288030,), (1397288031,), (1397288040,), (1397288041,), (1397288043,), (1397288045,), (1397288047,), (1397288055,), (1397288057,), (1397288059,), (1397288061,), (1397288063,), (1397288071,), (1397288072,), (1397288074,), (1397288077,), (1397288080,), (1397288082,), (1397288092,), (1397288095,), (1397288158,), (1397288159,), (1397288160,), (1397288161,), (1397288163,), (1397288166,), (1397288179,), (1397288180,), (1397288182,), (1397288184,), (1397288186,), (1397288188,), (1397288215,), (1397288217,), (1397288240,), (1397288260,), (1397288273,), (1397288275,), (1397288277,), (1397288279,), (1397288283,), (1397288285,), (1397288296,), (1397288293,), (1397288294,), (1397288308,), (1397288309,), (1397288310,), (1397288312,), (1397288314,), (1397288316,), (1397288324,), (1397288325,), (1397288326,), (1397288327,), (1397288329,), (1397288331,), (1397288342,), (1397288393,), (1397288394,), (1397288404,), (1397288475,), (1397288478,), (1397288479,), (1397288480,), (1397288502,), (1397288505,), (1397288593,), (1397288594,), (1397288595,), (1397288596,), (1397288599,), (1397288602,), (1397288611,), (1397288612,), (1397288613,), (1397288616,), (1397288619,), (1397288621,), (1397288629,), (1397288630,), (1397288631,), (1397288632,), (1397288633,), (1397288636,), (1397288639,), (1397288648,), (1397288649,), (1397288650,), (1397288651,), (1397288663,), (1397288664,), (1397288665,), (1397288666,), (1397288679,), (1397288680,), (1397288681,), (1397288682,), (1397288685,), (1397288688,), (1397288696,), (1397288697,), (1397288698,), (1397288699,), (1397288702,), (1397288705,), (1397288713,), (1397288714,), (1397288715,), (1397288728,), (1397288729,), (1397288730,), (1397288731,), (1397288734,), (1397288737,), (1397288744,), (1397288747,), (1397288750,), (1397288976,), (1397289119,), (1397288759,), (1397288760,), (1397288761,), (1397288796,), (1397288880,), (1397289071,), (1397289079,), (1397289080,), (1397289083,), (1397289106,), (1397289108,), (1397289114,), (1397289116,), (1397289118,), (1397289120,), (1397289121,), (1397289124,), (1397289126,), (1397289136,), (1397289138,), (1397289139,), (1397289140,), (1397289142,), (1397289151,), (1397289153,), (1397289155,), (1397289156,), (1397289158,), (1397289168,), (1397289170,), (1397289172,), (1397289173,), (1397289269,), (1397289270,), (1397289272,), (1397289287,), (1397289289,), (1397289311,), (1397289373,), (1397289381,), (1397289385,), (1397289485,), (1397289487,), (1397289489,), (1397289491,), (1397289501,), (1397289503,), (1397289505,), (1397289506,), (1397289509,), (1397289511,), (1397289518,), (1397289520,), (1397289522,), (1397289556,), (1397289558,), (1397289560,), (1397289561,), (1397289565,), (1397289568,), (1397289669,), (1397289673,), (1397289675,), (1397289676,), (1397289722,), (1397289724,), (1397289727,), (1397289735,), (1397289738,), (1397289740,), (1397290541,), (1397290537,), (1397290539,), (1397290540,), (1397290543,), (1397290550,), (1397290552,), (1397290555,), (1397290556,), (1397290563,), (1397290565,), (1397290567,), (1397290569,), (1397290571,), (1397290578,), (1397290580,), (1397290583,), (1397290586,), (1397290587,), (1397290590,), (1397290616,), (1397290617,), (1397290618,), (1397290619,), (1397290622,), (1397290625,), (1397290628,), (1397290631,), (1397290634,), (1397290636,), (1397290728,), (1397290729,), (1397290731,), (1397290733,), (1397290744,), (1397290746,), (1397290748,), (1397290750,), (1397290753,), (1397290756,), (1397290762,), (1397290764,), (1397290788,), (1397290791,), (1397290794,), (1397290797,), (1397290800,), (1397290801,), (1397290802,), (1397290803,), (1397290844,), (1397290851,), (1397290860,), (1397290863,), (1397290900,), (1397290917,), (1397290921,), (1397290923,), (1397290953,), (1397290958,), (1397290962,), (1397291062,), (1397291156,), (1397291251,), (1397291267,), (1397291278,), (1397291279,), (1397291289,), (1397291291,), (1397291329,), (1397291330,), (1397291331,), (1397291332,), (1397291334,), (1397291336,), (1397291347,), (1397291348,), (1397291349,), (1397291350,), (1397291363,), (1397291364,), (1397291365,), (1397291366,), (1397291368,), (1397291370,), (1397291467,), (1397291501,), (1397291503,), (1397291522,), (1397291523,), (1397291460,), (1397291461,), (1397291462,), (1397291463,), (1397291464,), (1397291480,), (1397291482,), (1397291484,), (1397291485,), (1397291487,), (1397291489,), (1397291494,), (1397291496,), (1397291497,), (1397291499,), (1397291507,), (1397291509,), (1397291512,), (1397291515,), (1397291517,), (1397291520,), (1397291527,), (1397291528,), (1397291531,), (1397291534,), (1397291539,), (1397291540,), (1397291542,), (1397291543,), (1397291546,), (1397291549,), (1397291557,), (1397291558,), (1397291560,), (1397291562,), (1397291573,), (1397291574,), (1397291576,), (1397291578,), (1397291580,), (1397291593,), (1397291702,), (1397291709,), (1397291711,), (1397291713,), (1397291716,), (1397291806,), (1397291807,), (1397291809,), (1397291811,), (1397291813,), (1397291823,), (1397291824,), (1397291825,), (1397291826,), (1397291829,), (1397291832,), (1397292026,), (1397292113,), (1397292133,), (1397292139,), (1397292258,), (1397292259,), (1397292283,), (1397292331,), (1397292334,), (1397292358,), (1397292383,), (1397292385,), (1397292410,), (1397292424,), (1397292425,), (1397292435,), (1397292513,), (1397292514,), (1397292516,), (1397292520,), (1397292523,), (1397292544,), (1397292536,), (1397292537,), (1397292539,), (1397292541,), (1397292552,), (1397292554,), (1397292555,), (1397292557,), (1397292560,), (1397292567,), (1397292568,), (1397292570,), (1397292572,), (1397292575,), (1397292584,), (1397292585,), (1397292587,), (1397292589,), (1397292600,), (1397292602,), (1397292603,), (1397292605,), (1397292608,), (1397292610,), (1397292618,), (1397292619,), (1397292621,), (1397292634,), (1397292635,), (1397292637,), (1397292640,), (1397292643,), (1397292645,), (1397292651,), (1397292652,), (1397292654,), (1397292655,), (1397292667,), (1397292668,), (1397292670,), (1397292682,), (1397292683,), (1397292685,), (1397292687,), (1397292690,), (1397292693,), (1397292700,), (1397292701,), (1397292703,), (1397292715,), (1397292716,), (1397292718,), (1397292720,), (1397292722,), (1397292725,), (1397292733,), (1397292734,), (1397292736,), (1397292738,), (1397292741,), (1397292750,), (1397292752,), (1397292753,), (1397292755,), (1397292766,), (1397292768,), (1397292770,), (1397292772,), (1397292780,), (1397292867,), (1397292895,), (1397292857,), (1397292858,), (1397292860,), (1397292862,), (1397292864,), (1397292873,), (1397292875,), (1397292877,), (1397292880,), (1397292882,), (1397292884,), (1397292891,), (1397292892,), (1397292893,), (1397292894,), (1397292901,), (1397292903,), (1397292905,), (1397292908,), (1397292911,), (1397292913,), (1397292914,), (1397292916,), (1397292917,), (1397292919,), (1397292922,), (1397292931,), (1397292932,), (1397292934,), (1397292936,), (1397292939,), (1397292941,), (1397292949,), (1397292950,), (1397292952,), (1397292954,), (1397292965,), (1397292967,), (1397292968,), (1397292970,), (1397292973,), (1397292982,), (1397292983,), (1397292985,), (1397293002,), (1397293154,), (1397293173,), (1397293175,), (1397293177,), (1397293199,), (1397293207,), (1397293255,), (1397293256,), (1397293258,), (1397293260,), (1397293263,), (1397293328,), (1397293329,), (1397293331,), (1397293344,), (1397293345,), (1397293347,), (1397293350,), (1397293353,), (1397293355,), (1397293361,), (1397293363,), (1397293364,), (1397293366,), (1397293377,), (1397293378,), (1397293380,), (1397293382,), (1397293384,), (1397293394,), (1397293395,), (1397293421,), (1397293426,), (1397293581,), (1397293482,), (1397293483,), (1397293526,), (1397293527,), (1397293870,), (1397293889,), (1397293890,), (1397293892,), (1397293905,), (1397293940,), (1397293942,), (1397293943,), (1397293954,), (1397293956,), (1397293957,), (1397293959,), (1397293962,), (1397293971,), (1397293972,), (1397293974,), (1397293975,), (1397293978,), (1397293981,), (1397293994,), (1397294015,), (1397294017,), (1397294019,), (1397294021,), (1397294045,), (1397294046,), (1397294051,), (1397294054,), (1397294057,), (1397294081,), (1397294184,), (1397294231,), (1397294265,), (1397294266,), (1397294267,), (1397294268,), (1397294270,), (1397294282,), (1397294283,), (1397294284,), (1397294285,), (1397294287,), (1397294289,), (1397294300,), (1397294302,), (1397294304,), (1397294317,), (1397294318,), (1397294319,), (1397294320,), (1397294322,), (1397294323,), (1397294335,), (1397294336,), (1397294337,), (1397294338,), (1397294340,), (1397294352,), (1397294353,), (1397294354,), (1397294355,), (1397294357,), (1397294358,), (1397294388,), (1397294390,), (1397294391,), (1397294392,), (1397294413,), (1397294590,), (1397294407,), (1397294408,), (1397294409,), (1397294410,), (1397294411,), (1397294482,), (1397294483,), (1397294484,), (1397294486,), (1397294488,), (1397294491,), (1397294585,), (1397294587,), (1397294589,), (1397294592,), (1397294593,), (1397294595,), (1397294597,), (1397294600,), (1397294603,), (1397294610,), (1397294611,), (1397294612,), (1397294613,), (1397294614,), (1397294627,), (1397294628,), (1397294629,), (1397294630,), (1397294632,), (1397294645,), (1397294646,), (1397294647,), (1397294648,), (1397294667,), (1397294668,), (1397294675,), (1397294679,), (1397294682,), (1397294685,), (1397294712,), (1397294763,), (1397294764,), (1397294765,), (1397294777,), (1397294779,), (1397294780,), (1397294781,), (1397294783,), (1397294785,), (1397294795,), (1397294796,), (1397294798,), (1397294809,), (1397294811,), (1397294812,), (1397294813,), (1397294815,), (1397294817,), (1397294825,), (1397294827,), (1397294828,), (1397294830,), (1397294832,), (1397294834,), (1397294840,), (1397294841,), (1397294843,), (1397294847,), (1397294848,), (1397294850,), (1397294852,), (1397294854,), (1397294856,), (1397294865,), (1397294867,), (1397294869,), (1397294873,), (1397294876,), (1397294878,), (1397294898,), (1397294887,), (1397294889,), (1397294892,), (1397294895,), (1397294904,), (1397294907,), (1397294909,), (1397294919,), (1397294922,), (1397294925,), (1397294927,), (1397294929,), (1397294932,), (1397294937,), (1397294940,), (1397294943,), (1397294945,), (1397294948,), (1397294959,), (1397294961,), (1397294963,), (1397294964,), (1397294967,), (1397294969,), (1397294978,), (1397294981,), (1397294984,), (1397294986,), (1397294989,), (1397295000,), (1397295002,), (1397295004,), (1397295008,), (1397295011,), (1397295017,), (1397295023,), (1397295025,), (1397295026,), (1397295030,), (1397295033,), (1397295034,), (1397295073,), (1397295125,), (1397295127,), (1397295130,), (1397295132,), (1397295134,), (1397295135,), (1397295138,), (1397295147,), (1397295149,), (1397295150,), (1397295152,), (1397295155,), (1397295157,), (1397295165,), (1397295167,), (1397295168,), (1397295170,), (1397295173,), (1397295182,), (1397295184,), (1397295185,), (1397295187,), (1397295190,), (1397295199,), (1397295203,), (1397295207,), (1397295210,), (1397295214,), (1397295217,), (1397295221,), (1397295223,), (1397295225,), (1397295227,), (1397295292,), (1397295293,), (1397295295,), (1397295339,), (1397295341,), (1397295435,), (1397295670,), (1397295426,), (1397295428,), (1397295430,), (1397295432,), (1397295444,), (1397295446,), (1397295448,), (1397295463,), (1397295553,), (1397295644,), (1397295668,), (1397295669,), (1397295672,), (1397295684,), (1397295685,), (1397295687,), (1397295689,), (1397295700,), (1397295701,), (1397295731,), (1397295738,), (1397295739,), (1397295742,), (1397295745,), (1397295761,), (1397295762,), (1397295763,), (1397295901,), (1397295902,), (1397295903,), (1397295904,), (1397295906,), (1397295937,), (1397295970,), (1397296000,), (1397296010,), (1397296012,), (1397296014,), (1397296081,), (1397296082,), (1397296083,), (1397296084,), (1397296139,), (1397296140,), (1397296141,), (1397296153,), (1397296177,), (1397296257,), (1397296336,), (1397296353,), (1397296387,), (1397296612,), (1397296651,), (1397296666,), (1397296701,), (1397296735,), (1397296772,), (1397296864,), (1397296865,), (1397296867,), (1397297198,), (1397297237,), (1397297274,), (1397297307,), (1397297341,), (1397297383,), (1397297882,), (1397297694,), (1397297729,), (1397297770,), (1397297841,), (1397298490,), (1397298555,), (1397298619,), (1397298682,), (1397298741,), (1397298779,), (1397299621,), (1397299717,), (1397299819,), (1397299902,), (1397299942,), (1397299975,), (1397300567,), (1397300613,), (1397300647,), (1397300705,), (1397300743,), (1397301383,), (1397301466,), (1397301529,), (1397301575,), (1397301834,), (1397301922,), (1397302017,), (1397302098,), (1397302138,), (1397302153,), (1397302443,), (1397302481,), (1397302513,), (1397302554,), (1397302591,), (1397302637,), (1397302838,), (1397302873,), (1397302912,), (1397302945,), (1397303093,), (1397303094,), (1397303117,), (1397303132,), (1397303136,), (1397303180,), (1397303533,), (1397303622,), (1397303710,), (1397303837,), (1397303930,), (1397304867,), (1397304873,), (1397304886,), (1397304900,), (1397304902,), (1397304903,), (1397305163,), (1397305204,), (1397305205,), (1397305216,), (1397305237,), (1397305901,), (1397305936,), (1397305986,), (1397305994,), (1397306004,), (1397306016,), (1397306314,), (1397306401,), (1397306507,), (1397306854,), (1397306899,), (1397306957,), (1397308403,), (1397309047,), (1397308349,), (1397308987,), (1397310267,), (1397310329,), (1397310752,), (1397310754,), (1397310779,), (1397311070,), (1397311117,), (1397311161,), (1397311552,), (1397311587,), (1397311652,), (1397311719,), (1397311828,), (1397311900,), (1397312335,), (1397312370,), (1397312434,), (1397312472,), (1397312486,), (1397313045,), (1397313081,), (1397313115,), (1397313153,), (1397313162,), (1397313169,), (1397313183,), (1397313228,), (1397313285,), (1397313321,), (1397313348,), (1397313373,), (1397313383,), (1397313396,), (1397313429,), (1397314015,), (1397314030,), (1397314038,), (1397314041,), (1397314364,), (1397314298,), (1397314331,), (1397314611,), (1397314617,), (1397314619,), (1397314621,), (1397314624,), (1397314626,), (1397315297,), (1397315382,), (1397315446,), (1397315487,), (1397316127,), (1397316225,), (1397316298,), (1397316375,), (1397316444,), (1397316541,), (1397316828,), (1397316829,), (1397316852,), (1397316888,), (1397317336,), (1397317391,), (1397317462,), (1397317466,), (1397317471,), (1397317483,), (1397317688,), (1397317755,), (1397317859,), (1397317893,), (1397317929,), (1397317965,), (1397318152,), (1397318186,), (1397318225,), (1397318262,), (1397318425,), (1397318455,), (1397318493,), (1397318533,), (1397318598,), (1397318932,), (1397318933,), (1397318934,), (1397318935,), (1397318937,), (1397318943,), (1397319233,), (1397319243,), (1397319278,), (1397319280,), (1397319282,), (1397319390,), (1397319441,), (1397319514,), (1397366858,), (1397367354,), (1397367368,), (1397367378,), (1397368261,), (1397368328,), (1397368397,), (1397368432,), (1397368490,), (1397368530,), (1397368745,), (1397368787,), (1397368829,), (1397369061,), (1397369098,), (1397369131,), (1397369146,), (1397369279,), (1397369281,), (1397369283,), (1397369336,), (1397369536,), (1397369551,), (1397369552,), (1397370036,), (1397370175,), (1397370192,), (1397370195,), (1397370207,), (1397370211,), (1397370279,), (1397370290,), (1397370306,), (1397370343,), (1397370716,), (1397370752,), (1397370838,), (1397370891,), (1397370956,), (1397371030,), (1397371423,), (1397371458,), (1397371461,), (1397371650,), (1397371653,), (1397371683,), (1397371687,), (1397371690,), (1397371693,), (1397371715,), (1397371735,), (1397371742,), (1397371876,), (1397371954,), (1397371995,), (1397372032,), (1397373026,), (1397373064,), (1397373132,), (1397373205,), (1397373245,), (1397373314,), (1397373781,), (1397366812,), (1397367166,), (1397367171,), (1397367173,), (1397367174,), (1397367187,), (1397367220,), (1397367390,), (1397368752,), (1397373665,), (1397373700,), (1397373734,), (1397373767,), (1397374118,), (1397374186,), (1397374227,), (1397374304,), (1397374392,), (1397375335,), (1397375400,), (1397375453,), (1397375508,), (1397375883,), (1397375918,), (1397375954,), (1397375987,), (1397376021,), (1397376367,), (1397376429,), (1397376445,), (1397376447,), (1397376456,), (1397376659,), (1397376661,), (1397376674,), (1397376679,), (1397376682,), (1397376691,), (1397376907,), (1397376946,), (1397376986,), (1397377035,), (1397377072,), (1397377114,), (1397377288,), (1397377344,), (1397377373,), (1397377381,), (1397377384,), (1397377405,), (1397377410,), (1397377458,), (1397377498,), (1397377693,), (1397377705,), (1397377758,), (1397377807,), (1397377846,), (1397377891,), (1397377983,), (1397377984,), (1397377996,), (1397378051,), (1397378122,), (1397378831,), (1397378896,), (1397378962,), (1397379033,), (1397379102,), (1397379434,), (1397379583,), (1397379696,), (1397379786,), (1397379799,), (1397379873,), (1397380415,), (1397380449,), (1397380505,), (1397380537,), (1397381106,), (1397381132,), (1397381141,), (1397381145,), (1397381172,), (1397381396,), (1397381404,), (1397381416,), (1397381609,), (1397382181,), (1397381562,), (1397381573,), (1397382009,), (1397382040,), (1397382095,), (1397382130,), (1397382672,), (1397382706,), (1397382744,), (1397382810,), (1397382871,), (1397382878,), (1397383043,), (1397383082,), (1397383113,), (1397383157,), (1397383200,), (1397383234,), (1397383455,), (1397383468,), (1397383470,), (1397383471,), (1397383473,), (1397383493,), (1397383930,), (1397383962,), (1397383997,), (1397384030,), (1397384485,), (1397384526,), (1397384563,), (1397384595,), (1397384691,), (1397384731,), (1397385066,), (1397385098,), (1397385136,), (1397385199,), (1397385766,), (1397385816,), (1397385881,), (1397385900,), (1397385933,), (1397385969,), (1397386337,), (1397386373,), (1397386408,), (1397386474,), (1397386548,), (1397387099,), (1397387142,), (1397387180,), (1397387194,), (1397387198,), (1397387220,), (1397387698,), (1397387715,), (1397387753,), (1397387789,), (1397387795,), (1397387798,), (1397387871,), (1397387873,), (1397387874,), (1397387876,), (1397387878,), (1397387905,), (1397387908,), (1397387910,), (1397387911,), (1397387912,), (1397387914,), (1397387934,), (1397387962,), (1397387972,), (1397387977,), (1397387980,), (1397387998,), (1397388018,), (1397388023,), (1397388049,), (1397388053,), (1397388071,), (1397388073,), (1397388295,), (1397388335,), (1397388368,), (1397388523,), (1397388564,), (1397388637,), (1397388700,), (1397388731,), (1397388733,), (1397388847,), (1397388161,), (1397388205,), (1397388256,), (1397388784,), (1397388819,), (1397388842,), (1397388846,), (1397388913,), (1397388932,), (1397388939,), (1397388943,), (1397388947,), (1397388953,), (1397389145,), (1397389181,), (1397389217,), (1397389250,), (1397389512,), (1397389528,), (1397389533,), (1397389546,), (1397389551,), (1397389553,), (1397389598,), (1397389599,), (1397389600,), (1397389601,), (1397389894,), (1397389933,), (1397389971,), (1397390007,), (1397390009,), (1397390010,), (1397390037,), (1397390041,), (1397390045,), (1397390076,), (1397390205,), (1397390272,), (1397390309,), (1397390342,), (1397390432,), (1397390439,), (1397390449,), (1397390462,), (1397390486,), (1397390498,), (1397390573,), (1397390583,), (1397390623,), (1397390669,), (1397390707,), (1397391044,), (1397391051,), (1397391088,), (1397391125,), (1397391142,), (1397391149,), (1397391570,), (1397391599,), (1397391602,), (1397391662,), (1397392192,), (1397392217,), (1397392223,), (1397392244,), (1397392288,), (1397392323,), (1397392418,), (1397392451,), (1397392489,), (1397392515,), (1397392559,), (1397392562,), (1397392565,), (1397392579,), (1397392615,), (1397392838,), (1397392871,), (1397392905,), (1397392938,), (1397392952,), (1397393526,), (1397393292,), (1397393342,), (1397393391,), (1397393438,), (1397393470,), (1397393902,), (1397393939,), (1397393991,), (1397394007,), (1397394190,), (1397394202,), (1397394203,), (1397394204,), (1397394207,), (1397394209,), (1397394377,), (1397394414,), (1397394446,), (1397394483,), (1397394744,), (1397394745,), (1397394746,), (1397394747,), (1397394749,), (1397394786,), (1397394992,), (1397395014,), (1397395026,), (1397395087,), (1397395444,), (1397395445,), (1397395446,), (1397395447,), (1397395459,), (1397395461,), (1397395661,), (1397395699,), (1397395700,), (1397395702,), (1397395720,), (1397396157,), (1397396253,), (1397396284,), (1397396318,), (1397396384,), (1397396400,), (1397396564,), (1397396574,), (1397396576,), (1397396578,), (1397396734,), (1397396736,), (1397396768,), (1397396803,), (1397396838,), (1397397247,), (1397397380,), (1397397492,), (1397397593,), (1397397631,), (1397397668,), (1397397859,), (1397397899,), (1397397934,), (1397397988,), (1397398124,), (1397398177,), (1397398270,), (1397398309,), (1397398373,), (1397399339,), (1397399381,), (1397399461,), (1397399516,), (1397399583,), (1397399606,), (1397399613,), (1397399626,), (1397399660,), (1397399693,), (1397399910,), (1397399836,), (1397399874,), (1397400526,), (1397400887,), (1397401027,), (1397406901,), (1397407470,), (1397407473,), (1397407475,), (1397407528,), (1397407664,), (1397407527,), (1397407654,), (1397407655,), (1397407656,), (1397407659,), (1397407738,), (1397407744,), (1397407775,), (1397407910,), (1397407915,), (1397407932,), (1397407933,), (1397407934,), (1397408089,), (1397408090,), (1397408091,), (1397408092,), (1397408161,), (1397408162,), (1397408164,), (1397408165,), (1397408167,), (1397408169,), (1397408217,), (1397408220,), (1397408222,), (1397408272,), (1397408308,), (1397408316,), (1397408317,), (1397408366,), (1397408368,), (1397408370,), (1397408372,), (1397408374,), (1397408489,), (1397408491,), (1397408500,), (1397408506,), (1397408509,), (1397408516,), (1397408559,), (1397408561,), (1397408562,), (1397408565,), (1397408568,), (1397408570,), (1397408603,), (1397408606,), (1397408607,), (1397408610,), (1397408611,), (1397408636,), (1397408641,), (1397408644,), (1397408646,), (1397408648,), (1397408689,), (1397408732,), (1397408769,), (1397408773,), (1397408776,), (1397408780,), (1397408786,), (1397408788,), (1397408790,), (1397408828,), (1397408830,), (1397409119,), (1397408972,), (1397409008,), (1397409061,), (1397409071,), (1397409096,), (1397409253,), (1397409280,), (1397409316,), (1397409749,), (1397409779,), (1397409813,), (1397409833,), (1397409844,), (1397409849,), (1397409936,), (1397409938,), (1397409940,), (1397409942,), (1397410029,), (1397410079,), (1397411002,), (1397411181,), (1397411182,), (1397411183,), (1397411184,), (1397411187,), (1397411205,), (1397411230,), (1397411266,), (1397411299,), (1397411338,), (1397411359,), (1397411431,), (1397411432,), (1397411433,), (1397411434,), (1397411841,), (1397411900,), (1397411961,), (1397412012,), (1397412017,), (1397412020,), (1397412085,), (1397412120,), (1397412135,), (1397412138,), (1397412141,), (1397412152,), (1397412153,), (1397412155,), (1397412156,), (1397412159,), (1397412230,), (1397412726,), (1397412222,), (1397412223,), (1397412224,), (1397412225,), (1397412228,), (1397412341,), (1397412411,), (1397412447,), (1397412481,), (1397412525,), (1397412562,), (1397412676,), (1397412697,), (1397412766,), (1397412768,), (1397412782,), (1397412785,), (1397412788,), (1397412814,), (1397412816,), (1397412817,), (1397412819,), (1397412822,), (1397412875,), (1397412877,), (1397412879,), (1397412880,), (1397412900,), (1397412902,), (1397412904,), (1397412905,), (1397412908,), (1397412911,), (1397412918,), (1397412919,), (1397412921,), (1397412923,), (1397412925,), (1397413054,), (1397413055,), (1397413067,), (1397413077,), (1397413222,), (1397413223,), (1397413224,), (1397413226,), (1397413247,), (1397413259,), (1397413293,), (1397413524,), (1397413531,), (1397414087,), (1397414101,), (1397414183,), (1397414165,), (1397414167,), (1397414502,), (1397414538,), (1397414590,), (1397414655,), (1397414723,), (1397415265,), (1397415271,), (1397415280,), (1397415282,), (1397415288,), (1397415291,), (1397415573,), (1397415642,), (1397415712,), (1397415771,), (1397416201,), (1397416259,), (1397416305,), (1397416346,), (1397416401,), (1397416442,), (1397416814,), (1397416847,), (1397416883,), (1397416919,), (1397417012,), (1397417048,), (1397417103,), (1397417202,), (1397417344,), (1397417444,), (1397417646,), (1397417686,), (1397417698,), (1397417706,), (1397417817,), (1397417957,), (1397418001,), (1397418485,), (1397418518,), (1397418556,), (1397418591,), (1397419257,), (1397419355,), (1397419424,), (1397419493,), (1397419528,), (1397420013,), (1397420102,), (1397420181,), (1397420245,), (1397420311,), (1397420352,), (1397420843,), (1397420897,), (1397420914,), (1397420925,), (1397421199,), (1397421219,), (1397421273,), (1397421308,), (1397421378,), (1397421820,), (1397421848,), (1397421886,), (1397421939,), (1397421970,), (1397421973,), (1397422194,), (1397422481,), (1397422156,), (1397422188,), (1397422449,), (1397422452,), (1397422456,), (1397422460,), (1397422465,), (1397422475,), (1397422478,), (1397422479,), (1397422609,), (1397422643,), (1397422677,), (1397422721,), (1397422754,), (1397422792,), (1397422846,), (1397422851,), (1397422863,), (1397422900,), (1397422932,), (1397423230,), (1397423232,), (1397423235,), (1397423241,), (1397423244,), (1397423282,), (1397423283,), (1397423284,), (1397423285,), (1397423287,), (1397423411,), (1397423427,), (1397423431,), (1397423436,), (1397423440,), (1397423442,), (1397423468,), (1397423470,), (1397423472,), (1397423477,), (1397423509,), (1397423510,), (1397423512,), (1397423514,), (1397423516,), (1397423522,), (1397423524,), (1397423526,), (1397423534,), (1397423537,), (1397423559,), (1397423729,), (1397423745,), (1397423747,), (1397423756,), (1397423793,), (1397424021,), (1397424054,), (1397424055,), (1397424068,), (1397424071,), (1397424073,), (1397424149,), (1397424151,), (1397424153,), (1397424155,), (1397424157,), (1397424180,), (1397424182,), (1397424185,), (1397424187,), (1397424190,), (1397424194,), (1397424195,), (1397424196,), (1397424197,), (1397424199,), (1397424201,), (1397424262,), (1397424268,), (1397424270,), (1397424372,), (1397424318,), (1397424319,), (1397424320,), (1397424321,), (1397424323,), (1397424412,), (1397424428,), (1397424461,), (1397424505,), (1397424540,), (1397424565,), (1397424581,), (1397424582,), (1397424583,), (1397424585,), (1397424587,), (1397424663,), (1397424664,), (1397424665,), (1397424689,), (1397424726,), (1397425353,), (1397425396,), (1397425445,), (1397425496,), (1397425820,), (1397425872,), (1397425878,), (1397425899,), (1397425933,), (1397426137,), (1397426139,), (1397426142,), (1397426145,), (1397426148,), (1397426151,), (1397426229,), (1397426259,), (1397426381,), (1397426382,), (1397426455,), (1397426469,), (1397426499,), (1397426649,), (1397426658,), (1397426659,), (1397426660,), (1397426662,), (1397426663,), (1397426669,), (1397426670,), (1397426671,), (1397426672,), (1397426674,), (1397426920,), (1397426953,), (1397426986,), (1397427030,), (1397427078,), (1397427362,), (1397427383,), (1397427387,), (1397427389,), (1397427423,), (1397427447,), (1397427514,), (1397427516,), (1397427521,), (1397427637,), (1397427674,), (1397427706,), (1397427742,), (1397427883,), (1397427889,), (1397427896,), (1397427908,), (1397427933,), (1397427937,), (1397428015,), (1397427990,), (1397427995,), (1397428001,), (1397428004,), (1397428382,), (1397428392,), (1397428394,), (1397428402,), (1397428405,), (1397428407,), (1397428561,), (1397428562,), (1397428592,), (1397428601,), (1397428662,), (1397428663,), (1397428664,), (1397428668,), (1397428720,), (1397428746,), (1397428747,), (1397428748,), (1397428749,), (1397428831,), (1397428832,), (1397428833,), (1397428859,), (1397428869,), (1397428870,), (1397428872,), (1397428889,), (1397428890,), (1397428891,), (1397428892,), (1397428996,), (1397428997,), (1397428998,), (1397428999,), (1397429087,), (1397429090,), (1397429091,), (1397429114,), (1397429187,), (1397429188,), (1397429308,), (1397429309,), (1397429310,), (1397429311,), (1397429463,), (1397429488,), (1397429493,), (1397429503,), (1397429543,), (1397429577,), (1397429582,), (1397429583,), (1397429584,), (1397429585,), (1397429586,), (1397429587,), (1397429588,), (1397429590,), (1397429742,), (1397429744,), (1397429747,), (1397429749,), (1397430990,), (1397430669,), (1397430793,), (1397430902,), (1397431583,), (1397431605,), (1397431618,), (1397431620,), (1397431653,), (1397431692,), (1397432219,), (1397432337,), (1397432438,), (1397432604,), (1397433481,), (1397433574,), (1397433634,), (1397433675,), (1397433722,), (1397433771,), (1397433970,), (1397433971,), (1397433972,), (1397433976,), (1397434216,), (1397434221,), (1397434251,), (1397434270,), (1397434279,), (1397434281,), (1397434407,), (1397434419,), (1397434420,), (1397434426,), (1397434460,), (1397434493,), (1397434505,), (1397434506,), (1397434507,), (1397434508,), (1397434509,), (1397434540,), (1397434542,), (1397434574,), (1397434580,), (1397434613,), (1397434616,), (1397434648,), (1397434650,), (1397434684,), (1397434686,), (1397434895,), (1397434910,), (1397434917,), (1397434922,), (1397434938,), (1397434943,), (1397435009,), (1397435039,), (1397435044,), (1397435045,), (1397435124,), (1397435155,), (1397435190,), (1397435224,), (1397435261,), (1397435295,), (1397435467,), (1397435477,), (1397435486,), (1397435508,), (1397435550,), (1397435580,), (1397435581,), (1397435582,), (1397435583,), (1397435585,), (1397435603,), (1397435606,), (1397435612,), (1397435616,), (1397435618,), (1397435673,), (1397435682,), (1397435686,), (1397435689,), (1397435693,), (1397435804,), (1397436422,), (1397435786,), (1397435787,), (1397435788,), (1397435798,), (1397435802,), (1397436105,), (1397436109,), (1397436112,), (1397436129,), (1397436152,), (1397436167,), (1397436325,), (1397436358,), (1397436390,), (1397436708,), (1397436709,), (1397436716,), (1397436717,), (1397436720,), (1397436721,), (1397436733,), (1397436734,), (1397436737,), (1397436738,), (1397436811,), (1397436818,), (1397436824,), (1397436839,), (1397436844,), (1397436921,), (1397436945,), (1397436952,), (1397436959,), (1397436961,), (1397437093,), (1397437152,), (1397437186,), (1397437235,), (1397437404,), (1397437450,), (1397437451,), (1397437452,), (1397437454,), (1397437456,), (1397437482,), (1397437483,), (1397437487,), (1397437488,), (1397437544,), (1397437559,), (1397437566,), (1397437601,), (1397437607,), (1397437611,), (1397437648,), (1397437658,), (1397437660,), (1397437661,), (1397437663,), (1397437794,), (1397437798,), (1397437799,), (1397437807,), (1397437811,), (1397438084,), (1397438145,), (1397438181,), (1397438218,), (1397438256,), (1397438274,), (1397438332,), (1397438342,), (1397438345,), (1397438346,), (1397438412,), (1397438413,), (1397438430,), (1397438463,), (1397438466,), (1397438715,), (1397438754,), (1397438814,), (1397438866,), (1397438907,), (1397438953,), (1397439681,), (1397444729,), (1397445148,), (1397445194,), (1397445225,), (1397445269,), (1397445742,), (1397445774,), (1397445810,), (1397445845,), (1397445881,), (1397445917,), (1397446246,), (1397446280,), (1397446281,), (1397446282,), (1397446549,), (1397446550,), (1397446569,), (1397446581,), (1397446583,), (1397446606,), (1397446654,), (1397446655,), (1397446656,), (1397446657,), (1397446658,), (1397447006,), (1397447013,), (1397447019,), (1397447022,), (1397447044,), (1397447077,), (1397447364,), (1397447387,), (1397447396,), (1397447406,), (1397447435,), (1397447436,), (1397447550,), (1397447596,), (1397447604,), (1397447605,), (1397447620,), (1397447637,), (1397447639,), (1397447641,), (1397447668,), (1397447701,), (1397447708,), (1397447739,), (1397447740,), (1397447741,), (1397447742,), (1397447744,), (1397447828,), (1397447829,), (1397447830,), (1397447831,), (1397447833,), (1397447835,), (1397447860,), (1397447861,), (1397447862,), (1397447863,), (1397447865,), (1397447892,), (1397447893,), (1397447894,), (1397447895,), (1397448175,), (1397448256,), (1397448331,), (1397448332,), (1397448341,), (1397448343,), (1397448486,), (1397448526,), (1397448558,), (1397448590,), (1397449056,), (1397450189,), (1397449041,), (1397449050,), (1397449051,), (1397449052,), (1397449054,), (1397449238,), (1397449240,), (1397449243,), (1397449246,), (1397449249,), (1397449256,), (1397449339,), (1397449391,), (1397449404,), (1397449409,), (1397449412,), (1397449414,), (1397449454,), (1397449460,), (1397449465,), (1397449473,), (1397449499,), (1397449509,), (1397449518,), (1397449519,), (1397449521,), (1397449522,), (1397449524,), (1397449528,), (1397449617,), (1397449626,), (1397449664,), (1397449705,), (1397449787,), (1397449823,), (1397450013,), (1397450049,), (1397450104,), (1397450147,), (1397450591,), (1397450631,), (1397450667,), (1397450718,), (1397450754,), (1397450793,), (1397450935,), (1397450992,), (1397451026,), (1397451069,), (1397451412,), (1397451450,), (1397451477,), (1397451485,), (1397451487,), (1397451490,), (1397451672,), (1397451674,), (1397451675,), (1397451676,), (1397451754,), (1397451755,), (1397451778,), (1397451794,), (1397451828,), (1397451849,), (1397451850,), (1397451851,), (1397451877,), (1397451920,), (1397451927,), (1397451941,), (1397451942,), (1397451943,), (1397451945,), (1397451967,), (1397452004,), (1397452142,), (1397452176,), (1397452211,), (1397452225,), (1397452262,), (1397452298,), (1397452342,), (1397452353,), (1397452358,), (1397452387,), (1397452412,), (1397452414,), (1397452420,), (1397452429,), (1397452432,), (1397452433,), (1397452436,), (1397452441,), (1397452460,), (1397452502,), (1397452506,), (1397452511,), (1397452507,), (1397452508,), (1397452509,), (1397452535,), (1397452536,), (1397452552,), (1397452554,), (1397452556,), (1397452557,), (1397452590,), (1397452591,), (1397452592,), (1397452611,), (1397453023,), (1397453067,), (1397453071,), (1397453092,), (1397453103,), (1397453247,), (1397453289,), (1397453305,), (1397453306,), (1397453320,), (1397453321,), (1397453322,), (1397453323,), (1397453325,), (1397453382,), (1397453414,), (1397453446,), (1397453479,), (1397453513,), (1397453551,), (1397453749,), (1397453755,), (1397453756,), (1397453770,), (1397453772,), (1397453794,), (1397453808,), (1397453809,), (1397453810,), (1397453811,), (1397453814,), (1397453818,), (1397453820,), (1397453822,), (1397453823,), (1397453863,), (1397453864,), (1397453865,), (1397453866,), (1397453868,), (1397453994,), (1397454025,), (1397454034,), (1397454035,), (1397455120,), (1397455105,), (1397455109,), (1397455117,), (1397455200,), (1397455202,), (1397455276,), (1397455312,), (1397455333,), (1397455335,), (1397455340,), (1397455341,), (1397455342,), (1397455344,), (1397455346,), (1397455348,), (1397455351,), (1397455353,), (1397455354,), (1397455355,), (1397455356,), (1397455369,), (1397455402,), (1397455774,), (1397455807,), (1397455842,), (1397456105,), (1397456134,), (1397456172,), (1397456209,), (1397456247,), (1397456266,), (1397456393,), (1397456402,), (1397456403,), (1397456404,), (1397456417,), (1397456804,), (1397456852,), (1397456867,), (1397456888,), (1397456899,), (1397456914,), (1397456916,), (1397456917,), (1397456919,), (1397456924,), (1397456925,), (1397456926,), (1397456927,), (1397456928,), (1397456943,), (1397456945,), (1397456946,), (1397456947,), (1397456954,), (1397456955,), (1397456956,), (1397456958,), (1397456960,), (1397456962,), (1397457023,), (1397457024,), (1397457026,), (1397457028,), (1397457030,), (1397457032,), (1397457035,), (1397457036,), (1397457037,), (1397457038,), (1397457039,), (1397457040,), (1397457062,), (1397457083,), (1397457086,), (1397457088,), (1397457090,), (1397457091,), (1397457713,), (1397457475,), (1397457509,), (1397457578,), (1397457645,), (1397458090,), (1397458091,), (1397458092,), (1397458094,), (1397458100,), (1397458496,), (1397458576,), (1397458639,), (1397458711,), (1397458753,), (1397459217,), (1397459278,), (1397459317,), (1397459371,), (1397459410,), (1397459895,), (1397459971,), (1397460028,), (1397460067,), (1397460246,), (1397460267,), (1397460270,), (1397460271,), (1397460273,), (1397460308,), (1397460309,), (1397460311,), (1397460343,), (1397460377,), (1397460403,), (1397460469,), (1397460470,), (1397460472,), (1397460474,), (1397460476,), (1397460478,), (1397460480,), (1397460481,), (1397460482,), (1397460485,), (1397460548,), (1397460554,), (1397460560,), (1397460562,), (1397460565,), (1397460579,), (1397460636,), (1397460642,), (1397460644,), (1397460683,), (1397460685,), (1397460706,), (1397460714,), (1397460716,), (1397460719,), (1397460721,), (1397460730,), (1397460733,), (1397460734,), (1397460735,), (1397460737,), (1397460920,), (1397460953,), (1397460986,), (1397461020,), (1397461055,), (1397461062,), (1397461186,), (1397461187,), (1397461188,), (1397461189,), (1397461191,), (1397461251,), (1397461253,), (1397461264,), (1397461267,), (1397461287,), (1397461717,), (1397461762,), (1397461795,), (1397461812,), (1397461820,), (1397461829,), (1397461887,), (1397462473,), (1397461882,), (1397461883,), (1397461886,), (1397461910,), (1397461931,), (1397461938,), (1397461940,), (1397461942,), (1397461964,), (1397462019,), (1397462021,), (1397462023,), (1397462051,), (1397462053,), (1397462055,), (1397462226,), (1397462261,), (1397462299,), (1397462300,), (1397462301,), (1397462302,), (1397462371,), (1397462374,), (1397462377,), (1397462379,), (1397462385,), (1397462407,), (1397462463,), (1397462465,), (1397462467,), (1397462469,), (1397462471,), (1397462477,), (1397462493,), (1397462502,), (1397462507,), (1397462509,), (1397463053,), (1397463094,), (1397463111,), (1397463126,), (1397463127,), (1397463128,), (1397463129,), (1397463131,), (1397463133,), (1397463160,), (1397463161,), (1397463162,), (1397463163,), (1397463165,), (1397463458,), (1397463479,), (1397463480,), (1397463487,), (1397463721,), (1397463729,), (1397463779,), (1397463780,), (1397463786,), (1397463946,), (1397463947,), (1397463949,), (1397463953,), (1397463955,), (1397463983,), (1397463994,), (1397463999,), (1397464005,), (1397464007,), (1397464009,), (1397464013,), (1397464041,), (1397464048,), (1397464051,), (1397464052,), (1397464053,), (1397464054,), (1397464057,), (1397464058,), (1397464060,), (1397464061,), (1397464068,), (1397464069,), (1397464073,), (1397464074,), (1397464076,), (1397464077,), (1397464081,), (1397464082,), (1397464104,), (1397464105,), (1397464107,), (1397464139,), (1397464144,), (1397464154,), (1397464205,), (1397464217,), (1397464213,), (1397464214,), (1397464215,), (1397464291,), (1397464292,), (1397464293,), (1397464294,), (1397464296,), (1397464298,), (1397464303,), (1397464304,), (1397464311,), (1397464315,), (1397464317,), (1397464353,), (1397464354,), (1397464355,), (1397464356,), (1397464359,), (1397464464,), (1397464470,), (1397464505,), (1397464538,), (1397464908,), (1397464935,), (1397464962,), (1397464965,), (1397464977,), (1397464979,), (1397464998,), (1397465000,), (1397465003,), (1397465006,), (1397465009,), (1397465012,), (1397465094,), (1397465153,), (1397465176,), (1397465200,), (1397465220,), (1397465238,), (1397465256,), (1397465289,), (1397465313,), (1397465347,), (1397465358,), (1397465359,), (1397465362,), (1397465365,), (1397465369,), (1397465373,), (1397465376,), (1397465378,), (1397465380,), (1397465386,), (1397465387,), (1397465401,), (1397465402,), (1397465403,), (1397465404,), (1397465406,), (1397465408,), (1397465476,), (1397465515,), (1397465553,), (1397465587,), (1397465741,), (1397465746,), (1397465749,), (1397465784,), (1397465952,), (1397465901,), (1397466051,), (1397466052,), (1397466053,), (1397466054,), (1397466056,), (1397466058,), (1397466087,), (1397466088,), (1397466089,), (1397466090,), (1397466091,), (1397466092,), (1397466095,), (1397466097,), (1397466098,), (1397466100,), (1397466102,), (1397466104,), (1397466105,), (1397466108,), (1397466110,), (1397466112,), (1397466176,), (1397466208,), (1397466209,), (1397466210,), (1397466233,), (1397466317,), (1397466320,), (1397466328,), (1397466359,), (1397466361,), (1397466387,), (1397466509,), (1397466521,), (1397466523,), (1397466529,), (1397466550,), (1397466615,), (1397466639,), (1397466666,), (1397466699,), (1397466761,), (1397466828,), (1397466919,), (1397466926,), (1397466927,), (1397466928,), (1397466930,), (1397466932,), (1397466937,), (1397466938,), (1397466939,), (1397466940,), (1397466957,), (1397466958,), (1397466959,), (1397466960,), (1397466962,), (1397466997,), (1397466999,), (1397467001,), (1397467004,), (1397467007,), (1397467063,), (1397467065,), (1397467066,), (1397467108,), (1397467119,), (1397467121,), (1397467166,), (1397467167,), (1397467179,), (1397467180,), (1397467185,), (1397467610,), (1397467654,), (1397467692,), (1397467724,), (1397467758,), (1397467848,), (1397467782,), (1397467784,), (1397467815,), (1397468140,), (1397468181,), (1397468246,), (1397468294,), (1397468330,), (1397468368,), (1397468727,), (1397468793,), (1397468863,), (1397468925,), (1397469263,), (1397469312,), (1397469352,), (1397469408,), (1397469490,), (1397469567,), (1397469957,), (1397470079,), (1397470086,), (1397470147,), (1397470158,), (1397470170,), (1397470340,), (1397470381,), (1397470397,), (1397470398,), (1397470406,), (1397470657,), (1397470675,), (1397470717,), (1397470741,), (1397470754,), (1397470763,), (1397471164,), (1397471278,), (1397471359,), (1397471423,), (1397471496,), (1397471567,), (1397471750,), (1397471827,), (1397471905,), (1397471951,), (1397471985,), (1397472016,), (1397472130,), (1397472163,), (1397472185,), (1397472197,), (1397472206,), (1397472208,), (1397472278,), (1397472317,), (1397472370,), (1397472407,), (1397472447,), (1397472499,), (1397472577,), (1397472673,), (1397472674,), (1397472692,), (1397472728,), (1397472829,), (1397472830,), (1397472831,), (1397472833,), (1397472871,), (1397472872,), (1397472873,), (1397472901,), (1397472907,), (1397472935,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'02122025': {'nb_upload': 75, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29108201]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1397472935, 1397472907, 1397472901, 1397472873, 1397472872, 1397472871] map_info['map_portfolio_photo'] : {29108201: [1397472935, 1397472907, 1397472901, 1397472873, 1397472872, 1397472871, 1397472833, 1397472831, 1397472830, 1397472829, 1397472728, 1397472692, 1397472674, 1397472673, 1397472577, 1397472499, 1397472447, 1397472407, 1397472370, 1397472317, 1397472278, 1397472208, 1397472206, 1397472197, 1397472185, 1397472163, 1397472130, 1397472016, 1397471985, 1397471951, 1397471905, 1397471827, 1397471750, 1397471567, 1397471496, 1397471423, 1397471359, 1397471278, 1397471164, 1397470763, 1397470754, 1397470741, 1397470717, 1397470675, 1397470657, 1397470406, 1397470398, 1397470397, 1397470381, 1397470340, 1397470170, 1397470158, 1397470147, 1397470086, 1397470079, 1397469957, 1397469567, 1397469490, 1397469408, 1397469352, 1397469312, 1397469263, 1397468925, 1397468863, 1397468793, 1397468727, 1397468368, 1397468330, 1397468294, 1397468246, 1397468181, 1397468140, 1397467815, 1397467784, 1397467782]} final : True mtd_id 4302 list_pids : [1397472935, 1397472907, 1397472901, 1397472873, 1397472872, 1397472871] Looping around the photos to save general results len do output : 1 /29108201Didn'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, '4175580') ('4302', '29108201', '1397472935', None, None, None, None, None, '4175580') ('4302', None, None, None, None, None, None, None, '4175580') ('4302', '29108201', '1397472907', None, None, None, None, None, '4175580') ('4302', None, None, None, None, None, None, None, '4175580') ('4302', '29108201', '1397472901', None, None, None, None, None, '4175580') ('4302', None, None, None, None, None, None, None, '4175580') ('4302', '29108201', '1397472873', None, None, None, None, None, '4175580') ('4302', None, None, None, None, None, None, None, '4175580') ('4302', '29108201', '1397472872', None, None, None, None, None, '4175580') ('4302', None, None, None, None, None, None, None, '4175580') ('4302', '29108201', '1397472871', None, None, None, None, None, '4175580') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 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, '29108201', 'None', None, None, None, None, '4175580'), ('4302', '29108201', '1397472935', None, None, None, None, None, '4175580'), ('4302', '29108201', '1397472907', None, None, None, None, None, '4175580'), ('4302', '29108201', '1397472901', None, None, None, None, None, '4175580'), ('4302', '29108201', '1397472873', None, None, None, None, None, '4175580'), ('4302', '29108201', '1397472872', None, None, None, None, None, '4175580'), ('4302', '29108201', '1397472871', None, None, None, None, None, '4175580')] time used for this insertion : 0.01899123191833496 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.9551374912261963 time spend to save output : 0.01925373077392578 total time spend for step 5 : 3.974391222000122 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 (4175580) 2.43user 2.83system 0:18.45elapsed 28%CPU (0avgtext+0avgdata 166388maxresident)k 139608inputs+13704outputs (694major+78645minor)pagefaults 0swaps