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 : 1173464 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 (3954612) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3954612) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27882842 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3954612'] with mtr_portfolio_ids : ['27882842'] and first list_photo_ids : [] new path : /proc/1173464/ Name: python3 Umask: 0002 State: R (running) Tgid: 1173464 Ngid: 0 Pid: 1173464 PPid: 1173463 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1173464 NSpid: 1173464 NSpgid: 1172246 NSsid: 1172246 VmPeak: 1106856 kB VmSize: 1106856 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 100800 kB VmRSS: 100800 kB RssAnon: 59844 kB RssFile: 40956 kB RssShmem: 0 kB VmData: 865608 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 588 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 50 nonvoluntary_ctxt_switches: 84 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1173464', 'Ngid': '0', 'Pid': '1173464', 'PPid': '1173463', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1173464', 'NSpid': '1173464', 'NSpgid': '1172246', 'NSsid': '1172246', 'VmPeak': '1106856 kB', 'VmSize': '1106856 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '100800 kB', 'VmRSS': '100800 kB', 'RssAnon': '59844 kB', 'RssFile': '40956 kB', 'RssShmem': '0 kB', 'VmData': '865608 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '588 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '50', 'nonvoluntary_ctxt_switches': '84'} ('datou_batch_current', '1173464', '1106856', '0', '1106856', '865608', '100800', b'', 'marlene', '3954612') 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 (27882842) 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 (3954612 ) ) 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 (27882842) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1389822026, 'portfolio_id': 27882842}, {'photo_id': 1389821959, 'portfolio_id': 27882842}, {'photo_id': 1389821955, 'portfolio_id': 27882842}, {'photo_id': 1389821952, 'portfolio_id': 27882842}, {'photo_id': 1389821946, 'portfolio_id': 27882842}, {'photo_id': 1389821943, 'portfolio_id': 27882842}, {'photo_id': 1389821941, 'portfolio_id': 27882842}, {'photo_id': 1389821920, 'portfolio_id': 27882842}, {'photo_id': 1389821917, 'portfolio_id': 27882842}, {'photo_id': 1389821913, 'portfolio_id': 27882842}, {'photo_id': 1389821897, 'portfolio_id': 27882842}, {'photo_id': 1389821895, 'portfolio_id': 27882842}, {'photo_id': 1389821891, 'portfolio_id': 27882842}, {'photo_id': 1389821885, 'portfolio_id': 27882842}, {'photo_id': 1389821881, 'portfolio_id': 27882842}, {'photo_id': 1389821877, 'portfolio_id': 27882842}, {'photo_id': 1389821810, 'portfolio_id': 27882842}, {'photo_id': 1389821807, 'portfolio_id': 27882842}, {'photo_id': 1389821805, 'portfolio_id': 27882842}, {'photo_id': 1389821804, 'portfolio_id': 27882842}, {'photo_id': 1389821801, 'portfolio_id': 27882842}, {'photo_id': 1389821783, 'portfolio_id': 27882842}, {'photo_id': 1389821777, 'portfolio_id': 27882842}, {'photo_id': 1389821774, 'portfolio_id': 27882842}, {'photo_id': 1389821772, 'portfolio_id': 27882842}, {'photo_id': 1389821770, 'portfolio_id': 27882842}, {'photo_id': 1389821748, 'portfolio_id': 27882842}, {'photo_id': 1389821743, 'portfolio_id': 27882842}, {'photo_id': 1389821740, 'portfolio_id': 27882842}, {'photo_id': 1389821698, 'portfolio_id': 27882842}, {'photo_id': 1389821694, 'portfolio_id': 27882842}, {'photo_id': 1389821683, 'portfolio_id': 27882842}, {'photo_id': 1389821679, 'portfolio_id': 27882842}, {'photo_id': 1389821676, 'portfolio_id': 27882842}, {'photo_id': 1389821673, 'portfolio_id': 27882842}, {'photo_id': 1389821672, 'portfolio_id': 27882842}, {'photo_id': 1389821670, 'portfolio_id': 27882842}, {'photo_id': 1389821645, 'portfolio_id': 27882842}, {'photo_id': 1389821641, 'portfolio_id': 27882842}, {'photo_id': 1389821638, 'portfolio_id': 27882842}, {'photo_id': 1389821636, 'portfolio_id': 27882842}, {'photo_id': 1389821613, 'portfolio_id': 27882842}, {'photo_id': 1389821576, 'portfolio_id': 27882842}, {'photo_id': 1389821572, 'portfolio_id': 27882842}, {'photo_id': 1389821557, 'portfolio_id': 27882842}, {'photo_id': 1389821554, 'portfolio_id': 27882842}, {'photo_id': 1389821544, 'portfolio_id': 27882842}, {'photo_id': 1389821524, 'portfolio_id': 27882842}, {'photo_id': 1389821521, 'portfolio_id': 27882842}, {'photo_id': 1389821518, 'portfolio_id': 27882842}, {'photo_id': 1389821514, 'portfolio_id': 27882842}, {'photo_id': 1389821510, 'portfolio_id': 27882842}, {'photo_id': 1389821506, 'portfolio_id': 27882842}, {'photo_id': 1389821488, 'portfolio_id': 27882842}, {'photo_id': 1389821486, 'portfolio_id': 27882842}, {'photo_id': 1389821484, 'portfolio_id': 27882842}, {'photo_id': 1389821482, 'portfolio_id': 27882842}, {'photo_id': 1389821441, 'portfolio_id': 27882842}, {'photo_id': 1389821440, 'portfolio_id': 27882842}, {'photo_id': 1389821438, 'portfolio_id': 27882842}, {'photo_id': 1389821436, 'portfolio_id': 27882842}, {'photo_id': 1389821433, 'portfolio_id': 27882842}, {'photo_id': 1389821427, 'portfolio_id': 27882842}, {'photo_id': 1389821411, 'portfolio_id': 27882842}, {'photo_id': 1389821407, 'portfolio_id': 27882842}, {'photo_id': 1389821404, 'portfolio_id': 27882842}, {'photo_id': 1389821399, 'portfolio_id': 27882842}, {'photo_id': 1389821375, 'portfolio_id': 27882842}, {'photo_id': 1389821371, 'portfolio_id': 27882842}, {'photo_id': 1389821365, 'portfolio_id': 27882842}, {'photo_id': 1389821359, 'portfolio_id': 27882842}, {'photo_id': 1389821356, 'portfolio_id': 27882842}] map_portfolio_id_photo_id: {27882842: [1389822026, 1389821959, 1389821955, 1389821952, 1389821946, 1389821943, 1389821941, 1389821920, 1389821917, 1389821913, 1389821897, 1389821895, 1389821891, 1389821885, 1389821881, 1389821877, 1389821810, 1389821807, 1389821805, 1389821804, 1389821801, 1389821783, 1389821777, 1389821774, 1389821772, 1389821770, 1389821748, 1389821743, 1389821740, 1389821698, 1389821694, 1389821683, 1389821679, 1389821676, 1389821673, 1389821672, 1389821670, 1389821645, 1389821641, 1389821638, 1389821636, 1389821613, 1389821576, 1389821572, 1389821557, 1389821554, 1389821544, 1389821524, 1389821521, 1389821518, 1389821514, 1389821510, 1389821506, 1389821488, 1389821486, 1389821484, 1389821482, 1389821441, 1389821440, 1389821438, 1389821436, 1389821433, 1389821427, 1389821411, 1389821407, 1389821404, 1389821399, 1389821375, 1389821371, 1389821365, 1389821359, 1389821356]} ##### 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.051422119140625 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Oct 17 14:48:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27882842) 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 : 27882842 get user id for portfolio 27882842 get sub ptf for main ptf 27882842, type 3726 and hashtags ['metal', 'cartonnette', 'Carton_gris', 'Carton_brun', 'environnement', 'mal_croppe', 'flou', 'plastique', 'Teint_Dans_La_Masse', 'papier', 'autre_refus', 'kraft'] 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`=27882842 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','cartonnette','Carton_gris','Carton_brun','environnement','mal_croppe','flou','plastique','Teint_Dans_La_Masse','papier','autre_refus','kraft')) 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`=27882842 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','cartonnette','Carton_gris','Carton_brun','environnement','mal_croppe','flou','plastique','Teint_Dans_La_Masse','papier','autre_refus','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 27882842, 'sub_port_id': 27882867, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18822264, 'last_updated_at': datetime.datetime(2025, 10, 17, 14, 47, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 14, 47, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 14, 33, 25)}, 'cartonnette': {'main_port_id': 27882842, 'sub_port_id': 27882868, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18822265, 'last_updated_at': datetime.datetime(2025, 10, 17, 14, 47, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 14, 47, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 14, 33, 25)}, 'kraft': {'main_port_id': 27882842, 'sub_port_id': 27882869, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18822266, 'last_updated_at': datetime.datetime(2025, 10, 17, 14, 47, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 14, 47, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 14, 33, 25)}, 'Carton_brun': {'main_port_id': 27882842, 'sub_port_id': 27882870, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18822267, 'last_updated_at': datetime.datetime(2025, 10, 17, 14, 47, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 14, 47, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 14, 33, 25)}, 'plastique': {'main_port_id': 27882842, 'sub_port_id': 27882871, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18822268, 'last_updated_at': datetime.datetime(2025, 10, 17, 14, 47, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 14, 47, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 14, 33, 25)}, 'metal': {'main_port_id': 27882842, 'sub_port_id': 27882872, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18822269, 'last_updated_at': datetime.datetime(2025, 10, 17, 14, 47, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 14, 47, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 14, 33, 25)}, 'autre_refus': {'main_port_id': 27882842, 'sub_port_id': 27882873, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18822270, 'last_updated_at': datetime.datetime(2025, 10, 17, 14, 47, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 14, 47, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 14, 33, 25)}, 'Teint_Dans_La_Masse': {'main_port_id': 27882842, 'sub_port_id': 27882874, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18822271, 'last_updated_at': datetime.datetime(2025, 10, 17, 14, 47, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 14, 47, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 14, 33, 25)}, 'Carton_gris': {'main_port_id': 27882842, 'sub_port_id': 27882875, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18822272, 'last_updated_at': datetime.datetime(2025, 10, 17, 14, 47, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 14, 47, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 14, 33, 25)}, 'environnement': {'main_port_id': 27882842, 'sub_port_id': 27882876, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18822273, 'last_updated_at': datetime.datetime(2025, 10, 17, 14, 47, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 14, 47, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 14, 33, 25)}, 'mal_croppe': {'main_port_id': 27882842, 'sub_port_id': 27882877, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18822274, 'last_updated_at': datetime.datetime(2025, 10, 17, 14, 47, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 14, 47, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 14, 33, 25)}, 'flou': {'main_port_id': 27882842, 'sub_port_id': 27882878, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18822275, 'last_updated_at': datetime.datetime(2025, 10, 17, 14, 47, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 14, 47, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 14, 33, 25)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27882867 , 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=27882842 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 (27882867) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27882842) result : ((1389821356,), (1389821359,), (1389821365,), (1389821371,), (1389821375,), (1389821399,), (1389821404,), (1389821407,), (1389821411,), (1389821427,), (1389821433,), (1389821436,), (1389821438,), (1389821440,), (1389821441,), (1389821482,), (1389821484,), (1389821486,), (1389821488,), (1389821506,), (1389821510,), (1389821514,), (1389821518,), (1389821521,), (1389821524,), (1389821544,), (1389821554,), (1389821557,), (1389821572,), (1389821576,), (1389821613,), (1389821636,), (1389821638,), (1389821641,), (1389821645,), (1389821670,), (1389821672,), (1389821673,), (1389821676,), (1389821679,), (1389821683,), (1389821694,), (1389821698,), (1389821740,), (1389821743,), (1389821748,), (1389821770,), (1389821772,), (1389821774,), (1389821777,), (1389821783,), (1389821801,), (1389821804,), (1389821805,), (1389821807,), (1389821810,), (1389821877,), (1389821881,), (1389821885,), (1389821891,), (1389821895,), (1389821897,), (1389821913,), (1389821917,), (1389821920,), (1389821941,), (1389821943,), (1389821946,), (1389821952,), (1389821955,), (1389821959,), (1389822026,)) 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 27882868 , 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=27882842 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 (27882868) result : ((1389821715,), (1389821735,), (1389821736,), (1389821780,), (1389821794,), (1389822072,), (1389822073,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27882842) result : ((1389821356,), (1389821359,), (1389821365,), (1389821371,), (1389821375,), (1389821399,), (1389821404,), (1389821407,), (1389821411,), (1389821427,), (1389821433,), (1389821436,), (1389821438,), (1389821440,), (1389821441,), (1389821482,), (1389821484,), (1389821486,), (1389821488,), (1389821506,), (1389821510,), (1389821514,), (1389821518,), (1389821521,), (1389821524,), (1389821544,), (1389821554,), (1389821557,), (1389821572,), (1389821576,), (1389821613,), (1389821636,), (1389821638,), (1389821641,), (1389821645,), (1389821670,), (1389821672,), (1389821673,), (1389821676,), (1389821679,), (1389821683,), (1389821694,), (1389821698,), (1389821740,), (1389821743,), (1389821748,), (1389821770,), (1389821772,), (1389821774,), (1389821777,), (1389821783,), (1389821801,), (1389821804,), (1389821805,), (1389821807,), (1389821810,), (1389821877,), (1389821881,), (1389821885,), (1389821891,), (1389821895,), (1389821897,), (1389821913,), (1389821917,), (1389821920,), (1389821941,), (1389821943,), (1389821946,), (1389821952,), (1389821955,), (1389821959,), (1389822026,)) 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 27882869 , 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=27882842 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 (27882869) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27882842) result : ((1389821356,), (1389821359,), (1389821365,), (1389821371,), (1389821375,), (1389821399,), (1389821404,), (1389821407,), (1389821411,), (1389821427,), (1389821433,), (1389821436,), (1389821438,), (1389821440,), (1389821441,), (1389821482,), (1389821484,), (1389821486,), (1389821488,), (1389821506,), (1389821510,), (1389821514,), (1389821518,), (1389821521,), (1389821524,), (1389821544,), (1389821554,), (1389821557,), (1389821572,), (1389821576,), (1389821613,), (1389821636,), (1389821638,), (1389821641,), (1389821645,), (1389821670,), (1389821672,), (1389821673,), (1389821676,), (1389821679,), (1389821683,), (1389821694,), (1389821698,), (1389821740,), (1389821743,), (1389821748,), (1389821770,), (1389821772,), (1389821774,), (1389821777,), (1389821783,), (1389821801,), (1389821804,), (1389821805,), (1389821807,), (1389821810,), (1389821877,), (1389821881,), (1389821885,), (1389821891,), (1389821895,), (1389821897,), (1389821913,), (1389821917,), (1389821920,), (1389821941,), (1389821943,), (1389821946,), (1389821952,), (1389821955,), (1389821959,), (1389822026,)) 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 27882870 , 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=27882842 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 (27882870) result : ((1389821662,), (1389821717,), (1389821795,), (1389822074,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27882842) result : ((1389821356,), (1389821359,), (1389821365,), (1389821371,), (1389821375,), (1389821399,), (1389821404,), (1389821407,), (1389821411,), (1389821427,), (1389821433,), (1389821436,), (1389821438,), (1389821440,), (1389821441,), (1389821482,), (1389821484,), (1389821486,), (1389821488,), (1389821506,), (1389821510,), (1389821514,), (1389821518,), (1389821521,), (1389821524,), (1389821544,), (1389821554,), (1389821557,), (1389821572,), (1389821576,), (1389821613,), (1389821636,), (1389821638,), (1389821641,), (1389821645,), (1389821670,), (1389821672,), (1389821673,), (1389821676,), (1389821679,), (1389821683,), (1389821694,), (1389821698,), (1389821740,), (1389821743,), (1389821748,), (1389821770,), (1389821772,), (1389821774,), (1389821777,), (1389821783,), (1389821801,), (1389821804,), (1389821805,), (1389821807,), (1389821810,), (1389821877,), (1389821881,), (1389821885,), (1389821891,), (1389821895,), (1389821897,), (1389821913,), (1389821917,), (1389821920,), (1389821941,), (1389821943,), (1389821946,), (1389821952,), (1389821955,), (1389821959,), (1389822026,)) 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 27882871 , 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=27882842 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 (27882871) result : ((1389821646,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27882842) result : ((1389821356,), (1389821359,), (1389821365,), (1389821371,), (1389821375,), (1389821399,), (1389821404,), (1389821407,), (1389821411,), (1389821427,), (1389821433,), (1389821436,), (1389821438,), (1389821440,), (1389821441,), (1389821482,), (1389821484,), (1389821486,), (1389821488,), (1389821506,), (1389821510,), (1389821514,), (1389821518,), (1389821521,), (1389821524,), (1389821544,), (1389821554,), (1389821557,), (1389821572,), (1389821576,), (1389821613,), (1389821636,), (1389821638,), (1389821641,), (1389821645,), (1389821670,), (1389821672,), (1389821673,), (1389821676,), (1389821679,), (1389821683,), (1389821694,), (1389821698,), (1389821740,), (1389821743,), (1389821748,), (1389821770,), (1389821772,), (1389821774,), (1389821777,), (1389821783,), (1389821801,), (1389821804,), (1389821805,), (1389821807,), (1389821810,), (1389821877,), (1389821881,), (1389821885,), (1389821891,), (1389821895,), (1389821897,), (1389821913,), (1389821917,), (1389821920,), (1389821941,), (1389821943,), (1389821946,), (1389821952,), (1389821955,), (1389821959,), (1389822026,)) 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 27882872 , 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=27882842 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 (27882872) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27882842) result : ((1389821356,), (1389821359,), (1389821365,), (1389821371,), (1389821375,), (1389821399,), (1389821404,), (1389821407,), (1389821411,), (1389821427,), (1389821433,), (1389821436,), (1389821438,), (1389821440,), (1389821441,), (1389821482,), (1389821484,), (1389821486,), (1389821488,), (1389821506,), (1389821510,), (1389821514,), (1389821518,), (1389821521,), (1389821524,), (1389821544,), (1389821554,), (1389821557,), (1389821572,), (1389821576,), (1389821613,), (1389821636,), (1389821638,), (1389821641,), (1389821645,), (1389821670,), (1389821672,), (1389821673,), (1389821676,), (1389821679,), (1389821683,), (1389821694,), (1389821698,), (1389821740,), (1389821743,), (1389821748,), (1389821770,), (1389821772,), (1389821774,), (1389821777,), (1389821783,), (1389821801,), (1389821804,), (1389821805,), (1389821807,), (1389821810,), (1389821877,), (1389821881,), (1389821885,), (1389821891,), (1389821895,), (1389821897,), (1389821913,), (1389821917,), (1389821920,), (1389821941,), (1389821943,), (1389821946,), (1389821952,), (1389821955,), (1389821959,), (1389822026,)) 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 27882873 , 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=27882842 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 (27882873) result : ((1389821644,), (1389821659,), (1389821660,), (1389821713,), (1389821714,), (1389821792,), (1389821793,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27882842) result : ((1389821356,), (1389821359,), (1389821365,), (1389821371,), (1389821375,), (1389821399,), (1389821404,), (1389821407,), (1389821411,), (1389821427,), (1389821433,), (1389821436,), (1389821438,), (1389821440,), (1389821441,), (1389821482,), (1389821484,), (1389821486,), (1389821488,), (1389821506,), (1389821510,), (1389821514,), (1389821518,), (1389821521,), (1389821524,), (1389821544,), (1389821554,), (1389821557,), (1389821572,), (1389821576,), (1389821613,), (1389821636,), (1389821638,), (1389821641,), (1389821645,), (1389821670,), (1389821672,), (1389821673,), (1389821676,), (1389821679,), (1389821683,), (1389821694,), (1389821698,), (1389821740,), (1389821743,), (1389821748,), (1389821770,), (1389821772,), (1389821774,), (1389821777,), (1389821783,), (1389821801,), (1389821804,), (1389821805,), (1389821807,), (1389821810,), (1389821877,), (1389821881,), (1389821885,), (1389821891,), (1389821895,), (1389821897,), (1389821913,), (1389821917,), (1389821920,), (1389821941,), (1389821943,), (1389821946,), (1389821952,), (1389821955,), (1389821959,), (1389822026,)) 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 27882874 , 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=27882842 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 (27882874) result : ((1389821658,), (1389821712,), (1389821733,), (1389821734,), (1389821778,), (1389821779,), (1389821790,), (1389821899,), (1389822061,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27882842) result : ((1389821356,), (1389821359,), (1389821365,), (1389821371,), (1389821375,), (1389821399,), (1389821404,), (1389821407,), (1389821411,), (1389821427,), (1389821433,), (1389821436,), (1389821438,), (1389821440,), (1389821441,), (1389821482,), (1389821484,), (1389821486,), (1389821488,), (1389821506,), (1389821510,), (1389821514,), (1389821518,), (1389821521,), (1389821524,), (1389821544,), (1389821554,), (1389821557,), (1389821572,), (1389821576,), (1389821613,), (1389821636,), (1389821638,), (1389821641,), (1389821645,), (1389821670,), (1389821672,), (1389821673,), (1389821676,), (1389821679,), (1389821683,), (1389821694,), (1389821698,), (1389821740,), (1389821743,), (1389821748,), (1389821770,), (1389821772,), (1389821774,), (1389821777,), (1389821783,), (1389821801,), (1389821804,), (1389821805,), (1389821807,), (1389821810,), (1389821877,), (1389821881,), (1389821885,), (1389821891,), (1389821895,), (1389821897,), (1389821913,), (1389821917,), (1389821920,), (1389821941,), (1389821943,), (1389821946,), (1389821952,), (1389821955,), (1389821959,), (1389822026,)) 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 27882875 , 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=27882842 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 (27882875) result : ((1389821661,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27882842) result : ((1389821356,), (1389821359,), (1389821365,), (1389821371,), (1389821375,), (1389821399,), (1389821404,), (1389821407,), (1389821411,), (1389821427,), (1389821433,), (1389821436,), (1389821438,), (1389821440,), (1389821441,), (1389821482,), (1389821484,), (1389821486,), (1389821488,), (1389821506,), (1389821510,), (1389821514,), (1389821518,), (1389821521,), (1389821524,), (1389821544,), (1389821554,), (1389821557,), (1389821572,), (1389821576,), (1389821613,), (1389821636,), (1389821638,), (1389821641,), (1389821645,), (1389821670,), (1389821672,), (1389821673,), (1389821676,), (1389821679,), (1389821683,), (1389821694,), (1389821698,), (1389821740,), (1389821743,), (1389821748,), (1389821770,), (1389821772,), (1389821774,), (1389821777,), (1389821783,), (1389821801,), (1389821804,), (1389821805,), (1389821807,), (1389821810,), (1389821877,), (1389821881,), (1389821885,), (1389821891,), (1389821895,), (1389821897,), (1389821913,), (1389821917,), (1389821920,), (1389821941,), (1389821943,), (1389821946,), (1389821952,), (1389821955,), (1389821959,), (1389822026,)) 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 27882876 , 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=27882842 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 (27882876) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27882842) result : ((1389821356,), (1389821359,), (1389821365,), (1389821371,), (1389821375,), (1389821399,), (1389821404,), (1389821407,), (1389821411,), (1389821427,), (1389821433,), (1389821436,), (1389821438,), (1389821440,), (1389821441,), (1389821482,), (1389821484,), (1389821486,), (1389821488,), (1389821506,), (1389821510,), (1389821514,), (1389821518,), (1389821521,), (1389821524,), (1389821544,), (1389821554,), (1389821557,), (1389821572,), (1389821576,), (1389821613,), (1389821636,), (1389821638,), (1389821641,), (1389821645,), (1389821670,), (1389821672,), (1389821673,), (1389821676,), (1389821679,), (1389821683,), (1389821694,), (1389821698,), (1389821740,), (1389821743,), (1389821748,), (1389821770,), (1389821772,), (1389821774,), (1389821777,), (1389821783,), (1389821801,), (1389821804,), (1389821805,), (1389821807,), (1389821810,), (1389821877,), (1389821881,), (1389821885,), (1389821891,), (1389821895,), (1389821897,), (1389821913,), (1389821917,), (1389821920,), (1389821941,), (1389821943,), (1389821946,), (1389821952,), (1389821955,), (1389821959,), (1389822026,)) 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 27882877 , 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=27882842 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 (27882877) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27882842) result : ((1389821356,), (1389821359,), (1389821365,), (1389821371,), (1389821375,), (1389821399,), (1389821404,), (1389821407,), (1389821411,), (1389821427,), (1389821433,), (1389821436,), (1389821438,), (1389821440,), (1389821441,), (1389821482,), (1389821484,), (1389821486,), (1389821488,), (1389821506,), (1389821510,), (1389821514,), (1389821518,), (1389821521,), (1389821524,), (1389821544,), (1389821554,), (1389821557,), (1389821572,), (1389821576,), (1389821613,), (1389821636,), (1389821638,), (1389821641,), (1389821645,), (1389821670,), (1389821672,), (1389821673,), (1389821676,), (1389821679,), (1389821683,), (1389821694,), (1389821698,), (1389821740,), (1389821743,), (1389821748,), (1389821770,), (1389821772,), (1389821774,), (1389821777,), (1389821783,), (1389821801,), (1389821804,), (1389821805,), (1389821807,), (1389821810,), (1389821877,), (1389821881,), (1389821885,), (1389821891,), (1389821895,), (1389821897,), (1389821913,), (1389821917,), (1389821920,), (1389821941,), (1389821943,), (1389821946,), (1389821952,), (1389821955,), (1389821959,), (1389822026,)) 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 27882878 , 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=27882842 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 (27882878) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27882842) result : ((1389821356,), (1389821359,), (1389821365,), (1389821371,), (1389821375,), (1389821399,), (1389821404,), (1389821407,), (1389821411,), (1389821427,), (1389821433,), (1389821436,), (1389821438,), (1389821440,), (1389821441,), (1389821482,), (1389821484,), (1389821486,), (1389821488,), (1389821506,), (1389821510,), (1389821514,), (1389821518,), (1389821521,), (1389821524,), (1389821544,), (1389821554,), (1389821557,), (1389821572,), (1389821576,), (1389821613,), (1389821636,), (1389821638,), (1389821641,), (1389821645,), (1389821670,), (1389821672,), (1389821673,), (1389821676,), (1389821679,), (1389821683,), (1389821694,), (1389821698,), (1389821740,), (1389821743,), (1389821748,), (1389821770,), (1389821772,), (1389821774,), (1389821777,), (1389821783,), (1389821801,), (1389821804,), (1389821805,), (1389821807,), (1389821810,), (1389821877,), (1389821881,), (1389821885,), (1389821891,), (1389821895,), (1389821897,), (1389821913,), (1389821917,), (1389821920,), (1389821941,), (1389821943,), (1389821946,), (1389821952,), (1389821955,), (1389821959,), (1389822026,)) 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`=27882842 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','cartonnette','Carton_gris','Carton_brun','environnement','mal_croppe','flou','plastique','Teint_Dans_La_Masse','papier','autre_refus','kraft')) 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`=27882842 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','cartonnette','Carton_gris','Carton_brun','environnement','mal_croppe','flou','plastique','Teint_Dans_La_Masse','papier','autre_refus','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 27882842, 'sub_port_id': 27882879, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18822276, 'last_updated_at': datetime.datetime(2025, 10, 17, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 14, 33, 26)}, 'cartonnette': {'main_port_id': 27882842, 'sub_port_id': 27882880, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18822277, 'last_updated_at': datetime.datetime(2025, 10, 17, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 14, 33, 26)}, 'kraft': {'main_port_id': 27882842, 'sub_port_id': 27882881, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18822278, 'last_updated_at': datetime.datetime(2025, 10, 17, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 14, 33, 26)}, 'Carton_brun': {'main_port_id': 27882842, 'sub_port_id': 27882882, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18822279, 'last_updated_at': datetime.datetime(2025, 10, 17, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 14, 33, 26)}, 'plastique': {'main_port_id': 27882842, 'sub_port_id': 27882883, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18822280, 'last_updated_at': datetime.datetime(2025, 10, 17, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 14, 33, 26)}, 'metal': {'main_port_id': 27882842, 'sub_port_id': 27882884, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18822281, 'last_updated_at': datetime.datetime(2025, 10, 17, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 14, 33, 26)}, 'autre_refus': {'main_port_id': 27882842, 'sub_port_id': 27882885, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18822282, 'last_updated_at': datetime.datetime(2025, 10, 17, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 14, 33, 26)}, 'Teint_Dans_La_Masse': {'main_port_id': 27882842, 'sub_port_id': 27882886, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18822283, 'last_updated_at': datetime.datetime(2025, 10, 17, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 14, 33, 26)}, 'Carton_gris': {'main_port_id': 27882842, 'sub_port_id': 27882887, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18822284, 'last_updated_at': datetime.datetime(2025, 10, 17, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 14, 33, 26)}, 'environnement': {'main_port_id': 27882842, 'sub_port_id': 27882888, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18822285, 'last_updated_at': datetime.datetime(2025, 10, 17, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 14, 33, 26)}, 'mal_croppe': {'main_port_id': 27882842, 'sub_port_id': 27882889, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18822286, 'last_updated_at': datetime.datetime(2025, 10, 17, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 14, 33, 26)}, 'flou': {'main_port_id': 27882842, 'sub_port_id': 27882890, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18822287, 'last_updated_at': datetime.datetime(2025, 10, 17, 14, 47, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 14, 47, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 14, 33, 26)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27882879,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27882867 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27882880,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27882868 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27882881,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27882869 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27882882,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27882870 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27882883,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27882871 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27882884,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27882872 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27882885,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27882873 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27882886,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27882874 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27882887,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27882875 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27882888,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27882876 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27882889,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27882877 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27882890,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27882878 lien utilise dans velours : https://marlene.fotonower.com/velours/27882879,27882880,27882881,27882882,27882883,27882884,27882885,27882886,27882887,27882888,27882889,27882890?tags=papier,cartonnette,kraft,Carton_brun,plastique,metal,autre_refus,Teint_Dans_La_Masse,Carton_gris,environnement,mal_croppe,flou After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27882842]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1389822026] map_info['map_portfolio_photo'] : {27882842: [1389822026, 1389821959, 1389821955, 1389821952, 1389821946, 1389821943, 1389821941, 1389821920, 1389821917, 1389821913, 1389821897, 1389821895, 1389821891, 1389821885, 1389821881, 1389821877, 1389821810, 1389821807, 1389821805, 1389821804, 1389821801, 1389821783, 1389821777, 1389821774, 1389821772, 1389821770, 1389821748, 1389821743, 1389821740, 1389821698, 1389821694, 1389821683, 1389821679, 1389821676, 1389821673, 1389821672, 1389821670, 1389821645, 1389821641, 1389821638, 1389821636, 1389821613, 1389821576, 1389821572, 1389821557, 1389821554, 1389821544, 1389821524, 1389821521, 1389821518, 1389821514, 1389821510, 1389821506, 1389821488, 1389821486, 1389821484, 1389821482, 1389821441, 1389821440, 1389821438, 1389821436, 1389821433, 1389821427, 1389821411, 1389821407, 1389821404, 1389821399, 1389821375, 1389821371, 1389821365, 1389821359, 1389821356]} final : False mtd_id 4302 list_pids : [1389822026] Looping around the photos to save general results len do output : 1 /27882842. 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, '3954612') ('4302', '27882842', '1389822026', None, None, None, None, None, '3954612') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '27882842', "{'papier': 27882867, 'cartonnette': 27882868, 'kraft': 27882869, 'Carton_brun': 27882870, 'plastique': 27882871, 'metal': 27882872, 'autre_refus': 27882873, 'Teint_Dans_La_Masse': 27882874, 'Carton_gris': 27882875, 'environnement': 27882876, 'mal_croppe': 27882877, 'flou': 27882878}", None, None, None, None, '3954612'), ('4302', '27882842', '1389822026', None, None, None, None, None, '3954612')] time used for this insertion : 0.03478550910949707 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.079386234283447 time spend to save output : 0.034961700439453125 total time spend for step 1 : 5.1143479347229 step2:final Fri Oct 17 14:49:04 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 (27882842) 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 27882842 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1389821375,1389821371,1389821365,1389821359,1389821356,1389821411,1389821407,1389821404,1389821399,1389821441,1389821440,1389821438,1389821436,1389821433,1389821427,1389821488,1389821486,1389821484,1389821482,1389821524,1389821521,1389821518,1389821514,1389821510,1389821506,1389821576,1389821572,1389821557,1389821554,1389821544,1389821645,1389821641,1389821638,1389821636,1389821613,1389821683,1389821679,1389821676,1389821673,1389821672,1389821670,1389821698,1389821694,1389821748,1389821783,1389821743,1389821777,1389821740,1389821774,1389821772,1389821810,1389821770,1389821807,1389821805,1389821804,1389821801,1389821897,1389821895,1389821891,1389821885,1389821881,1389821877,1389821920,1389821917,1389821913,1389821959,1389821955,1389821952,1389821946,1389821943,1389821941,1389822026); 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([27882842]) Inside saveOutput : final : False verbose : True original output for save of step final : {1389822026: ('0.0349361512665389',)} new output for save of step final : {1389822026: ('0.0349361512665389',)} [1389822026] map_info['map_portfolio_photo'] : {27882842: [1389822026, 1389821959, 1389821955, 1389821952, 1389821946, 1389821943, 1389821941, 1389821920, 1389821917, 1389821913, 1389821897, 1389821895, 1389821891, 1389821885, 1389821881, 1389821877, 1389821810, 1389821807, 1389821805, 1389821804, 1389821801, 1389821783, 1389821777, 1389821774, 1389821772, 1389821770, 1389821748, 1389821743, 1389821740, 1389821698, 1389821694, 1389821683, 1389821679, 1389821676, 1389821673, 1389821672, 1389821670, 1389821645, 1389821641, 1389821638, 1389821636, 1389821613, 1389821576, 1389821572, 1389821557, 1389821554, 1389821544, 1389821524, 1389821521, 1389821518, 1389821514, 1389821510, 1389821506, 1389821488, 1389821486, 1389821484, 1389821482, 1389821441, 1389821440, 1389821438, 1389821436, 1389821433, 1389821427, 1389821411, 1389821407, 1389821404, 1389821399, 1389821375, 1389821371, 1389821365, 1389821359, 1389821356]} final : False mtd_id 4302 list_pids : [1389822026] Looping around the photos to save general results len do output : 1 /1389822026.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, '3954612') ('4302', '27882842', '1389822026', None, None, None, None, None, '3954612') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '27882842', '1389822026', '0.0349361512665389', None, None, None, None, '3954612')] time used for this insertion : 0.04123854637145996 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.2392268180847168 time spend to save output : 0.041405439376831055 total time spend for step 2 : 0.28063225746154785 step3:velours_tree Fri Oct 17 14:49:04 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 : {27882842: [{'papier': 27882867, 'cartonnette': 27882868, 'kraft': 27882869, 'Carton_brun': 27882870, 'plastique': 27882871, 'metal': 27882872, 'autre_refus': 27882873, 'Teint_Dans_La_Masse': 27882874, 'Carton_gris': 27882875, 'environnement': 27882876, 'mal_croppe': 27882877, 'flou': 27882878}]} input_args_next_step : {27882842: ()} output_args : {27882842: [{'papier': 27882867, 'cartonnette': 27882868, 'kraft': 27882869, 'Carton_brun': 27882870, 'plastique': 27882871, 'metal': 27882872, 'autre_refus': 27882873, 'Teint_Dans_La_Masse': 27882874, 'Carton_gris': 27882875, 'environnement': 27882876, 'mal_croppe': 27882877, 'flou': 27882878}]} args : 27882842 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'papier': 27882867, 'cartonnette': 27882868, 'kraft': 27882869, 'Carton_brun': 27882870, 'plastique': 27882871, 'metal': 27882872, 'autre_refus': 27882873, 'Teint_Dans_La_Masse': 27882874, 'Carton_gris': 27882875, 'environnement': 27882876, 'mal_croppe': 27882877, 'flou': 27882878},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27882842) 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([27882842]) 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.320570707321167 time spend to save output : 7.009506225585938e-05 total time spend for step 3 : 0.32064080238342285 step4:send_mail_cod Fri Oct 17 14:49:05 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1389822026: ('0.0349361512665389',)} input_args_next_step : {1389822026: ()} output_args : {1389822026: ('0.0349361512665389',)} args : 1389822026 depend.output_id : 0 complete output_args for input 3 : {27882842: [{'papier': 27882867, 'cartonnette': 27882868, 'kraft': 27882869, 'Carton_brun': 27882870, 'plastique': 27882871, 'metal': 27882872, 'autre_refus': 27882873, 'Teint_Dans_La_Masse': 27882874, 'Carton_gris': 27882875, 'environnement': 27882876, 'mal_croppe': 27882877, 'flou': 27882878}]} input_args_next_step : {1389822026: ('0.0349361512665389',), 27882842: ()} output_args : {27882842: [{'papier': 27882867, 'cartonnette': 27882868, 'kraft': 27882869, 'Carton_brun': 27882870, 'plastique': 27882871, 'metal': 27882872, 'autre_refus': 27882873, 'Teint_Dans_La_Masse': 27882874, 'Carton_gris': 27882875, 'environnement': 27882876, 'mal_croppe': 27882877, 'flou': 27882878}]} args : 27882842 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :2, first value : ('0.0349361512665389',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27882842) 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 (1389822026) Found this number of photos: 1 ##### Call download_photos : nb_thread : 5 begin to download photo : 1389822026 download finish for photo 1389822026 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 : 1 ; length of list_pids : 1 ; length of list_args : 1 results_Auto_P27882842_17-10-2025_14_49_05.pdf 27882868 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=27882868 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389821715: '1760704746_2095751_1389821506_0fdd5efa37b48793b831353fbd69d098_rle_crop_4000499143_0.png', 1389821735: '1760704765_2096116_1389821486_6c80e7be6ac70af5c17f24008fe36bb4_rle_crop_4000499252_0.png', 1389821736: '1760704765_2096116_1389821484_c83d39c3e8daf38d4fc4bf82658df82b_rle_crop_4000499265_0.png', 1389821780: '1760704866_2101351_1389821613_f0c81fa81ea1296683f6f69d37d8c14b_rle_crop_4000499373_0.png', 1389821794: '1760704886_2102647_1389821506_0fdd5efa37b48793b831353fbd69d098_rle_crop_4000499143_0.png', 1389822072: '1760705225_2119578_1389821895_a36a8d4a9b7d7024012724063bdc713e_rle_crop_4000502561_0.png', 1389822073: '1760705225_2119578_1389821891_ea283642ca11e88859bfdbcbf97f8dce_rle_crop_4000502570_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/cf07d9385eb3485d55f1864467a54147_73283116.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/2c4e703e9529f9a354e733a8765cdaff_96259921.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/2615d93c81b462e79c41a7a7dc283847_97889165.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/47cb1c865d0637b85fba449c9b8b951e_90938031.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/cf07d9385eb3485d55f1864467a54147_15029305.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/c9a1683f5b90eb49835c284d2c806b12_63006398.png change filename to text .imagette278828681760705345/ imagette278828681760705345/1760705225_2119578_1389821891_ea283642ca11e88859bfdbcbf97f8dce_rle_crop_4000502570_0.png.png imagette278828681760705345/1760705225_2119578_1389821895_a36a8d4a9b7d7024012724063bdc713e_rle_crop_4000502561_0.png.png imagette278828681760705345/1760704886_2102647_1389821506_0fdd5efa37b48793b831353fbd69d098_rle_crop_4000499143_0.png.png imagette278828681760705345/1760704866_2101351_1389821613_f0c81fa81ea1296683f6f69d37d8c14b_rle_crop_4000499373_0.png.png imagette278828681760705345/1760704746_2095751_1389821506_0fdd5efa37b48793b831353fbd69d098_rle_crop_4000499143_0.png.png imagette278828681760705345/1760704765_2096116_1389821486_6c80e7be6ac70af5c17f24008fe36bb4_rle_crop_4000499252_0.png.png imagette278828681760705345/1760704765_2096116_1389821484_c83d39c3e8daf38d4fc4bf82658df82b_rle_crop_4000499265_0.png.png imagette278828691760705345/ wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/507b329ef9b6309573e4d202e676a5fc_94783613.png imagette278828681760705345 27882869 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=27882869 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278828691760705345 27882871 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=27882871 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389821646: '1760704625_2089888_1389821441_870cf88fa6833fe93e36907bd7d933e1_rle_crop_4000498785_0.png'} change filename to text .imagette278828711760705345/ imagette278828711760705345/1760704625_2089888_1389821441_870cf88fa6833fe93e36907bd7d933e1_rle_crop_4000498785_0.png.png imagette278828721760705346/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/1213ae370682fb003a46d039699a5b23_44457454.png imagette278828711760705345 27882872 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=27882872 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278828721760705346 27882873 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=27882873 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389821644: '1760704625_2089888_1389821407_5ff73cae03c28372f95a09d1e6eb5eb4_rle_crop_4000498793_0.png', 1389821659: '1760704643_2090325_1389821438_14a9f1eb5498b9dc75da40e6b13fc768_rle_crop_4000498925_0.png', 1389821660: '1760704643_2090325_1389821427_8f9ac0d5b31bcf0afbe6b573767667a9_rle_crop_4000498952_0.png', 1389821713: '1760704746_2095751_1389821514_bdaec96059c09765b472bd0d14a986e6_rle_crop_4000499110_0.png', 1389821714: '1760704746_2095751_1389821510_0f15400f69ba96de6c50341aa6c49595_rle_crop_4000499126_0.png', 1389821792: '1760704886_2102647_1389821514_bdaec96059c09765b472bd0d14a986e6_rle_crop_4000499110_0.png', 1389821793: '1760704886_2102647_1389821510_0f15400f69ba96de6c50341aa6c49595_rle_crop_4000499126_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/3b5eacdb44d01836a03a148ff4bf53e0_27655632.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/46a10e903889d99eada0ebe23f448ade_85240272.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/45ed8fba3cf47cb48138a7421e268467_74906185.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/7b02dcbed96d83118004d2e00c467c9f_77989662.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/380fabfa3032aed26e35ed164c2715da_90179074.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/7b02dcbed96d83118004d2e00c467c9f_92017379.png change filename to text .imagette278828731760705346/ imagette278828731760705346/1760704643_2090325_1389821438_14a9f1eb5498b9dc75da40e6b13fc768_rle_crop_4000498925_0.png.png imagette278828731760705346/1760704746_2095751_1389821514_bdaec96059c09765b472bd0d14a986e6_rle_crop_4000499110_0.png.png imagette278828731760705346/1760704886_2102647_1389821510_0f15400f69ba96de6c50341aa6c49595_rle_crop_4000499126_0.png.png imagette278828731760705346/1760704643_2090325_1389821427_8f9ac0d5b31bcf0afbe6b573767667a9_rle_crop_4000498952_0.png.png imagette278828731760705346/1760704625_2089888_1389821407_5ff73cae03c28372f95a09d1e6eb5eb4_rle_crop_4000498793_0.png.png imagette278828731760705346/1760704746_2095751_1389821510_0f15400f69ba96de6c50341aa6c49595_rle_crop_4000499126_0.png.png imagette278828731760705346/1760704886_2102647_1389821514_bdaec96059c09765b472bd0d14a986e6_rle_crop_4000499110_0.png.png imagette278828771760705346/ imagette278828781760705346/ wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/380fabfa3032aed26e35ed164c2715da_16562099.png imagette278828731760705346 27882877 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=27882877 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278828771760705346 27882878 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=27882878 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278828781760705346 27882870 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=27882870 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389821662: '1760704643_2090325_1389821433_ce3fc9000b7cfb4efa625ee374404019_rle_crop_4000498947_0.png', 1389821717: '1760704746_2095751_1389821506_0fdd5efa37b48793b831353fbd69d098_rle_crop_4000499142_0.png', 1389821795: '1760704886_2102647_1389821506_0fdd5efa37b48793b831353fbd69d098_rle_crop_4000499142_0.png', 1389822074: '1760705225_2119578_1389821895_a36a8d4a9b7d7024012724063bdc713e_rle_crop_4000502558_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/9ffb7e26671e8838bec09b9cffe71baf_21311693.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/f88b3d2429c47fa01a0a361cbe4665e7_40994664.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/f88b3d2429c47fa01a0a361cbe4665e7_43891516.png change filename to text .imagette278828701760705346/ imagette278828701760705346/1760704643_2090325_1389821433_ce3fc9000b7cfb4efa625ee374404019_rle_crop_4000498947_0.png.png imagette278828701760705346/1760704746_2095751_1389821506_0fdd5efa37b48793b831353fbd69d098_rle_crop_4000499142_0.png.png imagette278828701760705346/1760705225_2119578_1389821895_a36a8d4a9b7d7024012724063bdc713e_rle_crop_4000502558_0.png.png imagette278828701760705346/1760704886_2102647_1389821506_0fdd5efa37b48793b831353fbd69d098_rle_crop_4000499142_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/ba8ae8fdc39b9c27f117ddf9f43f6017_62239447.png imagette278828701760705346 27882874 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=27882874 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389821658: '1760704643_2090325_1389821436_08262f9b39285c2b17dbc6baf31bb763_rle_crop_4000498939_0.png', 1389821712: '1760704746_2095751_1389821521_23b6ac529005edbeef60d75893b63563_rle_crop_4000499086_0.png', 1389821733: '1760704765_2096116_1389821524_3193a51f33fe618c435755dcff8362eb_rle_crop_4000499241_0.png', 1389821734: '1760704765_2096116_1389821486_6c80e7be6ac70af5c17f24008fe36bb4_rle_crop_4000499247_0.png', 1389821778: '1760704866_2101351_1389821638_ffd6a6eb75b90f898225f01019bf5765_rle_crop_4000499357_0.png', 1389821779: '1760704866_2101351_1389821613_f0c81fa81ea1296683f6f69d37d8c14b_rle_crop_4000499375_0.png', 1389821790: '1760704886_2102647_1389821521_23b6ac529005edbeef60d75893b63563_rle_crop_4000499086_0.png', 1389821899: '1760705005_2109573_1389821694_184f849d4f459f0192c1966b01973d30_rle_crop_4000501319_0.png', 1389822061: '1760705225_2119578_1389821885_661f993034644ed477147da133fe78f5_rle_crop_4000502578_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/387089279e236650a9c4b57a751a030d_73353128.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/bf67d14d1ea11ca140999876676c6c93_92796128.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/98522bde6c8950bc45bd9c039beb5069_82425875.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/7491aad54f1d6d8a678e95c3a7c31e01_80855017.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/9cd7cb31762cec39c116c3db3b4fbd8f_30882235.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/d521b859a27d6421db45b7ac8b6621d3_60110551.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/bf67d14d1ea11ca140999876676c6c93_74824155.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/fea93491f501e2a5e9f3d39a79daac79_75668344.png change filename to text .imagette278828741760705346/ imagette278828741760705346/1760704866_2101351_1389821613_f0c81fa81ea1296683f6f69d37d8c14b_rle_crop_4000499375_0.png.png imagette278828741760705346/1760705005_2109573_1389821694_184f849d4f459f0192c1966b01973d30_rle_crop_4000501319_0.png.png imagette278828741760705346/1760704746_2095751_1389821521_23b6ac529005edbeef60d75893b63563_rle_crop_4000499086_0.png.png imagette278828741760705346/1760704765_2096116_1389821486_6c80e7be6ac70af5c17f24008fe36bb4_rle_crop_4000499247_0.png.png imagette278828741760705346/1760704886_2102647_1389821521_23b6ac529005edbeef60d75893b63563_rle_crop_4000499086_0.png.png imagette278828741760705346/1760705225_2119578_1389821885_661f993034644ed477147da133fe78f5_rle_crop_4000502578_0.png.png imagette278828741760705346/1760704866_2101351_1389821638_ffd6a6eb75b90f898225f01019bf5765_rle_crop_4000499357_0.png.png imagette278828741760705346/1760704765_2096116_1389821524_3193a51f33fe618c435755dcff8362eb_rle_crop_4000499241_0.png.png imagette278828741760705346/1760704643_2090325_1389821436_08262f9b39285c2b17dbc6baf31bb763_rle_crop_4000498939_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/9efa337736e6a2796714e5b9d7ff37e8_66960082.png imagette278828741760705346 27882875 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=27882875 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389821661: '1760704643_2090325_1389821440_f5cc1ee642ca517109f9f42fd6e32cf4_rle_crop_4000498913_0.png'} change filename to text .imagette278828751760705347/ imagette278828751760705347/1760704643_2090325_1389821440_f5cc1ee642ca517109f9f42fd6e32cf4_rle_crop_4000498913_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/cb282c66599ac46bc8fd3729a4e6e756_44465184.png imagette278828751760705347 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27882842 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27882879,27882880,27882881,27882882,27882883,27882884,27882885,27882886,27882887,27882888,27882889,27882890?tags=papier,cartonnette,kraft,Carton_brun,plastique,metal,autre_refus,Teint_Dans_La_Masse,Carton_gris,environnement,mal_croppe,flou your option no_mail is active, we will not send the real mail to your client args[1389822026] : ('0.0349361512665389',) no score found for photo 1389822026 We are sending mail with results at report@fotonower.com refus_total : 0.0349361512665389 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=27882842 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_P27882842_17-10-2025_14_49_05.pdf results_Auto_P27882842_17-10-2025_14_49_05.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27882842_17-10-2025_14_49_05.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','27882842','results_Auto_P27882842_17-10-2025_14_49_05.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27882842_17-10-2025_14_49_05.pdf','pdf','','0.09','0.0349361512665389') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27882842]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1389822026] map_info['map_portfolio_photo'] : {27882842: [1389822026, 1389821959, 1389821955, 1389821952, 1389821946, 1389821943, 1389821941, 1389821920, 1389821917, 1389821913, 1389821897, 1389821895, 1389821891, 1389821885, 1389821881, 1389821877, 1389821810, 1389821807, 1389821805, 1389821804, 1389821801, 1389821783, 1389821777, 1389821774, 1389821772, 1389821770, 1389821748, 1389821743, 1389821740, 1389821698, 1389821694, 1389821683, 1389821679, 1389821676, 1389821673, 1389821672, 1389821670, 1389821645, 1389821641, 1389821638, 1389821636, 1389821613, 1389821576, 1389821572, 1389821557, 1389821554, 1389821544, 1389821524, 1389821521, 1389821518, 1389821514, 1389821510, 1389821506, 1389821488, 1389821486, 1389821484, 1389821482, 1389821441, 1389821440, 1389821438, 1389821436, 1389821433, 1389821427, 1389821411, 1389821407, 1389821404, 1389821399, 1389821375, 1389821371, 1389821365, 1389821359, 1389821356]} final : False mtd_id 4302 list_pids : [1389822026] 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, '3954612') ('4302', '27882842', '1389822026', None, None, None, None, None, '3954612') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 1 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '27882842', '1389822026', None, None, None, None, None, '3954612')] time used for this insertion : 0.035802364349365234 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.521275758743286 time spend to save output : 0.03598380088806152 total time spend for step 4 : 3.5572595596313477 step5:split_time_score Fri Oct 17 14:49: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 : ['27882842'] 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 : [('27882842',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27882842) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1389822026: {'path': 'temp/1760705345_1173464_1389822026_8da7ea9baa1465be5a4117336cd8ba3a.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 = 27882842; (('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 = 27882842 group by h (('14', 72),) 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=27882842 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 (27882842) 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 (27882842) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 17102025 27882842 Nombre de photos uploadées : 72 / 23040 (0%) 17102025 27882842 Nombre de photos taguées (types de déchets): 0 / 72 (0%) 17102025 27882842 Nombre de photos taguées (volume) : 0 / 72 (0%) [{'photo_id': 1389821375, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/f5bee1ca984b3093ba4372aef87e340e.jpg', 'username': None, 'uploaded_at': 1760704278, 'text': 'image_17102025_14_30_03_10157.jpg'}, {'photo_id': 1389821371, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/00eab17151c5d21df590ff00b57bd55f.jpg', 'username': None, 'uploaded_at': 1760704278, 'text': 'image_17102025_14_30_14_10137.jpg'}, {'photo_id': 1389821365, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/063904897eb6f7d6ba991c9e7fea9f5f.jpg', 'username': None, 'uploaded_at': 1760704278, 'text': 'image_17102025_14_30_24_10136.jpg'}, {'photo_id': 1389821359, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/f90a91d1cc9735c1acad336cc3ad8710.jpg', 'username': None, 'uploaded_at': 1760704278, 'text': 'image_17102025_14_30_34_10135.jpg'}] 0 [] elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 7.867813110351562e-06 ???????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.004095315933227539 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 27882842, '2025-10-17' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-10-17' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2461577,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6608424186706543 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps SELECT dri.dashboard_entry_day, dr.dashboard_run_id, dr.mtr_portfolio_id, dr.id, dr.hashtag, dr.completion_json FROM MTRPhoto.dashboard_results dr, MTRPhoto.dashboard_run_ids dri, MTRPhoto.dashboard_entry_day ded WHERE ded.id= 2461577 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27870991, 'dashboard_result_id': 16470251, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870991_17-10-2025_09_13_08.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871685, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871719, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27873027, 'dashboard_result_id': 16470252, '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_P27873027_17-10-2025_10_06_09.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873413, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873424, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27873029, 'dashboard_result_id': 16470253, '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_P27873029_17-10-2025_10_06_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873512, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873513, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873517, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873518, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873520, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27871053, 'dashboard_result_id': 16470254, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871053_17-10-2025_09_13_13.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871708, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871745, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27873031, 'dashboard_result_id': 16470255, '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_P27873031_17-10-2025_10_06_07.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873387, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873388, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873392, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873395, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873398, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27873033, 'dashboard_result_id': 16470256, '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_P27873033_17-10-2025_10_05_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873313, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873315, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873317, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873320, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873322, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27873035, 'dashboard_result_id': 16470257, '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_P27873035_17-10-2025_10_04_39.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873260, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873261, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873263, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873266, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873269, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873271, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27873037, 'dashboard_result_id': 16470258, '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_P27873037_17-10-2025_10_04_07.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873213, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873217, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873221, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873223, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27871396, 'dashboard_result_id': 16470259, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871396_17-10-2025_09_13_41.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27871754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871773, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871783, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871793, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871799, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871812, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871817, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27873039, 'dashboard_result_id': 16470260, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873039_17-10-2025_10_02_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873078, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873079, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873082, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873083, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873085, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873089, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27873041, 'dashboard_result_id': 16470261, '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_P27873041_17-10-2025_10_02_38.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873102, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873103, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873104, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873107, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873110, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873111, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873112, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873113, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27871526, 'dashboard_result_id': 16470262, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871526_17-10-2025_09_14_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871808, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871867, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27873044, 'dashboard_result_id': 16470263, '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_P27873044_17-10-2025_10_03_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27873188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873189, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873190, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873192, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873198, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873199, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27871534, 'dashboard_result_id': 16470264, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871534_17-10-2025_09_21_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872329, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872337, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872379, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27871543, 'dashboard_result_id': 16470265, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871543_17-10-2025_09_20_20.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27872283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872307, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872315, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872323, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27871551, 'dashboard_result_id': 16470266, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871551_17-10-2025_09_14_14.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871864, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871892, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871904, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871908, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27871561, 'dashboard_result_id': 16470267, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871561_17-10-2025_09_20_07.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27872253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872273, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872298, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872302, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27871572, 'dashboard_result_id': 16470268, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871572_17-10-2025_09_18_54.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872225, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872231, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872243, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27871576, 'dashboard_result_id': 16470269, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871576_17-10-2025_09_18_40.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872160, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872171, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872176, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872183, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872208, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872220, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27871581, 'dashboard_result_id': 16470270, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871581_17-10-2025_09_18_27.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872108, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872138, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872151, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872172, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27871590, 'dashboard_result_id': 16470271, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871590_17-10-2025_09_18_27.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872112, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872154, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872170, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27871598, 'dashboard_result_id': 16470272, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871598_17-10-2025_09_17_46.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872101, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872105, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872107, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872113, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872147, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27871605, 'dashboard_result_id': 16470273, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871605_17-10-2025_09_14_49.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871917, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871930, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871969, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27871619, 'dashboard_result_id': 16470274, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871619_17-10-2025_09_14_56.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871928, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871942, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871946, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871951, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871956, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871979, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27871638, 'dashboard_result_id': 16470275, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871638_17-10-2025_09_17_24.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27872054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872067, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872096, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27871656, 'dashboard_result_id': 16470276, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871656_17-10-2025_09_16_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27872023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872037, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872043, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872046, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872052, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27870700, 'dashboard_result_id': 16470277, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870700_17-10-2025_08_40_17.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870943, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870952, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27870807, 'dashboard_result_id': 16470278, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870807_17-10-2025_08_40_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870869, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870889, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27870679, 'dashboard_result_id': 16470279, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870679_17-10-2025_09_11_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870753, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27870695, 'dashboard_result_id': 16470280, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870695_17-10-2025_14_01_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870708, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870720, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27871137, 'dashboard_result_id': 16470281, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871137_17-10-2025_14_01_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871146, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871158, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27871563, 'dashboard_result_id': 16470282, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871563_17-10-2025_11_04_28.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871599, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27872616, 'dashboard_result_id': 16470283, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872616_17-10-2025_11_09_06.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27872629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872650, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872656, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27872805, 'dashboard_result_id': 16470284, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872805_17-10-2025_10_23_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872877, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27872807, 'dashboard_result_id': 16470285, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872807_17-10-2025_11_35_48.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872821, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27873114, 'dashboard_result_id': 16470286, '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_P27873114_17-10-2025_10_21_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873138, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873143, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27874123, 'dashboard_result_id': 16470287, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27874123_17-10-2025_10_33_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27874130, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27874131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27874132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27874133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27874134, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27874135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27874136, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27874137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27874138, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27874139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27874140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27874141, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27874825, 'dashboard_result_id': 16470288, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27874825_17-10-2025_13_00_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27874853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27874866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27874867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27874868, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27874869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27874870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27874871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27874872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27874885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27874886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27874887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27874888, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27875457, 'dashboard_result_id': 16470289, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27875457_17-10-2025_13_01_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27875516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27875521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27875524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27875528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27875533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27875538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27875544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27875549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27875555, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27875559, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27875564, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27875568, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27876116, 'dashboard_result_id': 16470290, '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_P27876116_17-10-2025_13_01_09.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27876146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27876150, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27876153, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27876157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27876161, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27876165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27876167, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27876170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27876172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27876174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27876179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27876182, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27876345, 'dashboard_result_id': 16470291, '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_P27876345_17-10-2025_13_01_38.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27876379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27876384, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27876388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27876392, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27876397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27876401, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27876404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27876408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27876411, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27876415, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27876418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27876422, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27876700, 'dashboard_result_id': 16470292, '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_P27876700_17-10-2025_11_47_25.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27876724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27876725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27876726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27876727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27876729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27876730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27876731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27876733, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27876735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27876736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27876737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27876738, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27877001, 'dashboard_result_id': 16470293, '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_P27877001_17-10-2025_12_17_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27877051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27877052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27877053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27877054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27877055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27877056, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27877057, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27877058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27877059, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27877060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27877061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27877062, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27876781, 'dashboard_result_id': 16470294, '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_P27876781_17-10-2025_12_41_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27876786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27876787, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27876788, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27876789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27876790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27876791, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27876792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27876793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27876794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27876795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27876796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27876797, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27880812, 'dashboard_result_id': 16470295, '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_P27880812_17-10-2025_13_49_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27880813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27880814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27880815, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27880816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27880817, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27880818, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27880819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27880820, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27880821, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27880822, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27880823, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27880824, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27881278, 'dashboard_result_id': 16470296, '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_P27881278_17-10-2025_14_01_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27881283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27881284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27881285, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27881286, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27881287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27881288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27881289, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27881290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27881291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27881292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27881293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27881294, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27881741, 'dashboard_result_id': 16470297, '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_P27881741_17-10-2025_14_18_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27881746, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27881747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27881748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27881749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27881750, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27881751, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27881752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27881753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27881754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27881755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27881756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27881757, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27882357, 'dashboard_result_id': 16470298, '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_P27882357_17-10-2025_14_33_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27882364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27882365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27882366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27882367, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27882368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27882369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27882370, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27882371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27882372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27882373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27882374, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27882375, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2471019, 'mtr_portfolio_id': 27882842, 'dashboard_result_id': 16470299, '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_P27882842_17-10-2025_14_45_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27882867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27882868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27882869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27882870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27882871, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27882872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27882873, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27882874, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27882875, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27882876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27882877, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27882878, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870991 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870991 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27870991 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870991 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870991 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27870991 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870991_17-10-2025_09_13_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27870991 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870991_17-10-2025_09_13_08.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871685, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871719, 'pht': 3726}}" where mtr_portfolio_id = 27870991 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873027 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873027 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27873027 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873027 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873027 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27873027 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873027_17-10-2025_10_06_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873027 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873027_17-10-2025_10_06_09.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873413, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873424, 'pht': 3726}}" where mtr_portfolio_id = 27873027 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873029 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873029 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27873029 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873029 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873029 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27873029 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873029_17-10-2025_10_06_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873029 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873029_17-10-2025_10_06_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873512, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873513, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873517, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873518, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873520, 'pht': 3726}}" where mtr_portfolio_id = 27873029 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871053 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871053 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871053 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871053 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871053 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871053 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871053_17-10-2025_09_13_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871053 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871053_17-10-2025_09_13_13.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871708, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871745, 'pht': 3726}}" where mtr_portfolio_id = 27871053 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873031 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873031 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27873031 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873031 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873031 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27873031 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873031_17-10-2025_10_06_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873031 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873031_17-10-2025_10_06_07.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873387, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873388, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873392, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873395, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873398, 'pht': 3726}}" where mtr_portfolio_id = 27873031 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873033 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873033 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27873033 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873033 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873033 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27873033 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873033_17-10-2025_10_05_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873033 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873033_17-10-2025_10_05_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873313, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873315, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873317, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873320, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873322, 'pht': 3726}}" where mtr_portfolio_id = 27873033 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873035 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873035 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27873035 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873035 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873035 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27873035 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873035_17-10-2025_10_04_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873035 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873035_17-10-2025_10_04_39.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873260, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873261, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873263, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873266, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873269, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873271, 'pht': 3726}}" where mtr_portfolio_id = 27873035 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873037 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873037 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27873037 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873037 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873037 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27873037 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873037_17-10-2025_10_04_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873037 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873037_17-10-2025_10_04_07.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873213, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873217, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873221, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873223, 'pht': 3726}}" where mtr_portfolio_id = 27873037 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871396 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871396 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871396 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871396 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871396 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871396 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871396_17-10-2025_09_13_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871396 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871396_17-10-2025_09_13_41.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27871754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871773, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871783, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871793, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871799, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871812, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871817, 'pht': 3726}}" where mtr_portfolio_id = 27871396 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873039 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873039 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27873039 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873039 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873039 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27873039 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873039_17-10-2025_10_02_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873039 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873039_17-10-2025_10_02_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873078, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873079, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873082, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873083, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873085, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873089, 'pht': 3726}}" where mtr_portfolio_id = 27873039 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873041 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873041 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27873041 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873041 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873041 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27873041 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873041_17-10-2025_10_02_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873041 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873041_17-10-2025_10_02_38.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873102, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873103, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873104, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873107, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873110, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873111, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873112, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873113, 'pht': 3726}}" where mtr_portfolio_id = 27873041 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871526 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871526 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871526 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871526 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871526 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871526 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871526_17-10-2025_09_14_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871526 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871526_17-10-2025_09_14_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871808, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871867, 'pht': 3726}}" where mtr_portfolio_id = 27871526 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873044 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873044 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27873044 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873044 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873044 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27873044 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873044_17-10-2025_10_03_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873044 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873044_17-10-2025_10_03_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27873188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873189, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873190, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873192, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873198, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873199, 'pht': 3726}}" where mtr_portfolio_id = 27873044 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871534 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871534 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871534 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871534 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871534 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871534 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871534_17-10-2025_09_21_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871534 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871534_17-10-2025_09_21_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872329, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872337, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872379, 'pht': 3726}}" where mtr_portfolio_id = 27871534 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871543 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871543 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871543 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871543 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871543 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871543 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871543_17-10-2025_09_20_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871543 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871543_17-10-2025_09_20_20.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27872283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872307, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872315, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872323, 'pht': 3726}}" where mtr_portfolio_id = 27871543 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871551 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871551 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871551 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871551 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871551 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871551 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871551_17-10-2025_09_14_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871551 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871551_17-10-2025_09_14_14.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871864, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871892, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871904, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871908, 'pht': 3726}}" where mtr_portfolio_id = 27871551 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871561 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871561 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871561 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871561 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871561 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871561 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871561_17-10-2025_09_20_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871561 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871561_17-10-2025_09_20_07.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27872253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872273, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872298, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872302, 'pht': 3726}}" where mtr_portfolio_id = 27871561 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871572 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871572 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871572 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871572 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871572 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871572 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871572_17-10-2025_09_18_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871572 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871572_17-10-2025_09_18_54.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872225, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872231, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872243, 'pht': 3726}}" where mtr_portfolio_id = 27871572 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871576 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871576 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871576 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871576 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871576 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871576 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871576_17-10-2025_09_18_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871576 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871576_17-10-2025_09_18_40.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872160, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872171, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872176, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872183, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872208, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872220, 'pht': 3726}}" where mtr_portfolio_id = 27871576 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871581 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871581 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871581 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871581 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871581 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871581 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871581_17-10-2025_09_18_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871581 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871581_17-10-2025_09_18_27.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872108, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872138, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872151, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872172, 'pht': 3726}}" where mtr_portfolio_id = 27871581 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871590 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871590 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871590 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871590 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871590 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871590 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871590_17-10-2025_09_18_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871590 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871590_17-10-2025_09_18_27.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872112, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872154, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872170, 'pht': 3726}}" where mtr_portfolio_id = 27871590 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871598 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871598 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871598 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871598 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871598 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871598 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871598_17-10-2025_09_17_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871598 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871598_17-10-2025_09_17_46.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872101, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872105, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872107, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872113, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872147, 'pht': 3726}}" where mtr_portfolio_id = 27871598 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871605 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871605 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871605 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871605 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871605 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871605 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871605_17-10-2025_09_14_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871605 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871605_17-10-2025_09_14_49.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871917, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871930, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871969, 'pht': 3726}}" where mtr_portfolio_id = 27871605 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871619 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871619 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871619 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871619 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871619 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871619 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871619_17-10-2025_09_14_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871619 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871619_17-10-2025_09_14_56.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871928, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871942, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871946, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871951, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871956, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871979, 'pht': 3726}}" where mtr_portfolio_id = 27871619 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871638 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871638 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871638 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871638 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871638 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871638 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871638_17-10-2025_09_17_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871638 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871638_17-10-2025_09_17_24.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27872054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872067, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872096, 'pht': 3726}}" where mtr_portfolio_id = 27871638 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871656 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871656 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871656 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871656 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871656 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871656 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871656_17-10-2025_09_16_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871656 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871656_17-10-2025_09_16_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27872023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872037, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872043, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872046, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872052, 'pht': 3726}}" where mtr_portfolio_id = 27871656 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870700 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870700 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27870700 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870700 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870700 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27870700 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870700_17-10-2025_08_40_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27870700 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870700_17-10-2025_08_40_17.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870943, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870952, 'pht': 3726}}" where mtr_portfolio_id = 27870700 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870807 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870807 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27870807 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870807 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870807 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27870807 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870807_17-10-2025_08_40_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27870807 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870807_17-10-2025_08_40_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870869, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870889, 'pht': 3726}}" where mtr_portfolio_id = 27870807 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870679 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952473, 'mtr_portfolio_id': 27870679, 'created_at': datetime.datetime(2025, 10, 17, 9, 11, 39), 'result': '0.026132705072848785', 'result_long': None, 'result_double': None}] Qualite : 0.026132705072848785 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27870679 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870679_17-10-2025_09_11_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27870679 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870679_17-10-2025_09_11_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870753, 'pht': 3726}}" where mtr_portfolio_id = 27870679 and dashboard_run_id = 2471019 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27870679 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16470279, 0.026132705072848785, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870679_17-10-2025_09_11_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870753, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870695 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952474, 'mtr_portfolio_id': 27870695, 'created_at': datetime.datetime(2025, 10, 17, 14, 1, 4), 'result': '0.03953099328767383', 'result_long': None, 'result_double': None}] Qualite : 0.03953099328767383 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27870695 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870695_17-10-2025_14_01_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27870695 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870695_17-10-2025_14_01_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870708, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870720, 'pht': 3726}}" where mtr_portfolio_id = 27870695 and dashboard_run_id = 2471019 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27870695 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16470280, 0.03953099328767383, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870695_17-10-2025_14_01_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870708, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870720, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871137 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952569, 'mtr_portfolio_id': 27871137, 'created_at': datetime.datetime(2025, 10, 17, 14, 1, 5), 'result': '0.04809880323696534', 'result_long': None, 'result_double': None}] Qualite : 0.04809880323696534 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871137 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871137_17-10-2025_14_01_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871137 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871137_17-10-2025_14_01_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871146, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871158, 'pht': 3726}}" where mtr_portfolio_id = 27871137 and dashboard_run_id = 2471019 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27871137 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16470281, 0.04809880323696534, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871137_17-10-2025_14_01_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871146, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871158, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871563 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871563 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871563 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871563 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871563 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952649, 'mtr_portfolio_id': 27871563, 'created_at': datetime.datetime(2025, 10, 17, 11, 4, 23), 'result': 0.0, 'result_long': None, 'result_double': None}] Qualite : 0.0 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871563 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871563_17-10-2025_11_04_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871563 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871563_17-10-2025_11_04_28.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871599, 'pht': 3726}}" where mtr_portfolio_id = 27871563 and dashboard_run_id = 2471019 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27871563 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16470282, 0.0, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871563_17-10-2025_11_04_28.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871599, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872616 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872616 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27872616 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872616 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872616 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27872616 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872616_17-10-2025_11_09_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27872616 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872616_17-10-2025_11_09_06.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27872629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872650, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872656, 'pht': 3726}}" where mtr_portfolio_id = 27872616 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872805 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952854, 'mtr_portfolio_id': 27872805, 'created_at': datetime.datetime(2025, 10, 17, 10, 23, 5), 'result': '0.05071978763234181', 'result_long': None, 'result_double': None}] Qualite : 0.05071978763234181 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27872805 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872805_17-10-2025_10_23_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27872805 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872805_17-10-2025_10_23_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872877, 'pht': 3726}}" where mtr_portfolio_id = 27872805 and dashboard_run_id = 2471019 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27872805 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16470284, 0.05071978763234181, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872805_17-10-2025_10_23_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872877, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872807 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952855, 'mtr_portfolio_id': 27872807, 'created_at': datetime.datetime(2025, 10, 17, 11, 35, 43), 'result': '0.06802531329361987', 'result_long': None, 'result_double': None}] Qualite : 0.06802531329361987 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27872807 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872807_17-10-2025_11_35_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27872807 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872807_17-10-2025_11_35_48.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872821, 'pht': 3726}}" where mtr_portfolio_id = 27872807 and dashboard_run_id = 2471019 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27872807 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16470285, 0.06802531329361987, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872807_17-10-2025_11_35_48.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872821, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873114 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': 3952939, 'mtr_portfolio_id': 27873114, 'created_at': datetime.datetime(2025, 10, 17, 10, 21, 6), 'result': '0.04361525650567554', 'result_long': None, 'result_double': None}] Qualite : 0.04361525650567554 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27873114 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873114_17-10-2025_10_21_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873114 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_P27873114_17-10-2025_10_21_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873138, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873143, 'pht': 3726}}" where mtr_portfolio_id = 27873114 and dashboard_run_id = 2471019 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`=27873114 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16470286, 0.04361525650567554, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873114_17-10-2025_10_21_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873138, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873143, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27874123 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3953099, 'mtr_portfolio_id': 27874123, 'created_at': datetime.datetime(2025, 10, 17, 10, 33, 3), 'result': '0.03435365559906634', 'result_long': None, 'result_double': None}] Qualite : 0.03435365559906634 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27874123 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27874123_17-10-2025_10_33_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27874123 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27874123_17-10-2025_10_33_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27874130, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27874131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27874132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27874133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27874134, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27874135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27874136, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27874137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27874138, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27874139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27874140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27874141, 'pht': 3726}}" where mtr_portfolio_id = 27874123 and dashboard_run_id = 2471019 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27874123 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16470287, 0.03435365559906634, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27874123_17-10-2025_10_33_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27874130, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27874131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27874132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27874133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27874134, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27874135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27874136, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27874137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27874138, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27874139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27874140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27874141, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27874825 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3953315, 'mtr_portfolio_id': 27874825, 'created_at': datetime.datetime(2025, 10, 17, 13, 0, 33), 'result': '0.0651661421470249', 'result_long': None, 'result_double': None}] Qualite : 0.0651661421470249 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27874825 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27874825_17-10-2025_13_00_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27874825 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27874825_17-10-2025_13_00_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27874853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27874866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27874867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27874868, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27874869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27874870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27874871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27874872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27874885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27874886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27874887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27874888, 'pht': 3726}}" where mtr_portfolio_id = 27874825 and dashboard_run_id = 2471019 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27874825 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16470288, 0.0651661421470249, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27874825_17-10-2025_13_00_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27874853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27874866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27874867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27874868, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27874869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27874870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27874871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27874872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27874885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27874886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27874887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27874888, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27875457 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3953442, 'mtr_portfolio_id': 27875457, 'created_at': datetime.datetime(2025, 10, 17, 13, 1, 2), 'result': '0.029551397432064735', 'result_long': None, 'result_double': None}] Qualite : 0.029551397432064735 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27875457 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27875457_17-10-2025_13_01_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27875457 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27875457_17-10-2025_13_01_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27875516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27875521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27875524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27875528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27875533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27875538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27875544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27875549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27875555, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27875559, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27875564, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27875568, 'pht': 3726}}" where mtr_portfolio_id = 27875457 and dashboard_run_id = 2471019 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`=27875457 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16470289, 0.029551397432064735, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27875457_17-10-2025_13_01_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27875516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27875521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27875524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27875528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27875533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27875538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27875544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27875549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27875555, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27875559, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27875564, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27875568, 'pht': 3726}}") 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 = 27876116 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': 3953532, 'mtr_portfolio_id': 27876116, 'created_at': datetime.datetime(2025, 10, 17, 13, 1, 5), 'result': '0.037018133041123315', 'result_long': None, 'result_double': None}] Qualite : 0.037018133041123315 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27876116 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27876116_17-10-2025_13_01_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27876116 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_P27876116_17-10-2025_13_01_09.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27876146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27876150, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27876153, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27876157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27876161, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27876165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27876167, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27876170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27876172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27876174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27876179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27876182, 'pht': 3726}}" where mtr_portfolio_id = 27876116 and dashboard_run_id = 2471019 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`=27876116 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16470290, 0.037018133041123315, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27876116_17-10-2025_13_01_09.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27876146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27876150, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27876153, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27876157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27876161, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27876165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27876167, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27876170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27876172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27876174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27876179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27876182, '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 = 27876345 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': 3953577, 'mtr_portfolio_id': 27876345, 'created_at': datetime.datetime(2025, 10, 17, 13, 1, 33), 'result': '0.08479680774141027', 'result_long': None, 'result_double': None}] Qualite : 0.08479680774141027 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27876345 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27876345_17-10-2025_13_01_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27876345 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_P27876345_17-10-2025_13_01_38.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27876379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27876384, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27876388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27876392, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27876397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27876401, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27876404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27876408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27876411, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27876415, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27876418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27876422, 'pht': 3726}}" where mtr_portfolio_id = 27876345 and dashboard_run_id = 2471019 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`=27876345 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16470291, 0.08479680774141027, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27876345_17-10-2025_13_01_38.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27876379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27876384, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27876388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27876392, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27876397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27876401, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27876404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27876408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27876411, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27876415, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27876418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27876422, '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 = 27876700 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 = 27876700 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 = 27876700 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27876700 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 = 27876700 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 = 27876700 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27876700_17-10-2025_11_47_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27876700 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_P27876700_17-10-2025_11_47_25.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27876724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27876725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27876726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27876727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27876729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27876730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27876731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27876733, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27876735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27876736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27876737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27876738, 'pht': 3726}}" where mtr_portfolio_id = 27876700 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27877001 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 = 27877001 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 = 27877001 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27877001 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 = 27877001 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 = 27877001 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27877001_17-10-2025_12_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27877001 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_P27877001_17-10-2025_12_17_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27877051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27877052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27877053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27877054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27877055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27877056, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27877057, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27877058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27877059, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27877060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27877061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27877062, 'pht': 3726}}" where mtr_portfolio_id = 27877001 and dashboard_run_id = 2471019 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27876781 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': 3953626, 'mtr_portfolio_id': 27876781, 'created_at': datetime.datetime(2025, 10, 17, 12, 41, 4), 'result': '0.04785570251048855', 'result_long': None, 'result_double': None}] Qualite : 0.04785570251048855 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27876781 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27876781_17-10-2025_12_41_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27876781 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_P27876781_17-10-2025_12_41_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27876786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27876787, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27876788, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27876789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27876790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27876791, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27876792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27876793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27876794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27876795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27876796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27876797, 'pht': 3726}}" where mtr_portfolio_id = 27876781 and dashboard_run_id = 2471019 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`=27876781 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16470294, 0.04785570251048855, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27876781_17-10-2025_12_41_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27876786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27876787, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27876788, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27876789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27876790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27876791, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27876792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27876793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27876794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27876795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27876796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27876797, '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 = 27880812 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': 3954379, 'mtr_portfolio_id': 27880812, 'created_at': datetime.datetime(2025, 10, 17, 13, 49, 5), 'result': '0.025249318020761562', 'result_long': None, 'result_double': None}] Qualite : 0.025249318020761562 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27880812 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27880812_17-10-2025_13_49_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27880812 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_P27880812_17-10-2025_13_49_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27880813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27880814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27880815, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27880816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27880817, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27880818, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27880819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27880820, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27880821, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27880822, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27880823, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27880824, 'pht': 3726}}" where mtr_portfolio_id = 27880812 and dashboard_run_id = 2471019 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`=27880812 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16470295, 0.025249318020761562, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27880812_17-10-2025_13_49_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27880813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27880814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27880815, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27880816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27880817, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27880818, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27880819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27880820, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27880821, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27880822, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27880823, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27880824, '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 = 27881278 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': 3954413, 'mtr_portfolio_id': 27881278, 'created_at': datetime.datetime(2025, 10, 17, 14, 3, 6), 'result': '0.037184829265906126', 'result_long': None, 'result_double': None}] Qualite : 0.037184829265906126 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27881278 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27881278_17-10-2025_14_03_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27881278 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_P27881278_17-10-2025_14_03_16.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27881283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27881284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27881285, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27881286, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27881287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27881288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27881289, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27881290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27881291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27881292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27881293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27881294, 'pht': 3726}}" where mtr_portfolio_id = 27881278 and dashboard_run_id = 2471019 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`=27881278 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16470296, 0.037184829265906126, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27881278_17-10-2025_14_03_16.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27881283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27881284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27881285, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27881286, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27881287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27881288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27881289, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27881290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27881291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27881292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27881293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27881294, '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 = 27881741 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': 3954471, 'mtr_portfolio_id': 27881741, 'created_at': datetime.datetime(2025, 10, 17, 14, 18, 35), 'result': '0.03644710244436949', 'result_long': None, 'result_double': None}] Qualite : 0.03644710244436949 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27881741 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27881741_17-10-2025_14_18_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27881741 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_P27881741_17-10-2025_14_18_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27881746, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27881747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27881748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27881749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27881750, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27881751, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27881752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27881753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27881754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27881755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27881756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27881757, 'pht': 3726}}" where mtr_portfolio_id = 27881741 and dashboard_run_id = 2471021 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`=27881741 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16470297, 0.03644710244436949, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27881741_17-10-2025_14_18_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27881746, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27881747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27881748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27881749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27881750, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27881751, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27881752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27881753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27881754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27881755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27881756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27881757, '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 = 27882357 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': 3954542, 'mtr_portfolio_id': 27882357, 'created_at': datetime.datetime(2025, 10, 17, 14, 33, 2), 'result': '0.053623890661859915', 'result_long': None, 'result_double': None}] Qualite : 0.053623890661859915 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27882357 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27882357_17-10-2025_14_33_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27882357 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_P27882357_17-10-2025_14_33_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27882364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27882365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27882366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27882367, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27882368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27882369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27882370, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27882371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27882372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27882373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27882374, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27882375, 'pht': 3726}}" where mtr_portfolio_id = 27882357 and dashboard_run_id = 2471021 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`=27882357 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16470298, 0.053623890661859915, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27882357_17-10-2025_14_33_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27882364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27882365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27882366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27882367, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27882368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27882369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27882370, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27882371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27882372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27882373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27882374, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27882375, '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 = 27882842 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': 3954612, 'mtr_portfolio_id': 27882842, 'created_at': datetime.datetime(2025, 10, 17, 14, 49, 4), 'result': '0.0349361512665389', 'result_long': None, 'result_double': None}] Qualite : 0.0349361512665389 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27882842 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27882842_17-10-2025_14_49_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27882842 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_P27882842_17-10-2025_14_49_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27882867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27882868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27882869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27882870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27882871, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27882872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27882873, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27882874, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27882875, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27882876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27882877, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27882878, 'pht': 3726}}" where mtr_portfolio_id = 27882842 and dashboard_run_id = 2471021 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`=27882842 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16470299, 0.0349361512665389, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27882842_17-10-2025_14_49_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27882867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27882868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27882869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27882870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27882871, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27882872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27882873, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27882874, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27882875, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27882876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27882877, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27882878, '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 (27870991,27873027,27873029,27871053,27873031,27873033,27873035,27873037,27871396,27873039,27873041,27871526,27873044,27871534,27871543,27871551,27871561,27871572,27871576,27871581,27871590,27871598,27871605,27871619,27871638,27871656,27870700,27870807,27870679,27870695,27871137,27871563,27872616,27872805,27872807,27873114,27874123,27874825,27875457,27876116,27876345,27876700,27877001,27876781,27880812,27881278,27881741,27882357,27882842) result : ((1389765808,), (1389765811,), (1389765817,), (1389765830,), (1389765833,), (1389765834,), (1389765835,), (1389765836,), (1389765838,), (1389765844,), (1389765846,), (1389765848,), (1389765859,), (1389765862,), (1389765864,), (1389765865,), (1389765877,), (1389765880,), (1389765883,), (1389765885,), (1389765887,), (1389765889,), (1389765898,), (1389765903,), (1389765906,), (1389765910,), (1389765919,), (1389765922,), (1389765925,), (1389765928,), (1389765930,), (1389765933,), (1389765940,), (1389765943,), (1389765947,), (1389765962,), (1389765964,), (1389765967,), (1389765970,), (1389765973,), (1389765975,), (1389765993,), (1389765996,), (1389766000,), (1389766001,), (1389766002,), (1389766019,), (1389766023,), (1389766027,), (1389766031,), (1389766034,), (1389766037,), (1389766048,), (1389766051,), (1389766057,), (1389766060,), (1389766063,), (1389766075,), (1389766077,), (1389766080,), (1389766084,), (1389766088,), (1389766090,), (1389766095,), (1389766097,), (1389766099,), (1389766102,), (1389766105,), (1389766109,), (1389766112,), (1389766115,), (1389766118,), (1389766124,), (1389766125,), (1389766126,), (1389766131,), (1389766134,), (1389766138,), (1389766153,), (1389766157,), (1389766159,), (1389766164,), (1389766203,), (1389766186,), (1389766188,), (1389766190,), (1389766194,), (1389766198,), (1389766212,), (1389766214,), (1389766215,), (1389766219,), (1389766233,), (1389766234,), (1389766236,), (1389766239,), (1389766243,), (1389766248,), (1389766281,), (1389766284,), (1389766287,), (1389766289,), (1389766292,), (1389766300,), (1389766302,), (1389766306,), (1389766308,), (1389766311,), (1389766315,), (1389766320,), (1389766323,), (1389766325,), (1389766331,), (1389766340,), (1389766346,), (1389766352,), (1389766357,), (1389766369,), (1389766374,), (1389766375,), (1389766380,), (1389766383,), (1389766390,), (1389766395,), (1389766406,), (1389766414,), (1389766416,), (1389766423,), (1389766430,), (1389766439,), (1389766446,), (1389766456,), (1389766470,), (1389766471,), (1389766476,), (1389766477,), (1389766489,), (1389766491,), (1389766492,), (1389766495,), (1389766496,), (1389766499,), (1389766505,), (1389766506,), (1389766511,), (1389766519,), (1389766523,), (1389766526,), (1389766531,), (1389766534,), (1389766535,), (1389766537,), (1389766542,), (1389766543,), (1389766547,), (1389766548,), (1389766551,), (1389766552,), (1389766556,), (1389766557,), (1389766561,), (1389766566,), (1389766569,), (1389766574,), (1389766582,), (1389766588,), (1389766596,), (1389766599,), (1389766604,), (1389766613,), (1389766624,), (1389766632,), (1389766640,), (1389766649,), (1389766661,), (1389766670,), (1389796114,), (1389796162,), (1389796170,), (1389796183,), (1389796205,), (1389796217,), (1389796396,), (1389797138,), (1389797141,), (1389797144,), (1389797279,), (1389797281,), (1389797325,), (1389797327,), (1389797329,), (1389797332,), (1389797571,), (1389797584,), (1389797651,), (1389798115,), (1389798591,), (1389799008,), (1389799065,), (1389799071,), (1389799087,), (1389799090,), (1389799093,), (1389799096,), (1389799117,), (1389799128,), (1389799293,), (1389799544,), (1389800024,), (1389800040,), (1389800099,), (1389800103,), (1389800179,), (1389800197,), (1389800262,), (1389800463,), (1389800490,), (1389800523,), (1389800567,), (1389800569,), (1389800570,), (1389800572,), (1389800574,), (1389800576,), (1389800579,), (1389800581,), (1389800582,), (1389800584,), (1389800588,), (1389765082,), (1389765084,), (1389765085,), (1389765088,), (1389765091,), (1389765102,), (1389765105,), (1389765110,), (1389765113,), (1389765116,), (1389765118,), (1389765123,), (1389765125,), (1389765128,), (1389765134,), (1389765136,), (1389765142,), (1389765145,), (1389765147,), (1389765149,), (1389765156,), (1389765160,), (1389765163,), (1389765168,), (1389765172,), (1389765174,), (1389765182,), (1389765185,), (1389765187,), (1389765191,), (1389765205,), (1389765208,), (1389765211,), (1389765215,), (1389765218,), (1389765221,), (1389765233,), (1389765235,), (1389765239,), (1389765241,), (1389765255,), (1389765257,), (1389765260,), (1389765267,), (1389765270,), (1389765273,), (1389765284,), (1389765288,), (1389765289,), (1389765290,), (1389765292,), (1389765295,), (1389765302,), (1389765308,), (1389765317,), (1389765319,), (1389765322,), (1389765324,), (1389765326,), (1389765328,), (1389765335,), (1389765339,), (1389765342,), (1389765345,), (1389765347,), (1389765359,), (1389765363,), (1389765367,), (1389765371,), (1389765372,), (1389765375,), (1389765382,), (1389765385,), (1389765390,), (1389765393,), (1389765396,), (1389765400,), (1389765402,), (1389765404,), (1389765406,), (1389765415,), (1389765418,), (1389765429,), (1389765433,), (1389765435,), (1389765437,), (1389765463,), (1389765449,), (1389765454,), (1389765457,), (1389765461,), (1389765477,), (1389765481,), (1389765485,), (1389765487,), (1389765497,), (1389765499,), (1389765501,), (1389765505,), (1389765520,), (1389765523,), (1389765526,), (1389765529,), (1389765531,), (1389765534,), (1389765542,), (1389765544,), (1389765546,), (1389765549,), (1389765560,), (1389765564,), (1389765566,), (1389765571,), (1389765574,), (1389765576,), (1389765590,), (1389765593,), (1389765597,), (1389765601,), (1389765605,), (1389765607,), (1389765611,), (1389765614,), (1389765617,), (1389765620,), (1389765623,), (1389765625,), (1389765628,), (1389765631,), (1389765634,), (1389765640,), (1389765641,), (1389765642,), (1389765645,), (1389765647,), (1389765651,), (1389765663,), (1389765665,), (1389765667,), (1389765670,), (1389765686,), (1389765689,), (1389765692,), (1389765695,), (1389765698,), (1389765701,), (1389765717,), (1389765722,), (1389765725,), (1389765726,), (1389765743,), (1389765746,), (1389765748,), (1389765750,), (1389765751,), (1389765752,), (1389765764,), (1389765768,), (1389765772,), (1389765774,), (1389765786,), (1389765789,), (1389765792,), (1389765795,), (1389765798,), (1389765800,), (1389765820,), (1389765852,), (1389754273,), (1389754275,), (1389754277,), (1389754279,), (1389754283,), (1389754288,), (1389754291,), (1389754294,), (1389754322,), (1389754327,), (1389754332,), (1389754335,), (1389754339,), (1389754343,), (1389754348,), (1389754351,), (1389754353,), (1389754356,), (1389754358,), (1389754361,), (1389754389,), (1389754390,), (1389754393,), (1389754394,), (1389754396,), (1389754397,), (1389754400,), (1389754401,), (1389754404,), (1389754405,), (1389754409,), (1389754411,), (1389754414,), (1389754417,), (1389754420,), (1389754449,), (1389754450,), (1389754452,), (1389754453,), (1389754456,), (1389754457,), (1389754460,), (1389754461,), (1389754465,), (1389754466,), (1389754470,), (1389754473,), (1389754476,), (1389754479,), (1389754504,), (1389754593,), (1389754595,), (1389754596,), (1389754597,), (1389754601,), (1389754604,), (1389754607,), (1389754610,), (1389754614,), (1389754615,), (1389754638,), (1389754640,), (1389754642,), (1389754670,), (1389754673,), (1389754675,), (1389754687,), (1389755557,), (1389755560,), (1389755562,), (1389755563,), (1389755571,), (1389755575,), (1389755579,), (1389755582,), (1389755585,), (1389755587,), (1389755612,), (1389755614,), (1389755617,), (1389755621,), (1389755623,), (1389755625,), (1389755626,), (1389755629,), (1389755654,), (1389755658,), (1389755662,), (1389755666,), (1389755669,), (1389755673,), (1389755697,), (1389755701,), (1389755704,), (1389755712,), (1389755714,), (1389755715,), (1389755717,), (1389755719,), (1389755744,), (1389755747,), (1389755750,), (1389755753,), (1389755756,), (1389755758,), (1389755766,), (1389755769,), (1389755773,), (1389755777,), (1389755803,), (1389755806,), (1389755809,), (1389755812,), (1389755815,), (1389755841,), (1389755843,), (1389755847,), (1389755851,), (1389755855,), (1389755858,), (1389755887,), (1389755889,), (1389755891,), (1389755893,), (1389755911,), (1389755914,), (1389755918,), (1389755922,), (1389755926,), (1389755931,), (1389755935,), (1389756809,), (1389766630,), (1389766636,), (1389766645,), (1389766652,), (1389766658,), (1389766666,), (1389766673,), (1389766679,), (1389766683,), (1389766688,), (1389766689,), (1389766692,), (1389766698,), (1389766701,), (1389766705,), (1389766706,), (1389766710,), (1389766711,), (1389766717,), (1389766718,), (1389766719,), (1389766724,), (1389766725,), (1389766729,), (1389766730,), (1389766734,), (1389766738,), (1389766740,), (1389766743,), (1389766746,), (1389766747,), (1389766751,), (1389766752,), (1389766754,), (1389766761,), (1389766762,), (1389766763,), (1389766770,), (1389766771,), (1389766773,), (1389766774,), (1389766781,), (1389766784,), (1389766786,), (1389766797,), (1389766798,), (1389766801,), (1389766810,), (1389766811,), (1389766813,), (1389766817,), (1389766827,), (1389766831,), (1389766838,), (1389766843,), (1389766848,), (1389766852,), (1389766861,), (1389766867,), (1389766871,), (1389766876,), (1389766878,), (1389766885,), (1389766886,), (1389766893,), (1389766894,), (1389766904,), (1389766907,), (1389766908,), (1389766916,), (1389766919,), (1389766929,), (1389766934,), (1389766944,), (1389766954,), (1389766956,), (1389766971,), (1389766977,), (1389766988,), (1389767006,), (1389767023,), (1389767030,), (1389767044,), (1389767049,), (1389767063,), (1389767077,), (1389767090,), (1389767092,), (1389767106,), (1389767112,), (1389767136,), (1389767143,), (1389767169,), (1389767175,), (1389767190,), (1389767196,), (1389767210,), (1389767214,), (1389767223,), (1389767235,), (1389767244,), (1389767256,), (1389767280,), (1389767302,), (1389767325,), (1389767347,), (1389767369,), (1389767394,), (1389767407,), (1389767412,), (1389767413,), (1389767427,), (1389767434,), (1389767449,), (1389767454,), (1389767474,), (1389767477,), (1389767486,), (1389767493,), (1389767500,), (1389767508,), (1389767530,), (1389767537,), (1389767549,), (1389767558,), (1389767577,), (1389767585,), (1389767598,), (1389767606,), (1389767622,), (1389767629,), (1389767636,), (1389767645,), (1389767659,), (1389767669,), (1389767677,), (1389767682,), (1389767698,), (1389767707,), (1389767713,), (1389767741,), (1389767772,), (1389767775,), (1389767790,), (1389767803,), (1389767819,), (1389767851,), (1389767866,), (1389767875,), (1389767895,), (1389767924,), (1389767954,), (1389767962,), (1389767987,), (1389767994,), (1389768018,), (1389768026,), (1389768051,), (1389768058,), (1389768077,), (1389768088,), (1389768119,), (1389768135,), (1389768153,), (1389768165,), (1389768199,), (1389768205,), (1389768206,), (1389768207,), (1389768239,), (1389768244,), (1389768245,), (1389768275,), (1389768276,), (1389768289,), (1389768298,), (1389768309,), (1389768322,), (1389768350,), (1389768366,), (1389768396,), (1389768401,), (1389768423,), (1389768427,), (1389768453,), (1389768482,), (1389768492,), (1389768525,), (1389768548,), (1389768560,), (1389768576,), (1389768608,), (1389768610,), (1389768644,), (1389768675,), (1389768677,), (1389768719,), (1389768738,), (1389768755,), (1389768775,), (1389768787,), (1389768808,), (1389768819,), (1389768820,), (1389768852,), (1389768855,), (1389768888,), (1389768910,), (1389768941,), (1389776450,), (1389776455,), (1389776459,), (1389777045,), (1389777253,), (1389777256,), (1389777290,), (1389777301,), (1389777660,), (1389777674,), (1389777677,), (1389777679,), (1389777737,), (1389777771,), (1389777884,), (1389777887,), (1389777892,), (1389778484,), (1389778485,), (1389778489,), (1389778495,), (1389778497,), (1389778499,), (1389780127,), (1389780133,), (1389780184,), (1389780228,), (1389780231,), (1389780237,), (1389780243,), (1389781823,), (1389781888,), (1389781966,), (1389782216,), (1389782235,), (1389782242,), (1389782244,), (1389782248,), (1389782252,), (1389782255,), (1389795140,), (1389795194,), (1389795206,), (1389795366,), (1389795375,), (1389795378,), (1389795412,), (1389795440,), (1389795442,), (1389795445,), (1389795449,), (1389795453,), (1389795457,), (1389795606,), (1389795607,), (1389795608,), (1389795610,), (1389795612,), (1389795615,), (1389795623,), (1389795627,), (1389795630,), (1389795632,), (1389795635,), (1389795638,), (1389795660,), (1389795664,), (1389795668,), (1389795672,), (1389795676,), (1389795685,), (1389795701,), (1389795705,), (1389795707,), (1389795710,), (1389795712,), (1389795713,), (1389795718,), (1389795725,), (1389795965,), (1389796104,), (1389796110,), (1389758111,), (1389758114,), (1389758130,), (1389758132,), (1389758134,), (1389758137,), (1389758140,), (1389758143,), (1389758151,), (1389758154,), (1389758157,), (1389758160,), (1389758163,), (1389758174,), (1389758176,), (1389758179,), (1389758181,), (1389758184,), (1389758193,), (1389758194,), (1389758197,), (1389758215,), (1389758217,), (1389758219,), (1389758222,), (1389758224,), (1389758235,), (1389758236,), (1389758237,), (1389758241,), (1389758244,), (1389758247,), (1389758255,), (1389758257,), (1389758260,), (1389758273,), (1389758281,), (1389758284,), (1389758288,), (1389758291,), (1389758293,), (1389758298,), (1389758300,), (1389758303,), (1389758306,), (1389758319,), (1389758322,), (1389758324,), (1389758328,), (1389758331,), (1389758340,), (1389758342,), (1389758360,), (1389758363,), (1389758367,), (1389758369,), (1389758382,), (1389758386,), (1389758390,), (1389758393,), (1389758401,), (1389758403,), (1389758405,), (1389758409,), (1389758414,), (1389758435,), (1389759049,), (1389759052,), (1389759055,), (1389759058,), (1389759071,), (1389759073,), (1389759075,), (1389759079,), (1389759090,), (1389759093,), (1389759097,), (1389759101,), (1389759104,), (1389759112,), (1389759115,), (1389759118,), (1389759121,), (1389759123,), (1389759127,), (1389759135,), (1389759137,), (1389759141,), (1389759145,), (1389759154,), (1389759157,), (1389759161,), (1389759165,), (1389759168,), (1389759176,), (1389759179,), (1389759182,), (1389759185,), (1389759187,), (1389759198,), (1389759201,), (1389759204,), (1389759217,), (1389759220,), (1389759221,), (1389759224,), (1389759227,), (1389759239,), (1389759243,), (1389759248,), (1389759252,), (1389759256,), (1389759258,), (1389759262,), (1389759265,), (1389759268,), (1389759273,), (1389759283,), (1389759286,), (1389759289,), (1389759292,), (1389759295,), (1389759297,), (1389759308,), (1389759311,), (1389759315,), (1389759318,), (1389759328,), (1389759330,), (1389759334,), (1389759338,), (1389759341,), (1389759344,), (1389759353,), (1389759356,), (1389759359,), (1389759361,), (1389759364,), (1389759380,), (1389759686,), (1389759689,), (1389759692,), (1389759695,), (1389759698,), (1389759709,), (1389759713,), (1389759717,), (1389759719,), (1389759721,), (1389759725,), (1389759732,), (1389759734,), (1389759738,), (1389759741,), (1389759751,), (1389759754,), (1389759758,), (1389759762,), (1389759764,), (1389759776,), (1389759779,), (1389759782,), (1389759784,), (1389759785,), (1389759787,), (1389759798,), (1389759800,), (1389759801,), (1389759804,), (1389759818,), (1389759820,), (1389759823,), (1389759826,), (1389759828,), (1389759841,), (1389759844,), (1389759846,), (1389759847,), (1389759850,), (1389759865,), (1389759867,), (1389759870,), (1389759873,), (1389759885,), (1389759889,), (1389759892,), (1389759895,), (1389759900,), (1389759912,), (1389759914,), (1389759916,), (1389759919,), (1389759921,), (1389759924,), (1389759933,), (1389759934,), (1389759936,), (1389759952,), (1389759955,), (1389759959,), (1389759963,), (1389759966,), (1389759969,), (1389759976,), (1389759981,), (1389759986,), (1389759989,), (1389759995,), (1389759996,), (1389759999,), (1389760002,), (1389760004,), (1389760022,), (1389760010,), (1389760015,), (1389760020,), (1389760034,), (1389760037,), (1389760041,), (1389760045,), (1389760057,), (1389760061,), (1389760065,), (1389760070,), (1389760075,), (1389760085,), (1389760088,), (1389760092,), (1389760096,), (1389760099,), (1389760109,), (1389760112,), (1389760131,), (1389760135,), (1389760140,), (1389760145,), (1389760148,), (1389760159,), (1389760162,), (1389760165,), (1389760169,), (1389760173,), (1389760186,), (1389760190,), (1389760194,), (1389760198,), (1389760202,), (1389760203,), (1389760206,), (1389760207,), (1389760211,), (1389760218,), (1389760221,), (1389760224,), (1389760227,), (1389760229,), (1389760232,), (1389760247,), (1389760252,), (1389760256,), (1389760259,), (1389760262,), (1389761298,), (1389761317,), (1389761358,), (1389761373,), (1389761402,), (1389761405,), (1389761422,), (1389761425,), (1389761429,), (1389761433,), (1389761439,), (1389761442,), (1389761452,), (1389761455,), (1389761532,), (1389761535,), (1389761538,), (1389761559,), (1389761562,), (1389761567,), (1389761570,), (1389761572,), (1389761574,), (1389761582,), (1389761592,), (1389761597,), (1389761600,), (1389761603,), (1389761608,), (1389761612,), (1389761618,), (1389761753,), (1389761749,), (1389761751,), (1389761763,), (1389761771,), (1389761775,), (1389761779,), (1389761781,), (1389761792,), (1389761794,), (1389761797,), (1389761800,), (1389761801,), (1389761803,), (1389761818,), (1389761822,), (1389761826,), (1389761838,), (1389761842,), (1389761846,), (1389761850,), (1389761853,), (1389761855,), (1389761869,), (1389761872,), (1389761874,), (1389761875,), (1389761876,), (1389761878,), (1389761884,), (1389761887,), (1389761890,), (1389761892,), (1389761895,), (1389761897,), (1389761901,), (1389761904,), (1389761906,), (1389761908,), (1389761914,), (1389761918,), (1389761937,), (1389761941,), (1389761945,), (1389761947,), (1389761950,), (1389761953,), (1389761968,), (1389762008,), (1389767119,), (1389767187,), (1389767295,), (1389767385,), (1389767388,), (1389767463,), (1389767515,), (1389767579,), (1389767611,), (1389767655,), (1389767719,), (1389767754,), (1389767813,), (1389767842,), (1389767901,), (1389767926,), (1389767931,), (1389767959,), (1389768004,), (1389768038,), (1389768065,), (1389768100,), (1389768134,), (1389768136,), (1389768167,), (1389768173,), (1389768234,), (1389768264,), (1389768299,), (1389768331,), (1389768371,), (1389768402,), (1389768438,), (1389768462,), (1389768493,), (1389768514,), (1389768550,), (1389768583,), (1389768611,), (1389768645,), (1389768668,), (1389768703,), (1389768716,), (1389768751,), (1389768754,), (1389768788,), (1389768810,), (1389768849,), (1389768880,), (1389776421,), (1389776423,), (1389776445,), (1389761962,), (1389761965,), (1389761983,), (1389761986,), (1389761990,), (1389761993,), (1389761996,), (1389761999,), (1389762002,), (1389762004,), (1389762013,), (1389762172,), (1389762188,), (1389762192,), (1389762196,), (1389762199,), (1389762201,), (1389762208,), (1389762211,), (1389762243,), (1389762271,), (1389762229,), (1389762232,), (1389762236,), (1389762240,), (1389762255,), (1389762257,), (1389762259,), (1389762261,), (1389762263,), (1389762266,), (1389762270,), (1389762279,), (1389762281,), (1389762283,), (1389762286,), (1389762288,), (1389762290,), (1389762300,), (1389762304,), (1389762307,), (1389762310,), (1389762324,), (1389762327,), (1389762343,), (1389762346,), (1389762349,), (1389762353,), (1389762363,), (1389762366,), (1389762370,), (1389762373,), (1389762377,), (1389762379,), (1389762394,), (1389762397,), (1389762398,), (1389762410,), (1389762412,), (1389762416,), (1389762417,), (1389762420,), (1389762421,), (1389762433,), (1389762437,), (1389762441,), (1389762444,), (1389762447,), (1389762449,), (1389762460,), (1389762463,), (1389762467,), (1389762469,), (1389762471,), (1389762482,), (1389762484,), (1389762487,), (1389762490,), (1389762492,), (1389762494,), (1389762498,), (1389762500,), (1389762502,), (1389762506,), (1389762511,), (1389762518,), (1389762521,), (1389762523,), (1389762524,), (1389762525,), (1389762530,), (1389762534,), (1389762538,), (1389762543,), (1389762547,), (1389762553,), (1389762554,), (1389762557,), (1389762559,), (1389762583,), (1389762585,), (1389762665,), (1389762668,), (1389762671,), (1389762672,), (1389762673,), (1389762575,), (1389762577,), (1389762579,), (1389762581,), (1389762598,), (1389762599,), (1389762600,), (1389762603,), (1389762607,), (1389762611,), (1389762617,), (1389762618,), (1389762619,), (1389762621,), (1389762623,), (1389762627,), (1389762636,), (1389762639,), (1389762642,), (1389762644,), (1389762646,), (1389762647,), (1389762653,), (1389762655,), (1389762657,), (1389762661,), (1389762680,), (1389762682,), (1389762686,), (1389762689,), (1389762692,), (1389762701,), (1389762704,), (1389762707,), (1389762709,), (1389762710,), (1389762711,), (1389762716,), (1389762720,), (1389762722,), (1389762725,), (1389762727,), (1389762731,), (1389762734,), (1389762742,), (1389762746,), (1389762749,), (1389762751,), (1389762754,), (1389762758,), (1389762765,), (1389762767,), (1389762770,), (1389762774,), (1389762777,), (1389762780,), (1389762787,), (1389762790,), (1389762794,), (1389762798,), (1389762807,), (1389762810,), (1389762814,), (1389762817,), (1389762819,), (1389762822,), (1389762831,), (1389762835,), (1389762839,), (1389762849,), (1389762852,), (1389762856,), (1389762860,), (1389762870,), (1389762873,), (1389762876,), (1389762878,), (1389762881,), (1389762884,), (1389762902,), (1389762934,), (1389762893,), (1389762896,), (1389762899,), (1389762914,), (1389762916,), (1389762920,), (1389762924,), (1389762927,), (1389762930,), (1389762937,), (1389762939,), (1389762941,), (1389762944,), (1389762948,), (1389762951,), (1389762958,), (1389762961,), (1389762964,), (1389762967,), (1389762980,), (1389762984,), (1389762987,), (1389762995,), (1389762998,), (1389763003,), (1389763008,), (1389763011,), (1389763015,), (1389763021,), (1389763024,), (1389763028,), (1389763031,), (1389763033,), (1389763036,), (1389763043,), (1389763046,), (1389763049,), (1389763053,), (1389763063,), (1389763066,), (1389763069,), (1389763073,), (1389763077,), (1389763080,), (1389763090,), (1389763094,), (1389763098,), (1389763103,), (1389763107,), (1389763109,), (1389763115,), (1389763118,), (1389763121,), (1389763125,), (1389763138,), (1389763141,), (1389763144,), (1389763145,), (1389763148,), (1389763151,), (1389763153,), (1389763155,), (1389763157,), (1389763161,), (1389763168,), (1389763171,), (1389763174,), (1389763176,), (1389763186,), (1389763190,), (1389763194,), (1389763197,), (1389763200,), (1389763203,), (1389763212,), (1389763215,), (1389763217,), (1389763221,), (1389763226,), (1389763228,), (1389763245,), (1389763240,), (1389763242,), (1389763265,), (1389763267,), (1389763270,), (1389763274,), (1389763278,), (1389763281,), (1389763289,), (1389763291,), (1389763293,), (1389763296,), (1389763297,), (1389763310,), (1389763313,), (1389763315,), (1389763318,), (1389763333,), (1389763334,), (1389763336,), (1389763340,), (1389763343,), (1389763346,), (1389763354,), (1389763355,), (1389763357,), (1389763362,), (1389763378,), (1389763380,), (1389763382,), (1389763385,), (1389763388,), (1389763390,), (1389763396,), (1389763399,), (1389763402,), (1389763406,), (1389763411,), (1389763412,), (1389763413,), (1389763415,), (1389763420,), (1389763425,), (1389763435,), (1389763440,), (1389763442,), (1389763457,), (1389763459,), (1389763460,), (1389763463,), (1389763477,), (1389763481,), (1389763485,), (1389763489,), (1389763491,), (1389763505,), (1389763508,), (1389763510,), (1389763511,), (1389763513,), (1389763528,), (1389763530,), (1389763534,), (1389763538,), (1389763540,), (1389763551,), (1389763554,), (1389763556,), (1389763558,), (1389763562,), (1389763563,), (1389763575,), (1389763577,), (1389763580,), (1389763583,), (1389763584,), (1389763611,), (1389763653,), (1389763600,), (1389763602,), (1389763606,), (1389763608,), (1389763609,), (1389763624,), (1389763626,), (1389763628,), (1389763631,), (1389763632,), (1389763634,), (1389763639,), (1389763642,), (1389763646,), (1389763650,), (1389763654,), (1389763656,), (1389763659,), (1389763662,), (1389763666,), (1389763677,), (1389763680,), (1389763681,), (1389763682,), (1389763684,), (1389763686,), (1389763699,), (1389763700,), (1389763703,), (1389763705,), (1389763721,), (1389763725,), (1389763734,), (1389763735,), (1389763737,), (1389763740,), (1389763750,), (1389763754,), (1389763756,), (1389763758,), (1389763760,), (1389763762,), (1389763772,), (1389763774,), (1389763775,), (1389763788,), (1389763791,), (1389763793,), (1389763795,), (1389763797,), (1389763800,), (1389763811,), (1389763815,), (1389763818,), (1389763822,), (1389763834,), (1389763837,), (1389763841,), (1389763844,), (1389763846,), (1389763849,), (1389763857,), (1389763859,), (1389763865,), (1389763867,), (1389763870,), (1389763874,), (1389763878,), (1389763880,), (1389763882,), (1389763885,), (1389763893,), (1389763895,), (1389763898,), (1389763899,), (1389763902,), (1389763919,), (1389763924,), (1389763927,), (1389763932,), (1389763936,), (1389763943,), (1389763945,), (1389763948,), (1389763951,), (1389763985,), (1389763964,), (1389763968,), (1389763971,), (1389763977,), (1389763981,), (1389763997,), (1389763999,), (1389764002,), (1389764006,), (1389764018,), (1389764021,), (1389764025,), (1389764029,), (1389764032,), (1389764034,), (1389764043,), (1389764048,), (1389764052,), (1389764055,), (1389764073,), (1389764076,), (1389764079,), (1389764082,), (1389764084,), (1389764088,), (1389764101,), (1389764103,), (1389764105,), (1389764108,), (1389764112,), (1389764126,), (1389764129,), (1389764133,), (1389764137,), (1389764141,), (1389764143,), (1389764145,), (1389764146,), (1389764147,), (1389764155,), (1389764159,), (1389764163,), (1389764167,), (1389764170,), (1389764171,), (1389764181,), (1389764187,), (1389764191,), (1389764196,), (1389764200,), (1389764201,), (1389764223,), (1389764226,), (1389764230,), (1389764233,), (1389764236,), (1389764239,), (1389764241,), (1389764243,), (1389764246,), (1389764252,), (1389764254,), (1389764257,), (1389764261,), (1389764266,), (1389764269,), (1389764272,), (1389764276,), (1389764280,), (1389764282,), (1389764290,), (1389764294,), (1389764298,), (1389764302,), (1389764304,), (1389764312,), (1389764315,), (1389764319,), (1389764323,), (1389764352,), (1389764392,), (1389764334,), (1389764338,), (1389764342,), (1389764345,), (1389764349,), (1389764361,), (1389764365,), (1389764369,), (1389764373,), (1389764375,), (1389764376,), (1389764380,), (1389764384,), (1389764390,), (1389764397,), (1389764401,), (1389764403,), (1389764406,), (1389764409,), (1389764414,), (1389764421,), (1389764425,), (1389764429,), (1389764431,), (1389764437,), (1389764441,), (1389764445,), (1389764448,), (1389764451,), (1389764454,), (1389764463,), (1389764467,), (1389764471,), (1389764475,), (1389764485,), (1389764489,), (1389764493,), (1389764496,), (1389764498,), (1389764500,), (1389764510,), (1389764512,), (1389764516,), (1389764519,), (1389764533,), (1389764535,), (1389764537,), (1389764541,), (1389764544,), (1389764548,), (1389764555,), (1389764558,), (1389764562,), (1389764567,), (1389764580,), (1389764583,), (1389764586,), (1389764591,), (1389764595,), (1389764599,), (1389764612,), (1389764616,), (1389764618,), (1389764623,), (1389764627,), (1389764630,), (1389764635,), (1389764637,), (1389764639,), (1389764641,), (1389764647,), (1389764648,), (1389764651,), (1389764652,), (1389764656,), (1389764657,), (1389764661,), (1389764662,), (1389764665,), (1389764666,), (1389764668,), (1389764669,), (1389764677,), (1389764680,), (1389764684,), (1389764687,), (1389764699,), (1389764705,), (1389764709,), (1389764712,), (1389764715,), (1389764717,), (1389764740,), (1389764728,), (1389764736,), (1389764738,), (1389764753,), (1389764756,), (1389764759,), (1389764762,), (1389764764,), (1389764766,), (1389764775,), (1389764778,), (1389764781,), (1389764797,), (1389764801,), (1389764806,), (1389764810,), (1389764812,), (1389764813,), (1389764824,), (1389764827,), (1389764830,), (1389764832,), (1389764843,), (1389764845,), (1389764848,), (1389764850,), (1389764854,), (1389764856,), (1389764869,), (1389764873,), (1389764876,), (1389764879,), (1389764881,), (1389764883,), (1389764888,), (1389764891,), (1389764895,), (1389764897,), (1389764899,), (1389764901,), (1389764904,), (1389764907,), (1389764910,), (1389764914,), (1389764918,), (1389764928,), (1389764931,), (1389764934,), (1389764938,), (1389764941,), (1389764949,), (1389764952,), (1389764954,), (1389764958,), (1389764962,), (1389764964,), (1389764971,), (1389764973,), (1389764976,), (1389764979,), (1389764993,), (1389764995,), (1389764998,), (1389765001,), (1389765004,), (1389765006,), (1389765017,), (1389765019,), (1389765021,), (1389765023,), (1389765036,), (1389765039,), (1389765041,), (1389765045,), (1389765048,), (1389765060,), (1389765063,), (1389765064,), (1389765067,), (1389765094,), (1389765131,), (1389768268,), (1389768344,), (1389768413,), (1389768463,), (1389768521,), (1389768574,), (1389768634,), (1389768674,), (1389768715,), (1389768774,), (1389776418,), (1389768811,), (1389768812,), (1389768847,), (1389768848,), (1389768878,), (1389768881,), (1389768911,), (1389768914,), (1389768942,), (1389768950,), (1389768975,), (1389768981,), (1389770304,), (1389770312,), (1389770320,), (1389770322,), (1389770325,), (1389770773,), (1389770785,), (1389770994,), (1389772012,), (1389772015,), (1389772017,), (1389772202,), (1389772209,), (1389772214,), (1389772218,), (1389772221,), (1389772226,), (1389772865,), (1389773027,), (1389773168,), (1389773206,), (1389773244,), (1389773261,), (1389773265,), (1389773281,), (1389773282,), (1389773328,), (1389773677,), (1389773827,), (1389773842,), (1389773853,), (1389773857,), (1389773862,), (1389773867,), (1389773870,), (1389774284,), (1389774308,), (1389774315,), (1389774318,), (1389774325,), (1389774332,), (1389774344,), (1389774367,), (1389774936,), (1389774939,), (1389775333,), (1389775335,), (1389775338,), (1389775354,), (1389775356,), (1389775358,), (1389775378,), (1389776002,), (1389776006,), (1389776014,), (1389776021,), (1389776022,), (1389776023,), (1389776320,), (1389776323,), (1389776413,), (1389776414,), (1389776415,), (1389769027,), (1389769029,), (1389769033,), (1389769040,), (1389769051,), (1389769053,), (1389769054,), (1389769056,), (1389769060,), (1389769064,), (1389769068,), (1389769072,), (1389769079,), (1389769080,), (1389769082,), (1389769085,), (1389769089,), (1389769093,), (1389769103,), (1389769106,), (1389769109,), (1389769114,), (1389769119,), (1389769123,), (1389769129,), (1389769133,), (1389769136,), (1389769137,), (1389769141,), (1389769144,), (1389769152,), (1389769157,), (1389769161,), (1389769164,), (1389769167,), (1389769170,), (1389769194,), (1389769195,), (1389769203,), (1389769204,), (1389769214,), (1389769225,), (1389769227,), (1389769228,), (1389769232,), (1389769233,), (1389769234,), (1389769235,), (1389769268,), (1389769273,), (1389769278,), (1389769283,), (1389769288,), (1389769290,), (1389769295,), (1389769298,), (1389769300,), (1389769303,), (1389769306,), (1389769308,), (1389769336,), (1389769346,), (1389769352,), (1389769359,), (1389769364,), (1389769371,), (1389769379,), (1389769383,), (1389769387,), (1389769391,), (1389769395,), (1389769399,), (1389769916,), (1389769920,), (1389770043,), (1389770048,), (1389770082,), (1389770084,), (1389770088,), (1389770141,), (1389770233,), (1389770236,), (1389770296,), (1389754680,), (1389754683,), (1389754685,), (1389754710,), (1389754711,), (1389754713,), (1389754715,), (1389754717,), (1389754745,), (1389754746,), (1389754748,), (1389754753,), (1389754757,), (1389754760,), (1389754798,), (1389754801,), (1389754803,), (1389754804,), (1389754829,), (1389754833,), (1389754837,), (1389754841,), (1389754844,), (1389754846,), (1389754849,), (1389754853,), (1389754857,), (1389754860,), (1389754883,), (1389754887,), (1389754890,), (1389754913,), (1389754916,), (1389754921,), (1389754925,), (1389754956,), (1389754959,), (1389754960,), (1389754961,), (1389754962,), (1389754968,), (1389754972,), (1389754975,), (1389754978,), (1389754998,), (1389755000,), (1389755003,), (1389755024,), (1389755025,), (1389755027,), (1389755028,), (1389755052,), (1389755055,), (1389755059,), (1389755061,), (1389755064,), (1389755070,), (1389755072,), (1389755073,), (1389755074,), (1389755077,), (1389755095,), (1389755098,), (1389755102,), (1389755109,), (1389755113,), (1389755117,), (1389755089,), (1389755091,), (1389755093,), (1389755127,), (1389755128,), (1389755131,), (1389755132,), (1389755134,), (1389755135,), (1389755137,), (1389755138,), (1389755140,), (1389755141,), (1389755144,), (1389755145,), (1389755150,), (1389755152,), (1389755155,), (1389755158,), (1389755190,), (1389755192,), (1389755195,), (1389755196,), (1389755200,), (1389755201,), (1389755205,), (1389755206,), (1389755210,), (1389755212,), (1389755217,), (1389755218,), (1389755221,), (1389755252,), (1389755255,), (1389755258,), (1389755261,), (1389755284,), (1389755286,), (1389755288,), (1389755291,), (1389755298,), (1389755303,), (1389755307,), (1389755330,), (1389755333,), (1389755337,), (1389755341,), (1389755369,), (1389755371,), (1389755373,), (1389755375,), (1389755378,), (1389755380,), (1389755389,), (1389755391,), (1389755423,), (1389755427,), (1389755431,), (1389755435,), (1389755437,), (1389755459,), (1389755462,), (1389755465,), (1389755468,), (1389755471,), (1389755475,), (1389755481,), (1389755484,), (1389755488,), (1389755515,), (1389755518,), (1389755519,), (1389755522,), (1389755524,), (1389755564,), (1389756807,), (1389756808,), (1389756814,), (1389756817,), (1389756820,), (1389756823,), (1389756825,), (1389756842,), (1389756844,), (1389756865,), (1389756868,), (1389756871,), (1389756874,), (1389756877,), (1389756879,), (1389756882,), (1389756884,), (1389756887,), (1389756890,), (1389756893,), (1389756912,), (1389756916,), (1389756918,), (1389756920,), (1389756923,), (1389756946,), (1389756948,), (1389756950,), (1389756952,), (1389756954,), (1389756958,), (1389756961,), (1389756963,), (1389756966,), (1389756987,), (1389756988,), (1389756989,), (1389756990,), (1389756991,), (1389756992,), (1389756994,), (1389756997,), (1389756998,), (1389757001,), (1389757007,), (1389757008,), (1389757011,), (1389757031,), (1389757034,), (1389757038,), (1389757041,), (1389757045,), (1389757047,), (1389757071,), (1389757074,), (1389757079,), (1389757082,), (1389757085,), (1389757089,), (1389757091,), (1389757094,), (1389757097,), (1389757123,), (1389757125,), (1389757126,), (1389757128,), (1389757130,), (1389757149,), (1389757137,), (1389757140,), (1389757142,), (1389757144,), (1389757147,), (1389757153,), (1389757156,), (1389757159,), (1389757181,), (1389757185,), (1389757188,), (1389757192,), (1389757195,), (1389757196,), (1389757216,), (1389757219,), (1389757222,), (1389757228,), (1389757231,), (1389757236,), (1389757238,), (1389757241,), (1389757266,), (1389757267,), (1389757270,), (1389757271,), (1389757274,), (1389757275,), (1389757278,), (1389757279,), (1389757281,), (1389757282,), (1389757283,), (1389757284,), (1389757289,), (1389757293,), (1389757295,), (1389757298,), (1389757300,), (1389757302,), (1389757326,), (1389757328,), (1389757330,), (1389757334,), (1389757337,), (1389757340,), (1389757342,), (1389757344,), (1389757345,), (1389757346,), (1389757347,), (1389757348,), (1389757349,), (1389757351,), (1389757352,), (1389757354,), (1389757355,), (1389757357,), (1389757360,), (1389757362,), (1389757364,), (1389757365,), (1389757369,), (1389757370,), (1389757373,), (1389757374,), (1389757376,), (1389757377,), (1389757380,), (1389757385,), (1389757389,), (1389757392,), (1389757395,), (1389757398,), (1389757400,), (1389757408,), (1389757412,), (1389757415,), (1389757418,), (1389757421,), (1389757425,), (1389757430,), (1389757432,), (1389757435,), (1389757459,), (1389757444,), (1389757448,), (1389757451,), (1389757454,), (1389757457,), (1389757482,), (1389757485,), (1389757488,), (1389757489,), (1389757491,), (1389757494,), (1389757504,), (1389757506,), (1389757524,), (1389757526,), (1389757528,), (1389757530,), (1389757534,), (1389757543,), (1389757546,), (1389757549,), (1389757552,), (1389757554,), (1389757555,), (1389757566,), (1389757569,), (1389757571,), (1389757574,), (1389757587,), (1389757590,), (1389757593,), (1389757595,), (1389757596,), (1389757598,), (1389757609,), (1389757610,), (1389757613,), (1389757616,), (1389757619,), (1389757621,), (1389757630,), (1389757633,), (1389757636,), (1389757651,), (1389757653,), (1389757656,), (1389757659,), (1389757671,), (1389757672,), (1389757674,), (1389757678,), (1389757680,), (1389757691,), (1389757695,), (1389757698,), (1389757701,), (1389757715,), (1389757717,), (1389757718,), (1389757720,), (1389757724,), (1389757739,), (1389757742,), (1389757746,), (1389757749,), (1389757751,), (1389757754,), (1389757762,), (1389757766,), (1389757770,), (1389757774,), (1389757777,), (1389757780,), (1389757785,), (1389757787,), (1389757789,), (1389757790,), (1389757791,), (1389757814,), (1389757815,), (1389757794,), (1389757795,), (1389757798,), (1389757800,), (1389757803,), (1389757804,), (1389757806,), (1389757808,), (1389757811,), (1389757812,), (1389757819,), (1389757823,), (1389757825,), (1389757827,), (1389757832,), (1389757838,), (1389757840,), (1389757843,), (1389757846,), (1389757849,), (1389757861,), (1389757864,), (1389757867,), (1389757870,), (1389757873,), (1389757876,), (1389757883,), (1389757885,), (1389757889,), (1389757893,), (1389757896,), (1389757899,), (1389757907,), (1389757911,), (1389757916,), (1389757919,), (1389757933,), (1389757937,), (1389757941,), (1389757944,), (1389757948,), (1389757951,), (1389757956,), (1389757958,), (1389757961,), (1389757964,), (1389757968,), (1389757976,), (1389757978,), (1389757982,), (1389757996,), (1389757999,), (1389758001,), (1389758004,), (1389758015,), (1389758017,), (1389758020,), (1389758023,), (1389758026,), (1389758033,), (1389758036,), (1389758040,), (1389758052,), (1389758055,), (1389758068,), (1389758070,), (1389758073,), (1389758076,), (1389758079,), (1389758082,), (1389758092,), (1389758094,), (1389758098,), (1389758101,), (1389758103,), (1389758117,), (1389758426,), (1389758428,), (1389758432,), (1389758444,), (1389758447,), (1389758450,), (1389758454,), (1389758458,), (1389758461,), (1389758467,), (1389758470,), (1389758473,), (1389758476,), (1389758479,), (1389758492,), (1389758494,), (1389758495,), (1389758498,), (1389758511,), (1389758513,), (1389758515,), (1389758531,), (1389758546,), (1389758547,), (1389758550,), (1389758554,), (1389758557,), (1389758560,), (1389758567,), (1389758569,), (1389758571,), (1389758588,), (1389758590,), (1389758593,), (1389758596,), (1389758598,), (1389758600,), (1389758610,), (1389758612,), (1389758614,), (1389758618,), (1389758630,), (1389758632,), (1389758635,), (1389758638,), (1389758641,), (1389758644,), (1389758648,), (1389758655,), (1389758658,), (1389758660,), (1389758663,), (1389758666,), (1389758672,), (1389758676,), (1389758679,), (1389758683,), (1389758685,), (1389758696,), (1389758700,), (1389758705,), (1389758709,), (1389758713,), (1389758718,), (1389758719,), (1389758722,), (1389758736,), (1389758726,), (1389758729,), (1389758733,), (1389758735,), (1389758748,), (1389758750,), (1389758753,), (1389758756,), (1389758759,), (1389758767,), (1389758770,), (1389758773,), (1389758777,), (1389758789,), (1389758792,), (1389758796,), (1389758799,), (1389758801,), (1389758803,), (1389758809,), (1389758812,), (1389758815,), (1389758818,), (1389758820,), (1389758829,), (1389758831,), (1389758834,), (1389758846,), (1389758849,), (1389758854,), (1389758859,), (1389758863,), (1389758869,), (1389758872,), (1389758876,), (1389758880,), (1389758883,), (1389758886,), (1389758892,), (1389758895,), (1389758897,), (1389758909,), (1389758911,), (1389758915,), (1389758918,), (1389758922,), (1389758925,), (1389758932,), (1389758936,), (1389758941,), (1389758946,), (1389758950,), (1389758951,), (1389758960,), (1389758963,), (1389758967,), (1389758970,), (1389758982,), (1389758984,), (1389758986,), (1389758989,), (1389758991,), (1389758993,), (1389759002,), (1389759006,), (1389759009,), (1389759011,), (1389759024,), (1389759027,), (1389759030,), (1389759033,), (1389759035,), (1389759038,), (1389759060,), (1389759377,), (1389759379,), (1389759395,), (1389759396,), (1389759397,), (1389759399,), (1389759402,), (1389759415,), (1389759431,), (1389759449,), (1389759452,), (1389759456,), (1389759459,), (1389759470,), (1389759472,), (1389759475,), (1389759478,), (1389759482,), (1389759490,), (1389759493,), (1389759497,), (1389759502,), (1389759512,), (1389759515,), (1389759520,), (1389759525,), (1389759535,), (1389759538,), (1389759541,), (1389759555,), (1389759558,), (1389759562,), (1389759564,), (1389759579,), (1389759583,), (1389759588,), (1389759591,), (1389759593,), (1389759604,), (1389759607,), (1389759610,), (1389759614,), (1389759618,), (1389759620,), (1389759628,), (1389759630,), (1389759631,), (1389759632,), (1389759633,), (1389759649,), (1389759663,), (1389759665,), (1389759668,), (1389759701,), (1389769707,), (1389769903,), (1389769908,), (1389769912,), (1389770159,), (1389770162,), (1389770178,), (1389770190,), (1389770196,), (1389770202,), (1389770209,), (1389770212,), (1389770218,), (1389770228,), (1389770265,), (1389770273,), (1389770276,), (1389770285,), (1389770288,), (1389770290,), (1389770717,), (1389770718,), (1389770734,), (1389770747,), (1389770750,), (1389770758,), (1389770766,), (1389770771,), (1389770779,), (1389770780,), (1389770939,), (1389770943,), (1389770990,), (1389770991,), (1389770992,), (1389771065,), (1389771103,), (1389771640,), (1389771650,), (1389771654,), (1389771658,), (1389771666,), (1389771828,), (1389771838,), (1389771845,), (1389771887,), (1389771910,), (1389771919,), (1389771988,), (1389772006,), (1389772025,), (1389772029,), (1389772158,), (1389772177,), (1389772182,), (1389772187,), (1389772837,), (1389772840,), (1389772844,), (1389772847,), (1389772850,), (1389772928,), (1389772934,), (1389772937,), (1389772939,), (1389773288,), (1389773289,), (1389773291,), (1389773292,), (1389773295,), (1389773296,), (1389773299,), (1389773300,), (1389773304,), (1389773305,), (1389773307,), (1389773308,), (1389773318,), (1389773321,), (1389773324,), (1389774049,), (1389774198,), (1389774206,), (1389774214,), (1389774222,), (1389774353,), (1389774357,), (1389774360,), (1389774362,), (1389774363,), (1389774934,), (1389775332,), (1389774925,), (1389774929,), (1389774933,), (1389775241,), (1389775243,), (1389775293,), (1389775310,), (1389775319,), (1389775322,), (1389775327,), (1389775329,), (1389775344,), (1389775348,), (1389775351,), (1389775366,), (1389775369,), (1389775373,), (1389775376,), (1389775377,), (1389776029,), (1389776032,), (1389776275,), (1389776287,), (1389776383,), (1389776384,), (1389776387,), (1389776390,), (1389776394,), (1389776405,), (1389776432,), (1389776435,), (1389776437,), (1389776440,), (1389776442,), (1389777271,), (1389777273,), (1389777276,), (1389777280,), (1389777309,), (1389777312,), (1389777314,), (1389777317,), (1389777319,), (1389777322,), (1389777852,), (1389777858,), (1389777874,), (1389778754,), (1389778803,), (1389778807,), (1389778810,), (1389778812,), (1389778815,), (1389778839,), (1389778842,), (1389778851,), (1389778858,), (1389778861,), (1389778863,), (1389778871,), (1389778880,), (1389778907,), (1389778911,), (1389778920,), (1389778948,), (1389778972,), (1389779426,), (1389779719,), (1389779722,), (1389779725,), (1389779744,), (1389779752,), (1389779757,), (1389779761,), (1389779763,), (1389779767,), (1389779770,), (1389780053,), (1389780058,), (1389780069,), (1389780221,), (1389780222,), (1389780208,), (1389780209,), (1389780211,), (1389780212,), (1389780214,), (1389780215,), (1389780269,), (1389780270,), (1389780331,), (1389780897,), (1389781023,), (1389781031,), (1389781063,), (1389781065,), (1389781071,), (1389781086,), (1389781088,), (1389781700,), (1389781759,), (1389781762,), (1389781767,), (1389782072,), (1389782074,), (1389782094,), (1389782105,), (1389782119,), (1389782121,), (1389782182,), (1389782184,), (1389782185,), (1389782196,), (1389782200,), (1389782262,), (1389782263,), (1389782265,), (1389782266,), (1389782268,), (1389782269,), (1389782277,), (1389782278,), (1389782280,), (1389782281,), (1389782284,), (1389782285,), (1389782308,), (1389782319,), (1389782338,), (1389782352,), (1389782363,), (1389782373,), (1389782404,), (1389782412,), (1389782429,), (1389782445,), (1389782466,), (1389782472,), (1389782482,), (1389782490,), (1389782498,), (1389782505,), (1389782507,), (1389782518,), (1389782525,), (1389782529,), (1389782535,), (1389782539,), (1389782542,), (1389782548,), (1389782552,), (1389782554,), (1389782560,), (1389782566,), (1389782569,), (1389782573,), (1389782580,), (1389782593,), (1389782612,), (1389782620,), (1389782625,), (1389782639,), (1389782642,), (1389782663,), (1389782665,), (1389782672,), (1389782691,), (1389782697,), (1389782711,), (1389782719,), (1389782730,), (1389782737,), (1389782748,), (1389782764,), (1389782822,), (1389782843,), (1389793184,), (1389793189,), (1389793228,), (1389793259,), (1389793327,), (1389793402,), (1389793462,), (1389793480,), (1389793501,), (1389793503,), (1389793505,), (1389793510,), (1389793538,), (1389793542,), (1389793545,), (1389793547,), (1389793563,), (1389793581,), (1389793584,), (1389793586,), (1389793856,), (1389794329,), (1389794331,), (1389794337,), (1389794341,), (1389794345,), (1389794349,), (1389794352,), (1389794355,), (1389794361,), (1389794365,), (1389794762,), (1389795081,), (1389795084,), (1389782742,), (1389782762,), (1389782782,), (1389782790,), (1389782800,), (1389782817,), (1389782844,), (1389782862,), (1389782864,), (1389782886,), (1389782887,), (1389782904,), (1389782905,), (1389782906,), (1389782907,), (1389782924,), (1389782929,), (1389782930,), (1389782944,), (1389782948,), (1389782955,), (1389782960,), (1389782971,), (1389782972,), (1389782979,), (1389782984,), (1389782989,), (1389782995,), (1389782999,), (1389783001,), (1389783010,), (1389783015,), (1389783018,), (1389783019,), (1389783034,), (1389783041,), (1389783051,), (1389783055,), (1389783063,), (1389783076,), (1389783085,), (1389783093,), (1389783094,), (1389783104,), (1389783112,), (1389783113,), (1389783128,), (1389783129,), (1389783142,), (1389783152,), (1389783153,), (1389783165,), (1389783177,), (1389783184,), (1389783193,), (1389783197,), (1389783209,), (1389783215,), (1389783232,), (1389783238,), (1389783255,), (1389783260,), (1389783266,), (1389783280,), (1389783288,), (1389783304,), (1389783316,), (1389783324,), (1389783325,), (1389783346,), (1389783349,), (1389783374,), (1389783375,), (1389783399,), (1389783421,), (1389783431,), (1389783447,), (1389783460,), (1389783484,), (1389783517,), (1389783549,), (1389783583,), (1389783585,), (1389783621,), (1389791535,), (1389791542,), (1389791550,), (1389791554,), (1389791558,), (1389791561,), (1389791569,), (1389791572,), (1389791579,), (1389791583,), (1389791586,), (1389791589,), (1389791597,), (1389791600,), (1389791605,), (1389791610,), (1389791624,), (1389791646,), (1389791659,), (1389791664,), (1389791669,), (1389791673,), (1389791679,), (1389791686,), (1389791692,), (1389791694,), (1389791700,), (1389791701,), (1389791706,), (1389791711,), (1389791719,), (1389791720,), (1389791722,), (1389791724,), (1389791725,), (1389791727,), (1389791733,), (1389791736,), (1389791740,), (1389791742,), (1389791745,), (1389791747,), (1389791762,), (1389791763,), (1389791767,), (1389791768,), (1389791773,), (1389791774,), (1389791777,), (1389791778,), (1389791781,), (1389791782,), (1389791783,), (1389791788,), (1389791805,), (1389791806,), (1389791816,), (1389791818,), (1389791824,), (1389791826,), (1389791835,), (1389791837,), (1389791944,), (1389792489,), (1389792519,), (1389792521,), (1389792853,), (1389792857,), (1389792861,), (1389792864,), (1389792867,), (1389792868,), (1389792872,), (1389792875,), (1389792878,), (1389792882,), (1389792886,), (1389792889,), (1389783467,), (1389783501,), (1389783531,), (1389783559,), (1389783571,), (1389783603,), (1389783636,), (1389783638,), (1389783671,), (1389783676,), (1389783698,), (1389783707,), (1389783709,), (1389783727,), (1389783737,), (1389783738,), (1389783744,), (1389783753,), (1389783754,), (1389783756,), (1389783766,), (1389783772,), (1389783781,), (1389783788,), (1389783790,), (1389783795,), (1389783796,), (1389783806,), (1389783812,), (1389783815,), (1389783820,), (1389783821,), (1389783828,), (1389783839,), (1389783843,), (1389783849,), (1389783853,), (1389783856,), (1389783859,), (1389783871,), (1389783879,), (1389783880,), (1389783882,), (1389783888,), (1389783889,), (1389783890,), (1389783917,), (1389783918,), (1389783919,), (1389783924,), (1389783925,), (1389783926,), (1389783953,), (1389783958,), (1389783966,), (1389783988,), (1389783991,), (1389784001,), (1389784003,), (1389784030,), (1389784034,), (1389784054,), (1389784067,), (1389784072,), (1389784076,), (1389784091,), (1389784105,), (1389784115,), (1389784126,), (1389784135,), (1389784139,), (1389784147,), (1389784153,), (1389784166,), (1389784168,), (1389784187,), (1389784188,), (1389784198,), (1389784205,), (1389784223,), (1389784232,), (1389784235,), (1389784255,), (1389784262,), (1389784287,), (1389784292,), (1389784325,), (1389784360,), (1389784362,), (1389784401,), (1389784445,), (1389790225,), (1389790234,), (1389790238,), (1389790243,), (1389790247,), (1389790251,), (1389790253,), (1389790256,), (1389790258,), (1389790399,), (1389790809,), (1389790817,), (1389790820,), (1389790823,), (1389790827,), (1389790831,), (1389790833,), (1389790837,), (1389791001,), (1389791076,), (1389791107,), (1389791109,), (1389791113,), (1389791195,), (1389791198,), (1389791199,), (1389791212,), (1389791215,), (1389791217,), (1389791235,), (1389791239,), (1389791260,), (1389791264,), (1389791269,), (1389791273,), (1389791291,), (1389791293,), (1389791294,), (1389791296,), (1389791301,), (1389791306,), (1389791314,), (1389791317,), (1389791319,), (1389791320,), (1389791321,), (1389791323,), (1389791328,), (1389791333,), (1389791337,), (1389791340,), (1389791343,), (1389791346,), (1389791354,), (1389791368,), (1389791371,), (1389791373,), (1389791377,), (1389791390,), (1389791393,), (1389791396,), (1389791398,), (1389791400,), (1389791403,), (1389791429,), (1389791433,), (1389791436,), (1389791439,), (1389791443,), (1389791447,), (1389791453,), (1389791455,), (1389791462,), (1389791465,), (1389791469,), (1389791474,), (1389791497,), (1389791499,), (1389791502,), (1389791504,), (1389791531,), (1389791532,), (1389784249,), (1389784276,), (1389784283,), (1389784311,), (1389784319,), (1389784320,), (1389784344,), (1389784361,), (1389784379,), (1389784380,), (1389784391,), (1389784403,), (1389784422,), (1389784423,), (1389784425,), (1389784438,), (1389784458,), (1389784464,), (1389784466,), (1389784467,), (1389784488,), (1389784491,), (1389784493,), (1389784505,), (1389784524,), (1389784529,), (1389784534,), (1389784536,), (1389784545,), (1389784577,), (1389784578,), (1389784582,), (1389784583,), (1389784593,), (1389784606,), (1389784620,), (1389784632,), (1389784644,), (1389784649,), (1389784659,), (1389784665,), (1389784678,), (1389784688,), (1389784700,), (1389784714,), (1389784715,), (1389784731,), (1389784742,), (1389784747,), (1389784767,), (1389784774,), (1389784779,), (1389784793,), (1389784810,), (1389784811,), (1389784828,), (1389784831,), (1389784866,), (1389784867,), (1389784885,), (1389784887,), (1389784916,), (1389784918,), (1389784941,), (1389784942,), (1389784969,), (1389784973,), (1389784986,), (1389784992,), (1389785012,), (1389785024,), (1389785033,), (1389785035,), (1389785046,), (1389785083,), (1389785084,), (1389785085,), (1389785095,), (1389785140,), (1389785143,), (1389785145,), (1389785197,), (1389785209,), (1389785226,), (1389785251,), (1389785265,), (1389785327,), (1389785358,), (1389785418,), (1389789744,), (1389789748,), (1389789752,), (1389789754,), (1389789759,), (1389789816,), (1389789818,), (1389789820,), (1389789822,), (1389789825,), (1389789828,), (1389789839,), (1389789843,), (1389789847,), (1389789849,), (1389789851,), (1389789854,), (1389789861,), (1389789864,), (1389789866,), (1389789869,), (1389789873,), (1389789877,), (1389789908,), (1389789909,), (1389789913,), (1389789918,), (1389789920,), (1389789923,), (1389789932,), (1389789935,), (1389789938,), (1389789942,), (1389789945,), (1389789948,), (1389789955,), (1389789965,), (1389789970,), (1389789976,), (1389789986,), (1389790014,), (1389790029,), (1389790036,), (1389790038,), (1389790039,), (1389790043,), (1389790046,), (1389790051,), (1389790054,), (1389790057,), (1389790060,), (1389790063,), (1389790082,), (1389790101,), (1389790104,), (1389790108,), (1389790112,), (1389790115,), (1389790117,), (1389790127,), (1389790132,), (1389790137,), (1389790143,), (1389790147,), (1389790150,), (1389790159,), (1389790160,), (1389790162,), (1389790163,), (1389790165,), (1389790166,), (1389790168,), (1389790169,), (1389790172,), (1389790173,), (1389790182,), (1389790183,), (1389790200,), (1389790203,), (1389790206,), (1389790208,), (1389790210,), (1389790213,), (1389790218,), (1389785105,), (1389785160,), (1389785198,), (1389785199,), (1389785224,), (1389785252,), (1389785253,), (1389785280,), (1389785281,), (1389785306,), (1389785319,), (1389785340,), (1389785356,), (1389785384,), (1389785402,), (1389785415,), (1389785438,), (1389785450,), (1389785487,), (1389785491,), (1389785492,), (1389785500,), (1389785518,), (1389785546,), (1389785547,), (1389785548,), (1389785552,), (1389785561,), (1389785606,), (1389785616,), (1389785617,), (1389785619,), (1389785620,), (1389785665,), (1389785666,), (1389785667,), (1389785668,), (1389785687,), (1389785690,), (1389785732,), (1389785755,), (1389785756,), (1389785757,), (1389785766,), (1389785767,), (1389785801,), (1389785815,), (1389785816,), (1389785817,), (1389785826,), (1389785828,), (1389785834,), (1389785856,), (1389785876,), (1389785877,), (1389785890,), (1389785891,), (1389785900,), (1389785926,), (1389785944,), (1389785945,), (1389785957,), (1389785958,), (1389785966,), (1389785993,), (1389785994,), (1389786013,), (1389786015,), (1389786019,), (1389786054,), (1389786067,), (1389786078,), (1389786119,), (1389786126,), (1389786193,), (1389786256,), (1389787773,), (1389787777,), (1389787780,), (1389787783,), (1389787785,), (1389787786,), (1389787789,), (1389787791,), (1389787795,), (1389788032,), (1389788037,), (1389788062,), (1389788064,), (1389788065,), (1389788066,), (1389788074,), (1389788080,), (1389788085,), (1389788090,), (1389788095,), (1389788099,), (1389788105,), (1389788108,), (1389788112,), (1389788117,), (1389788120,), (1389788124,), (1389788128,), (1389788129,), (1389788131,), (1389788133,), (1389788136,), (1389788141,), (1389788235,), (1389788282,), (1389788782,), (1389788994,), (1389788998,), (1389789002,), (1389789011,), (1389789012,), (1389789014,), (1389789016,), (1389789018,), (1389789023,), (1389789236,), (1389789239,), (1389789242,), (1389789300,), (1389789301,), (1389789302,), (1389789374,), (1389789378,), (1389789381,), (1389789387,), (1389789391,), (1389789394,), (1389789398,), (1389789399,), (1389789401,), (1389789402,), (1389789404,), (1389789405,), (1389789408,), (1389789409,), (1389789412,), (1389789413,), (1389789416,), (1389789417,), (1389789425,), (1389789573,), (1389789574,), (1389789624,), (1389789625,), (1389789657,), (1389789690,), (1389789693,), (1389789696,), (1389789706,), (1389789712,), (1389789715,), (1389789719,), (1389789721,), (1389789723,), (1389789725,), (1389789727,), (1389789731,), (1389789738,), (1389786405,), (1389786407,), (1389786410,), (1389786413,), (1389786416,), (1389786418,), (1389786422,), (1389786424,), (1389786428,), (1389786429,), (1389786433,), (1389786434,), (1389786444,), (1389786446,), (1389786448,), (1389786451,), (1389786455,), (1389786467,), (1389786474,), (1389786648,), (1389786653,), (1389786659,), (1389786667,), (1389786750,), (1389786798,), (1389786823,), (1389786835,), (1389786836,), (1389786842,), (1389786866,), (1389786873,), (1389786874,), (1389786878,), (1389786914,), (1389786915,), (1389786919,), (1389786921,), (1389786924,), (1389786925,), (1389786929,), (1389786930,), (1389786934,), (1389786946,), (1389786949,), (1389786951,), (1389786957,), (1389786960,), (1389791351,), (1389786848,), (1389786883,), (1389786898,), (1389786964,), (1389786970,), (1389786975,), (1389786980,), (1389786992,), (1389787220,), (1389787223,), (1389787228,), (1389787233,), (1389787236,), (1389787361,), (1389787371,), (1389787418,), (1389787422,), (1389787426,), (1389787431,), (1389787501,), (1389787506,), (1389787510,), (1389787515,), (1389787520,), (1389787524,), (1389787533,), (1389787536,), (1389787539,), (1389787541,), (1389787544,), (1389787547,), (1389787554,), (1389787560,), (1389787570,), (1389787579,), (1389787583,), (1389787586,), (1389787591,), (1389787592,), (1389787596,), (1389787600,), (1389787604,), (1389787608,), (1389787618,), (1389787620,), (1389787623,), (1389787627,), (1389787629,), (1389787632,), (1389787641,), (1389787644,), (1389787648,), (1389787651,), (1389787658,), (1389787661,), (1389787670,), (1389787672,), (1389787675,), (1389787678,), (1389787684,), (1389787687,), (1389787696,), (1389787699,), (1389787702,), (1389787706,), (1389787709,), (1389787717,), (1389787728,), (1389787731,), (1389787736,), (1389787739,), (1389787742,), (1389787750,), (1389787765,), (1389787767,), (1389787770,), (1389808672,), (1389809767,), (1389809777,), (1389810047,), (1389810050,), (1389810053,), (1389810078,), (1389810093,), (1389810120,), (1389810139,), (1389810238,), (1389810346,), (1389810350,), (1389810408,), (1389810424,), (1389810447,), (1389810451,), (1389810455,), (1389810459,), (1389810462,), (1389810486,), (1389810490,), (1389810492,), (1389810495,), (1389810499,), (1389810515,), (1389810687,), (1389810690,), (1389810744,), (1389810765,), (1389810779,), (1389810782,), (1389810784,), (1389810787,), (1389810856,), (1389810837,), (1389810840,), (1389810843,), (1389810847,), (1389810853,), (1389810869,), (1389810871,), (1389810873,), (1389810876,), (1389811260,), (1389811263,), (1389811279,), (1389811356,), (1389811388,), (1389811428,), (1389811474,), (1389811476,), (1389811477,), (1389811479,), (1389811505,), (1389811511,), (1389811515,), (1389811519,), (1389811529,), (1389811534,), (1389811545,), (1389811547,), (1389811549,), (1389811554,), (1389811557,), (1389811928,), (1389811960,), (1389811963,), (1389811971,), (1389812131,), (1389812133,), (1389812135,), (1389812137,), (1389812139,), (1389812141,), (1389812146,), (1389812149,), (1389812151,), (1389812154,), (1389812157,), (1389812165,), (1389812169,), (1389812173,), (1389812192,), (1389812198,), (1389812202,), (1389812583,), (1389812619,), (1389812622,), (1389812760,), (1389812763,), (1389812764,), (1389812768,), (1389812773,), (1389812791,), (1389812793,), (1389812796,), (1389812800,), (1389812803,), (1389812813,), (1389812815,), (1389812818,), (1389812822,), (1389813083,), (1389813087,), (1389813138,), (1389813140,), (1389813175,), (1389813199,), (1389813234,), (1389813241,), (1389813248,), (1389813256,), (1389813259,), (1389813264,), (1389813804,), (1389814441,), (1389814444,), (1389814446,), (1389814460,), (1389814454,), (1389814456,), (1389815491,), (1389815513,), (1389815715,), (1389815816,), (1389815990,), (1389815998,), (1389816560,), (1389816563,), (1389816564,), (1389816731,), (1389816840,), (1389816860,), (1389816869,), (1389816875,), (1389816884,), (1389816904,), (1389816908,), (1389816911,), (1389816913,), (1389816949,), (1389816953,), (1389817010,), (1389817580,), (1389817583,), (1389817586,), (1389817730,), (1389817734,), (1389817736,), (1389817738,), (1389817741,), (1389817743,), (1389818135,), (1389818139,), (1389818140,), (1389818144,), (1389818189,), (1389818191,), (1389818193,), (1389818197,), (1389818201,), (1389818204,), (1389818209,), (1389818211,), (1389818215,), (1389818219,), (1389818226,), (1389818228,), (1389818233,), (1389818235,), (1389818253,), (1389818256,), (1389818258,), (1389818262,), (1389818270,), (1389818274,), (1389818312,), (1389818314,), (1389818316,), (1389818318,), (1389818343,), (1389818347,), (1389818351,), (1389818353,), (1389818357,), (1389818360,), (1389819307,), (1389819309,), (1389819310,), (1389819313,), (1389819316,), (1389820258,), (1389819591,), (1389819595,), (1389819599,), (1389820031,), (1389820255,), (1389820404,), (1389820407,), (1389820409,), (1389820411,), (1389820415,), (1389820432,), (1389820434,), (1389820435,), (1389820439,), (1389820443,), (1389820498,), (1389820501,), (1389820507,), (1389820510,), (1389820513,), (1389820519,), (1389820683,), (1389820685,), (1389820688,), (1389820712,), (1389820731,), (1389820733,), (1389820735,), (1389820737,), (1389820742,), (1389820750,), (1389820807,), (1389820810,), (1389820821,), (1389820830,), (1389820981,), (1389821025,), (1389821028,), (1389821034,), (1389821038,), (1389821040,), (1389821054,), (1389821057,), (1389821061,), (1389821064,), (1389821120,), (1389821122,), (1389821123,), (1389821126,), (1389821131,), (1389821134,), (1389821163,), (1389821166,), (1389821170,), (1389821174,), (1389821187,), (1389821192,), (1389821194,), (1389821197,), (1389821204,), (1389821209,), (1389821246,), (1389821248,), (1389821249,), (1389821252,), (1389821274,), (1389821279,), (1389821284,), (1389821291,), (1389821294,), (1389821295,), (1389821311,), (1389821317,), (1389821321,), (1389821322,), (1389821378,), (1389821385,), (1389821386,), (1389821387,), (1389821392,), (1389821356,), (1389821359,), (1389821365,), (1389821371,), (1389821375,), (1389821399,), (1389821404,), (1389821407,), (1389821411,), (1389821427,), (1389821433,), (1389821436,), (1389821438,), (1389821440,), (1389821441,), (1389821482,), (1389821484,), (1389821486,), (1389821488,), (1389821506,), (1389821510,), (1389821514,), (1389821518,), (1389821521,), (1389821524,), (1389821544,), (1389821554,), (1389821557,), (1389821572,), (1389821576,), (1389821613,), (1389821636,), (1389821638,), (1389821641,), (1389821645,), (1389821670,), (1389821672,), (1389821673,), (1389821676,), (1389821679,), (1389821683,), (1389821694,), (1389821698,), (1389821740,), (1389821743,), (1389821748,), (1389821770,), (1389821772,), (1389821774,), (1389821777,), (1389821783,), (1389821801,), (1389821804,), (1389821805,), (1389821807,), (1389821810,), (1389821877,), (1389821881,), (1389821885,), (1389821891,), (1389821895,), (1389821897,), (1389821913,), (1389821917,), (1389821920,), (1389821941,), (1389821943,), (1389821946,), (1389821952,), (1389821955,), (1389821959,), (1389822026,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'17102025': {'nb_upload': 72, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27882842]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1389822026] map_info['map_portfolio_photo'] : {27882842: [1389822026, 1389821959, 1389821955, 1389821952, 1389821946, 1389821943, 1389821941, 1389821920, 1389821917, 1389821913, 1389821897, 1389821895, 1389821891, 1389821885, 1389821881, 1389821877, 1389821810, 1389821807, 1389821805, 1389821804, 1389821801, 1389821783, 1389821777, 1389821774, 1389821772, 1389821770, 1389821748, 1389821743, 1389821740, 1389821698, 1389821694, 1389821683, 1389821679, 1389821676, 1389821673, 1389821672, 1389821670, 1389821645, 1389821641, 1389821638, 1389821636, 1389821613, 1389821576, 1389821572, 1389821557, 1389821554, 1389821544, 1389821524, 1389821521, 1389821518, 1389821514, 1389821510, 1389821506, 1389821488, 1389821486, 1389821484, 1389821482, 1389821441, 1389821440, 1389821438, 1389821436, 1389821433, 1389821427, 1389821411, 1389821407, 1389821404, 1389821399, 1389821375, 1389821371, 1389821365, 1389821359, 1389821356]} final : True mtd_id 4302 list_pids : [1389822026] Looping around the photos to save general results len do output : 1 /27882842Didn'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, '3954612') ('4302', '27882842', '1389822026', None, None, None, None, None, '3954612') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '27882842', 'None', None, None, None, None, '3954612'), ('4302', '27882842', '1389822026', None, None, None, None, None, '3954612')] time used for this insertion : 0.03527641296386719 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.455740690231323 time spend to save output : 0.03543233871459961 total time spend for step 5 : 8.491173028945923 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 (3954612) 1.91user 2.28system 0:21.05elapsed 19%CPU (0avgtext+0avgdata 158836maxresident)k 120inputs+5384outputs (21major+76779minor)pagefaults 0swaps