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 : 3965867 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 (3714822) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3714822) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26809088 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3714822'] with mtr_portfolio_ids : ['26809088'] and first list_photo_ids : [] new path : /proc/3965867/ Name: python3 Umask: 0002 State: R (running) Tgid: 3965867 Ngid: 0 Pid: 3965867 PPid: 3965866 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3965867 NSpid: 3965867 NSpgid: 3963863 NSsid: 3963863 VmPeak: 1107244 kB VmSize: 1107244 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99328 kB VmRSS: 99328 kB RssAnon: 60148 kB RssFile: 39180 kB RssShmem: 0 kB VmData: 865996 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 600 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: 86 nonvoluntary_ctxt_switches: 103 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3965867', 'Ngid': '0', 'Pid': '3965867', 'PPid': '3965866', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3965867', 'NSpid': '3965867', 'NSpgid': '3963863', 'NSsid': '3963863', 'VmPeak': '1107244 kB', 'VmSize': '1107244 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99328 kB', 'VmRSS': '99328 kB', 'RssAnon': '60148 kB', 'RssFile': '39180 kB', 'RssShmem': '0 kB', 'VmData': '865996 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '600 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': '86', 'nonvoluntary_ctxt_switches': '103'} ('datou_batch_current', '3965867', '1107244', '0', '1107244', '865996', '99328', b'', 'marlene', '3714822') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (26809088) 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 (3714822 ) ) 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 (26809088) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1383548523, 'portfolio_id': 26809088}, {'photo_id': 1383548445, 'portfolio_id': 26809088}, {'photo_id': 1383548442, 'portfolio_id': 26809088}, {'photo_id': 1383548434, 'portfolio_id': 26809088}, {'photo_id': 1383548432, 'portfolio_id': 26809088}, {'photo_id': 1383548429, 'portfolio_id': 26809088}, {'photo_id': 1383548419, 'portfolio_id': 26809088}, {'photo_id': 1383548416, 'portfolio_id': 26809088}, {'photo_id': 1383548413, 'portfolio_id': 26809088}, {'photo_id': 1383548408, 'portfolio_id': 26809088}, {'photo_id': 1383548405, 'portfolio_id': 26809088}, {'photo_id': 1383548403, 'portfolio_id': 26809088}, {'photo_id': 1383548169, 'portfolio_id': 26809088}, {'photo_id': 1383548153, 'portfolio_id': 26809088}, {'photo_id': 1383548151, 'portfolio_id': 26809088}, {'photo_id': 1383548150, 'portfolio_id': 26809088}, {'photo_id': 1383548147, 'portfolio_id': 26809088}, {'photo_id': 1383547995, 'portfolio_id': 26809088}, {'photo_id': 1383547977, 'portfolio_id': 26809088}, {'photo_id': 1383547955, 'portfolio_id': 26809088}, {'photo_id': 1383547954, 'portfolio_id': 26809088}, {'photo_id': 1383547952, 'portfolio_id': 26809088}, {'photo_id': 1383547950, 'portfolio_id': 26809088}, {'photo_id': 1383547900, 'portfolio_id': 26809088}, {'photo_id': 1383547897, 'portfolio_id': 26809088}, {'photo_id': 1383547890, 'portfolio_id': 26809088}, {'photo_id': 1383547867, 'portfolio_id': 26809088}, {'photo_id': 1383547808, 'portfolio_id': 26809088}, {'photo_id': 1383547782, 'portfolio_id': 26809088}, {'photo_id': 1383547761, 'portfolio_id': 26809088}, {'photo_id': 1383547758, 'portfolio_id': 26809088}, {'photo_id': 1383547754, 'portfolio_id': 26809088}, {'photo_id': 1383547752, 'portfolio_id': 26809088}, {'photo_id': 1383547699, 'portfolio_id': 26809088}, {'photo_id': 1383547697, 'portfolio_id': 26809088}, {'photo_id': 1383547695, 'portfolio_id': 26809088}, {'photo_id': 1383547692, 'portfolio_id': 26809088}, {'photo_id': 1383547683, 'portfolio_id': 26809088}, {'photo_id': 1383547615, 'portfolio_id': 26809088}, {'photo_id': 1383547610, 'portfolio_id': 26809088}, {'photo_id': 1383547601, 'portfolio_id': 26809088}, {'photo_id': 1383547593, 'portfolio_id': 26809088}, {'photo_id': 1383547590, 'portfolio_id': 26809088}, {'photo_id': 1383547580, 'portfolio_id': 26809088}, {'photo_id': 1383547577, 'portfolio_id': 26809088}, {'photo_id': 1383547573, 'portfolio_id': 26809088}, {'photo_id': 1383547569, 'portfolio_id': 26809088}, {'photo_id': 1383547568, 'portfolio_id': 26809088}, {'photo_id': 1383547567, 'portfolio_id': 26809088}, {'photo_id': 1383547527, 'portfolio_id': 26809088}, {'photo_id': 1383547525, 'portfolio_id': 26809088}, {'photo_id': 1383547521, 'portfolio_id': 26809088}, {'photo_id': 1383547503, 'portfolio_id': 26809088}, {'photo_id': 1383547501, 'portfolio_id': 26809088}, {'photo_id': 1383547499, 'portfolio_id': 26809088}, {'photo_id': 1383547496, 'portfolio_id': 26809088}, {'photo_id': 1383547492, 'portfolio_id': 26809088}, {'photo_id': 1383547488, 'portfolio_id': 26809088}, {'photo_id': 1383547478, 'portfolio_id': 26809088}, {'photo_id': 1383547477, 'portfolio_id': 26809088}, {'photo_id': 1383547476, 'portfolio_id': 26809088}, {'photo_id': 1383547475, 'portfolio_id': 26809088}, {'photo_id': 1383547456, 'portfolio_id': 26809088}, {'photo_id': 1383547450, 'portfolio_id': 26809088}, {'photo_id': 1383547445, 'portfolio_id': 26809088}, {'photo_id': 1383547440, 'portfolio_id': 26809088}, {'photo_id': 1383547435, 'portfolio_id': 26809088}, {'photo_id': 1383547431, 'portfolio_id': 26809088}, {'photo_id': 1383547355, 'portfolio_id': 26809088}, {'photo_id': 1383547354, 'portfolio_id': 26809088}, {'photo_id': 1383547353, 'portfolio_id': 26809088}, {'photo_id': 1383547335, 'portfolio_id': 26809088}, {'photo_id': 1383547305, 'portfolio_id': 26809088}, {'photo_id': 1383547301, 'portfolio_id': 26809088}, {'photo_id': 1383547299, 'portfolio_id': 26809088}, {'photo_id': 1383547297, 'portfolio_id': 26809088}, {'photo_id': 1383547295, 'portfolio_id': 26809088}] map_portfolio_id_photo_id: {26809088: [1383548523, 1383548445, 1383548442, 1383548434, 1383548432, 1383548429, 1383548419, 1383548416, 1383548413, 1383548408, 1383548405, 1383548403, 1383548169, 1383548153, 1383548151, 1383548150, 1383548147, 1383547995, 1383547977, 1383547955, 1383547954, 1383547952, 1383547950, 1383547900, 1383547897, 1383547890, 1383547867, 1383547808, 1383547782, 1383547761, 1383547758, 1383547754, 1383547752, 1383547699, 1383547697, 1383547695, 1383547692, 1383547683, 1383547615, 1383547610, 1383547601, 1383547593, 1383547590, 1383547580, 1383547577, 1383547573, 1383547569, 1383547568, 1383547567, 1383547527, 1383547525, 1383547521, 1383547503, 1383547501, 1383547499, 1383547496, 1383547492, 1383547488, 1383547478, 1383547477, 1383547476, 1383547475, 1383547456, 1383547450, 1383547445, 1383547440, 1383547435, 1383547431, 1383547355, 1383547354, 1383547353, 1383547335, 1383547305, 1383547301, 1383547299, 1383547297, 1383547295]} ##### 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.015780210494995117 #### 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 Sep 12 21:46:57 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 (26809088) 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 : 26809088 get user id for portfolio 26809088 get sub ptf for main ptf 26809088, type 3726 and hashtags ['papier', 'Carton_brun', 'cartonnette', 'Carton_gris', 'metal', 'autre_refus', 'flou', 'plastique', 'mal_croppe', 'environnement', 'kraft', 'Teint_Dans_La_Masse'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26809088 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_brun','cartonnette','Carton_gris','metal','autre_refus','flou','plastique','mal_croppe','environnement','kraft','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26809088 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_brun','cartonnette','Carton_gris','metal','autre_refus','flou','plastique','mal_croppe','environnement','kraft','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 26809088, 'sub_port_id': 26809119, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18072717, 'last_updated_at': datetime.datetime(2025, 9, 12, 21, 44, 57), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 21, 44, 57), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 21, 33, 27)}, 'Teint_Dans_La_Masse': {'main_port_id': 26809088, 'sub_port_id': 26809120, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18072718, 'last_updated_at': datetime.datetime(2025, 9, 12, 21, 44, 57), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 21, 44, 57), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 21, 33, 27)}, 'cartonnette': {'main_port_id': 26809088, 'sub_port_id': 26809121, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18072719, 'last_updated_at': datetime.datetime(2025, 9, 12, 21, 44, 57), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 21, 44, 57), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 21, 33, 27)}, 'metal': {'main_port_id': 26809088, 'sub_port_id': 26809122, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18072720, 'last_updated_at': datetime.datetime(2025, 9, 12, 21, 44, 57), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 21, 44, 57), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 21, 33, 27)}, 'mal_croppe': {'main_port_id': 26809088, 'sub_port_id': 26809123, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18072721, 'last_updated_at': datetime.datetime(2025, 9, 12, 21, 44, 57), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 21, 44, 57), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 21, 33, 27)}, 'Carton_gris': {'main_port_id': 26809088, 'sub_port_id': 26809124, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18072722, 'last_updated_at': datetime.datetime(2025, 9, 12, 21, 44, 57), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 21, 44, 57), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 21, 33, 27)}, 'autre_refus': {'main_port_id': 26809088, 'sub_port_id': 26809125, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18072723, 'last_updated_at': datetime.datetime(2025, 9, 12, 21, 44, 57), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 21, 44, 57), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 21, 33, 27)}, 'kraft': {'main_port_id': 26809088, 'sub_port_id': 26809126, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18072724, 'last_updated_at': datetime.datetime(2025, 9, 12, 21, 44, 57), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 21, 44, 57), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 21, 33, 27)}, 'papier': {'main_port_id': 26809088, 'sub_port_id': 26809127, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18072725, 'last_updated_at': datetime.datetime(2025, 9, 12, 21, 44, 57), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 21, 44, 57), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 21, 33, 27)}, 'flou': {'main_port_id': 26809088, 'sub_port_id': 26809128, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18072726, 'last_updated_at': datetime.datetime(2025, 9, 12, 21, 44, 57), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 21, 44, 57), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 21, 33, 27)}, 'plastique': {'main_port_id': 26809088, 'sub_port_id': 26809129, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18072727, 'last_updated_at': datetime.datetime(2025, 9, 12, 21, 44, 57), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 21, 44, 57), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 21, 33, 27)}, 'environnement': {'main_port_id': 26809088, 'sub_port_id': 26809130, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18072728, 'last_updated_at': datetime.datetime(2025, 9, 12, 21, 44, 57), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 21, 44, 57), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 21, 33, 27)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26809119 , 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=26809088 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 (26809119) result : ((1383547689,), (1383547690,), (1383547691,), (1383548463,), (1383548464,), (1383548498,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26809088) result : ((1383547295,), (1383547297,), (1383547299,), (1383547301,), (1383547305,), (1383547335,), (1383547353,), (1383547354,), (1383547355,), (1383547431,), (1383547435,), (1383547440,), (1383547445,), (1383547450,), (1383547456,), (1383547475,), (1383547476,), (1383547477,), (1383547478,), (1383547488,), (1383547492,), (1383547496,), (1383547499,), (1383547501,), (1383547503,), (1383547521,), (1383547525,), (1383547527,), (1383547567,), (1383547568,), (1383547569,), (1383547573,), (1383547577,), (1383547580,), (1383547590,), (1383547593,), (1383547601,), (1383547610,), (1383547615,), (1383547683,), (1383547692,), (1383547695,), (1383547697,), (1383547699,), (1383547752,), (1383547754,), (1383547758,), (1383547761,), (1383547782,), (1383547808,), (1383547867,), (1383547890,), (1383547897,), (1383547900,), (1383547950,), (1383547952,), (1383547954,), (1383547955,), (1383547977,), (1383547995,), (1383548147,), (1383548150,), (1383548151,), (1383548153,), (1383548169,), (1383548403,), (1383548405,), (1383548408,), (1383548413,), (1383548416,), (1383548419,), (1383548429,), (1383548432,), (1383548434,), (1383548442,), (1383548445,), (1383548523,)) 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 (1383547900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26809120 , 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=26809088 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 (26809120) result : ((1383547673,), (1383547674,), (1383547675,), (1383547676,), (1383547678,), (1383548004,), (1383548006,), (1383548008,), (1383548011,), (1383548139,), (1383548420,), (1383548421,), (1383548450,), (1383548451,), (1383548452,), (1383548453,), (1383548454,), (1383548455,), (1383548456,), (1383548507,), (1383548508,), (1383548509,), (1383548510,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26809088) result : ((1383547295,), (1383547297,), (1383547299,), (1383547301,), (1383547305,), (1383547335,), (1383547353,), (1383547354,), (1383547355,), (1383547431,), (1383547435,), (1383547440,), (1383547445,), (1383547450,), (1383547456,), (1383547475,), (1383547476,), (1383547477,), (1383547478,), (1383547488,), (1383547492,), (1383547496,), (1383547499,), (1383547501,), (1383547503,), (1383547521,), (1383547525,), (1383547527,), (1383547567,), (1383547568,), (1383547569,), (1383547573,), (1383547577,), (1383547580,), (1383547590,), (1383547593,), (1383547601,), (1383547610,), (1383547615,), (1383547683,), (1383547692,), (1383547695,), (1383547697,), (1383547699,), (1383547752,), (1383547754,), (1383547758,), (1383547761,), (1383547782,), (1383547808,), (1383547867,), (1383547890,), (1383547897,), (1383547900,), (1383547950,), (1383547952,), (1383547954,), (1383547955,), (1383547977,), (1383547995,), (1383548147,), (1383548150,), (1383548151,), (1383548153,), (1383548169,), (1383548403,), (1383548405,), (1383548408,), (1383548413,), (1383548416,), (1383548419,), (1383548429,), (1383548432,), (1383548434,), (1383548442,), (1383548445,), (1383548523,)) 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 (1383547900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26809121 , 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=26809088 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 (26809121) result : ((1383547685,), (1383547686,), (1383547687,), (1383548018,), (1383548146,), (1383548462,), (1383548496,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26809088) result : ((1383547295,), (1383547297,), (1383547299,), (1383547301,), (1383547305,), (1383547335,), (1383547353,), (1383547354,), (1383547355,), (1383547431,), (1383547435,), (1383547440,), (1383547445,), (1383547450,), (1383547456,), (1383547475,), (1383547476,), (1383547477,), (1383547478,), (1383547488,), (1383547492,), (1383547496,), (1383547499,), (1383547501,), (1383547503,), (1383547521,), (1383547525,), (1383547527,), (1383547567,), (1383547568,), (1383547569,), (1383547573,), (1383547577,), (1383547580,), (1383547590,), (1383547593,), (1383547601,), (1383547610,), (1383547615,), (1383547683,), (1383547692,), (1383547695,), (1383547697,), (1383547699,), (1383547752,), (1383547754,), (1383547758,), (1383547761,), (1383547782,), (1383547808,), (1383547867,), (1383547890,), (1383547897,), (1383547900,), (1383547950,), (1383547952,), (1383547954,), (1383547955,), (1383547977,), (1383547995,), (1383548147,), (1383548150,), (1383548151,), (1383548153,), (1383548169,), (1383548403,), (1383548405,), (1383548408,), (1383548413,), (1383548416,), (1383548419,), (1383548429,), (1383548432,), (1383548434,), (1383548442,), (1383548445,), (1383548523,)) 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 (1383547900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26809122 , 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=26809088 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 (26809122) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26809088) result : ((1383547295,), (1383547297,), (1383547299,), (1383547301,), (1383547305,), (1383547335,), (1383547353,), (1383547354,), (1383547355,), (1383547431,), (1383547435,), (1383547440,), (1383547445,), (1383547450,), (1383547456,), (1383547475,), (1383547476,), (1383547477,), (1383547478,), (1383547488,), (1383547492,), (1383547496,), (1383547499,), (1383547501,), (1383547503,), (1383547521,), (1383547525,), (1383547527,), (1383547567,), (1383547568,), (1383547569,), (1383547573,), (1383547577,), (1383547580,), (1383547590,), (1383547593,), (1383547601,), (1383547610,), (1383547615,), (1383547683,), (1383547692,), (1383547695,), (1383547697,), (1383547699,), (1383547752,), (1383547754,), (1383547758,), (1383547761,), (1383547782,), (1383547808,), (1383547867,), (1383547890,), (1383547897,), (1383547900,), (1383547950,), (1383547952,), (1383547954,), (1383547955,), (1383547977,), (1383547995,), (1383548147,), (1383548150,), (1383548151,), (1383548153,), (1383548169,), (1383548403,), (1383548405,), (1383548408,), (1383548413,), (1383548416,), (1383548419,), (1383548429,), (1383548432,), (1383548434,), (1383548442,), (1383548445,), (1383548523,)) 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 (1383547900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26809123 , 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=26809088 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 (26809123) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26809088) result : ((1383547295,), (1383547297,), (1383547299,), (1383547301,), (1383547305,), (1383547335,), (1383547353,), (1383547354,), (1383547355,), (1383547431,), (1383547435,), (1383547440,), (1383547445,), (1383547450,), (1383547456,), (1383547475,), (1383547476,), (1383547477,), (1383547478,), (1383547488,), (1383547492,), (1383547496,), (1383547499,), (1383547501,), (1383547503,), (1383547521,), (1383547525,), (1383547527,), (1383547567,), (1383547568,), (1383547569,), (1383547573,), (1383547577,), (1383547580,), (1383547590,), (1383547593,), (1383547601,), (1383547610,), (1383547615,), (1383547683,), (1383547692,), (1383547695,), (1383547697,), (1383547699,), (1383547752,), (1383547754,), (1383547758,), (1383547761,), (1383547782,), (1383547808,), (1383547867,), (1383547890,), (1383547897,), (1383547900,), (1383547950,), (1383547952,), (1383547954,), (1383547955,), (1383547977,), (1383547995,), (1383548147,), (1383548150,), (1383548151,), (1383548153,), (1383548169,), (1383548403,), (1383548405,), (1383548408,), (1383548413,), (1383548416,), (1383548419,), (1383548429,), (1383548432,), (1383548434,), (1383548442,), (1383548445,), (1383548523,)) 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 (1383547900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26809124 , 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=26809088 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 (26809124) result : ((1383548143,), (1383548144,), (1383548145,), (1383548459,), (1383548460,), (1383548461,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26809088) result : ((1383547295,), (1383547297,), (1383547299,), (1383547301,), (1383547305,), (1383547335,), (1383547353,), (1383547354,), (1383547355,), (1383547431,), (1383547435,), (1383547440,), (1383547445,), (1383547450,), (1383547456,), (1383547475,), (1383547476,), (1383547477,), (1383547478,), (1383547488,), (1383547492,), (1383547496,), (1383547499,), (1383547501,), (1383547503,), (1383547521,), (1383547525,), (1383547527,), (1383547567,), (1383547568,), (1383547569,), (1383547573,), (1383547577,), (1383547580,), (1383547590,), (1383547593,), (1383547601,), (1383547610,), (1383547615,), (1383547683,), (1383547692,), (1383547695,), (1383547697,), (1383547699,), (1383547752,), (1383547754,), (1383547758,), (1383547761,), (1383547782,), (1383547808,), (1383547867,), (1383547890,), (1383547897,), (1383547900,), (1383547950,), (1383547952,), (1383547954,), (1383547955,), (1383547977,), (1383547995,), (1383548147,), (1383548150,), (1383548151,), (1383548153,), (1383548169,), (1383548403,), (1383548405,), (1383548408,), (1383548413,), (1383548416,), (1383548419,), (1383548429,), (1383548432,), (1383548434,), (1383548442,), (1383548445,), (1383548523,)) 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 (1383547900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26809125 , 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=26809088 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 (26809125) result : ((1383547680,), (1383547681,), (1383547682,), (1383548140,), (1383548141,), (1383548457,), (1383548495,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26809088) result : ((1383547295,), (1383547297,), (1383547299,), (1383547301,), (1383547305,), (1383547335,), (1383547353,), (1383547354,), (1383547355,), (1383547431,), (1383547435,), (1383547440,), (1383547445,), (1383547450,), (1383547456,), (1383547475,), (1383547476,), (1383547477,), (1383547478,), (1383547488,), (1383547492,), (1383547496,), (1383547499,), (1383547501,), (1383547503,), (1383547521,), (1383547525,), (1383547527,), (1383547567,), (1383547568,), (1383547569,), (1383547573,), (1383547577,), (1383547580,), (1383547590,), (1383547593,), (1383547601,), (1383547610,), (1383547615,), (1383547683,), (1383547692,), (1383547695,), (1383547697,), (1383547699,), (1383547752,), (1383547754,), (1383547758,), (1383547761,), (1383547782,), (1383547808,), (1383547867,), (1383547890,), (1383547897,), (1383547900,), (1383547950,), (1383547952,), (1383547954,), (1383547955,), (1383547977,), (1383547995,), (1383548147,), (1383548150,), (1383548151,), (1383548153,), (1383548169,), (1383548403,), (1383548405,), (1383548408,), (1383548413,), (1383548416,), (1383548419,), (1383548429,), (1383548432,), (1383548434,), (1383548442,), (1383548445,), (1383548523,)) 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 (1383547900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26809126 , 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=26809088 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 (26809126) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26809088) result : ((1383547295,), (1383547297,), (1383547299,), (1383547301,), (1383547305,), (1383547335,), (1383547353,), (1383547354,), (1383547355,), (1383547431,), (1383547435,), (1383547440,), (1383547445,), (1383547450,), (1383547456,), (1383547475,), (1383547476,), (1383547477,), (1383547478,), (1383547488,), (1383547492,), (1383547496,), (1383547499,), (1383547501,), (1383547503,), (1383547521,), (1383547525,), (1383547527,), (1383547567,), (1383547568,), (1383547569,), (1383547573,), (1383547577,), (1383547580,), (1383547590,), (1383547593,), (1383547601,), (1383547610,), (1383547615,), (1383547683,), (1383547692,), (1383547695,), (1383547697,), (1383547699,), (1383547752,), (1383547754,), (1383547758,), (1383547761,), (1383547782,), (1383547808,), (1383547867,), (1383547890,), (1383547897,), (1383547900,), (1383547950,), (1383547952,), (1383547954,), (1383547955,), (1383547977,), (1383547995,), (1383548147,), (1383548150,), (1383548151,), (1383548153,), (1383548169,), (1383548403,), (1383548405,), (1383548408,), (1383548413,), (1383548416,), (1383548419,), (1383548429,), (1383548432,), (1383548434,), (1383548442,), (1383548445,), (1383548523,)) 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 (1383547900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26809127 , 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=26809088 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 (26809127) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26809088) result : ((1383547295,), (1383547297,), (1383547299,), (1383547301,), (1383547305,), (1383547335,), (1383547353,), (1383547354,), (1383547355,), (1383547431,), (1383547435,), (1383547440,), (1383547445,), (1383547450,), (1383547456,), (1383547475,), (1383547476,), (1383547477,), (1383547478,), (1383547488,), (1383547492,), (1383547496,), (1383547499,), (1383547501,), (1383547503,), (1383547521,), (1383547525,), (1383547527,), (1383547567,), (1383547568,), (1383547569,), (1383547573,), (1383547577,), (1383547580,), (1383547590,), (1383547593,), (1383547601,), (1383547610,), (1383547615,), (1383547683,), (1383547692,), (1383547695,), (1383547697,), (1383547699,), (1383547752,), (1383547754,), (1383547758,), (1383547761,), (1383547782,), (1383547808,), (1383547867,), (1383547890,), (1383547897,), (1383547900,), (1383547950,), (1383547952,), (1383547954,), (1383547955,), (1383547977,), (1383547995,), (1383548147,), (1383548150,), (1383548151,), (1383548153,), (1383548169,), (1383548403,), (1383548405,), (1383548408,), (1383548413,), (1383548416,), (1383548419,), (1383548429,), (1383548432,), (1383548434,), (1383548442,), (1383548445,), (1383548523,)) 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 (1383547900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26809128 , 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=26809088 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 (26809128) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26809088) result : ((1383547295,), (1383547297,), (1383547299,), (1383547301,), (1383547305,), (1383547335,), (1383547353,), (1383547354,), (1383547355,), (1383547431,), (1383547435,), (1383547440,), (1383547445,), (1383547450,), (1383547456,), (1383547475,), (1383547476,), (1383547477,), (1383547478,), (1383547488,), (1383547492,), (1383547496,), (1383547499,), (1383547501,), (1383547503,), (1383547521,), (1383547525,), (1383547527,), (1383547567,), (1383547568,), (1383547569,), (1383547573,), (1383547577,), (1383547580,), (1383547590,), (1383547593,), (1383547601,), (1383547610,), (1383547615,), (1383547683,), (1383547692,), (1383547695,), (1383547697,), (1383547699,), (1383547752,), (1383547754,), (1383547758,), (1383547761,), (1383547782,), (1383547808,), (1383547867,), (1383547890,), (1383547897,), (1383547900,), (1383547950,), (1383547952,), (1383547954,), (1383547955,), (1383547977,), (1383547995,), (1383548147,), (1383548150,), (1383548151,), (1383548153,), (1383548169,), (1383548403,), (1383548405,), (1383548408,), (1383548413,), (1383548416,), (1383548419,), (1383548429,), (1383548432,), (1383548434,), (1383548442,), (1383548445,), (1383548523,)) 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 (1383547900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26809129 , 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=26809088 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 (26809129) result : ((1383547693,), (1383548148,), (1383548422,), (1383548467,), (1383548468,), (1383548469,), (1383548500,), (1383548512,), (1383548513,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26809088) result : ((1383547295,), (1383547297,), (1383547299,), (1383547301,), (1383547305,), (1383547335,), (1383547353,), (1383547354,), (1383547355,), (1383547431,), (1383547435,), (1383547440,), (1383547445,), (1383547450,), (1383547456,), (1383547475,), (1383547476,), (1383547477,), (1383547478,), (1383547488,), (1383547492,), (1383547496,), (1383547499,), (1383547501,), (1383547503,), (1383547521,), (1383547525,), (1383547527,), (1383547567,), (1383547568,), (1383547569,), (1383547573,), (1383547577,), (1383547580,), (1383547590,), (1383547593,), (1383547601,), (1383547610,), (1383547615,), (1383547683,), (1383547692,), (1383547695,), (1383547697,), (1383547699,), (1383547752,), (1383547754,), (1383547758,), (1383547761,), (1383547782,), (1383547808,), (1383547867,), (1383547890,), (1383547897,), (1383547900,), (1383547950,), (1383547952,), (1383547954,), (1383547955,), (1383547977,), (1383547995,), (1383548147,), (1383548150,), (1383548151,), (1383548153,), (1383548169,), (1383548403,), (1383548405,), (1383548408,), (1383548413,), (1383548416,), (1383548419,), (1383548429,), (1383548432,), (1383548434,), (1383548442,), (1383548445,), (1383548523,)) 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 (1383547900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26809130 , 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=26809088 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 (26809130) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26809088) result : ((1383547295,), (1383547297,), (1383547299,), (1383547301,), (1383547305,), (1383547335,), (1383547353,), (1383547354,), (1383547355,), (1383547431,), (1383547435,), (1383547440,), (1383547445,), (1383547450,), (1383547456,), (1383547475,), (1383547476,), (1383547477,), (1383547478,), (1383547488,), (1383547492,), (1383547496,), (1383547499,), (1383547501,), (1383547503,), (1383547521,), (1383547525,), (1383547527,), (1383547567,), (1383547568,), (1383547569,), (1383547573,), (1383547577,), (1383547580,), (1383547590,), (1383547593,), (1383547601,), (1383547610,), (1383547615,), (1383547683,), (1383547692,), (1383547695,), (1383547697,), (1383547699,), (1383547752,), (1383547754,), (1383547758,), (1383547761,), (1383547782,), (1383547808,), (1383547867,), (1383547890,), (1383547897,), (1383547900,), (1383547950,), (1383547952,), (1383547954,), (1383547955,), (1383547977,), (1383547995,), (1383548147,), (1383548150,), (1383548151,), (1383548153,), (1383548169,), (1383548403,), (1383548405,), (1383548408,), (1383548413,), (1383548416,), (1383548419,), (1383548429,), (1383548432,), (1383548434,), (1383548442,), (1383548445,), (1383548523,)) 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 (1383547900) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26809088 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_brun','cartonnette','Carton_gris','metal','autre_refus','flou','plastique','mal_croppe','environnement','kraft','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26809088 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_brun','cartonnette','Carton_gris','metal','autre_refus','flou','plastique','mal_croppe','environnement','kraft','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 26809088, 'sub_port_id': 26809131, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18072729, 'last_updated_at': datetime.datetime(2025, 9, 12, 21, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 21, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 21, 33, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 26809088, 'sub_port_id': 26809132, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18072730, 'last_updated_at': datetime.datetime(2025, 9, 12, 21, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 21, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 21, 33, 29)}, 'cartonnette': {'main_port_id': 26809088, 'sub_port_id': 26809133, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18072731, 'last_updated_at': datetime.datetime(2025, 9, 12, 21, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 21, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 21, 33, 29)}, 'metal': {'main_port_id': 26809088, 'sub_port_id': 26809134, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18072732, 'last_updated_at': datetime.datetime(2025, 9, 12, 21, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 21, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 21, 33, 29)}, 'mal_croppe': {'main_port_id': 26809088, 'sub_port_id': 26809135, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18072733, 'last_updated_at': datetime.datetime(2025, 9, 12, 21, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 21, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 21, 33, 29)}, 'Carton_gris': {'main_port_id': 26809088, 'sub_port_id': 26809136, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18072734, 'last_updated_at': datetime.datetime(2025, 9, 12, 21, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 21, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 21, 33, 29)}, 'autre_refus': {'main_port_id': 26809088, 'sub_port_id': 26809137, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18072735, 'last_updated_at': datetime.datetime(2025, 9, 12, 21, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 21, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 21, 33, 29)}, 'kraft': {'main_port_id': 26809088, 'sub_port_id': 26809138, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18072736, 'last_updated_at': datetime.datetime(2025, 9, 12, 21, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 21, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 21, 33, 29)}, 'papier': {'main_port_id': 26809088, 'sub_port_id': 26809139, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18072737, 'last_updated_at': datetime.datetime(2025, 9, 12, 21, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 21, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 21, 33, 29)}, 'flou': {'main_port_id': 26809088, 'sub_port_id': 26809140, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18072738, 'last_updated_at': datetime.datetime(2025, 9, 12, 21, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 21, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 21, 33, 29)}, 'plastique': {'main_port_id': 26809088, 'sub_port_id': 26809141, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18072739, 'last_updated_at': datetime.datetime(2025, 9, 12, 21, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 21, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 21, 33, 29)}, 'environnement': {'main_port_id': 26809088, 'sub_port_id': 26809142, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18072740, 'last_updated_at': datetime.datetime(2025, 9, 12, 21, 44, 57), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 21, 44, 57), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 21, 33, 29)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26809131,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26809119 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26809132,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26809120 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26809133,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26809121 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26809134,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26809122 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26809135,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26809123 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26809136,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26809124 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26809137,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26809125 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26809138,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26809126 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26809139,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26809127 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26809140,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26809128 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26809141,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26809129 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26809142,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26809130 lien utilise dans velours : https://marlene.fotonower.com/velours/26809131,26809132,26809133,26809134,26809135,26809136,26809137,26809138,26809139,26809140,26809141,26809142?tags=Carton_brun,Teint_Dans_La_Masse,cartonnette,metal,mal_croppe,Carton_gris,autre_refus,kraft,papier,flou,plastique,environnement After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26809088]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1383548523] map_info['map_portfolio_photo'] : {26809088: [1383548523, 1383548445, 1383548442, 1383548434, 1383548432, 1383548429, 1383548419, 1383548416, 1383548413, 1383548408, 1383548405, 1383548403, 1383548169, 1383548153, 1383548151, 1383548150, 1383548147, 1383547995, 1383547977, 1383547955, 1383547954, 1383547952, 1383547950, 1383547900, 1383547897, 1383547890, 1383547867, 1383547808, 1383547782, 1383547761, 1383547758, 1383547754, 1383547752, 1383547699, 1383547697, 1383547695, 1383547692, 1383547683, 1383547615, 1383547610, 1383547601, 1383547593, 1383547590, 1383547580, 1383547577, 1383547573, 1383547569, 1383547568, 1383547567, 1383547527, 1383547525, 1383547521, 1383547503, 1383547501, 1383547499, 1383547496, 1383547492, 1383547488, 1383547478, 1383547477, 1383547476, 1383547475, 1383547456, 1383547450, 1383547445, 1383547440, 1383547435, 1383547431, 1383547355, 1383547354, 1383547353, 1383547335, 1383547305, 1383547301, 1383547299, 1383547297, 1383547295]} final : False mtd_id 4302 list_pids : [1383548523] Looping around the photos to save general results len do output : 1 /26809088. 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, '3714822') ('4302', '26809088', '1383548523', None, None, None, None, None, '3714822') 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, '26809088', "{'Carton_brun': 26809119, 'Teint_Dans_La_Masse': 26809120, 'cartonnette': 26809121, 'metal': 26809122, 'mal_croppe': 26809123, 'Carton_gris': 26809124, 'autre_refus': 26809125, 'kraft': 26809126, 'papier': 26809127, 'flou': 26809128, 'plastique': 26809129, 'environnement': 26809130}", None, None, None, None, '3714822'), ('4302', '26809088', '1383548523', None, None, None, None, None, '3714822')] time used for this insertion : 0.014518976211547852 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.48330187797546387 time spend to save output : 0.014888763427734375 total time spend for step 1 : 0.49819064140319824 step2:final Fri Sep 12 21:46:57 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 (26809088) 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 26809088 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1383547305,1383547301,1383547299,1383547297,1383547295,1383547355,1383547478,1383547354,1383547477,1383547353,1383547476,1383547335,1383547475,1383547456,1383547450,1383547445,1383547440,1383547435,1383547431,1383547503,1383547501,1383547499,1383547496,1383547492,1383547488,1383547527,1383547525,1383547521,1383547580,1383547577,1383547573,1383547569,1383547568,1383547567,1383547615,1383547610,1383547601,1383547593,1383547590,1383547699,1383547697,1383547695,1383547692,1383547683,1383547808,1383547782,1383547761,1383547758,1383547754,1383547752,1383547900,1383547897,1383547890,1383547867,1383547995,1383547977,1383547955,1383547954,1383547952,1383547950,1383548169,1383548434,1383548153,1383548432,1383548151,1383548429,1383548150,1383548419,1383548147,1383548416,1383548413,1383548408,1383548405,1383548403,1383548445,1383548442,1383548523); 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([26809088]) Inside saveOutput : final : False verbose : True original output for save of step final : {1383548523: ('0.04593865654576113',)} new output for save of step final : {1383548523: ('0.04593865654576113',)} [1383548523] map_info['map_portfolio_photo'] : {26809088: [1383548523, 1383548445, 1383548442, 1383548434, 1383548432, 1383548429, 1383548419, 1383548416, 1383548413, 1383548408, 1383548405, 1383548403, 1383548169, 1383548153, 1383548151, 1383548150, 1383548147, 1383547995, 1383547977, 1383547955, 1383547954, 1383547952, 1383547950, 1383547900, 1383547897, 1383547890, 1383547867, 1383547808, 1383547782, 1383547761, 1383547758, 1383547754, 1383547752, 1383547699, 1383547697, 1383547695, 1383547692, 1383547683, 1383547615, 1383547610, 1383547601, 1383547593, 1383547590, 1383547580, 1383547577, 1383547573, 1383547569, 1383547568, 1383547567, 1383547527, 1383547525, 1383547521, 1383547503, 1383547501, 1383547499, 1383547496, 1383547492, 1383547488, 1383547478, 1383547477, 1383547476, 1383547475, 1383547456, 1383547450, 1383547445, 1383547440, 1383547435, 1383547431, 1383547355, 1383547354, 1383547353, 1383547335, 1383547305, 1383547301, 1383547299, 1383547297, 1383547295]} final : False mtd_id 4302 list_pids : [1383548523] Looping around the photos to save general results len do output : 1 /1383548523.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, '3714822') ('4302', '26809088', '1383548523', None, None, None, None, None, '3714822') 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', '26809088', '1383548523', '0.04593865654576113', None, None, None, None, '3714822')] time used for this insertion : 0.011683464050292969 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0679783821105957 time spend to save output : 0.011896848678588867 total time spend for step 2 : 0.07987523078918457 step3:velours_tree Fri Sep 12 21:46:57 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 : {26809088: [{'Carton_brun': 26809119, 'Teint_Dans_La_Masse': 26809120, 'cartonnette': 26809121, 'metal': 26809122, 'mal_croppe': 26809123, 'Carton_gris': 26809124, 'autre_refus': 26809125, 'kraft': 26809126, 'papier': 26809127, 'flou': 26809128, 'plastique': 26809129, 'environnement': 26809130}]} input_args_next_step : {26809088: ()} output_args : {26809088: [{'Carton_brun': 26809119, 'Teint_Dans_La_Masse': 26809120, 'cartonnette': 26809121, 'metal': 26809122, 'mal_croppe': 26809123, 'Carton_gris': 26809124, 'autre_refus': 26809125, 'kraft': 26809126, 'papier': 26809127, 'flou': 26809128, 'plastique': 26809129, 'environnement': 26809130}]} args : 26809088 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 : ({'Carton_brun': 26809119, 'Teint_Dans_La_Masse': 26809120, 'cartonnette': 26809121, 'metal': 26809122, 'mal_croppe': 26809123, 'Carton_gris': 26809124, 'autre_refus': 26809125, 'kraft': 26809126, 'papier': 26809127, 'flou': 26809128, 'plastique': 26809129, 'environnement': 26809130},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26809088) 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([26809088]) 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.5490407943725586 time spend to save output : 7.534027099609375e-05 total time spend for step 3 : 0.5491161346435547 step4:send_mail_cod Fri Sep 12 21:46:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1383548523: ('0.04593865654576113',)} input_args_next_step : {1383548523: ()} output_args : {1383548523: ('0.04593865654576113',)} args : 1383548523 depend.output_id : 0 complete output_args for input 3 : {26809088: [{'Carton_brun': 26809119, 'Teint_Dans_La_Masse': 26809120, 'cartonnette': 26809121, 'metal': 26809122, 'mal_croppe': 26809123, 'Carton_gris': 26809124, 'autre_refus': 26809125, 'kraft': 26809126, 'papier': 26809127, 'flou': 26809128, 'plastique': 26809129, 'environnement': 26809130}]} input_args_next_step : {1383548523: ('0.04593865654576113',), 26809088: ()} output_args : {26809088: [{'Carton_brun': 26809119, 'Teint_Dans_La_Masse': 26809120, 'cartonnette': 26809121, 'metal': 26809122, 'mal_croppe': 26809123, 'Carton_gris': 26809124, 'autre_refus': 26809125, 'kraft': 26809126, 'papier': 26809127, 'flou': 26809128, 'plastique': 26809129, 'environnement': 26809130}]} args : 26809088 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.04593865654576113',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26809088) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1383548523) Found this number of photos: 1 ##### Call download_photos : nb_thread : 5 begin to download photo : 1383548523 download finish for photo 1383548523 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_P26809088_12-09-2025_21_46_58.pdf 26809121 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26809121 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1383547685: '1757705845_2950125_1383547503_0838494e53f8815b3e928b6d3779f144_rle_crop_3957387374_0.png', 1383547686: '1757705845_2950125_1383547435_969ea1abd72f2eba9f170f9baf2186bd_rle_crop_3957387171_0.png', 1383547687: '1757705845_2950125_1383547431_5a1aa36c1fc057787771570d8c354040_rle_crop_3957387184_0.png', 1383548018: '1757706065_2961370_1383547683_aaf3bbcb95f3b650557699db48c4ffcf_rle_crop_3957391266_0.png', 1383548146: '1757706087_2961963_1383547573_4b8d24f3149f73185d6118e3677375f3_rle_crop_3957391571_0.png', 1383548462: '1757706206_2968338_1383547761_24ad95025c338a32599182792d28c41b_rle_crop_3957395043_0.png', 1383548496: '1757706306_2973396_1383548153_c12a3da503b3572ca9fd9b055eed858b_rle_crop_3957397111_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/caaf21ef648f252d14ea946db8210e6e_20433849.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/10782af473749ad4446731467084fa0c_61212668.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/4821ac571039d0a1776c63235dec0fa7_72787404.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/33c330a01b43225803361b2765ba9205_49531137.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/5255a55c1652d78b1628c3ee0584cc7e_97720517.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/3d9ef0b9111d5a27b345b55b8ddb6b39_73333984.png change filename to text .imagette268091211757706418/ imagette268091211757706418/1757706306_2973396_1383548153_c12a3da503b3572ca9fd9b055eed858b_rle_crop_3957397111_0.png.png imagette268091211757706418/1757705845_2950125_1383547435_969ea1abd72f2eba9f170f9baf2186bd_rle_crop_3957387171_0.png.png imagette268091211757706418/1757706206_2968338_1383547761_24ad95025c338a32599182792d28c41b_rle_crop_3957395043_0.png.png imagette268091211757706418/1757706087_2961963_1383547573_4b8d24f3149f73185d6118e3677375f3_rle_crop_3957391571_0.png.png imagette268091211757706418/1757706065_2961370_1383547683_aaf3bbcb95f3b650557699db48c4ffcf_rle_crop_3957391266_0.png.png imagette268091211757706418/1757705845_2950125_1383547503_0838494e53f8815b3e928b6d3779f144_rle_crop_3957387374_0.png.png imagette268091211757706418/1757705845_2950125_1383547431_5a1aa36c1fc057787771570d8c354040_rle_crop_3957387184_0.png.png imagette268091221757706418/ imagette268091231757706418/ wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/9a4fc3fa5ec7abd12075336e739b2040_41532042.png imagette268091211757706418 26809122 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26809122 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette268091221757706418 26809123 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26809123 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette268091231757706418 26809125 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26809125 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1383547680: '1757705845_2950125_1383547440_a7336ab4b3bedb02c3e13e494a54d4dc_rle_crop_3957387056_0.png', 1383547681: '1757705845_2950125_1383547435_969ea1abd72f2eba9f170f9baf2186bd_rle_crop_3957387169_0.png', 1383547682: '1757705845_2950125_1383547431_5a1aa36c1fc057787771570d8c354040_rle_crop_3957387182_0.png', 1383548140: '1757706087_2961963_1383547577_c5ca283916d79b1d4c9a4092f5798578_rle_crop_3957391562_0.png', 1383548141: '1757706087_2961963_1383547573_4b8d24f3149f73185d6118e3677375f3_rle_crop_3957391573_0.png', 1383548457: '1757706206_2968338_1383547761_24ad95025c338a32599182792d28c41b_rle_crop_3957395049_0.png', 1383548495: '1757706306_2973396_1383548151_b3fe647ffed8084f4f6e277e32b245f9_rle_crop_3957397197_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/670fb01db31a9d27038f58e93c8815f1_51775236.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/1fb74d60ff371402c08b60acade567cb_60349805.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/a16ce32f32d2516e4594ed96c0f548ab_85073027.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/f1bc7f8af9b88e25c9968c2c75a38ea8_21309234.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/b9964618dc938194834b9868798c1503_79279700.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/3cb1ee14acc3a480076836f7b71b53db_88297609.png change filename to text .imagette268091251757706418/ imagette268091251757706418/1757705845_2950125_1383547440_a7336ab4b3bedb02c3e13e494a54d4dc_rle_crop_3957387056_0.png.png imagette268091251757706418/1757706206_2968338_1383547761_24ad95025c338a32599182792d28c41b_rle_crop_3957395049_0.png.png imagette268091251757706418/1757706087_2961963_1383547573_4b8d24f3149f73185d6118e3677375f3_rle_crop_3957391573_0.png.png imagette268091251757706418/1757705845_2950125_1383547435_969ea1abd72f2eba9f170f9baf2186bd_rle_crop_3957387169_0.png.png imagette268091251757706418/1757706087_2961963_1383547577_c5ca283916d79b1d4c9a4092f5798578_rle_crop_3957391562_0.png.png imagette268091251757706418/1757706306_2973396_1383548151_b3fe647ffed8084f4f6e277e32b245f9_rle_crop_3957397197_0.png.png imagette268091251757706418/1757705845_2950125_1383547431_5a1aa36c1fc057787771570d8c354040_rle_crop_3957387182_0.png.png imagette268091261757706419/ imagette268091281757706419/ wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/da4e048d50d2c2823bef02d20f53b2fd_67296707.png imagette268091251757706418 26809126 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26809126 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette268091261757706419 26809128 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26809128 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette268091281757706419 26809129 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26809129 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1383547693: '1757705845_2950125_1383547450_8ad1259535babb32d75080369a08f2d2_rle_crop_3957387019_0.png', 1383548148: '1757706087_2961963_1383547567_9ccddf5fe4c3ab53c4cda55cf8a82e2b_rle_crop_3957391613_0.png', 1383548422: '1757706187_2967883_1383547867_67fc17c9d01942a5972c7486d3f4e10d_rle_crop_3957394553_0.png', 1383548467: '1757706206_2968338_1383547900_bb2cdaad3f4e32d1be7d4ce3351c8969_rle_crop_3957395020_0.png', 1383548468: '1757706206_2968338_1383547758_f240b1dc3a139cf189fa66b4c473ca9f_rle_crop_3957395125_0.png', 1383548469: '1757706206_2968338_1383547754_08f2f695e98823a257bb4640e8a789e3_rle_crop_3957395135_0.png', 1383548500: '1757706306_2973396_1383548153_c12a3da503b3572ca9fd9b055eed858b_rle_crop_3957397114_0.png', 1383548512: '1757706327_2973758_1383547995_9105da8183eada14df7edd3c2230dced_rle_crop_3957397404_0.png', 1383548513: '1757706327_2973758_1383547867_67fc17c9d01942a5972c7486d3f4e10d_rle_crop_3957394553_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/88d90217d59eb809574f13baa33d69e1_72353687.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/48f4135b25d4b5cb91373ac2c2a62a8a_75201078.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/217e2daec172476b956513848182bc00_39280533.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/42c2f7795b74b928665f467d66235515_67440736.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/592f9ba73a8163574c9983ea8cc3920c_91497925.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/2dbef2998727d5c531b38fbfac531b0d_87234975.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/ea2a7ffd30f0a61fce4d3e99bb6426f7_968838.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/6baedb1390fae6f16d146ef00e463c9a_34781369.png change filename to text .imagette268091291757706419/ imagette268091291757706419/1757706206_2968338_1383547754_08f2f695e98823a257bb4640e8a789e3_rle_crop_3957395135_0.png.png imagette268091291757706419/1757706087_2961963_1383547567_9ccddf5fe4c3ab53c4cda55cf8a82e2b_rle_crop_3957391613_0.png.png imagette268091291757706419/1757706327_2973758_1383547867_67fc17c9d01942a5972c7486d3f4e10d_rle_crop_3957394553_0.png.png imagette268091291757706419/1757706187_2967883_1383547867_67fc17c9d01942a5972c7486d3f4e10d_rle_crop_3957394553_0.png.png imagette268091291757706419/1757705845_2950125_1383547450_8ad1259535babb32d75080369a08f2d2_rle_crop_3957387019_0.png.png imagette268091291757706419/1757706206_2968338_1383547758_f240b1dc3a139cf189fa66b4c473ca9f_rle_crop_3957395125_0.png.png imagette268091291757706419/1757706206_2968338_1383547900_bb2cdaad3f4e32d1be7d4ce3351c8969_rle_crop_3957395020_0.png.png imagette268091291757706419/1757706306_2973396_1383548153_c12a3da503b3572ca9fd9b055eed858b_rle_crop_3957397114_0.png.png imagette268091291757706419/1757706327_2973758_1383547995_9105da8183eada14df7edd3c2230dced_rle_crop_3957397404_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/217e2daec172476b956513848182bc00_87449827.png imagette268091291757706419 26809119 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26809119 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1383547689: '1757705845_2950125_1383547450_8ad1259535babb32d75080369a08f2d2_rle_crop_3957387027_0.png', 1383547690: '1757705845_2950125_1383547431_5a1aa36c1fc057787771570d8c354040_rle_crop_3957387186_0.png', 1383547691: '1757705845_2950125_1383547431_5a1aa36c1fc057787771570d8c354040_rle_crop_3957387187_0.png', 1383548463: '1757706206_2968338_1383547900_bb2cdaad3f4e32d1be7d4ce3351c8969_rle_crop_3957395018_0.png', 1383548464: '1757706206_2968338_1383547782_b69853192dfff71f45a98c80e5eb5906_rle_crop_3957395034_0.png', 1383548498: '1757706306_2973396_1383548151_b3fe647ffed8084f4f6e277e32b245f9_rle_crop_3957397196_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/2b126482c7b0d4cb029937b25b67addf_89148497.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/0d1f9c522787aa39003db40478271213_77407319.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/0a3ac2a52f16aecf358fe9a29ab00c45_38562707.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/7a6e982cddd38ca89c395758ec003d36_80220017.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/0c8f3c6906b1a9b774d999d3cfdb0164_73629873.png change filename to text .imagette268091191757706420/ imagette268091191757706420/1757706206_2968338_1383547900_bb2cdaad3f4e32d1be7d4ce3351c8969_rle_crop_3957395018_0.png.png imagette268091191757706420/1757705845_2950125_1383547431_5a1aa36c1fc057787771570d8c354040_rle_crop_3957387187_0.png.png imagette268091191757706420/1757706306_2973396_1383548151_b3fe647ffed8084f4f6e277e32b245f9_rle_crop_3957397196_0.png.png imagette268091191757706420/1757705845_2950125_1383547431_5a1aa36c1fc057787771570d8c354040_rle_crop_3957387186_0.png.png imagette268091191757706420/1757705845_2950125_1383547450_8ad1259535babb32d75080369a08f2d2_rle_crop_3957387027_0.png.png imagette268091191757706420/1757706206_2968338_1383547782_b69853192dfff71f45a98c80e5eb5906_rle_crop_3957395034_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/129ba982f63e8e2162f20e1d851c5891_18689219.png imagette268091191757706420 26809120 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26809120 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1383548421: '1757706187_2967883_1383547867_67fc17c9d01942a5972c7486d3f4e10d_rle_crop_3957394559_0.png', 1383548510: '1757706327_2973758_1383547867_67fc17c9d01942a5972c7486d3f4e10d_rle_crop_3957394563_0.png', 1383548509: '1757706327_2973758_1383547867_67fc17c9d01942a5972c7486d3f4e10d_rle_crop_3957394559_0.png', 1383548508: '1757706327_2973758_1383547995_9105da8183eada14df7edd3c2230dced_rle_crop_3957397406_0.png', 1383548507: '1757706327_2973758_1383547995_9105da8183eada14df7edd3c2230dced_rle_crop_3957397405_0.png', 1383548456: '1757706206_2968338_1383547752_481ffce556d4ed4eedd43f309e2e6a37_rle_crop_3957395148_0.png', 1383548455: '1757706206_2968338_1383547752_481ffce556d4ed4eedd43f309e2e6a37_rle_crop_3957395151_0.png', 1383548454: '1757706206_2968338_1383547752_481ffce556d4ed4eedd43f309e2e6a37_rle_crop_3957395149_0.png', 1383548453: '1757706206_2968338_1383547758_f240b1dc3a139cf189fa66b4c473ca9f_rle_crop_3957395126_0.png', 1383548452: '1757706206_2968338_1383547758_f240b1dc3a139cf189fa66b4c473ca9f_rle_crop_3957395127_0.png', 1383548451: '1757706206_2968338_1383547761_24ad95025c338a32599182792d28c41b_rle_crop_3957395054_0.png', 1383548450: '1757706206_2968338_1383547900_bb2cdaad3f4e32d1be7d4ce3351c8969_rle_crop_3957395015_0.png', 1383547673: '1757705845_2950125_1383547450_8ad1259535babb32d75080369a08f2d2_rle_crop_3957387022_0.png', 1383548420: '1757706187_2967883_1383547867_67fc17c9d01942a5972c7486d3f4e10d_rle_crop_3957394563_0.png', 1383548139: '1757706087_2961963_1383547615_f9481173f4c71059bcb69e9614f5606e_rle_crop_3957391541_0.png', 1383548011: '1757706065_2961370_1383547683_aaf3bbcb95f3b650557699db48c4ffcf_rle_crop_3957391271_0.png', 1383548008: '1757706065_2961370_1383547683_aaf3bbcb95f3b650557699db48c4ffcf_rle_crop_3957391269_0.png', 1383548006: '1757706065_2961370_1383547683_aaf3bbcb95f3b650557699db48c4ffcf_rle_crop_3957391268_0.png', 1383548004: '1757706065_2961370_1383547692_93fec925000a1584ac82863557b529cb_rle_crop_3957391260_0.png', 1383547678: '1757705845_2950125_1383547435_969ea1abd72f2eba9f170f9baf2186bd_rle_crop_3957387173_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/d07bd33087434ce4ce4656daebc1e364_20839387.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/777ef15ce5e17ee735371933cc5d8a1e_2607685.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/d07bd33087434ce4ce4656daebc1e364_96537889.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/e39a449f83f95e052151480fe75fef8a_91986083.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/0a69b2728168cbb7ccad133de4b11f59_97007734.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/e2d2399d0acd858fa37db39d754ef56d_12969496.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/ae5abe0331a212a7c495c09dba4d11c2_88043191.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/d5a44fd3911bce40f8dd2f79deb65603_21668279.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/1f9b4594d4ade1702a23e57b8566b173_70278376.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/84e37d071ab363d4ced324af00809ebe_63865940.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/6fe31d955f414ec5888f0cb787df5b74_88408492.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/40ee35d48dbed0804735eaf046a848eb_10688358.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/b961ceb714235622181abcf0a8be48d1_98442674.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/777ef15ce5e17ee735371933cc5d8a1e_20198884.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/82a8c75858296b9f8a437fb721da58f2_51134039.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/e745633aa764400d346897054253a6c4_27180675.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/1d4c0c5ece72cc0c6a2cda2402482b3b_67411230.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/e680fbae89d0d706b016c983a0f65033_89462771.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/b4bb6da1783b6cef345aace5a50f6a23_13558327.png change filename to text .imagette268091201757706420/ imagette268091201757706420/1757706206_2968338_1383547752_481ffce556d4ed4eedd43f309e2e6a37_rle_crop_3957395149_0.png.png imagette268091201757706420/1757706327_2973758_1383547867_67fc17c9d01942a5972c7486d3f4e10d_rle_crop_3957394563_0.png.png imagette268091201757706420/1757706087_2961963_1383547615_f9481173f4c71059bcb69e9614f5606e_rle_crop_3957391541_0.png.png imagette268091201757706420/1757706206_2968338_1383547761_24ad95025c338a32599182792d28c41b_rle_crop_3957395054_0.png.png imagette268091201757706420/1757706206_2968338_1383547900_bb2cdaad3f4e32d1be7d4ce3351c8969_rle_crop_3957395015_0.png.png imagette268091201757706420/1757706187_2967883_1383547867_67fc17c9d01942a5972c7486d3f4e10d_rle_crop_3957394559_0.png.png imagette268091201757706420/1757706206_2968338_1383547758_f240b1dc3a139cf189fa66b4c473ca9f_rle_crop_3957395127_0.png.png imagette268091201757706420/1757706065_2961370_1383547683_aaf3bbcb95f3b650557699db48c4ffcf_rle_crop_3957391269_0.png.png imagette268091201757706420/1757706327_2973758_1383547867_67fc17c9d01942a5972c7486d3f4e10d_rle_crop_3957394559_0.png.png imagette268091201757706420/1757705845_2950125_1383547435_969ea1abd72f2eba9f170f9baf2186bd_rle_crop_3957387173_0.png.png imagette268091201757706420/1757706327_2973758_1383547995_9105da8183eada14df7edd3c2230dced_rle_crop_3957397405_0.png.png imagette268091201757706420/1757706206_2968338_1383547758_f240b1dc3a139cf189fa66b4c473ca9f_rle_crop_3957395126_0.png.png imagette268091201757706420/1757706206_2968338_1383547752_481ffce556d4ed4eedd43f309e2e6a37_rle_crop_3957395148_0.png.png imagette268091201757706420/1757706187_2967883_1383547867_67fc17c9d01942a5972c7486d3f4e10d_rle_crop_3957394563_0.png.png imagette268091201757706420/1757706065_2961370_1383547692_93fec925000a1584ac82863557b529cb_rle_crop_3957391260_0.png.png imagette268091201757706420/1757705845_2950125_1383547450_8ad1259535babb32d75080369a08f2d2_rle_crop_3957387022_0.png.png imagette268091201757706420/1757706327_2973758_1383547995_9105da8183eada14df7edd3c2230dced_rle_crop_3957397406_0.png.png imagette268091201757706420/1757706065_2961370_1383547683_aaf3bbcb95f3b650557699db48c4ffcf_rle_crop_3957391271_0.png.png imagette268091201757706420/1757706065_2961370_1383547683_aaf3bbcb95f3b650557699db48c4ffcf_rle_crop_3957391268_0.png.png imagette268091201757706420/1757706206_2968338_1383547752_481ffce556d4ed4eedd43f309e2e6a37_rle_crop_3957395151_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/01c2627ae8214100472151eec5edff53_33942520.png imagette268091201757706420 26809124 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26809124 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1383548143: '1757706087_2961963_1383547577_c5ca283916d79b1d4c9a4092f5798578_rle_crop_3957391554_0.png', 1383548144: '1757706087_2961963_1383547577_c5ca283916d79b1d4c9a4092f5798578_rle_crop_3957391558_0.png', 1383548145: '1757706087_2961963_1383547568_8265273ef19c7dbccb4ccb0b2ba42995_rle_crop_3957391604_0.png', 1383548459: '1757706206_2968338_1383547782_b69853192dfff71f45a98c80e5eb5906_rle_crop_3957395031_0.png', 1383548460: '1757706206_2968338_1383547761_24ad95025c338a32599182792d28c41b_rle_crop_3957395044_0.png', 1383548461: '1757706206_2968338_1383547761_24ad95025c338a32599182792d28c41b_rle_crop_3957395046_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/a94b6b78105b7135d2e6bf7a747b52c6_98174914.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/15247c798188811afd67b5a55f811582_28295403.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/1a96c03d3083dcd86c4cac09c6a80877_68157708.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/43d897f10dcfde763efe95c47992d372_25152390.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/ade7131343d5f178e651ef6aa438ce1c_35168707.png change filename to text .imagette268091241757706421/ imagette268091241757706421/1757706087_2961963_1383547577_c5ca283916d79b1d4c9a4092f5798578_rle_crop_3957391554_0.png.png imagette268091241757706421/1757706206_2968338_1383547761_24ad95025c338a32599182792d28c41b_rle_crop_3957395044_0.png.png imagette268091241757706421/1757706087_2961963_1383547577_c5ca283916d79b1d4c9a4092f5798578_rle_crop_3957391558_0.png.png imagette268091241757706421/1757706087_2961963_1383547568_8265273ef19c7dbccb4ccb0b2ba42995_rle_crop_3957391604_0.png.png imagette268091241757706421/1757706206_2968338_1383547761_24ad95025c338a32599182792d28c41b_rle_crop_3957395046_0.png.png imagette268091241757706421/1757706206_2968338_1383547782_b69853192dfff71f45a98c80e5eb5906_rle_crop_3957395031_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/539397c224b786299d4a1e7c85f9ef9a_28931757.png imagette268091241757706421 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26809088 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26809131,26809132,26809133,26809134,26809135,26809136,26809137,26809138,26809139,26809140,26809141,26809142?tags=Carton_brun,Teint_Dans_La_Masse,cartonnette,metal,mal_croppe,Carton_gris,autre_refus,kraft,papier,flou,plastique,environnement your option no_mail is active, we will not send the real mail to your client args[1383548523] : ('0.04593865654576113',) no score found for photo 1383548523 We are sending mail with results at report@fotonower.com refus_total : 0.04593865654576113 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26809088 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_P26809088_12-09-2025_21_46_58.pdf results_Auto_P26809088_12-09-2025_21_46_58.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26809088_12-09-2025_21_46_58.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','26809088','results_Auto_P26809088_12-09-2025_21_46_58.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26809088_12-09-2025_21_46_58.pdf','pdf','','0.18','0.04593865654576113') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26809088]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1383548523] map_info['map_portfolio_photo'] : {26809088: [1383548523, 1383548445, 1383548442, 1383548434, 1383548432, 1383548429, 1383548419, 1383548416, 1383548413, 1383548408, 1383548405, 1383548403, 1383548169, 1383548153, 1383548151, 1383548150, 1383548147, 1383547995, 1383547977, 1383547955, 1383547954, 1383547952, 1383547950, 1383547900, 1383547897, 1383547890, 1383547867, 1383547808, 1383547782, 1383547761, 1383547758, 1383547754, 1383547752, 1383547699, 1383547697, 1383547695, 1383547692, 1383547683, 1383547615, 1383547610, 1383547601, 1383547593, 1383547590, 1383547580, 1383547577, 1383547573, 1383547569, 1383547568, 1383547567, 1383547527, 1383547525, 1383547521, 1383547503, 1383547501, 1383547499, 1383547496, 1383547492, 1383547488, 1383547478, 1383547477, 1383547476, 1383547475, 1383547456, 1383547450, 1383547445, 1383547440, 1383547435, 1383547431, 1383547355, 1383547354, 1383547353, 1383547335, 1383547305, 1383547301, 1383547299, 1383547297, 1383547295]} final : False mtd_id 4302 list_pids : [1383548523] 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, '3714822') ('4302', '26809088', '1383548523', None, None, None, None, None, '3714822') 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', '26809088', '1383548523', None, None, None, None, None, '3714822')] time used for this insertion : 0.014904975891113281 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.672357082366943 time spend to save output : 0.015088319778442383 total time spend for step 4 : 4.687445402145386 step5:split_time_score Fri Sep 12 21:47:03 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 : ['26809088'] 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 : [('26809088',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26809088) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1383548523: {'path': 'temp/1757706418_3965867_1383548523_ac9cca387af90d85419bdfacf39dd504.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 = 26809088; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 26809088 group by h (('21', 77),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26809088 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 (26809088) 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 (26809088) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 12092025 26809088 Nombre de photos uploadées : 77 / 23040 (0%) 12092025 26809088 Nombre de photos taguées (types de déchets): 0 / 77 (0%) 12092025 26809088 Nombre de photos taguées (volume) : 0 / 77 (0%) [{'photo_id': 1383547305, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/fe12bf442a0b04b1e789c9348fd09d6b.jpg', 'username': None, 'uploaded_at': 1757705468, 'text': 'image_12092025_21_30_04_10144.jpg'}, {'photo_id': 1383547301, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/a1e06642aaa67bf3eba3294a93df7940.jpg', 'username': None, 'uploaded_at': 1757705468, 'text': 'image_12092025_21_30_14_10133.jpg'}, {'photo_id': 1383547299, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/c5ef9c86e8a52f05ffcdbac544981fe7.jpg', 'username': None, 'uploaded_at': 1757705468, 'text': 'image_12092025_21_30_25_10135.jpg'}, {'photo_id': 1383547297, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/922f5c84ae90cb4c0701355ab3202e1b.jpg', 'username': None, 'uploaded_at': 1757705468, 'text': 'image_12092025_21_30_34_9125.jpg'}] 0 [] elapsed_time : load_data_split_time_score 4.76837158203125e-06 elapsed_time : order_list_meta_photo_and_scores 1.3589859008789062e-05 ????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0036275386810302734 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26809088, '2025-09-12' ) 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-09-12' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2276429,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20415854454040527 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= 2276429 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26769794, 'dashboard_result_id': 15106436, '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_P26769794_12-09-2025_00_17_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26769809, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26769810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26769811, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26769812, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26769813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26769814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26769815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26769816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26769817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26769818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26769819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26769820, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26769970, 'dashboard_result_id': 15106437, '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_P26769970_12-09-2025_00_33_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26769979, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26769980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26769981, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26769982, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26769983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26769984, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26769985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26769986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26769987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26769988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26769989, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26769990, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26770154, 'dashboard_result_id': 15106438, '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_P26770154_12-09-2025_00_49_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26770173, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26770176, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26770178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26770180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26770181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26770182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26770183, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26770184, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26770185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26770186, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26770187, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26770188, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26770454, 'dashboard_result_id': 15106439, '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_P26770454_12-09-2025_01_33_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26770476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26770477, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26770478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26770479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26770480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26770481, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26770482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26770483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26770484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26770485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26770486, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26770487, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26771445, 'dashboard_result_id': 15106440, '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_P26771445_12-09-2025_01_47_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26771452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26771453, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26771454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26771455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26771456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26771457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26771458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26771459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26771460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26771461, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26771462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26771463, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26771671, 'dashboard_result_id': 15106441, '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_P26771671_12-09-2025_02_03_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26771683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26771684, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26771685, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26771686, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26771687, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26771688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26771689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26771690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26771691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26771692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26771693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26771694, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26771908, 'dashboard_result_id': 15106442, '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_P26771908_12-09-2025_02_21_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26771925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26771927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26771928, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26771929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26771930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26771931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26771932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26771933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26771934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26771935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26771936, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26771937, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26772224, 'dashboard_result_id': 15106443, '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_P26772224_12-09-2025_02_34_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26772242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26772243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26772244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26772245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26772246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26772247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26772249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26772250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26772251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26772252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26772253, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26772254, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26772605, 'dashboard_result_id': 15106444, '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_P26772605_12-09-2025_02_47_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26772643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26772644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26772645, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26772646, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26772647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26772648, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26772649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26772650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26772651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26772652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26772653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26772654, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26773115, 'dashboard_result_id': 15106445, '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_P26773115_12-09-2025_03_02_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26773140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26773141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26773142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26773143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26773144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26773145, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26773146, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26773148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26773149, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26773150, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26773151, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26773152, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26773547, 'dashboard_result_id': 15106446, '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_P26773547_12-09-2025_03_17_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26773591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26773592, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26773593, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26773594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26773595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26773596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26773597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26773598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26773599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26773600, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26773601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26773602, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26773878, 'dashboard_result_id': 15106447, '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_P26773878_12-09-2025_03_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26773898, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26773899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26773900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26773901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26773902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26773903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26773904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26773905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26773906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26773907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26773908, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26773909, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26774340, 'dashboard_result_id': 15106448, '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_P26774340_12-09-2025_03_47_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26774463, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26774464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26774465, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26774466, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26774467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26774468, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26774469, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26774470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26774471, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26774472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26774473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26774474, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26774756, 'dashboard_result_id': 15106449, '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_P26774756_12-09-2025_04_03_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26774767, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26774768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26774769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26774770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26774771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26774772, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26774773, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26774774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26774775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26774776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26774777, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26774778, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26775013, 'dashboard_result_id': 15106450, '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_P26775013_12-09-2025_04_25_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26775036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26775037, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26775038, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26775039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26775040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26775041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26775042, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26775043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26775044, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26775045, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26775046, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26775047, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26776010, 'dashboard_result_id': 15106451, '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_P26776010_12-09-2025_05_23_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26776014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26776015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26776016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26776017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26776018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26776019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26776020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26776021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26776022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26776023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26776024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26776025, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26776254, 'dashboard_result_id': 15106452, '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_P26776254_12-09-2025_05_34_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26776261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26776262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26776263, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26776264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26776265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26776266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26776267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26776268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26776269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26776270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26776271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26776272, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26776334, 'dashboard_result_id': 15106453, '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_P26776334_12-09-2025_05_47_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26776356, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26776357, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26776358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26776359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26776360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26776361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26776362, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26776363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26776364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26776365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26776366, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26776367, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26776641, 'dashboard_result_id': 15106454, '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_P26776641_12-09-2025_06_07_27.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26776646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26776647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26776648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26776649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26776650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26776651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26776652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26776653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26776655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26776656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26776657, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26776658, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26777142, 'dashboard_result_id': 15106455, '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_P26777142_12-09-2025_06_17_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26777152, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26777153, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26777154, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26777155, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26777156, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26777157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26777158, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26777159, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26777160, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26777161, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26777162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26777164, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26777304, 'dashboard_result_id': 15106456, '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_P26777304_12-09-2025_06_34_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26777309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26777310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26777311, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26777312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26777313, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26777314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26777315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26777316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26777317, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26777318, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26777319, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26777320, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26777851, 'dashboard_result_id': 15106457, '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_P26777851_12-09-2025_06_49_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26777872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26777873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26777874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26777875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26777876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26777877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26777878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26777879, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26777880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26777881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26777882, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26777883, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26778063, 'dashboard_result_id': 15106458, '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_P26778063_12-09-2025_07_11_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26778074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26778075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26778076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26778077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26778078, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26778079, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26778080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26778081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26778082, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26778083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26778084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26778085, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26778501, 'dashboard_result_id': 15106459, '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_P26778501_12-09-2025_07_16_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26778733, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26778734, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26778735, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26778736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26778737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26778738, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26778739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26778740, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26778741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26778742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26778743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26778744, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26778906, 'dashboard_result_id': 15106460, '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_P26778906_12-09-2025_07_36_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26778949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26778950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26778951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26778952, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26778953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26778954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26778955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26778956, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26778957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26778958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26778959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26778960, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26779351, 'dashboard_result_id': 15106461, '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_P26779351_12-09-2025_07_54_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26779363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26779364, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26779365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26779366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26779367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26779368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26779369, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26779370, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26779371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26779372, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26779373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26779374, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26779799, 'dashboard_result_id': 15106462, '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_P26779799_12-09-2025_08_06_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26779821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26779822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26779823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26779824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26779825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26779826, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26779827, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26779828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26779829, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26779830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26779831, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26779832, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26780037, 'dashboard_result_id': 15106463, '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_P26780037_12-09-2025_08_17_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26780066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26780067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26780068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26780069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26780070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26780071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26780072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26780073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26780074, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26780075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26780076, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26780077, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26780421, 'dashboard_result_id': 15106464, '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_P26780421_12-09-2025_08_39_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26780432, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26780433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26780434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26780435, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26780436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26780437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26780438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26780439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26780440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26780441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26780442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26780443, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26780889, 'dashboard_result_id': 15106465, '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_P26780889_12-09-2025_08_49_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26780900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26780901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26780902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26780903, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26780904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26780905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26780906, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26780907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26780908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26780909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26780910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26780912, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26781097, 'dashboard_result_id': 15106466, '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_P26781097_12-09-2025_11_01_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26781109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26781110, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26781111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26781112, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26781113, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26781114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26781115, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26781116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26781117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26781118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26781119, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26781120, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26781445, 'dashboard_result_id': 15106467, '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_P26781445_12-09-2025_09_48_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26781461, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26781462, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26781463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26781464, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26781465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26781466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26781467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26781468, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26781469, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26781470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26781471, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26781472, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26781588, 'dashboard_result_id': 15106468, '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_P26781588_12-09-2025_10_02_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26781600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26781601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26781602, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26781603, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26781604, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26781605, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26781606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26781607, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26781608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26781609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26781610, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26781611, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26781923, 'dashboard_result_id': 15106469, '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_P26781923_12-09-2025_10_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26781936, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26781937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26781938, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26781939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26781940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26781941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26781942, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26781943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26781945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26781946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26781947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26781948, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26782198, 'dashboard_result_id': 15106470, '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_P26782198_12-09-2025_10_34_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26782223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26782224, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26782225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26782226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26782227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26782228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26782229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26782230, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26782231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26782232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26782233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26782234, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26782512, 'dashboard_result_id': 15106471, '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_P26782512_12-09-2025_10_47_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26782533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26782534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26782535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26782536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26782537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26782538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26782539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26782540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26782541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26782542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26782543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26782544, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26782878, 'dashboard_result_id': 15106472, '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_P26782878_12-09-2025_11_03_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26782995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26782996, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26782997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26782998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26782999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26783000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26783001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26783002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26783003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26783004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26783005, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26783006, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26784153, 'dashboard_result_id': 15106473, '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_P26784153_12-09-2025_11_31_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26784210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26784211, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26784212, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26784213, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26784214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26784215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26784216, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26784217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26784218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26784219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26784220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26784221, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26786071, 'dashboard_result_id': 15106474, '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_P26786071_12-09-2025_11_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26786126, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26786127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26786128, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26786129, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26786130, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26786131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26786132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26786133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26786134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26786135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26786136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26786137, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26786240, 'dashboard_result_id': 15106475, '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_P26786240_12-09-2025_11_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26786275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26786276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26786277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26786278, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26786279, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26786280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26786281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26786282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26786283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26786284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26786285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26786286, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26786893, 'dashboard_result_id': 15106476, '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_P26786893_12-09-2025_12_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26786905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26786906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26786907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26786908, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26786909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26786910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26786911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26786912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26786913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26786914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26786915, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26786916, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26787654, 'dashboard_result_id': 15106477, '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_P26787654_12-09-2025_12_21_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26787661, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26787662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26787663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26787664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26787665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26787666, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26787667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26787668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26787669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26787670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26787671, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26787672, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26791753, 'dashboard_result_id': 15106478, '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_P26791753_12-09-2025_14_03_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26791756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26791757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26791758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26791759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26791760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26791761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26791762, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26791763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26791764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26791765, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26791766, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26791767, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26791938, 'dashboard_result_id': 15106479, '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_P26791938_12-09-2025_14_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26791949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26791950, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26791951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26791952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26791953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26791954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26791955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26791956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26791957, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26791958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26791959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26791960, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26792456, 'dashboard_result_id': 15106480, '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_P26792456_12-09-2025_14_33_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26792463, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26792464, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26792465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26792466, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26792467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26792468, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26792469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26792470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26792471, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26792472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26792473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26792474, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26792889, 'dashboard_result_id': 15106481, '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_P26792889_12-09-2025_14_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26792926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26792927, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26792928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26792929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26792930, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26792931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26792932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26792933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26792934, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26792935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26792936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26792937, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26793443, 'dashboard_result_id': 15106482, '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_P26793443_12-09-2025_15_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26793480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26793481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26793482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26793483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26793484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26793485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26793486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26793487, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26793488, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26793489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26793490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26793491, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26793948, 'dashboard_result_id': 15106483, '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_P26793948_12-09-2025_15_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26794064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26794065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26794066, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26794067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26794068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26794069, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26794070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26794071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26794072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26794073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26794074, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26794075, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26794876, 'dashboard_result_id': 15106484, '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_P26794876_12-09-2025_15_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26794919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26794920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26794921, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26794922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26794923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26794924, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26794925, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26794926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26794927, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26794928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26794929, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26794930, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26795626, 'dashboard_result_id': 15106485, '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_P26795626_12-09-2025_15_47_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26795652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26795653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26795654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26795655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26795656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26795657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26795658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26795659, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26795660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26795661, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26795662, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26795663, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26796371, 'dashboard_result_id': 15106486, '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_P26796371_12-09-2025_16_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26796377, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26796378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26796379, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26796380, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26796381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26796382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26796383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26796384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26796385, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26796386, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26796387, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26796388, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26796958, 'dashboard_result_id': 15106487, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26796989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26796991, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26796993, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26796995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26796998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26797000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26797003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26797005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26797008, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26797010, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26797011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26797012, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26797204, 'dashboard_result_id': 15106488, '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_P26797204_12-09-2025_16_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26797215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26797216, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26797217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26797218, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26797219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26797220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26797221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26797222, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26797223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26797224, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26797225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26797226, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26797708, 'dashboard_result_id': 15106489, '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_P26797708_12-09-2025_16_46_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26797736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26797737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26797738, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26797739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26797740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26797741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26797742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26797743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26797744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26797745, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26797746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26797747, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26798546, 'dashboard_result_id': 15106490, '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_P26798546_12-09-2025_17_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26798600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26798601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26798603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26798604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26798605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26798606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26798607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26798608, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26798609, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26798610, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26798611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26798612, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26799245, 'dashboard_result_id': 15106491, '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_P26799245_12-09-2025_17_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26799319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26799320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26799321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26799322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26799323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26799324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26799325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26799326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26799327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26799328, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26799329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26799330, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26800267, 'dashboard_result_id': 15106492, '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_P26800267_12-09-2025_17_42_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26800279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26800280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26800281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26800282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26800283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26800284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26800285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26800286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26800288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26800289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26800290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26800291, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26802165, 'dashboard_result_id': 15106493, '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_P26802165_12-09-2025_18_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26802196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26802197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26802198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26802199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26802200, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26802201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26802202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26802203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26802204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26802205, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26802206, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26802207, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26802608, 'dashboard_result_id': 15106494, '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_P26802608_12-09-2025_18_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26802612, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26802613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26802614, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26802615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26802616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26802617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26802618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26802619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26802620, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26802621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26802622, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26802623, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26802977, 'dashboard_result_id': 15106495, '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_P26802977_12-09-2025_18_49_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26802996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26802997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26802998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26802999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26803000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26803001, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26803002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26803003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26803004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26803005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26803006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26803007, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26803562, 'dashboard_result_id': 15106496, '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_P26803562_12-09-2025_19_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26803573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26803574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26803575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26803576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26803577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26803578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26803579, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26803580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26803581, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26803582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26803583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26803584, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26804008, 'dashboard_result_id': 15106497, '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_P26804008_12-09-2025_19_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26804027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26804028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26804029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26804030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26804031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26804032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26804033, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26804034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26804035, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26804036, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26804037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26804038, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26804818, 'dashboard_result_id': 15106498, '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_P26804818_12-09-2025_19_42_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26804844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26804845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26804846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26804847, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26804848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26804849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26804850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26804851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26804852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26804853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26804854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26804855, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26805768, 'dashboard_result_id': 15106499, '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_P26805768_12-09-2025_19_49_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26805771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26805772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26805773, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26805774, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26805775, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26805776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26805777, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26805778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26805779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26805780, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26805781, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26805782, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26805899, 'dashboard_result_id': 15106500, '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_P26805899_12-09-2025_20_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26805904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26805905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26805906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26805907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26805908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26805909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26805910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26805911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26805912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26805913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26805914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26805915, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26806295, 'dashboard_result_id': 15106501, '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_P26806295_12-09-2025_20_19_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26806313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26806314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26806315, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26806316, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26806317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26806318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26806319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26806320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26806321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26806322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26806323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26806324, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26806952, 'dashboard_result_id': 15106502, '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_P26806952_12-09-2025_20_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26806956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26806957, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26806958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26806959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26806960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26806961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26806962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26806963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26806964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26806965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26806966, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26806967, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26807394, 'dashboard_result_id': 15106503, '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_P26807394_12-09-2025_20_41_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26807411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26807412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26807413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26807414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26807415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26807416, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26807418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26807419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26807420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26807421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26807422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26807423, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26808154, 'dashboard_result_id': 15106504, '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_P26808154_12-09-2025_20_57_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26808171, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26808172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26808173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26808174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26808175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26808176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26808177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26808178, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26808179, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26808180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26808181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26808182, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26808215, 'dashboard_result_id': 15106505, '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_P26808215_12-09-2025_21_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26808223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26808224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26808225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26808226, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26808227, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26808228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26808229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26808230, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26808231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26808232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26808233, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26808234, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26808609, 'dashboard_result_id': 15106506, '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_P26808609_12-09-2025_21_33_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26808653, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26808654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26808655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26808656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26808657, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26808658, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26808659, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26808660, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26808661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26808662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26808663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26808664, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2287439, 'mtr_portfolio_id': 26809088, 'dashboard_result_id': 15106507, '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_P26809088_12-09-2025_21_42_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26809119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26809120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26809121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26809122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26809123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26809124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26809125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26809126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26809127, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26809128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26809129, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26809130, '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 = 26769794 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 = 26769794 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 = 26769794 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26769794 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 = 26769794 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 = 26769794 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26769794_12-09-2025_00_17_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26769794 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_P26769794_12-09-2025_00_17_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26769809, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26769810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26769811, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26769812, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26769813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26769814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26769815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26769816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26769817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26769818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26769819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26769820, 'pht': 3726}}" where mtr_portfolio_id = 26769794 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26769970 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 = 26769970 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 = 26769970 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26769970 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 = 26769970 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 = 26769970 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26769970_12-09-2025_00_33_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26769970 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_P26769970_12-09-2025_00_33_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26769979, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26769980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26769981, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26769982, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26769983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26769984, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26769985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26769986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26769987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26769988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26769989, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26769990, 'pht': 3726}}" where mtr_portfolio_id = 26769970 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26770154 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 = 26770154 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 = 26770154 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26770154 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 = 26770154 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 = 26770154 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26770154_12-09-2025_00_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26770154 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_P26770154_12-09-2025_00_49_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26770173, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26770176, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26770178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26770180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26770181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26770182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26770183, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26770184, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26770185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26770186, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26770187, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26770188, 'pht': 3726}}" where mtr_portfolio_id = 26770154 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26770454 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 = 26770454 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 = 26770454 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26770454 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 = 26770454 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 = 26770454 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26770454_12-09-2025_01_33_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26770454 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_P26770454_12-09-2025_01_33_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26770476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26770477, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26770478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26770479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26770480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26770481, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26770482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26770483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26770484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26770485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26770486, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26770487, 'pht': 3726}}" where mtr_portfolio_id = 26770454 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26771445 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 = 26771445 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 = 26771445 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26771445 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 = 26771445 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 = 26771445 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26771445_12-09-2025_01_47_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26771445 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_P26771445_12-09-2025_01_47_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26771452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26771453, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26771454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26771455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26771456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26771457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26771458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26771459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26771460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26771461, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26771462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26771463, 'pht': 3726}}" where mtr_portfolio_id = 26771445 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26771671 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 = 26771671 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 = 26771671 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26771671 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 = 26771671 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 = 26771671 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26771671_12-09-2025_02_03_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26771671 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_P26771671_12-09-2025_02_03_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26771683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26771684, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26771685, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26771686, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26771687, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26771688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26771689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26771690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26771691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26771692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26771693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26771694, 'pht': 3726}}" where mtr_portfolio_id = 26771671 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26771908 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 = 26771908 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 = 26771908 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26771908 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 = 26771908 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 = 26771908 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26771908_12-09-2025_02_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26771908 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_P26771908_12-09-2025_02_21_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26771925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26771927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26771928, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26771929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26771930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26771931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26771932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26771933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26771934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26771935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26771936, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26771937, 'pht': 3726}}" where mtr_portfolio_id = 26771908 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26772224 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 = 26772224 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 = 26772224 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26772224 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 = 26772224 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 = 26772224 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26772224_12-09-2025_02_34_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26772224 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_P26772224_12-09-2025_02_34_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26772242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26772243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26772244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26772245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26772246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26772247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26772249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26772250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26772251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26772252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26772253, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26772254, 'pht': 3726}}" where mtr_portfolio_id = 26772224 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26772605 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 = 26772605 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 = 26772605 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26772605 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 = 26772605 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 = 26772605 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26772605_12-09-2025_02_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26772605 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_P26772605_12-09-2025_02_47_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26772643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26772644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26772645, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26772646, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26772647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26772648, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26772649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26772650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26772651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26772652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26772653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26772654, 'pht': 3726}}" where mtr_portfolio_id = 26772605 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26773115 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 = 26773115 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 = 26773115 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26773115 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 = 26773115 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 = 26773115 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26773115_12-09-2025_03_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26773115 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_P26773115_12-09-2025_03_02_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26773140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26773141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26773142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26773143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26773144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26773145, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26773146, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26773148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26773149, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26773150, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26773151, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26773152, 'pht': 3726}}" where mtr_portfolio_id = 26773115 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26773547 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 = 26773547 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 = 26773547 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26773547 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 = 26773547 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 = 26773547 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26773547_12-09-2025_03_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26773547 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_P26773547_12-09-2025_03_17_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26773591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26773592, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26773593, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26773594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26773595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26773596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26773597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26773598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26773599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26773600, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26773601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26773602, 'pht': 3726}}" where mtr_portfolio_id = 26773547 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26773878 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 = 26773878 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 = 26773878 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26773878 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 = 26773878 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 = 26773878 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26773878_12-09-2025_03_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26773878 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_P26773878_12-09-2025_03_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26773898, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26773899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26773900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26773901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26773902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26773903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26773904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26773905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26773906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26773907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26773908, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26773909, 'pht': 3726}}" where mtr_portfolio_id = 26773878 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26774340 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 = 26774340 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 = 26774340 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26774340 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 = 26774340 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 = 26774340 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26774340_12-09-2025_03_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26774340 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_P26774340_12-09-2025_03_47_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26774463, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26774464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26774465, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26774466, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26774467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26774468, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26774469, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26774470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26774471, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26774472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26774473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26774474, 'pht': 3726}}" where mtr_portfolio_id = 26774340 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26774756 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 = 26774756 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 = 26774756 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26774756 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 = 26774756 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 = 26774756 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26774756_12-09-2025_04_03_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26774756 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_P26774756_12-09-2025_04_03_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26774767, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26774768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26774769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26774770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26774771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26774772, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26774773, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26774774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26774775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26774776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26774777, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26774778, 'pht': 3726}}" where mtr_portfolio_id = 26774756 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26775013 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 = 26775013 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 = 26775013 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26775013 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 = 26775013 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 = 26775013 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26775013_12-09-2025_04_25_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26775013 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_P26775013_12-09-2025_04_25_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26775036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26775037, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26775038, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26775039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26775040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26775041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26775042, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26775043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26775044, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26775045, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26775046, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26775047, 'pht': 3726}}" where mtr_portfolio_id = 26775013 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26776010 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 = 26776010 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 = 26776010 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26776010 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 = 26776010 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 = 26776010 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26776010_12-09-2025_05_23_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26776010 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_P26776010_12-09-2025_05_23_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26776014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26776015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26776016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26776017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26776018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26776019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26776020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26776021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26776022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26776023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26776024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26776025, 'pht': 3726}}" where mtr_portfolio_id = 26776010 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26776254 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 = 26776254 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 = 26776254 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26776254 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 = 26776254 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 = 26776254 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26776254_12-09-2025_05_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26776254 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_P26776254_12-09-2025_05_34_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26776261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26776262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26776263, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26776264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26776265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26776266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26776267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26776268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26776269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26776270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26776271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26776272, 'pht': 3726}}" where mtr_portfolio_id = 26776254 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26776334 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 = 26776334 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 = 26776334 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26776334 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 = 26776334 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 = 26776334 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26776334_12-09-2025_05_47_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26776334 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_P26776334_12-09-2025_05_47_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26776356, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26776357, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26776358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26776359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26776360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26776361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26776362, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26776363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26776364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26776365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26776366, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26776367, 'pht': 3726}}" where mtr_portfolio_id = 26776334 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26776641 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 = 26776641 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 = 26776641 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26776641 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 = 26776641 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 = 26776641 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26776641_12-09-2025_06_07_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26776641 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_P26776641_12-09-2025_06_07_27.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26776646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26776647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26776648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26776649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26776650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26776651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26776652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26776653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26776655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26776656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26776657, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26776658, 'pht': 3726}}" where mtr_portfolio_id = 26776641 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26777142 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 = 26777142 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 = 26777142 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26777142 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 = 26777142 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 = 26777142 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26777142_12-09-2025_06_17_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26777142 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_P26777142_12-09-2025_06_17_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26777152, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26777153, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26777154, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26777155, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26777156, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26777157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26777158, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26777159, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26777160, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26777161, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26777162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26777164, 'pht': 3726}}" where mtr_portfolio_id = 26777142 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26777304 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 = 26777304 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 = 26777304 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26777304 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 = 26777304 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 = 26777304 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26777304_12-09-2025_06_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26777304 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_P26777304_12-09-2025_06_34_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26777309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26777310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26777311, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26777312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26777313, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26777314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26777315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26777316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26777317, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26777318, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26777319, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26777320, 'pht': 3726}}" where mtr_portfolio_id = 26777304 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26777851 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 = 26777851 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 = 26777851 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26777851 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 = 26777851 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 = 26777851 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26777851_12-09-2025_06_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26777851 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_P26777851_12-09-2025_06_49_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26777872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26777873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26777874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26777875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26777876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26777877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26777878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26777879, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26777880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26777881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26777882, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26777883, 'pht': 3726}}" where mtr_portfolio_id = 26777851 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26778063 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 = 26778063 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 = 26778063 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26778063 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 = 26778063 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 = 26778063 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26778063_12-09-2025_07_11_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26778063 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_P26778063_12-09-2025_07_11_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26778074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26778075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26778076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26778077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26778078, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26778079, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26778080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26778081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26778082, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26778083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26778084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26778085, 'pht': 3726}}" where mtr_portfolio_id = 26778063 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26778501 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 = 26778501 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 = 26778501 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26778501 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 = 26778501 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 = 26778501 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26778501_12-09-2025_07_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26778501 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_P26778501_12-09-2025_07_16_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26778733, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26778734, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26778735, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26778736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26778737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26778738, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26778739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26778740, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26778741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26778742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26778743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26778744, 'pht': 3726}}" where mtr_portfolio_id = 26778501 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26778906 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 = 26778906 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 = 26778906 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26778906 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 = 26778906 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 = 26778906 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26778906_12-09-2025_07_36_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26778906 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_P26778906_12-09-2025_07_36_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26778949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26778950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26778951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26778952, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26778953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26778954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26778955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26778956, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26778957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26778958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26778959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26778960, 'pht': 3726}}" where mtr_portfolio_id = 26778906 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26779351 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 = 26779351 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 = 26779351 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26779351 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 = 26779351 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 = 26779351 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26779351_12-09-2025_07_54_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26779351 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_P26779351_12-09-2025_07_54_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26779363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26779364, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26779365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26779366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26779367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26779368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26779369, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26779370, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26779371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26779372, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26779373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26779374, 'pht': 3726}}" where mtr_portfolio_id = 26779351 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26779799 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 = 26779799 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 = 26779799 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26779799 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 = 26779799 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 = 26779799 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26779799_12-09-2025_08_06_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26779799 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_P26779799_12-09-2025_08_06_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26779821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26779822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26779823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26779824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26779825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26779826, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26779827, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26779828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26779829, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26779830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26779831, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26779832, 'pht': 3726}}" where mtr_portfolio_id = 26779799 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26780037 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 = 26780037 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 = 26780037 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26780037 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 = 26780037 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 = 26780037 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26780037_12-09-2025_08_17_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26780037 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_P26780037_12-09-2025_08_17_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26780066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26780067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26780068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26780069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26780070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26780071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26780072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26780073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26780074, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26780075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26780076, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26780077, 'pht': 3726}}" where mtr_portfolio_id = 26780037 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26780421 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 = 26780421 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 = 26780421 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26780421 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 = 26780421 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 = 26780421 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26780421_12-09-2025_08_39_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26780421 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_P26780421_12-09-2025_08_39_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26780432, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26780433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26780434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26780435, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26780436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26780437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26780438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26780439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26780440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26780441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26780442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26780443, 'pht': 3726}}" where mtr_portfolio_id = 26780421 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26780889 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 = 26780889 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 = 26780889 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26780889 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 = 26780889 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 = 26780889 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26780889_12-09-2025_08_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26780889 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_P26780889_12-09-2025_08_49_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26780900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26780901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26780902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26780903, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26780904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26780905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26780906, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26780907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26780908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26780909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26780910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26780912, 'pht': 3726}}" where mtr_portfolio_id = 26780889 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26781097 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 = 26781097 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 = 26781097 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26781097 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 = 26781097 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 = 26781097 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26781097_12-09-2025_11_01_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26781097 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_P26781097_12-09-2025_11_01_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26781109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26781110, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26781111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26781112, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26781113, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26781114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26781115, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26781116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26781117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26781118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26781119, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26781120, 'pht': 3726}}" where mtr_portfolio_id = 26781097 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26781445 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 = 26781445 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 = 26781445 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26781445 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 = 26781445 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 = 26781445 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26781445_12-09-2025_09_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26781445 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_P26781445_12-09-2025_09_48_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26781461, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26781462, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26781463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26781464, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26781465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26781466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26781467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26781468, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26781469, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26781470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26781471, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26781472, 'pht': 3726}}" where mtr_portfolio_id = 26781445 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26781588 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 = 26781588 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 = 26781588 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26781588 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 = 26781588 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 = 26781588 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26781588_12-09-2025_10_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26781588 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_P26781588_12-09-2025_10_02_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26781600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26781601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26781602, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26781603, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26781604, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26781605, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26781606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26781607, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26781608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26781609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26781610, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26781611, 'pht': 3726}}" where mtr_portfolio_id = 26781588 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26781923 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 = 26781923 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 = 26781923 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26781923 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 = 26781923 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 = 26781923 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26781923_12-09-2025_10_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26781923 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_P26781923_12-09-2025_10_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26781936, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26781937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26781938, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26781939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26781940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26781941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26781942, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26781943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26781945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26781946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26781947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26781948, 'pht': 3726}}" where mtr_portfolio_id = 26781923 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26782198 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 = 26782198 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 = 26782198 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26782198 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 = 26782198 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 = 26782198 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26782198_12-09-2025_10_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26782198 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_P26782198_12-09-2025_10_34_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26782223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26782224, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26782225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26782226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26782227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26782228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26782229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26782230, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26782231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26782232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26782233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26782234, 'pht': 3726}}" where mtr_portfolio_id = 26782198 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26782512 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': 3710131, 'mtr_portfolio_id': 26782512, 'created_at': datetime.datetime(2025, 9, 12, 10, 47), 'result': '0.04550892038235986', 'result_long': None, 'result_double': None}] Qualite : 0.04550892038235986 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26782512 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26782512_12-09-2025_10_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26782512 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_P26782512_12-09-2025_10_47_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26782533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26782534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26782535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26782536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26782537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26782538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26782539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26782540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26782541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26782542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26782543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26782544, 'pht': 3726}}" where mtr_portfolio_id = 26782512 and dashboard_run_id = 2287439 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`=26782512 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106471, 0.04550892038235986, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26782512_12-09-2025_10_47_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26782533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26782534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26782535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26782536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26782537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26782538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26782539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26782540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26782541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26782542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26782543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26782544, '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 = 26782878 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': 3710356, 'mtr_portfolio_id': 26782878, 'created_at': datetime.datetime(2025, 9, 12, 11, 3, 6), 'result': '0.04280390246291466', 'result_long': None, 'result_double': None}] Qualite : 0.04280390246291466 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26782878 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26782878_12-09-2025_11_03_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26782878 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_P26782878_12-09-2025_11_03_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26782995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26782996, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26782997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26782998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26782999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26783000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26783001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26783002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26783003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26783004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26783005, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26783006, 'pht': 3726}}" where mtr_portfolio_id = 26782878 and dashboard_run_id = 2287439 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`=26782878 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106472, 0.04280390246291466, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26782878_12-09-2025_11_03_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26782995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26782996, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26782997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26782998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26782999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26783000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26783001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26783002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26783003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26783004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26783005, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26783006, '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 = 26784153 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': 3710814, 'mtr_portfolio_id': 26784153, 'created_at': datetime.datetime(2025, 9, 12, 11, 31, 1), 'result': '0.05872399431381087', 'result_long': None, 'result_double': None}] Qualite : 0.05872399431381087 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26784153 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26784153_12-09-2025_11_31_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26784153 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_P26784153_12-09-2025_11_31_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26784210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26784211, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26784212, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26784213, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26784214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26784215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26784216, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26784217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26784218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26784219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26784220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26784221, 'pht': 3726}}" where mtr_portfolio_id = 26784153 and dashboard_run_id = 2287439 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`=26784153 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106473, 0.05872399431381087, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26784153_12-09-2025_11_31_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26784210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26784211, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26784212, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26784213, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26784214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26784215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26784216, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26784217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26784218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26784219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26784220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26784221, '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 = 26786071 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': 3711181, 'mtr_portfolio_id': 26786071, 'created_at': datetime.datetime(2025, 9, 12, 11, 32, 59), 'result': '0.002880465029362209', 'result_long': None, 'result_double': None}] Qualite : 0.002880465029362209 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26786071 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26786071_12-09-2025_11_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26786071 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_P26786071_12-09-2025_11_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26786126, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26786127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26786128, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26786129, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26786130, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26786131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26786132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26786133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26786134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26786135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26786136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26786137, 'pht': 3726}}" where mtr_portfolio_id = 26786071 and dashboard_run_id = 2287439 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`=26786071 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106474, 0.002880465029362209, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26786071_12-09-2025_11_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26786126, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26786127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26786128, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26786129, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26786130, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26786131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26786132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26786133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26786134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26786135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26786136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26786137, '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 = 26786240 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': 3711213, 'mtr_portfolio_id': 26786240, 'created_at': datetime.datetime(2025, 9, 12, 11, 46, 59), 'result': '0.07058522084205082', 'result_long': None, 'result_double': None}] Qualite : 0.07058522084205082 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26786240 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26786240_12-09-2025_11_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26786240 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_P26786240_12-09-2025_11_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26786275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26786276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26786277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26786278, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26786279, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26786280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26786281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26786282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26786283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26786284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26786285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26786286, 'pht': 3726}}" where mtr_portfolio_id = 26786240 and dashboard_run_id = 2287439 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`=26786240 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106475, 0.07058522084205082, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26786240_12-09-2025_11_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26786275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26786276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26786277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26786278, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26786279, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26786280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26786281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26786282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26786283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26786284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26786285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26786286, '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 = 26786893 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': 3711286, 'mtr_portfolio_id': 26786893, 'created_at': datetime.datetime(2025, 9, 12, 12, 2, 59), 'result': '0.025402113569915712', 'result_long': None, 'result_double': None}] Qualite : 0.025402113569915712 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26786893 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26786893_12-09-2025_12_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26786893 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_P26786893_12-09-2025_12_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26786905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26786906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26786907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26786908, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26786909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26786910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26786911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26786912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26786913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26786914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26786915, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26786916, 'pht': 3726}}" where mtr_portfolio_id = 26786893 and dashboard_run_id = 2287439 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`=26786893 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106476, 0.025402113569915712, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26786893_12-09-2025_12_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26786905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26786906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26786907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26786908, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26786909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26786910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26786911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26786912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26786913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26786914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26786915, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26786916, '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 = 26787654 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': 3711423, 'mtr_portfolio_id': 26787654, 'created_at': datetime.datetime(2025, 9, 12, 12, 20, 59), 'result': '0.04526879875142421', 'result_long': None, 'result_double': None}] Qualite : 0.04526879875142421 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26787654 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26787654_12-09-2025_12_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26787654 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_P26787654_12-09-2025_12_21_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26787661, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26787662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26787663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26787664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26787665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26787666, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26787667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26787668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26787669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26787670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26787671, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26787672, 'pht': 3726}}" where mtr_portfolio_id = 26787654 and dashboard_run_id = 2287439 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`=26787654 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106477, 0.04526879875142421, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26787654_12-09-2025_12_21_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26787661, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26787662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26787663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26787664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26787665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26787666, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26787667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26787668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26787669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26787670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26787671, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26787672, '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 = 26791753 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': 3711670, 'mtr_portfolio_id': 26791753, 'created_at': datetime.datetime(2025, 9, 12, 14, 3, 28), 'result': '0.06240005408249316', 'result_long': None, 'result_double': None}] Qualite : 0.06240005408249316 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26791753 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26791753_12-09-2025_14_03_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26791753 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_P26791753_12-09-2025_14_03_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26791756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26791757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26791758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26791759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26791760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26791761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26791762, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26791763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26791764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26791765, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26791766, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26791767, 'pht': 3726}}" where mtr_portfolio_id = 26791753 and dashboard_run_id = 2287439 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`=26791753 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106478, 0.06240005408249316, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26791753_12-09-2025_14_03_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26791756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26791757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26791758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26791759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26791760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26791761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26791762, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26791763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26791764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26791765, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26791766, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26791767, '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 = 26791938 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': 3711706, 'mtr_portfolio_id': 26791938, 'created_at': datetime.datetime(2025, 9, 12, 14, 18, 58), 'result': '0.05413085087180704', 'result_long': None, 'result_double': None}] Qualite : 0.05413085087180704 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26791938 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26791938_12-09-2025_14_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26791938 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_P26791938_12-09-2025_14_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26791949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26791950, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26791951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26791952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26791953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26791954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26791955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26791956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26791957, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26791958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26791959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26791960, 'pht': 3726}}" where mtr_portfolio_id = 26791938 and dashboard_run_id = 2287439 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`=26791938 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106479, 0.05413085087180704, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26791938_12-09-2025_14_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26791949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26791950, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26791951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26791952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26791953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26791954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26791955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26791956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26791957, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26791958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26791959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26791960, '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 = 26792456 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': 3711761, 'mtr_portfolio_id': 26792456, 'created_at': datetime.datetime(2025, 9, 12, 14, 33, 1), 'result': '0.07038156317841392', 'result_long': None, 'result_double': None}] Qualite : 0.07038156317841392 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26792456 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26792456_12-09-2025_14_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26792456 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_P26792456_12-09-2025_14_33_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26792463, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26792464, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26792465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26792466, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26792467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26792468, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26792469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26792470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26792471, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26792472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26792473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26792474, 'pht': 3726}}" where mtr_portfolio_id = 26792456 and dashboard_run_id = 2287439 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`=26792456 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106480, 0.07038156317841392, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26792456_12-09-2025_14_33_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26792463, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26792464, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26792465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26792466, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26792467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26792468, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26792469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26792470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26792471, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26792472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26792473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26792474, '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 = 26792889 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': 3711822, 'mtr_portfolio_id': 26792889, 'created_at': datetime.datetime(2025, 9, 12, 14, 48, 59), 'result': '0.04584800308273103', 'result_long': None, 'result_double': None}] Qualite : 0.04584800308273103 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26792889 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26792889_12-09-2025_14_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26792889 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_P26792889_12-09-2025_14_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26792926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26792927, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26792928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26792929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26792930, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26792931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26792932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26792933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26792934, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26792935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26792936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26792937, 'pht': 3726}}" where mtr_portfolio_id = 26792889 and dashboard_run_id = 2287439 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`=26792889 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106481, 0.04584800308273103, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26792889_12-09-2025_14_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26792926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26792927, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26792928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26792929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26792930, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26792931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26792932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26792933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26792934, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26792935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26792936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26792937, '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 = 26793443 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': 3711887, 'mtr_portfolio_id': 26793443, 'created_at': datetime.datetime(2025, 9, 12, 15, 2, 58), 'result': '0.04052113350378328', 'result_long': None, 'result_double': None}] Qualite : 0.04052113350378328 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26793443 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26793443_12-09-2025_15_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26793443 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_P26793443_12-09-2025_15_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26793480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26793481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26793482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26793483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26793484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26793485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26793486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26793487, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26793488, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26793489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26793490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26793491, 'pht': 3726}}" where mtr_portfolio_id = 26793443 and dashboard_run_id = 2287439 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`=26793443 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106482, 0.04052113350378328, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26793443_12-09-2025_15_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26793480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26793481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26793482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26793483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26793484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26793485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26793486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26793487, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26793488, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26793489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26793490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26793491, '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 = 26793948 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': 3711989, 'mtr_portfolio_id': 26793948, 'created_at': datetime.datetime(2025, 9, 12, 15, 18, 59), 'result': '0.050895664433003016', 'result_long': None, 'result_double': None}] Qualite : 0.050895664433003016 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26793948 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26793948_12-09-2025_15_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26793948 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_P26793948_12-09-2025_15_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26794064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26794065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26794066, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26794067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26794068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26794069, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26794070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26794071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26794072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26794073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26794074, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26794075, 'pht': 3726}}" where mtr_portfolio_id = 26793948 and dashboard_run_id = 2287439 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`=26793948 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106483, 0.050895664433003016, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26793948_12-09-2025_15_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26794064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26794065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26794066, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26794067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26794068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26794069, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26794070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26794071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26794072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26794073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26794074, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26794075, '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 = 26794876 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': 3712096, 'mtr_portfolio_id': 26794876, 'created_at': datetime.datetime(2025, 9, 12, 15, 32, 58), 'result': '0.044880941638985046', 'result_long': None, 'result_double': None}] Qualite : 0.044880941638985046 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26794876 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26794876_12-09-2025_15_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26794876 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_P26794876_12-09-2025_15_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26794919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26794920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26794921, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26794922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26794923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26794924, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26794925, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26794926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26794927, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26794928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26794929, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26794930, 'pht': 3726}}" where mtr_portfolio_id = 26794876 and dashboard_run_id = 2287439 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`=26794876 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106484, 0.044880941638985046, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26794876_12-09-2025_15_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26794919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26794920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26794921, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26794922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26794923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26794924, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26794925, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26794926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26794927, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26794928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26794929, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26794930, '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 = 26795626 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': 3712165, 'mtr_portfolio_id': 26795626, 'created_at': datetime.datetime(2025, 9, 12, 15, 47, 28), 'result': '0.05374958778523722', 'result_long': None, 'result_double': None}] Qualite : 0.05374958778523722 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26795626 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26795626_12-09-2025_15_47_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26795626 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_P26795626_12-09-2025_15_47_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26795652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26795653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26795654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26795655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26795656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26795657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26795658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26795659, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26795660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26795661, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26795662, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26795663, 'pht': 3726}}" where mtr_portfolio_id = 26795626 and dashboard_run_id = 2287439 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`=26795626 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106485, 0.05374958778523722, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26795626_12-09-2025_15_47_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26795652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26795653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26795654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26795655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26795656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26795657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26795658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26795659, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26795660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26795661, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26795662, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26795663, '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 = 26796371 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': 3712234, 'mtr_portfolio_id': 26796371, 'created_at': datetime.datetime(2025, 9, 12, 16, 3), 'result': '0.03778128512808869', 'result_long': None, 'result_double': None}] Qualite : 0.03778128512808869 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26796371 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26796371_12-09-2025_16_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26796371 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_P26796371_12-09-2025_16_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26796377, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26796378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26796379, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26796380, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26796381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26796382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26796383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26796384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26796385, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26796386, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26796387, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26796388, 'pht': 3726}}" where mtr_portfolio_id = 26796371 and dashboard_run_id = 2287439 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`=26796371 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106486, 0.03778128512808869, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26796371_12-09-2025_16_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26796377, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26796378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26796379, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26796380, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26796381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26796382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26796383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26796384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26796385, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26796386, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26796387, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26796388, '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 = 26796958 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 = 26796958 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26796958 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26796958%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26796958 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26796989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26796991, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26796993, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26796995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26796998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26797000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26797003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26797005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26797008, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26797010, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26797011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26797012, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 26796958 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26797204 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': 3712407, 'mtr_portfolio_id': 26797204, 'created_at': datetime.datetime(2025, 9, 12, 16, 32, 58), 'result': '0.047434813107234394', 'result_long': None, 'result_double': None}] Qualite : 0.047434813107234394 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26797204 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26797204_12-09-2025_16_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26797204 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_P26797204_12-09-2025_16_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26797215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26797216, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26797217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26797218, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26797219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26797220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26797221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26797222, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26797223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26797224, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26797225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26797226, 'pht': 3726}}" where mtr_portfolio_id = 26797204 and dashboard_run_id = 2287439 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`=26797204 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106488, 0.047434813107234394, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26797204_12-09-2025_16_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26797215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26797216, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26797217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26797218, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26797219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26797220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26797221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26797222, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26797223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26797224, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26797225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26797226, '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 = 26797708 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': 3712637, 'mtr_portfolio_id': 26797708, 'created_at': datetime.datetime(2025, 9, 12, 16, 46, 57), 'result': '0.059794286882717165', 'result_long': None, 'result_double': None}] Qualite : 0.059794286882717165 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26797708 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26797708_12-09-2025_16_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26797708 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_P26797708_12-09-2025_16_46_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26797736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26797737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26797738, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26797739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26797740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26797741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26797742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26797743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26797744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26797745, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26797746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26797747, 'pht': 3726}}" where mtr_portfolio_id = 26797708 and dashboard_run_id = 2287439 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`=26797708 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106489, 0.059794286882717165, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26797708_12-09-2025_16_46_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26797736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26797737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26797738, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26797739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26797740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26797741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26797742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26797743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26797744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26797745, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26797746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26797747, '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 = 26798546 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': 3712862, 'mtr_portfolio_id': 26798546, 'created_at': datetime.datetime(2025, 9, 12, 17, 3), 'result': '0.08233348059625543', 'result_long': None, 'result_double': None}] Qualite : 0.08233348059625543 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26798546 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26798546_12-09-2025_17_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26798546 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_P26798546_12-09-2025_17_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26798600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26798601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26798603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26798604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26798605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26798606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26798607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26798608, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26798609, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26798610, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26798611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26798612, 'pht': 3726}}" where mtr_portfolio_id = 26798546 and dashboard_run_id = 2287439 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`=26798546 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106490, 0.08233348059625543, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26798546_12-09-2025_17_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26798600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26798601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26798603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26798604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26798605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26798606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26798607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26798608, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26798609, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26798610, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26798611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26798612, '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 = 26799245 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': 3713131, 'mtr_portfolio_id': 26799245, 'created_at': datetime.datetime(2025, 9, 12, 17, 19), 'result': '0.05325858740428369', 'result_long': None, 'result_double': None}] Qualite : 0.05325858740428369 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26799245 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26799245_12-09-2025_17_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26799245 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_P26799245_12-09-2025_17_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26799319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26799320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26799321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26799322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26799323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26799324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26799325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26799326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26799327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26799328, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26799329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26799330, 'pht': 3726}}" where mtr_portfolio_id = 26799245 and dashboard_run_id = 2287439 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`=26799245 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106491, 0.05325858740428369, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26799245_12-09-2025_17_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26799319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26799320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26799321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26799322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26799323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26799324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26799325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26799326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26799327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26799328, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26799329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26799330, '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 = 26800267 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': 3713400, 'mtr_portfolio_id': 26800267, 'created_at': datetime.datetime(2025, 9, 12, 17, 42, 58), 'result': '0.05130302222397655', 'result_long': None, 'result_double': None}] Qualite : 0.05130302222397655 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26800267 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26800267_12-09-2025_17_42_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26800267 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_P26800267_12-09-2025_17_42_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26800279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26800280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26800281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26800282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26800283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26800284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26800285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26800286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26800288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26800289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26800290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26800291, 'pht': 3726}}" where mtr_portfolio_id = 26800267 and dashboard_run_id = 2287439 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`=26800267 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106492, 0.05130302222397655, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26800267_12-09-2025_17_42_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26800279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26800280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26800281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26800282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26800283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26800284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26800285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26800286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26800288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26800289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26800290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26800291, '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 = 26802165 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': 3713789, 'mtr_portfolio_id': 26802165, 'created_at': datetime.datetime(2025, 9, 12, 18, 18, 57), 'result': '0.05420941373820589', 'result_long': None, 'result_double': None}] Qualite : 0.05420941373820589 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26802165 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26802165_12-09-2025_18_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26802165 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_P26802165_12-09-2025_18_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26802196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26802197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26802198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26802199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26802200, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26802201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26802202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26802203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26802204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26802205, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26802206, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26802207, 'pht': 3726}}" where mtr_portfolio_id = 26802165 and dashboard_run_id = 2287439 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`=26802165 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106493, 0.05420941373820589, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26802165_12-09-2025_18_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26802196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26802197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26802198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26802199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26802200, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26802201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26802202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26802203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26802204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26802205, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26802206, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26802207, '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 = 26802608 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': 3713828, 'mtr_portfolio_id': 26802608, 'created_at': datetime.datetime(2025, 9, 12, 18, 33), 'result': '0.04389214056361694', 'result_long': None, 'result_double': None}] Qualite : 0.04389214056361694 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26802608 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26802608_12-09-2025_18_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26802608 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_P26802608_12-09-2025_18_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26802612, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26802613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26802614, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26802615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26802616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26802617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26802618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26802619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26802620, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26802621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26802622, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26802623, 'pht': 3726}}" where mtr_portfolio_id = 26802608 and dashboard_run_id = 2287439 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`=26802608 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106494, 0.04389214056361694, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26802608_12-09-2025_18_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26802612, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26802613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26802614, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26802615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26802616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26802617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26802618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26802619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26802620, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26802621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26802622, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26802623, '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 = 26802977 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': 3713887, 'mtr_portfolio_id': 26802977, 'created_at': datetime.datetime(2025, 9, 12, 18, 49, 1), 'result': '0.033677535650679005', 'result_long': None, 'result_double': None}] Qualite : 0.033677535650679005 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26802977 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26802977_12-09-2025_18_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26802977 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_P26802977_12-09-2025_18_49_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26802996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26802997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26802998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26802999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26803000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26803001, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26803002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26803003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26803004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26803005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26803006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26803007, 'pht': 3726}}" where mtr_portfolio_id = 26802977 and dashboard_run_id = 2287439 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`=26802977 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106495, 0.033677535650679005, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26802977_12-09-2025_18_49_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26802996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26802997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26802998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26802999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26803000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26803001, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26803002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26803003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26803004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26803005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26803006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26803007, '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 = 26803562 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': 3713974, 'mtr_portfolio_id': 26803562, 'created_at': datetime.datetime(2025, 9, 12, 19, 3), 'result': '0.06061268976546672', 'result_long': None, 'result_double': None}] Qualite : 0.06061268976546672 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26803562 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26803562_12-09-2025_19_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26803562 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_P26803562_12-09-2025_19_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26803573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26803574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26803575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26803576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26803577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26803578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26803579, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26803580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26803581, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26803582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26803583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26803584, 'pht': 3726}}" where mtr_portfolio_id = 26803562 and dashboard_run_id = 2287439 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`=26803562 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106496, 0.06061268976546672, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26803562_12-09-2025_19_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26803573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26803574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26803575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26803576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26803577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26803578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26803579, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26803580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26803581, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26803582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26803583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26803584, '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 = 26804008 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': 3714074, 'mtr_portfolio_id': 26804008, 'created_at': datetime.datetime(2025, 9, 12, 19, 18, 59), 'result': '0.05191578828615162', 'result_long': None, 'result_double': None}] Qualite : 0.05191578828615162 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26804008 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26804008_12-09-2025_19_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26804008 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_P26804008_12-09-2025_19_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26804027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26804028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26804029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26804030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26804031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26804032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26804033, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26804034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26804035, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26804036, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26804037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26804038, 'pht': 3726}}" where mtr_portfolio_id = 26804008 and dashboard_run_id = 2287439 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`=26804008 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106497, 0.05191578828615162, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26804008_12-09-2025_19_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26804027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26804028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26804029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26804030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26804031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26804032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26804033, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26804034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26804035, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26804036, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26804037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26804038, '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 = 26804818 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': 3714178, 'mtr_portfolio_id': 26804818, 'created_at': datetime.datetime(2025, 9, 12, 19, 42, 58), 'result': '0.05140680133842481', 'result_long': None, 'result_double': None}] Qualite : 0.05140680133842481 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26804818 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26804818_12-09-2025_19_42_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26804818 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_P26804818_12-09-2025_19_42_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26804844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26804845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26804846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26804847, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26804848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26804849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26804850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26804851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26804852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26804853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26804854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26804855, 'pht': 3726}}" where mtr_portfolio_id = 26804818 and dashboard_run_id = 2287439 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`=26804818 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106498, 0.05140680133842481, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26804818_12-09-2025_19_42_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26804844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26804845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26804846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26804847, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26804848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26804849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26804850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26804851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26804852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26804853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26804854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26804855, '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 = 26805768 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': 3714315, 'mtr_portfolio_id': 26805768, 'created_at': datetime.datetime(2025, 9, 12, 19, 49, 1), 'result': '0.0842127548322607', 'result_long': None, 'result_double': None}] Qualite : 0.0842127548322607 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26805768 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26805768_12-09-2025_19_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26805768 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_P26805768_12-09-2025_19_49_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26805771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26805772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26805773, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26805774, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26805775, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26805776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26805777, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26805778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26805779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26805780, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26805781, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26805782, 'pht': 3726}}" where mtr_portfolio_id = 26805768 and dashboard_run_id = 2287439 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`=26805768 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106499, 0.0842127548322607, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26805768_12-09-2025_19_49_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26805771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26805772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26805773, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26805774, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26805775, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26805776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26805777, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26805778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26805779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26805780, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26805781, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26805782, '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 = 26805899 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': 3714327, 'mtr_portfolio_id': 26805899, 'created_at': datetime.datetime(2025, 9, 12, 20, 2, 59), 'result': '0.04330703743286', 'result_long': None, 'result_double': None}] Qualite : 0.04330703743286 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26805899 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26805899_12-09-2025_20_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26805899 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_P26805899_12-09-2025_20_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26805904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26805905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26805906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26805907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26805908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26805909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26805910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26805911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26805912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26805913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26805914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26805915, 'pht': 3726}}" where mtr_portfolio_id = 26805899 and dashboard_run_id = 2287439 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`=26805899 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106500, 0.04330703743286, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26805899_12-09-2025_20_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26805904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26805905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26805906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26805907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26805908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26805909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26805910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26805911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26805912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26805913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26805914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26805915, '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 = 26806295 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': 3714392, 'mtr_portfolio_id': 26806295, 'created_at': datetime.datetime(2025, 9, 12, 20, 19, 31), 'result': '0.05204514921693056', 'result_long': None, 'result_double': None}] Qualite : 0.05204514921693056 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26806295 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26806295_12-09-2025_20_19_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26806295 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_P26806295_12-09-2025_20_19_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26806313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26806314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26806315, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26806316, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26806317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26806318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26806319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26806320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26806321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26806322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26806323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26806324, 'pht': 3726}}" where mtr_portfolio_id = 26806295 and dashboard_run_id = 2287439 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`=26806295 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106501, 0.05204514921693056, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26806295_12-09-2025_20_19_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26806313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26806314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26806315, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26806316, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26806317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26806318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26806319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26806320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26806321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26806322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26806323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26806324, '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 = 26806952 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': 3714488, 'mtr_portfolio_id': 26806952, 'created_at': datetime.datetime(2025, 9, 12, 20, 32, 59), 'result': '0.03965327246730578', 'result_long': None, 'result_double': None}] Qualite : 0.03965327246730578 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26806952 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26806952_12-09-2025_20_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26806952 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_P26806952_12-09-2025_20_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26806956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26806957, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26806958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26806959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26806960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26806961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26806962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26806963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26806964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26806965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26806966, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26806967, 'pht': 3726}}" where mtr_portfolio_id = 26806952 and dashboard_run_id = 2287439 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`=26806952 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106502, 0.03965327246730578, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26806952_12-09-2025_20_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26806956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26806957, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26806958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26806959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26806960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26806961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26806962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26806963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26806964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26806965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26806966, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26806967, '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 = 26807394 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': 3714577, 'mtr_portfolio_id': 26807394, 'created_at': datetime.datetime(2025, 9, 12, 21, 5), 'result': '0.0460197035880165', 'result_long': None, 'result_double': None}] Qualite : 0.0460197035880165 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26807394 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26807394_12-09-2025_21_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26807394 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_P26807394_12-09-2025_21_05_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26807411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26807412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26807413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26807414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26807415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26807416, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26807418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26807419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26807420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26807421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26807422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26807423, 'pht': 3726}}" where mtr_portfolio_id = 26807394 and dashboard_run_id = 2287439 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`=26807394 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106503, 0.0460197035880165, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26807394_12-09-2025_21_05_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26807411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26807412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26807413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26807414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26807415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26807416, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26807418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26807419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26807420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26807421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26807422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26807423, '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 = 26808154 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 = 26808154 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 = 26808154 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26808154 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 = 26808154 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 = 26808154 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26808154_12-09-2025_20_57_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26808154 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_P26808154_12-09-2025_20_57_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26808171, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26808172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26808173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26808174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26808175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26808176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26808177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26808178, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26808179, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26808180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26808181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26808182, 'pht': 3726}}" where mtr_portfolio_id = 26808154 and dashboard_run_id = 2287439 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26808215 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': 3714700, 'mtr_portfolio_id': 26808215, 'created_at': datetime.datetime(2025, 9, 12, 21, 16, 59), 'result': '0.0596291494443441', 'result_long': None, 'result_double': None}] Qualite : 0.0596291494443441 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26808215 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26808215_12-09-2025_21_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26808215 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_P26808215_12-09-2025_21_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26808223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26808224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26808225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26808226, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26808227, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26808228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26808229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26808230, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26808231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26808232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26808233, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26808234, 'pht': 3726}}" where mtr_portfolio_id = 26808215 and dashboard_run_id = 2287438 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`=26808215 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106505, 0.0596291494443441, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26808215_12-09-2025_21_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26808223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26808224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26808225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26808226, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26808227, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26808228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26808229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26808230, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26808231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26808232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26808233, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26808234, '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 = 26808609 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': 3714744, 'mtr_portfolio_id': 26808609, 'created_at': datetime.datetime(2025, 9, 12, 21, 32, 59), 'result': '0.047634768375388846', 'result_long': None, 'result_double': None}] Qualite : 0.047634768375388846 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26808609 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26808609_12-09-2025_21_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26808609 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_P26808609_12-09-2025_21_33_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26808653, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26808654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26808655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26808656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26808657, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26808658, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26808659, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26808660, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26808661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26808662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26808663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26808664, 'pht': 3726}}" where mtr_portfolio_id = 26808609 and dashboard_run_id = 2287438 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`=26808609 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106506, 0.047634768375388846, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26808609_12-09-2025_21_33_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26808653, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26808654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26808655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26808656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26808657, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26808658, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26808659, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26808660, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26808661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26808662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26808663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26808664, '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 = 26809088 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': 3714822, 'mtr_portfolio_id': 26809088, 'created_at': datetime.datetime(2025, 9, 12, 21, 46, 57), 'result': '0.04593865654576113', 'result_long': None, 'result_double': None}] Qualite : 0.04593865654576113 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26809088 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26809088_12-09-2025_21_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26809088 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_P26809088_12-09-2025_21_46_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26809119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26809120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26809121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26809122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26809123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26809124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26809125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26809126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26809127, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26809128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26809129, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26809130, 'pht': 3726}}" where mtr_portfolio_id = 26809088 and dashboard_run_id = 2287438 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`=26809088 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15106507, 0.04593865654576113, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26809088_12-09-2025_21_46_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26809119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26809120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26809121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26809122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26809123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26809124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26809125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26809126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26809127, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26809128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26809129, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26809130, '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 (26769794,26769970,26770154,26770454,26771445,26771671,26771908,26772224,26772605,26773115,26773547,26773878,26774340,26774756,26775013,26776010,26776254,26776334,26776641,26777142,26777304,26777851,26778063,26778501,26778906,26779351,26779799,26780037,26780421,26780889,26781097,26781445,26781588,26781923,26782198,26782512,26782878,26784153,26786071,26786240,26786893,26787654,26791753,26791938,26792456,26792889,26793443,26793948,26794876,26795626,26796371,26796958,26797204,26797708,26798546,26799245,26800267,26802165,26802608,26802977,26803562,26804008,26804818,26805768,26805899,26806295,26806952,26807394,26808154,26808215,26808609,26809088) result : ((1383306307,), (1383306308,), (1383306336,), (1383306340,), (1383306342,), (1383306345,), (1383306354,), (1383306356,), (1383306358,), (1383306360,), (1383306363,), (1383306371,), (1383306374,), (1383306378,), (1383306394,), (1383306396,), (1383306397,), (1383306399,), (1383306418,), (1383306420,), (1383306422,), (1383306424,), (1383306427,), (1383306437,), (1383306440,), (1383306443,), (1383306451,), (1383306554,), (1383306575,), (1383306607,), (1383306609,), (1383306611,), (1383306614,), (1383306618,), (1383306636,), (1383306639,), (1383306641,), (1383306644,), (1383306659,), (1383306661,), (1383306663,), (1383306667,), (1383306672,), (1383306677,), (1383306679,), (1383306681,), (1383306684,), (1383306701,), (1383306704,), (1383306706,), (1383306708,), (1383306720,), (1383306722,), (1383306725,), (1383306727,), (1383306730,), (1383306732,), (1383306745,), (1383306749,), (1383306751,), (1383306769,), (1383306767,), (1383306768,), (1383306789,), (1383306791,), (1383306795,), (1383306806,), (1383306808,), (1383306810,), (1383306813,), (1383306827,), (1383306830,), (1383306832,), (1383306835,), (1383306857,), (1383306859,), (1383306860,), (1383306863,), (1383306865,), (1383306880,), (1383306884,), (1383306886,), (1383306888,), (1383306899,), (1383306901,), (1383306903,), (1383306940,), (1383306942,), (1383306943,), (1383306944,), (1383306947,), (1383306962,), (1383306964,), (1383306967,), (1383306970,), (1383306982,), (1383306985,), (1383306988,), (1383306990,), (1383306991,), (1383307000,), (1383307017,), (1383307021,), (1383307023,), (1383307025,), (1383307053,), (1383307055,), (1383307057,), (1383307061,), (1383307079,), (1383307084,), (1383307086,), (1383307090,), (1383307094,), (1383307113,), (1383307114,), (1383307139,), (1383307133,), (1383307135,), (1383307137,), (1383307144,), (1383307147,), (1383307150,), (1383307153,), (1383307193,), (1383307194,), (1383307195,), (1383307197,), (1383307209,), (1383307223,), (1383307227,), (1383307229,), (1383307252,), (1383307253,), (1383307254,), (1383307272,), (1383307275,), (1383307278,), (1383307281,), (1383307284,), (1383307286,), (1383307291,), (1383307293,), (1383307295,), (1383307297,), (1383307300,), (1383307302,), (1383307314,), (1383307318,), (1383307320,), (1383307322,), (1383307325,), (1383307337,), (1383307339,), (1383307353,), (1383307356,), (1383307358,), (1383307360,), (1383307363,), (1383307376,), (1383307378,), (1383307380,), (1383307383,), (1383307397,), (1383307398,), (1383307399,), (1383307401,), (1383307404,), (1383307406,), (1383307418,), (1383307420,), (1383307422,), (1383307424,), (1383307446,), (1383307449,), (1383307451,), (1383307452,), (1383307455,), (1383307459,), (1383307486,), (1383307476,), (1383307478,), (1383307481,), (1383307484,), (1383307501,), (1383307531,), (1383307533,), (1383307534,), (1383307535,), (1383307537,), (1383307539,), (1383307549,), (1383307550,), (1383307552,), (1383307555,), (1383307572,), (1383307576,), (1383307620,), (1383307668,), (1383307698,), (1383307726,), (1383307728,), (1383307748,), (1383307750,), (1383307751,), (1383307752,), (1383307754,), (1383307779,), (1383307781,), (1383307782,), (1383307784,), (1383307787,), (1383307812,), (1383307815,), (1383307818,), (1383307892,), (1383307896,), (1383307899,), (1383307902,), (1383307904,), (1383307912,), (1383309554,), (1383309548,), (1383309551,), (1383309552,), (1383309564,), (1383309570,), (1383309572,), (1383309576,), (1383309580,), (1383309598,), (1383309600,), (1383309776,), (1383309786,), (1383309820,), (1383309825,), (1383309828,), (1383309831,), (1383309845,), (1383309849,), (1383309854,), (1383309860,), (1383309866,), (1383309919,), (1383309934,), (1383309938,), (1383309949,), (1383309990,), (1383309991,), (1383309993,), (1383309995,), (1383310033,), (1383310036,), (1383310038,), (1383310041,), (1383310120,), (1383310148,), (1383310171,), (1383310175,), (1383310178,), (1383310190,), (1383310193,), (1383310197,), (1383310201,), (1383310205,), (1383310209,), (1383310229,), (1383310238,), (1383310244,), (1383310289,), (1383310292,), (1383310294,), (1383310298,), (1383310302,), (1383310307,), (1383310321,), (1383310324,), (1383310326,), (1383310330,), (1383310335,), (1383310340,), (1383310359,), (1383310354,), (1383310357,), (1383310376,), (1383310382,), (1383310386,), (1383310407,), (1383310409,), (1383310411,), (1383310414,), (1383310417,), (1383310434,), (1383310436,), (1383310437,), (1383310440,), (1383310456,), (1383310458,), (1383310460,), (1383310463,), (1383310468,), (1383310477,), (1383310479,), (1383310481,), (1383310483,), (1383310507,), (1383310509,), (1383310510,), (1383310512,), (1383310516,), (1383310519,), (1383310536,), (1383310541,), (1383310546,), (1383310561,), (1383310563,), (1383310565,), (1383310569,), (1383310587,), (1383310590,), (1383310593,), (1383310614,), (1383310616,), (1383310618,), (1383310645,), (1383310648,), (1383310663,), (1383310664,), (1383310665,), (1383310666,), (1383310669,), (1383310689,), (1383310694,), (1383310698,), (1383310702,), (1383310705,), (1383310712,), (1383310714,), (1383310718,), (1383310721,), (1383310742,), (1383310735,), (1383310739,), (1383310740,), (1383310761,), (1383310762,), (1383310763,), (1383310765,), (1383310768,), (1383310771,), (1383310784,), (1383310787,), (1383310788,), (1383310790,), (1383310792,), (1383310794,), (1383310807,), (1383310808,), (1383310809,), (1383310811,), (1383310814,), (1383310823,), (1383310825,), (1383310827,), (1383310830,), (1383310835,), (1383310847,), (1383310849,), (1383310852,), (1383310855,), (1383310858,), (1383310859,), (1383310860,), (1383310861,), (1383310863,), (1383310873,), (1383310878,), (1383310882,), (1383310886,), (1383310897,), (1383310900,), (1383310903,), (1383310907,), (1383310911,), (1383310934,), (1383310936,), (1383310938,), (1383310940,), (1383310944,), (1383310948,), (1383310966,), (1383310967,), (1383310968,), (1383310970,), (1383310997,), (1383311000,), (1383311004,), (1383311008,), (1383311012,), (1383311040,), (1383311042,), (1383311045,), (1383311048,), (1383311052,), (1383311064,), (1383311066,), (1383311068,), (1383311071,), (1383311092,), (1383311094,), (1383311097,), (1383311108,), (1383311111,), (1383311114,), (1383311117,), (1383311153,), (1383311134,), (1383311137,), (1383311141,), (1383311146,), (1383311150,), (1383311164,), (1383311167,), (1383311169,), (1383311172,), (1383311175,), (1383311185,), (1383311188,), (1383311200,), (1383311203,), (1383311206,), (1383311211,), (1383311216,), (1383311230,), (1383311236,), (1383311238,), (1383311240,), (1383311259,), (1383311263,), (1383311267,), (1383311271,), (1383311287,), (1383311289,), (1383311291,), (1383311384,), (1383311387,), (1383311417,), (1383311421,), (1383311426,), (1383311488,), (1383311642,), (1383311644,), (1383311646,), (1383311650,), (1383311655,), (1383311676,), (1383311679,), (1383311681,), (1383311683,), (1383311703,), (1383311705,), (1383311708,), (1383311711,), (1383311724,), (1383311726,), (1383311729,), (1383311733,), (1383311772,), (1383311774,), (1383311776,), (1383311779,), (1383311813,), (1383311802,), (1383311804,), (1383311806,), (1383311809,), (1383311823,), (1383311826,), (1383311829,), (1383311833,), (1383311845,), (1383311850,), (1383311853,), (1383311857,), (1383311860,), (1383311872,), (1383311873,), (1383311875,), (1383311878,), (1383311913,), (1383311944,), (1383311953,), (1383311956,), (1383311979,), (1383312006,), (1383312008,), (1383312010,), (1383312014,), (1383312031,), (1383312034,), (1383312036,), (1383312039,), (1383312050,), (1383312056,), (1383312062,), (1383312066,), (1383312159,), (1383312166,), (1383312235,), (1383312267,), (1383312300,), (1383312319,), (1383312323,), (1383312330,), (1383312385,), (1383312387,), (1383312398,), (1383312428,), (1383312430,), (1383312444,), (1383312446,), (1383312448,), (1383312453,), (1383312607,), (1383312611,), (1383312627,), (1383312631,), (1383312703,), (1383312691,), (1383312700,), (1383312721,), (1383312984,), (1383313135,), (1383313138,), (1383313140,), (1383313155,), (1383313157,), (1383313191,), (1383313194,), (1383313197,), (1383313213,), (1383313238,), (1383313240,), (1383313241,), (1383313244,), (1383313265,), (1383313268,), (1383313271,), (1383313276,), (1383313281,), (1383313285,), (1383313295,), (1383313296,), (1383313297,), (1383313298,), (1383313302,), (1383313321,), (1383313323,), (1383313325,), (1383313327,), (1383314188,), (1383314266,), (1383314344,), (1383314423,), (1383314426,), (1383314466,), (1383314564,), (1383314549,), (1383314553,), (1383314557,), (1383314561,), (1383314667,), (1383314747,), (1383314790,), (1383314792,), (1383314795,), (1383314901,), (1383314903,), (1383314905,), (1383314908,), (1383314927,), (1383314929,), (1383314930,), (1383314932,), (1383314936,), (1383314950,), (1383314952,), (1383314955,), (1383314979,), (1383314981,), (1383314982,), (1383314984,), (1383314987,), (1383315000,), (1383315003,), (1383315021,), (1383315024,), (1383315027,), (1383315031,), (1383315051,), (1383315054,), (1383315058,), (1383315061,), (1383315065,), (1383315080,), (1383315082,), (1383315083,), (1383315085,), (1383315111,), (1383315115,), (1383315117,), (1383315465,), (1383315467,), (1383315470,), (1383315472,), (1383315480,), (1383315483,), (1383315495,), (1383315497,), (1383315499,), (1383315502,), (1383315515,), (1383315516,), (1383315517,), (1383315519,), (1383315523,), (1383315528,), (1383315546,), (1383315548,), (1383315552,), (1383315555,), (1383315559,), (1383315579,), (1383315568,), (1383315572,), (1383315575,), (1383315591,), (1383315592,), (1383315593,), (1383315594,), (1383315619,), (1383315621,), (1383315626,), (1383315630,), (1383315804,), (1383315890,), (1383315981,), (1383316063,), (1383316143,), (1383316221,), (1383316527,), (1383316858,), (1383316897,), (1383316900,), (1383316905,), (1383316908,), (1383316917,), (1383316919,), (1383316921,), (1383316925,), (1383316931,), (1383317102,), (1383317178,), (1383317248,), (1383317539,), (1383317581,), (1383317597,), (1383317620,), (1383317634,), (1383317635,), (1383318273,), (1383318351,), (1383318443,), (1383318519,), (1383318618,), (1383318621,), (1383318624,), (1383318978,), (1383318997,), (1383319038,), (1383319041,), (1383319046,), (1383319139,), (1383319141,), (1383319193,), (1383319263,), (1383319344,), (1383319741,), (1383319743,), (1383319744,), (1383319756,), (1383319760,), (1383319765,), (1383319794,), (1383319784,), (1383319786,), (1383319788,), (1383319791,), (1383319811,), (1383319814,), (1383319816,), (1383319821,), (1383319824,), (1383319827,), (1383319835,), (1383319838,), (1383319841,), (1383319843,), (1383319847,), (1383319860,), (1383319863,), (1383319866,), (1383319892,), (1383319898,), (1383319899,), (1383319901,), (1383319924,), (1383319926,), (1383319928,), (1383319931,), (1383319934,), (1383319937,), (1383319946,), (1383319948,), (1383319949,), (1383319952,), (1383319956,), (1383319970,), (1383319974,), (1383319991,), (1383319993,), (1383319996,), (1383319999,), (1383320012,), (1383320015,), (1383320018,), (1383320022,), (1383320026,), (1383320031,), (1383320045,), (1383320051,), (1383320054,), (1383320058,), (1383320062,), (1383320075,), (1383320077,), (1383320079,), (1383320082,), (1383320101,), (1383320104,), (1383320108,), (1383320113,), (1383320116,), (1383320118,), (1383320327,), (1383320395,), (1383320484,), (1383320586,), (1383321407,), (1383321409,), (1383321410,), (1383321412,), (1383321437,), (1383321434,), (1383321913,), (1383321915,), (1383321933,), (1383321993,), (1383322114,), (1383322118,), (1383322122,), (1383322126,), (1383322129,), (1383322143,), (1383322145,), (1383322148,), (1383322151,), (1383322153,), (1383322165,), (1383322170,), (1383322173,), (1383322178,), (1383322198,), (1383322201,), (1383322203,), (1383322206,), (1383322209,), (1383322212,), (1383322226,), (1383322228,), (1383322251,), (1383322255,), (1383322257,), (1383322260,), (1383322265,), (1383322268,), (1383322281,), (1383322283,), (1383322285,), (1383322307,), (1383322310,), (1383322312,), (1383322315,), (1383322333,), (1383322336,), (1383322338,), (1383322341,), (1383322363,), (1383322366,), (1383322370,), (1383322374,), (1383322392,), (1383322395,), (1383324115,), (1383324149,), (1383324187,), (1383324203,), (1383324208,), (1383324220,), (1383324223,), (1383324226,), (1383324229,), (1383324232,), (1383324248,), (1383324235,), (1383324238,), (1383324245,), (1383324269,), (1383324299,), (1383324784,), (1383324788,), (1383324793,), (1383324797,), (1383324839,), (1383324879,), (1383324987,), (1383324990,), (1383324993,), (1383325022,), (1383325026,), (1383325028,), (1383325047,), (1383325050,), (1383325053,), (1383325058,), (1383325063,), (1383325088,), (1383325091,), (1383325093,), (1383325096,), (1383325120,), (1383325123,), (1383325148,), (1383326720,), (1383332759,), (1383332790,), (1383332794,), (1383333084,), (1383334155,), (1383334241,), (1383334244,), (1383334246,), (1383334533,), (1383334623,), (1383334689,), (1383334926,), (1383335355,), (1383335431,), (1383335501,), (1383335965,), (1383335978,), (1383335981,), (1383335998,), (1383336001,), (1383336003,), (1383336008,), (1383336023,), (1383336028,), (1383336033,), (1383336061,), (1383336064,), (1383336067,), (1383336071,), (1383336076,), (1383336081,), (1383336098,), (1383336102,), (1383336789,), (1383336745,), (1383336775,), (1383336777,), (1383336780,), (1383336784,), (1383336926,), (1383336995,), (1383337028,), (1383337031,), (1383337177,), (1383337181,), (1383337185,), (1383337188,), (1383337192,), (1383337207,), (1383337210,), (1383337213,), (1383337216,), (1383337239,), (1383337243,), (1383337246,), (1383337259,), (1383337261,), (1383337263,), (1383337266,), (1383337270,), (1383337275,), (1383337284,), (1383337286,), (1383337289,), (1383337292,), (1383337297,), (1383337300,), (1383337304,), (1383337305,), (1383337308,), (1383337311,), (1383337314,), (1383337318,), (1383337328,), (1383337332,), (1383337335,), (1383337338,), (1383337341,), (1383337348,), (1383337355,), (1383337356,), (1383337359,), (1383337360,), (1383337363,), (1383337364,), (1383337367,), (1383337368,), (1383337371,), (1383337372,), (1383337375,), (1383337376,), (1383337407,), (1383337411,), (1383337417,), (1383337423,), (1383337431,), (1383337439,), (1383337444,), (1383337447,), (1383337449,), (1383337457,), (1383337460,), (1383337462,), (1383337464,), (1383337469,), (1383337482,), (1383337484,), (1383337486,), (1383337489,), (1383338207,), (1383338275,), (1383338340,), (1383338403,), (1383338463,), (1383338665,), (1383338668,), (1383338670,), (1383338965,), (1383338996,), (1383339042,), (1383339166,), (1383339160,), (1383339163,), (1383339183,), (1383339186,), (1383339188,), (1383339191,), (1383339195,), (1383339198,), (1383339217,), (1383339219,), (1383339221,), (1383339224,), (1383339229,), (1383339249,), (1383339253,), (1383339256,), (1383339260,), (1383339285,), (1383339286,), (1383339287,), (1383339289,), (1383339293,), (1383339318,), (1383339323,), (1383339326,), (1383339396,), (1383339474,), (1383340171,), (1383340243,), (1383340313,), (1383340341,), (1383340346,), (1383340371,), (1383340375,), (1383340377,), (1383340402,), (1383340468,), (1383340542,), (1383340783,), (1383340788,), (1383340790,), (1383340793,), (1383340796,), (1383340797,), (1383340800,), (1383340801,), (1383340853,), (1383340919,), (1383340987,), (1383341240,), (1383341305,), (1383341356,), (1383341360,), (1383341517,), (1383341519,), (1383341550,), (1383341572,), (1383341576,), (1383341580,), (1383341598,), (1383341602,), (1383341603,), (1383341605,), (1383341608,), (1383341627,), (1383341630,), (1383341632,), (1383341635,), (1383341639,), (1383341713,), (1383341787,), (1383341871,), (1383342235,), (1383342237,), (1383342241,), (1383342285,), (1383342546,), (1383342533,), (1383342536,), (1383342538,), (1383342541,), (1383342570,), (1383342574,), (1383342577,), (1383342580,), (1383342583,), (1383342586,), (1383342596,), (1383342599,), (1383342603,), (1383342607,), (1383342612,), (1383342629,), (1383342632,), (1383342634,), (1383342635,), (1383342636,), (1383342638,), (1383342653,), (1383342658,), (1383342661,), (1383342665,), (1383342683,), (1383342685,), (1383342688,), (1383342693,), (1383342697,), (1383342700,), (1383342718,), (1383342721,), (1383342725,), (1383342727,), (1383342729,), (1383342731,), (1383342741,), (1383342743,), (1383342744,), (1383342746,), (1383342762,), (1383342764,), (1383342768,), (1383342771,), (1383342819,), (1383342876,), (1383343137,), (1383343139,), (1383343928,), (1383343932,), (1383343981,), (1383344005,), (1383344009,), (1383344060,), (1383344062,), (1383344064,), (1383344068,), (1383344072,), (1383344093,), (1383344097,), (1383344098,), (1383344100,), (1383344121,), (1383344126,), (1383344130,), (1383344134,), (1383344687,), (1383344685,), (1383344929,), (1383344932,), (1383344954,), (1383344956,), (1383344958,), (1383344962,), (1383344967,), (1383344984,), (1383344987,), (1383344989,), (1383344992,), (1383344996,), (1383345013,), (1383345014,), (1383345015,), (1383345018,), (1383345023,), (1383345045,), (1383345047,), (1383345048,), (1383345406,), (1383345484,), (1383345598,), (1383345698,), (1383345773,), (1383345853,), (1383345910,), (1383345989,), (1383346047,), (1383346053,), (1383346056,), (1383346076,), (1383346173,), (1383346176,), (1383346178,), (1383346181,), (1383346203,), (1383346206,), (1383346209,), (1383346212,), (1383346214,), (1383346218,), (1383346230,), (1383346233,), (1383346235,), (1383346239,), (1383346242,), (1383346245,), (1383346257,), (1383346260,), (1383346263,), (1383346266,), (1383346267,), (1383346268,), (1383346271,), (1383346274,), (1383346293,), (1383346294,), (1383346296,), (1383346300,), (1383346302,), (1383346305,), (1383346312,), (1383346313,), (1383346314,), (1383346315,), (1383346316,), (1383346318,), (1383346319,), (1383346321,), (1383346322,), (1383346324,), (1383346325,), (1383346327,), (1383346334,), (1383346336,), (1383346339,), (1383346343,), (1383346364,), (1383346358,), (1383346361,), (1383346381,), (1383346384,), (1383346387,), (1383346390,), (1383346403,), (1383346406,), (1383346409,), (1383346413,), (1383346417,), (1383346431,), (1383346432,), (1383346497,), (1383346564,), (1383346634,), (1383347358,), (1383347427,), (1383347454,), (1383347487,), (1383347490,), (1383347491,), (1383347493,), (1383347884,), (1383347916,), (1383347919,), (1383347926,), (1383347977,), (1383348015,), (1383348019,), (1383348020,), (1383348022,), (1383348025,), (1383348039,), (1383348041,), (1383348043,), (1383348046,), (1383348067,), (1383348070,), (1383348073,), (1383348077,), (1383348080,), (1383348104,), (1383348105,), (1383348106,), (1383348136,), (1383348140,), (1383348142,), (1383348211,), (1383348275,), (1383348337,), (1383348513,), (1383348514,), (1383348515,), (1383348517,), (1383348537,), (1383348542,), (1383348544,), (1383348547,), (1383348573,), (1383348575,), (1383348577,), (1383348579,), (1383348583,), (1383348587,), (1383348612,), (1383348603,), (1383348607,), (1383348609,), (1383348631,), (1383348633,), (1383348635,), (1383348638,), (1383348662,), (1383348666,), (1383348670,), (1383348674,), (1383348676,), (1383349122,), (1383349124,), (1383349126,), (1383349130,), (1383349185,), (1383349302,), (1383349305,), (1383349306,), (1383349308,), (1383349312,), (1383349317,), (1383349338,), (1383349341,), (1383349343,), (1383349346,), (1383349349,), (1383349352,), (1383349365,), (1383349368,), (1383349370,), (1383349372,), (1383349374,), (1383349386,), (1383349388,), (1383349391,), (1383349395,), (1383349398,), (1383349419,), (1383349421,), (1383349423,), (1383349425,), (1383349427,), (1383349437,), (1383349440,), (1383349441,), (1383349444,), (1383349459,), (1383349463,), (1383349467,), (1383349469,), (1383349472,), (1383349476,), (1383349485,), (1383349487,), (1383349489,), (1383349490,), (1383349493,), (1383349496,), (1383349508,), (1383349512,), (1383349516,), (1383349520,), (1383349535,), (1383349537,), (1383349539,), (1383349543,), (1383349548,), (1383349569,), (1383349575,), (1383349579,), (1383349584,), (1383349589,), (1383349595,), (1383349610,), (1383349603,), (1383349605,), (1383349607,), (1383349626,), (1383349629,), (1383349631,), (1383349634,), (1383349638,), (1383349641,), (1383349649,), (1383349650,), (1383349651,), (1383349653,), (1383349658,), (1383349676,), (1383349680,), (1383349683,), (1383349703,), (1383349706,), (1383349707,), (1383349709,), (1383349729,), (1383349731,), (1383350444,), (1383351228,), (1383351231,), (1383351234,), (1383351236,), (1383351238,), (1383351241,), (1383351246,), (1383351248,), (1383351251,), (1383351419,), (1383351483,), (1383351547,), (1383351711,), (1383351713,), (1383351715,), (1383351717,), (1383351720,), (1383351722,), (1383351738,), (1383351742,), (1383351744,), (1383351746,), (1383351764,), (1383351766,), (1383351767,), (1383351803,), (1383351807,), (1383351811,), (1383351815,), (1383351823,), (1383351825,), (1383351828,), (1383351830,), (1383351857,), (1383351844,), (1383351847,), (1383351849,), (1383351852,), (1383351869,), (1383351871,), (1383351873,), (1383351874,), (1383351884,), (1383351887,), (1383351890,), (1383351893,), (1383351905,), (1383351908,), (1383351909,), (1383351910,), (1383351912,), (1383351931,), (1383351934,), (1383351937,), (1383351938,), (1383351950,), (1383351955,), (1383351959,), (1383351962,), (1383351964,), (1383351976,), (1383351979,), (1383351982,), (1383351985,), (1383351990,), (1383351994,), (1383352011,), (1383352013,), (1383352015,), (1383352016,), (1383352017,), (1383352018,), (1383352030,), (1383352033,), (1383352035,), (1383352037,), (1383352055,), (1383352060,), (1383352065,), (1383352069,), (1383352072,), (1383352076,), (1383352088,), (1383352092,), (1383352095,), (1383352100,), (1383352104,), (1383352109,), (1383352128,), (1383352131,), (1383352134,), (1383352137,), (1383352155,), (1383352157,), (1383352159,), (1383352162,), (1383352187,), (1383352190,), (1383352191,), (1383352193,), (1383352196,), (1383352513,), (1383352583,), (1383352654,), (1383352722,), (1383352793,), (1383353432,), (1383353425,), (1383353429,), (1383353430,), (1383353736,), (1383353746,), (1383353750,), (1383353754,), (1383353757,), (1383353770,), (1383353774,), (1383353777,), (1383353780,), (1383353783,), (1383353787,), (1383353808,), (1383353810,), (1383353811,), (1383353832,), (1383353835,), (1383353836,), (1383353863,), (1383353866,), (1383353869,), (1383353872,), (1383353875,), (1383353894,), (1383353896,), (1383353897,), (1383353899,), (1383353903,), (1383353913,), (1383353915,), (1383353917,), (1383353920,), (1383353924,), (1383353939,), (1383353943,), (1383353945,), (1383353965,), (1383353967,), (1383353969,), (1383353971,), (1383353975,), (1383353998,), (1383354002,), (1383354004,), (1383354006,), (1383354028,), (1383354032,), (1383354036,), (1383354040,), (1383354044,), (1383354060,), (1383354063,), (1383354093,), (1383354095,), (1383354097,), (1383354100,), (1383354125,), (1383354129,), (1383354131,), (1383354134,), (1383354180,), (1383354166,), (1383354167,), (1383354168,), (1383354170,), (1383354175,), (1383354193,), (1383354196,), (1383354198,), (1383354216,), (1383354219,), (1383354221,), (1383354224,), (1383354988,), (1383355052,), (1383355124,), (1383355596,), (1383355600,), (1383355606,), (1383355622,), (1383355650,), (1383355691,), (1383355766,), (1383356140,), (1383356142,), (1383356144,), (1383356184,), (1383356188,), (1383356190,), (1383356757,), (1383356821,), (1383356888,), (1383357111,), (1383357115,), (1383357154,), (1383357158,), (1383357187,), (1383357210,), (1383357213,), (1383357215,), (1383357219,), (1383357223,), (1383357228,), (1383357245,), (1383357249,), (1383357252,), (1383357282,), (1383357286,), (1383357289,), (1383357292,), (1383357307,), (1383357312,), (1383357316,), (1383357345,), (1383357348,), (1383357350,), (1383357352,), (1383357358,), (1383357393,), (1383357386,), (1383357390,), (1383357391,), (1383357420,), (1383357422,), (1383357461,), (1383357467,), (1383357470,), (1383357473,), (1383357477,), (1383357481,), (1383357500,), (1383357503,), (1383357505,), (1383357508,), (1383357513,), (1383357516,), (1383357540,), (1383357547,), (1383357549,), (1383357552,), (1383357576,), (1383357579,), (1383357582,), (1383357586,), (1383357592,), (1383357597,), (1383357616,), (1383357619,), (1383357622,), (1383357627,), (1383357632,), (1383357635,), (1383357640,), (1383357643,), (1383357645,), (1383357682,), (1383357683,), (1383357685,), (1383357732,), (1383357736,), (1383357741,), (1383357746,), (1383357782,), (1383357786,), (1383357789,), (1383357811,), (1383357814,), (1383357817,), (1383357821,), (1383357825,), (1383357830,), (1383358162,), (1383358234,), (1383358318,), (1383358388,), (1383358462,), (1383359183,), (1383359185,), (1383359190,), (1383359195,), (1383359199,), (1383359205,), (1383359340,), (1383359406,), (1383359468,), (1383359528,), (1383359562,), (1383359699,), (1383359767,), (1383359855,), (1383359622,), (1383359627,), (1383359632,), (1383359684,), (1383359731,), (1383359734,), (1383359736,), (1383359740,), (1383359742,), (1383359745,), (1383359754,), (1383359757,), (1383359762,), (1383359765,), (1383359787,), (1383359791,), (1383359793,), (1383359795,), (1383359797,), (1383359802,), (1383359814,), (1383359818,), (1383359821,), (1383359822,), (1383359823,), (1383359824,), (1383359834,), (1383359838,), (1383359842,), (1383359848,), (1383359852,), (1383359871,), (1383359877,), (1383359879,), (1383359885,), (1383359890,), (1383360475,), (1383360543,), (1383360612,), (1383360674,), (1383360744,), (1383360985,), (1383361017,), (1383361027,), (1383361029,), (1383361060,), (1383361118,), (1383361119,), (1383361121,), (1383361124,), (1383361127,), (1383361130,), (1383361138,), (1383361141,), (1383361144,), (1383361147,), (1383361161,), (1383361166,), (1383361170,), (1383361173,), (1383361175,), (1383361177,), (1383361189,), (1383361194,), (1383361196,), (1383361219,), (1383361220,), (1383361221,), (1383361223,), (1383361244,), (1383361248,), (1383361251,), (1383361254,), (1383361258,), (1383361275,), (1383361277,), (1383361279,), (1383361281,), (1383361284,), (1383361288,), (1383361303,), (1383361309,), (1383361312,), (1383361318,), (1383361320,), (1383361326,), (1383361343,), (1383361335,), (1383361339,), (1383361367,), (1383361369,), (1383361370,), (1383361372,), (1383361375,), (1383361403,), (1383361407,), (1383361410,), (1383361414,), (1383361419,), (1383361444,), (1383361446,), (1383361456,), (1383361525,), (1383361593,), (1383362338,), (1383362404,), (1383362407,), (1383362411,), (1383362441,), (1383362443,), (1383362444,), (1383362451,), (1383362858,), (1383362865,), (1383362867,), (1383362870,), (1383362873,), (1383362877,), (1383362890,), (1383362894,), (1383362896,), (1383362899,), (1383362902,), (1383362915,), (1383362920,), (1383362922,), (1383362926,), (1383362930,), (1383362946,), (1383362949,), (1383362952,), (1383362956,), (1383362960,), (1383362962,), (1383362983,), (1383362984,), (1383362986,), (1383362989,), (1383362995,), (1383363021,), (1383363025,), (1383363031,), (1383363035,), (1383363042,), (1383363049,), (1383363053,), (1383363056,), (1383363077,), (1383363081,), (1383363106,), (1383363109,), (1383363110,), (1383363114,), (1383363121,), (1383363126,), (1383363168,), (1383363212,), (1383363337,), (1383363145,), (1383363149,), (1383363152,), (1383363161,), (1383363164,), (1383363181,), (1383363183,), (1383363185,), (1383363193,), (1383363194,), (1383363198,), (1383363202,), (1383363203,), (1383363205,), (1383363208,), (1383363231,), (1383363235,), (1383363238,), (1383363243,), (1383363248,), (1383363250,), (1383363261,), (1383363262,), (1383363265,), (1383363266,), (1383363269,), (1383363270,), (1383363273,), (1383363274,), (1383363275,), (1383363277,), (1383363278,), (1383363279,), (1383363285,), (1383363289,), (1383363291,), (1383363295,), (1383363302,), (1383363320,), (1383363330,), (1383363334,), (1383363342,), (1383363344,), (1383363346,), (1383363349,), (1383363353,), (1383363356,), (1383363374,), (1383363378,), (1383363380,), (1383363384,), (1383363388,), (1383363407,), (1383363410,), (1383363413,), (1383363415,), (1383363420,), (1383363439,), (1383363442,), (1383363445,), (1383363449,), (1383363453,), (1383363457,), (1383363478,), (1383363480,), (1383363481,), (1383363512,), (1383363517,), (1383363520,), (1383363524,), (1383363529,), (1383363555,), (1383363562,), (1383363572,), (1383363649,), (1383364372,), (1383364437,), (1383364510,), (1383364586,), (1383364653,), (1383364891,), (1383364894,), (1383364896,), (1383365030,), (1383365095,), (1383365167,), (1383365230,), (1383365424,), (1383365428,), (1383365430,), (1383365432,), (1383365434,), (1383365409,), (1383365412,), (1383365415,), (1383365419,), (1383365421,), (1383365443,), (1383365446,), (1383365450,), (1383365456,), (1383365481,), (1383365485,), (1383365489,), (1383365493,), (1383365544,), (1383365625,), (1383365694,), (1383365771,), (1383365843,), (1383366374,), (1383366377,), (1383366379,), (1383366382,), (1383366416,), (1383366494,), (1383366599,), (1383366602,), (1383366603,), (1383366631,), (1383366633,), (1383366635,), (1383366637,), (1383366640,), (1383366642,), (1383366666,), (1383366671,), (1383366672,), (1383366675,), (1383366679,), (1383366683,), (1383366709,), (1383366713,), (1383368033,), (1383368038,), (1383368086,), (1383368091,), (1383368096,), (1383368099,), (1383368103,), (1383368109,), (1383368134,), (1383368426,), (1383368427,), (1383368430,), (1383368431,), (1383368458,), (1383368463,), (1383368473,), (1383368477,), (1383368480,), (1383368482,), (1383368485,), (1383368490,), (1383368541,), (1383368544,), (1383367886,), (1383367891,), (1383367895,), (1383367899,), (1383367901,), (1383367903,), (1383367915,), (1383367916,), (1383367920,), (1383367922,), (1383367924,), (1383367926,), (1383367928,), (1383367929,), (1383367931,), (1383367932,), (1383367933,), (1383367934,), (1383367940,), (1383367943,), (1383367948,), (1383367953,), (1383367958,), (1383367963,), (1383367967,), (1383367969,), (1383367973,), (1383367977,), (1383367981,), (1383367984,), (1383367993,), (1383367995,), (1383367999,), (1383368002,), (1383368007,), (1383368010,), (1383368023,), (1383368026,), (1383368053,), (1383368056,), (1383368059,), (1383368063,), (1383368068,), (1383368072,), (1383368120,), (1383368123,), (1383368127,), (1383368130,), (1383368132,), (1383368168,), (1383368171,), (1383368177,), (1383368183,), (1383368187,), (1383368192,), (1383368245,), (1383368247,), (1383368250,), (1383368252,), (1383368255,), (1383368260,), (1383368298,), (1383368303,), (1383368317,), (1383368339,), (1383368344,), (1383368358,), (1383368370,), (1383368372,), (1383368379,), (1383368385,), (1383368391,), (1383368397,), (1383368410,), (1383368411,), (1383368413,), (1383368414,), (1383368417,), (1383368418,), (1383368421,), (1383368422,), (1383368454,), (1383368441,), (1383368446,), (1383368450,), (1383368514,), (1383368531,), (1383368535,), (1383368588,), (1383368591,), (1383368594,), (1383368597,), (1383368603,), (1383368606,), (1383368636,), (1383368641,), (1383368646,), (1383368650,), (1383368654,), (1383368657,), (1383368692,), (1383368695,), (1383368704,), (1383368811,), (1383368815,), (1383368817,), (1383368819,), (1383368821,), (1383368824,), (1383368840,), (1383368843,), (1383368846,), (1383368850,), (1383368880,), (1383368884,), (1383368888,), (1383368893,), (1383368897,), (1383368899,), (1383368908,), (1383368912,), (1383368916,), (1383368934,), (1383368939,), (1383368943,), (1383368947,), (1383368951,), (1383368954,), (1383368985,), (1383368992,), (1383368995,), (1383369081,), (1383369085,), (1383369088,), (1383369091,), (1383369095,), (1383369099,), (1383369119,), (1383369122,), (1383369125,), (1383369127,), (1383369174,), (1383369180,), (1383369186,), (1383369192,), (1383369195,), (1383369200,), (1383369258,), (1383369229,), (1383369234,), (1383369238,), (1383369243,), (1383369290,), (1383369294,), (1383369298,), (1383369300,), (1383369321,), (1383369326,), (1383369331,), (1383369336,), (1383369340,), (1383369344,), (1383369363,), (1383369365,), (1383369367,), (1383369371,), (1383369375,), (1383369378,), (1383369388,), (1383369391,), (1383369394,), (1383369396,), (1383369399,), (1383369409,), (1383369413,), (1383369420,), (1383369428,), (1383369432,), (1383369453,), (1383369456,), (1383369459,), (1383369462,), (1383369467,), (1383369504,), (1383369508,), (1383369511,), (1383369515,), (1383369543,), (1383369547,), (1383369551,), (1383369554,), (1383369559,), (1383369589,), (1383369593,), (1383369597,), (1383369600,), (1383369606,), (1383369612,), (1383369635,), (1383369638,), (1383369639,), (1383369665,), (1383369669,), (1383369672,), (1383369676,), (1383369681,), (1383369687,), (1383369750,), (1383369757,), (1383369764,), (1383369773,), (1383369780,), (1383369835,), (1383369841,), (1383369845,), (1383369849,), (1383369929,), (1383369931,), (1383369933,), (1383369937,), (1383369942,), (1383369947,), (1383369955,), (1383369958,), (1383369962,), (1383369974,), (1383369978,), (1383369981,), (1383369984,), (1383369989,), (1383370035,), (1383370023,), (1383370028,), (1383370033,), (1383370200,), (1383370209,), (1383370210,), (1383370223,), (1383370226,), (1383370254,), (1383370256,), (1383370259,), (1383370263,), (1383370269,), (1383370647,), (1383370651,), (1383370655,), (1383370659,), (1383370846,), (1383370849,), (1383370850,), (1383370852,), (1383370857,), (1383370890,), (1383370894,), (1383370897,), (1383370900,), (1383370905,), (1383370933,), (1383370936,), (1383370938,), (1383370943,), (1383370968,), (1383370971,), (1383370973,), (1383370975,), (1383370981,), (1383370986,), (1383371022,), (1383371025,), (1383371028,), (1383371033,), (1383371037,), (1383371040,), (1383371051,), (1383371054,), (1383371057,), (1383371060,), (1383371063,), (1383371068,), (1383371074,), (1383371080,), (1383371083,), (1383371103,), (1383371108,), (1383371111,), (1383371114,), (1383371119,), (1383371146,), (1383371151,), (1383371153,), (1383371156,), (1383371187,), (1383371190,), (1383371219,), (1383371223,), (1383371224,), (1383371226,), (1383371231,), (1383371236,), (1383371268,), (1383371271,), (1383371274,), (1383371277,), (1383371323,), (1383371310,), (1383371311,), (1383371312,), (1383371314,), (1383371319,), (1383371347,), (1383371358,), (1383371360,), (1383371366,), (1383371369,), (1383371371,), (1383371387,), (1383371389,), (1383371390,), (1383371438,), (1383371442,), (1383371446,), (1383371451,), (1383371455,), (1383371457,), (1383371466,), (1383371470,), (1383371474,), (1383371491,), (1383371502,), (1383371505,), (1383371540,), (1383371543,), (1383371546,), (1383371548,), (1383371551,), (1383371553,), (1383371582,), (1383371587,), (1383371589,), (1383371592,), (1383371595,), (1383372135,), (1383372219,), (1383372302,), (1383372381,), (1383372462,), (1383372937,), (1383372942,), (1383372947,), (1383372951,), (1383372954,), (1383372958,), (1383373244,), (1383373317,), (1383373320,), (1383373321,), (1383373456,), (1383373459,), (1383373461,), (1383373465,), (1383373470,), (1383373475,), (1383373504,), (1383373508,), (1383373510,), (1383373512,), (1383373517,), (1383373520,), (1383373696,), (1383373789,), (1383373884,), (1383374528,), (1383374532,), (1383374554,), (1383374576,), (1383374583,), (1383374593,), (1383374606,), (1383374607,), (1383374608,), (1383374622,), (1383374627,), (1383374632,), (1383374638,), (1383374643,), (1383374649,), (1383374680,), (1383374670,), (1383374674,), (1383374677,), (1383374724,), (1383374733,), (1383374735,), (1383374739,), (1383374744,), (1383374859,), (1383374872,), (1383374880,), (1383374891,), (1383374904,), (1383374934,), (1383374961,), (1383374966,), (1383374969,), (1383374972,), (1383374976,), (1383375008,), (1383375012,), (1383375017,), (1383375022,), (1383375031,), (1383375181,), (1383375184,), (1383375188,), (1383375193,), (1383375199,), (1383375240,), (1383375245,), (1383375274,), (1383375299,), (1383375559,), (1383375586,), (1383375614,), (1383375641,), (1383375675,), (1383375714,), (1383376150,), (1383376190,), (1383376206,), (1383376212,), (1383376215,), (1383376218,), (1383376265,), (1383376296,), (1383376325,), (1383376354,), (1383376392,), (1383376450,), (1383376460,), (1383376463,), (1383376467,), (1383376786,), (1383376815,), (1383376853,), (1383376882,), (1383377245,), (1383377270,), (1383377297,), (1383377356,), (1383377682,), (1383377691,), (1383377693,), (1383377719,), (1383377796,), (1383378353,), (1383378411,), (1383378994,), (1383378897,), (1383378901,), (1383378922,), (1383378959,), (1383379256,), (1383379289,), (1383379313,), (1383379338,), (1383379681,), (1383379819,), (1383379924,), (1383380037,), (1383380170,), (1383380296,), (1383381498,), (1383381544,), (1383381591,), (1383381641,), (1383381694,), (1383381743,), (1383381906,), (1383381961,), (1383382015,), (1383382072,), (1383382131,), (1383382181,), (1383382367,), (1383382419,), (1383382488,), (1383382589,), (1383383922,), (1383384077,), (1383384169,), (1383384271,), (1383384368,), (1383384984,), (1383385095,), (1383385135,), (1383386537,), (1383387034,), (1383387078,), (1383387113,), (1383387167,), (1383387850,), (1383387867,), (1383387892,), (1383387912,), (1383388126,), (1383388138,), (1383388207,), (1383388262,), (1383388297,), (1383388329,), (1383388367,), (1383388391,), (1383388431,), (1383388512,), (1383388517,), (1383388518,), (1383390810,), (1383391354,), (1383389044,), (1383390930,), (1383391099,), (1383391201,), (1383391263,), (1383391299,), (1383391736,), (1383391800,), (1383391839,), (1383391855,), (1383391885,), (1383392169,), (1383392183,), (1383392211,), (1383392244,), (1383392259,), (1383392264,), (1383392288,), (1383392291,), (1383392293,), (1383392577,), (1383392645,), (1383392736,), (1383392824,), (1383393211,), (1383393201,), (1383393206,), (1383393209,), (1383393237,), (1383393255,), (1383393278,), (1383393594,), (1383393598,), (1383393605,), (1383393610,), (1383393614,), (1383394492,), (1383394574,), (1383394654,), (1383394721,), (1383394725,), (1383394733,), (1383394747,), (1383394749,), (1383394756,), (1383394760,), (1383394789,), (1383394839,), (1383395038,), (1383395163,), (1383395225,), (1383395484,), (1383395527,), (1383395530,), (1383395553,), (1383395557,), (1383395559,), (1383395663,), (1383395676,), (1383395698,), (1383395722,), (1383396018,), (1383396041,), (1383396064,), (1383396083,), (1383396090,), (1383396093,), (1383396129,), (1383396133,), (1383396135,), (1383396137,), (1383396171,), (1383396175,), (1383396180,), (1383396185,), (1383396188,), (1383396230,), (1383396235,), (1383396238,), (1383396241,), (1383396245,), (1383396308,), (1383396312,), (1383396315,), (1383396317,), (1383396356,), (1383396359,), (1383396378,), (1383396409,), (1383396437,), (1383396464,), (1383396512,), (1383396550,), (1383396772,), (1383396687,), (1383396691,), (1383396717,), (1383396745,), (1383398323,), (1383398942,), (1383398969,), (1383399001,), (1383399032,), (1383399260,), (1383399285,), (1383399833,), (1383399886,), (1383400571,), (1383400642,), (1383400712,), (1383400962,), (1383400966,), (1383400970,), (1383400975,), (1383401000,), (1383401021,), (1383401113,), (1383401140,), (1383401186,), (1383401189,), (1383401193,), (1383401199,), (1383401202,), (1383401319,), (1383401344,), (1383401375,), (1383401401,), (1383401417,), (1383401420,), (1383401428,), (1383401432,), (1383401445,), (1383401570,), (1383401577,), (1383401601,), (1383401645,), (1383401670,), (1383401702,), (1383402588,), (1383402640,), (1383402695,), (1383402746,), (1383402795,), (1383403752,), (1383403676,), (1383404561,), (1383404640,), (1383404722,), (1383404801,), (1383404877,), (1383405633,), (1383405702,), (1383405771,), (1383406485,), (1383406538,), (1383406587,), (1383406639,), (1383406669,), (1383407234,), (1383407260,), (1383407302,), (1383407334,), (1383407360,), (1383407736,), (1383407762,), (1383407791,), (1383407822,), (1383407849,), (1383407891,), (1383408043,), (1383408046,), (1383408055,), (1383408222,), (1383408254,), (1383408278,), (1383408479,), (1383408487,), (1383408495,), (1383409429,), (1383456239,), (1383456266,), (1383456289,), (1383456625,), (1383456630,), (1383456632,), (1383456635,), (1383456639,), (1383456688,), (1383456718,), (1383456723,), (1383456726,), (1383456746,), (1383456782,), (1383456786,), (1383456790,), (1383456794,), (1383456798,), (1383456818,), (1383456822,), (1383456824,), (1383456827,), (1383456886,), (1383456912,), (1383456936,), (1383456961,), (1383456984,), (1383457766,), (1383458576,), (1383458526,), (1383458551,), (1383458797,), (1383458800,), (1383458811,), (1383458837,), (1383459347,), (1383459398,), (1383459442,), (1383459467,), (1383459490,), (1383459895,), (1383459935,), (1383459963,), (1383459992,), (1383460021,), (1383460298,), (1383460327,), (1383460342,), (1383460344,), (1383460351,), (1383460469,), (1383460500,), (1383460526,), (1383460556,), (1383460581,), (1383460681,), (1383460686,), (1383460692,), (1383460697,), (1383460714,), (1383460718,), (1383460746,), (1383460748,), (1383460753,), (1383460759,), (1383460763,), (1383460767,), (1383460771,), (1383460775,), (1383460777,), (1383460781,), (1383460788,), (1383460798,), (1383460802,), (1383460806,), (1383460811,), (1383460815,), (1383460818,), (1383460844,), (1383460848,), (1383460850,), (1383460854,), (1383460862,), (1383460921,), (1383460923,), (1383460925,), (1383460928,), (1383460934,), (1383460939,), (1383460974,), (1383460979,), (1383460981,), (1383460985,), (1383461001,), (1383461017,), (1383461019,), (1383461026,), (1383461030,), (1383461038,), (1383461117,), (1383461121,), (1383461125,), (1383461127,), (1383461130,), (1383461132,), (1383461137,), (1383461140,), (1383461145,), (1383461147,), (1383461163,), (1383461166,), (1383461170,), (1383461174,), (1383461186,), (1383461194,), (1383461229,), (1383461207,), (1383461210,), (1383461216,), (1383461223,), (1383461273,), (1383461277,), (1383461279,), (1383461283,), (1383461289,), (1383461293,), (1383461342,), (1383461345,), (1383461347,), (1383461349,), (1383461355,), (1383461379,), (1383461382,), (1383461384,), (1383461388,), (1383461394,), (1383461405,), (1383461447,), (1383461452,), (1383461453,), (1383461456,), (1383461464,), (1383461515,), (1383461519,), (1383461532,), (1383461540,), (1383461545,), (1383461548,), (1383461609,), (1383461618,), (1383461620,), (1383461625,), (1383461628,), (1383461646,), (1383461649,), (1383461651,), (1383461654,), (1383461660,), (1383461728,), (1383461731,), (1383461735,), (1383461738,), (1383461742,), (1383462841,), (1383462849,), (1383462851,), (1383462854,), (1383462921,), (1383462923,), (1383462926,), (1383462929,), (1383462933,), (1383462936,), (1383463167,), (1383463198,), (1383463225,), (1383463588,), (1383463573,), (1383463576,), (1383463577,), (1383463579,), (1383463584,), (1383463748,), (1383463781,), (1383463821,), (1383463841,), (1383463852,), (1383463897,), (1383463899,), (1383463900,), (1383463902,), (1383463905,), (1383464117,), (1383464142,), (1383464167,), (1383464196,), (1383464223,), (1383464248,), (1383464379,), (1383464391,), (1383464394,), (1383464398,), (1383464401,), (1383464406,), (1383464437,), (1383464440,), (1383464442,), (1383464445,), (1383464468,), (1383464470,), (1383464471,), (1383464473,), (1383464476,), (1383464479,), (1383464545,), (1383464546,), (1383464548,), (1383464551,), (1383464554,), (1383464557,), (1383464567,), (1383464570,), (1383464574,), (1383464578,), (1383464584,), (1383464587,), (1383464590,), (1383464596,), (1383464600,), (1383464631,), (1383464640,), (1383464645,), (1383464648,), (1383464653,), (1383464654,), (1383464666,), (1383464674,), (1383464679,), (1383464692,), (1383464695,), (1383464710,), (1383464716,), (1383464718,), (1383464723,), (1383464725,), (1383464726,), (1383464727,), (1383464732,), (1383464733,), (1383464734,), (1383464740,), (1383464741,), (1383464742,), (1383464745,), (1383464746,), (1383464748,), (1383464749,), (1383464774,), (1383464778,), (1383464783,), (1383464788,), (1383464794,), (1383464798,), (1383464866,), (1383464871,), (1383464876,), (1383464880,), (1383464882,), (1383464885,), (1383464896,), (1383464898,), (1383464900,), (1383464902,), (1383464904,), (1383464905,), (1383464920,), (1383464925,), (1383464927,), (1383464930,), (1383464933,), (1383464935,), (1383464943,), (1383464949,), (1383464992,), (1383464973,), (1383464980,), (1383464985,), (1383464988,), (1383465005,), (1383465007,), (1383465009,), (1383465012,), (1383465016,), (1383465021,), (1383465043,), (1383465056,), (1383465062,), (1383465077,), (1383465147,), (1383465150,), (1383465153,), (1383465157,), (1383465161,), (1383465188,), (1383465190,), (1383465197,), (1383465203,), (1383465219,), (1383465229,), (1383465249,), (1383465267,), (1383465269,), (1383465270,), (1383465273,), (1383465512,), (1383465517,), (1383465519,), (1383465522,), (1383465525,), (1383465545,), (1383465549,), (1383465553,), (1383465558,), (1383465563,), (1383465570,), (1383465971,), (1383466023,), (1383466075,), (1383466103,), (1383466151,), (1383466182,), (1383466279,), (1383466312,), (1383466334,), (1383466359,), (1383466364,), (1383466371,), (1383466375,), (1383466379,), (1383466383,), (1383466387,), (1383466539,), (1383466566,), (1383466584,), (1383466586,), (1383466589,), (1383466691,), (1383466712,), (1383466737,), (1383466769,), (1383466798,), (1383466939,), (1383466967,), (1383466992,), (1383467018,), (1383467047,), (1383467076,), (1383467887,), (1383467920,), (1383467946,), (1383467975,), (1383468009,), (1383468037,), (1383468127,), (1383468157,), (1383468200,), (1383468441,), (1383468352,), (1383468384,), (1383468411,), (1383468429,), (1383468435,), (1383468465,), (1383468469,), (1383468472,), (1383468478,), (1383468782,), (1383468814,), (1383468830,), (1383468840,), (1383468844,), (1383468858,), (1383468940,), (1383468943,), (1383468948,), (1383468973,), (1383469001,), (1383469028,), (1383469112,), (1383469115,), (1383469125,), (1383469152,), (1383469214,), (1383469264,), (1383469301,), (1383469329,), (1383469353,), (1383469382,), (1383469652,), (1383469701,), (1383469754,), (1383469799,), (1383470312,), (1383470464,), (1383470531,), (1383470633,), (1383470688,), (1383470768,), (1383470906,), (1383470935,), (1383470959,), (1383470987,), (1383471013,), (1383471043,), (1383471203,), (1383471250,), (1383471298,), (1383471343,), (1383471442,), (1383471459,), (1383471466,), (1383471488,), (1383471492,), (1383471511,), (1383471617,), (1383471648,), (1383471686,), (1383471714,), (1383471763,), (1383471993,), (1383471995,), (1383472015,), (1383472034,), (1383472082,), (1383472281,), (1383472298,), (1383472300,), (1383472304,), (1383472316,), (1383472342,), (1383472399,), (1383472423,), (1383472447,), (1383472473,), (1383472774,), (1383472775,), (1383472776,), (1383472778,), (1383472781,), (1383472805,), (1383472906,), (1383472934,), (1383472965,), (1383472994,), (1383473015,), (1383473262,), (1383473157,), (1383473183,), (1383473211,), (1383473235,), (1383473502,), (1383473524,), (1383473578,), (1383473605,), (1383473645,), (1383473948,), (1383473971,), (1383474018,), (1383474078,), (1383474135,), (1383474190,), (1383474357,), (1383474405,), (1383474432,), (1383474442,), (1383474446,), (1383474601,), (1383474603,), (1383474604,), (1383474606,), (1383474618,), (1383474853,), (1383474873,), (1383474886,), (1383474906,), (1383474909,), (1383474912,), (1383474986,), (1383474994,), (1383474996,), (1383474998,), (1383475001,), (1383475013,), (1383475018,), (1383475031,), (1383475055,), (1383475083,), (1383475110,), (1383475334,), (1383475335,), (1383475337,), (1383475348,), (1383475396,), (1383475443,), (1383475515,), (1383475518,), (1383475520,), (1383475521,), (1383475522,), (1383475532,), (1383475537,), (1383475539,), (1383475543,), (1383475545,), (1383475580,), (1383475587,), (1383475594,), (1383475620,), (1383475648,), (1383475677,), (1383475801,), (1383475816,), (1383475823,), (1383475844,), (1383475849,), (1383475928,), (1383475930,), (1383475932,), (1383475934,), (1383475938,), (1383475987,), (1383476006,), (1383476031,), (1383476053,), (1383476080,), (1383476107,), (1383476260,), (1383476263,), (1383476269,), (1383476297,), (1383476313,), (1383476362,), (1383476351,), (1383476354,), (1383476355,), (1383476357,), (1383476359,), (1383476432,), (1383476457,), (1383476483,), (1383476510,), (1383476640,), (1383476642,), (1383476685,), (1383476687,), (1383476710,), (1383476713,), (1383476717,), (1383477006,), (1383477260,), (1383477286,), (1383477313,), (1383477340,), (1383477584,), (1383477593,), (1383477596,), (1383477900,), (1383477963,), (1383478011,), (1383478052,), (1383478485,), (1383478508,), (1383478546,), (1383478596,), (1383478655,), (1383478699,), (1383478788,), (1383478821,), (1383478845,), (1383478870,), (1383478895,), (1383479298,), (1383479324,), (1383479355,), (1383479384,), (1383479411,), (1383479699,), (1383479703,), (1383479719,), (1383479746,), (1383480117,), (1383480140,), (1383480162,), (1383480205,), (1383480233,), (1383480373,), (1383480380,), (1383480382,), (1383480385,), (1383480409,), (1383480412,), (1383480443,), (1383480444,), (1383480446,), (1383480449,), (1383480453,), (1383480456,), (1383480467,), (1383480469,), (1383480478,), (1383480502,), (1383480533,), (1383480625,), (1383480652,), (1383480680,), (1383480708,), (1383480794,), (1383480891,), (1383481191,), (1383481138,), (1383481139,), (1383481173,), (1383481405,), (1383481409,), (1383481412,), (1383481419,), (1383481473,), (1383481720,), (1383481742,), (1383481768,), (1383481796,), (1383481822,), (1383481927,), (1383481929,), (1383481930,), (1383481960,), (1383481962,), (1383481963,), (1383481965,), (1383481967,), (1383481975,), (1383482005,), (1383482007,), (1383482010,), (1383482013,), (1383482015,), (1383482018,), (1383482026,), (1383482029,), (1383482041,), (1383482043,), (1383482046,), (1383482072,), (1383482075,), (1383482077,), (1383482083,), (1383482088,), (1383482090,), (1383482171,), (1383482196,), (1383482219,), (1383482249,), (1383482276,), (1383482306,), (1383482637,), (1383482639,), (1383482713,), (1383482715,), (1383482751,), (1383482758,), (1383482776,), (1383482783,), (1383482803,), (1383482814,), (1383482828,), (1383482841,), (1383482930,), (1383482956,), (1383482981,), (1383483004,), (1383483010,), (1383483014,), (1383483027,), (1383483030,), (1383483032,), (1383483034,), (1383483038,), (1383483139,), (1383483196,), (1383483245,), (1383483298,), (1383483330,), (1383483377,), (1383483816,), (1383483906,), (1383483960,), (1383484009,), (1383484057,), (1383484437,), (1383484482,), (1383484529,), (1383485561,), (1383485614,), (1383485637,), (1383485665,), (1383485692,), (1383485796,), (1383485797,), (1383485826,), (1383485827,), (1383485832,), (1383485833,), (1383485847,), (1383485849,), (1383485881,), (1383485883,), (1383485988,), (1383485929,), (1383485955,), (1383486572,), (1383486597,), (1383486974,), (1383487003,), (1383487016,), (1383487047,), (1383487072,), (1383487113,), (1383487210,), (1383487211,), (1383487212,), (1383487213,), (1383487214,), (1383487216,), (1383487234,), (1383487269,), (1383487271,), (1383487272,), (1383487296,), (1383487299,), (1383487302,), (1383487343,), (1383487345,), (1383487347,), (1383487386,), (1383487389,), (1383487392,), (1383487442,), (1383487445,), (1383487448,), (1383487450,), (1383487451,), (1383487452,), (1383487495,), (1383487498,), (1383487501,), (1383487504,), (1383487505,), (1383487546,), (1383487549,), (1383487553,), (1383487557,), (1383487559,), (1383487561,), (1383487595,), (1383487597,), (1383487599,), (1383487601,), (1383487602,), (1383487626,), (1383487628,), (1383487630,), (1383487632,), (1383487633,), (1383487634,), (1383487669,), (1383487671,), (1383487673,), (1383487675,), (1383487676,), (1383487704,), (1383487707,), (1383487710,), (1383487713,), (1383487715,), (1383487716,), (1383487773,), (1383487762,), (1383487765,), (1383487768,), (1383487772,), (1383487808,), (1383487811,), (1383487814,), (1383487816,), (1383487818,), (1383487858,), (1383487861,), (1383487863,), (1383487867,), (1383487868,), (1383487869,), (1383487906,), (1383487909,), (1383487912,), (1383487919,), (1383487923,), (1383487951,), (1383487954,), (1383487955,), (1383487962,), (1383487966,), (1383487987,), (1383487988,), (1383487990,), (1383487993,), (1383487995,), (1383487997,), (1383488017,), (1383488020,), (1383488021,), (1383488024,), (1383488041,), (1383488042,), (1383488043,), (1383488044,), (1383488046,), (1383488050,), (1383488080,), (1383488082,), (1383488085,), (1383488091,), (1383488093,), (1383488095,), (1383488100,), (1383488102,), (1383488104,), (1383488112,), (1383488115,), (1383488119,), (1383488123,), (1383488126,), (1383488155,), (1383488159,), (1383488163,), (1383488166,), (1383488169,), (1383488300,), (1383488324,), (1383488348,), (1383488373,), (1383488404,), (1383488553,), (1383488555,), (1383488557,), (1383488577,), (1383488610,), (1383488716,), (1383488718,), (1383488719,), (1383488721,), (1383488760,), (1383488763,), (1383488765,), (1383488768,), (1383488771,), (1383488777,), (1383488898,), (1383488848,), (1383488874,), (1383489406,), (1383489460,), (1383489516,), (1383489565,), (1383489589,), (1383489602,), (1383489794,), (1383489818,), (1383489843,), (1383489873,), (1383489994,), (1383489996,), (1383489998,), (1383490000,), (1383490004,), (1383490014,), (1383490212,), (1383490244,), (1383490276,), (1383490283,), (1383490287,), (1383490312,), (1383490418,), (1383490421,), (1383490424,), (1383490428,), (1383490455,), (1383490458,), (1383490460,), (1383490462,), (1383490466,), (1383490470,), (1383490490,), (1383490492,), (1383490520,), (1383490553,), (1383490582,), (1383490727,), (1383490738,), (1383490767,), (1383490777,), (1383490781,), (1383490784,), (1383490795,), (1383490797,), (1383490800,), (1383490803,), (1383490805,), (1383490814,), (1383490818,), (1383490823,), (1383490827,), (1383490831,), (1383490834,), (1383490848,), (1383490874,), (1383490879,), (1383490881,), (1383490928,), (1383490931,), (1383490932,), (1383490935,), (1383490938,), (1383490940,), (1383491024,), (1383491025,), (1383491026,), (1383491028,), (1383491033,), (1383491039,), (1383491232,), (1383491233,), (1383491235,), (1383491255,), (1383491278,), (1383491284,), (1383491307,), (1383491308,), (1383491309,), (1383491310,), (1383491340,), (1383491365,), (1383491390,), (1383491407,), (1383491412,), (1383491464,), (1383491456,), (1383491457,), (1383491458,), (1383491460,), (1383491492,), (1383491520,), (1383491545,), (1383491578,), (1383491606,), (1383491844,), (1383491934,), (1383491975,), (1383492004,), (1383492032,), (1383492075,), (1383492280,), (1383492283,), (1383492284,), (1383492286,), (1383492351,), (1383492376,), (1383492398,), (1383492422,), (1383492446,), (1383492490,), (1383492651,), (1383492678,), (1383492701,), (1383492742,), (1383492794,), (1383492843,), (1383492935,), (1383492937,), (1383492938,), (1383492940,), (1383493145,), (1383493171,), (1383493197,), (1383493222,), (1383493236,), (1383493242,), (1383493272,), (1383493273,), (1383493276,), (1383493279,), (1383493282,), (1383493286,), (1383493292,), (1383493293,), (1383493294,), (1383493295,), (1383493301,), (1383493303,), (1383493307,), (1383493312,), (1383493317,), (1383493320,), (1383493340,), (1383493348,), (1383493350,), (1383493352,), (1383493357,), (1383493435,), (1383493441,), (1383493444,), (1383493448,), (1383493453,), (1383493469,), (1383493470,), (1383493471,), (1383493473,), (1383493502,), (1383494044,), (1383494096,), (1383494147,), (1383494353,), (1383494402,), (1383494458,), (1383494502,), (1383494534,), (1383494714,), (1383494646,), (1383494649,), (1383494681,), (1383495386,), (1383495467,), (1383495535,), (1383495582,), (1383495640,), (1383495696,), (1383496229,), (1383496298,), (1383496354,), (1383496405,), (1383496834,), (1383496879,), (1383496912,), (1383496938,), (1383496976,), (1383497308,), (1383497348,), (1383497403,), (1383497448,), (1383497495,), (1383498024,), (1383498180,), (1383498205,), (1383498238,), (1383498268,), (1383498870,), (1383498914,), (1383498974,), (1383499032,), (1383499056,), (1383499087,), (1383499347,), (1383499396,), (1383499449,), (1383499490,), (1383499722,), (1383499752,), (1383499755,), (1383499757,), (1383499762,), (1383499765,), (1383499845,), (1383499873,), (1383499888,), (1383499892,), (1383499897,), (1383500168,), (1383500211,), (1383500249,), (1383500275,), (1383500302,), (1383500538,), (1383500545,), (1383500549,), (1383500551,), (1383500554,), (1383500740,), (1383500792,), (1383500842,), (1383500890,), (1383500933,), (1383501348,), (1383501397,), (1383501445,), (1383501468,), (1383501472,), (1383501477,), (1383501536,), (1383501642,), (1383501695,), (1383501753,), (1383501804,), (1383502061,), (1383502006,), (1383502010,), (1383502011,), (1383502012,), (1383502033,), (1383502130,), (1383502132,), (1383502175,), (1383502203,), (1383502228,), (1383502360,), (1383502364,), (1383502366,), (1383502369,), (1383502372,), (1383502378,), (1383502391,), (1383502392,), (1383502393,), (1383502400,), (1383502429,), (1383502718,), (1383502742,), (1383502781,), (1383502807,), (1383502835,), (1383503260,), (1383503320,), (1383503365,), (1383503416,), (1383503490,), (1383503546,), (1383503910,), (1383503934,), (1383503959,), (1383503998,), (1383504173,), (1383504175,), (1383504177,), (1383504180,), (1383504205,), (1383504534,), (1383504559,), (1383504584,), (1383504601,), (1383504630,), (1383504656,), (1383504792,), (1383504847,), (1383504890,), (1383504935,), (1383504963,), (1383505069,), (1383505095,), (1383505124,), (1383505159,), (1383505211,), (1383505489,), (1383505522,), (1383505548,), (1383505570,), (1383505575,), (1383505579,), (1383505794,), (1383505821,), (1383505846,), (1383505875,), (1383505901,), (1383505969,), (1383505972,), (1383505973,), (1383505975,), (1383505979,), (1383508996,), (1383515278,), (1383517410,), (1383517460,), (1383517510,), (1383517559,), (1383517807,), (1383517828,), (1383517844,), (1383517847,), (1383518049,), (1383518075,), (1383518078,), (1383518096,), (1383518135,), (1383518138,), (1383518140,), (1383518144,), (1383518153,), (1383518231,), (1383518232,), (1383518233,), (1383518236,), (1383518239,), (1383518297,), (1383518321,), (1383518351,), (1383518380,), (1383518409,), (1383518418,), (1383518501,), (1383518503,), (1383518505,), (1383518508,), (1383518513,), (1383518662,), (1383518679,), (1383518683,), (1383518686,), (1383518691,), (1383518977,), (1383519003,), (1383519010,), (1383519012,), (1383519018,), (1383519023,), (1383519040,), (1383519042,), (1383519043,), (1383519045,), (1383519048,), (1383519080,), (1383519082,), (1383519083,), (1383519085,), (1383519088,), (1383519091,), (1383519103,), (1383519104,), (1383519108,), (1383519158,), (1383519142,), (1383519145,), (1383519148,), (1383519151,), (1383519154,), (1383519170,), (1383519171,), (1383519172,), (1383519174,), (1383519215,), (1383519219,), (1383519220,), (1383519222,), (1383519226,), (1383519230,), (1383519243,), (1383519244,), (1383519249,), (1383519255,), (1383519262,), (1383519281,), (1383519284,), (1383519287,), (1383519290,), (1383519293,), (1383519378,), (1383519392,), (1383519393,), (1383519396,), (1383519401,), (1383519405,), (1383519429,), (1383519431,), (1383519432,), (1383519434,), (1383519438,), (1383519453,), (1383519455,), (1383519462,), (1383519467,), (1383519472,), (1383519478,), (1383519501,), (1383519506,), (1383519510,), (1383519512,), (1383519530,), (1383519552,), (1383519556,), (1383519564,), (1383519568,), (1383519571,), (1383519582,), (1383519586,), (1383519588,), (1383519592,), (1383519597,), (1383519629,), (1383519630,), (1383519631,), (1383519634,), (1383519640,), (1383519660,), (1383519661,), (1383519662,), (1383519664,), (1383519670,), (1383519696,), (1383519699,), (1383519706,), (1383519711,), (1383519717,), (1383519722,), (1383519765,), (1383519768,), (1383519769,), (1383519771,), (1383519775,), (1383519779,), (1383519953,), (1383519984,), (1383520009,), (1383520034,), (1383520259,), (1383520207,), (1383520211,), (1383520226,), (1383520252,), (1383520256,), (1383520368,), (1383520369,), (1383520370,), (1383520372,), (1383520449,), (1383520450,), (1383520453,), (1383520458,), (1383520462,), (1383520466,), (1383520480,), (1383520483,), (1383520488,), (1383520489,), (1383520494,), (1383520495,), (1383520497,), (1383520501,), (1383520505,), (1383520524,), (1383520526,), (1383520530,), (1383520534,), (1383520538,), (1383520542,), (1383520548,), (1383520550,), (1383520552,), (1383520563,), (1383520567,), (1383520572,), (1383520577,), (1383520580,), (1383520583,), (1383520585,), (1383520593,), (1383520595,), (1383520596,), (1383520598,), (1383520602,), (1383520624,), (1383520635,), (1383520658,), (1383520661,), (1383520672,), (1383520677,), (1383520739,), (1383520743,), (1383520744,), (1383520746,), (1383520751,), (1383520902,), (1383520944,), (1383520947,), (1383520959,), (1383520998,), (1383521005,), (1383521009,), (1383521012,), (1383521035,), (1383521060,), (1383521133,), (1383521135,), (1383521137,), (1383521140,), (1383521144,), (1383521158,), (1383521161,), (1383521165,), (1383521171,), (1383521174,), (1383521178,), (1383521192,), (1383521197,), (1383521216,), (1383521220,), (1383521221,), (1383521227,), (1383521232,), (1383521236,), (1383521242,), (1383521245,), (1383521385,), (1383521395,), (1383521397,), (1383521399,), (1383521404,), (1383521408,), (1383521453,), (1383521446,), (1383521448,), (1383521449,), (1383521451,), (1383521478,), (1383521481,), (1383521483,), (1383521486,), (1383521491,), (1383521495,), (1383521525,), (1383521528,), (1383521530,), (1383521533,), (1383521539,), (1383521578,), (1383521581,), (1383521583,), (1383521587,), (1383521591,), (1383521685,), (1383521688,), (1383521690,), (1383521692,), (1383521696,), (1383521730,), (1383521733,), (1383521734,), (1383521736,), (1383521886,), (1383521911,), (1383521932,), (1383521962,), (1383521988,), (1383522017,), (1383522295,), (1383522296,), (1383522299,), (1383522305,), (1383522309,), (1383522312,), (1383522318,), (1383522320,), (1383522323,), (1383522331,), (1383522338,), (1383522339,), (1383522341,), (1383522345,), (1383522348,), (1383522352,), (1383522366,), (1383522370,), (1383522373,), (1383522377,), (1383522383,), (1383522391,), (1383522396,), (1383522397,), (1383522399,), (1383522402,), (1383522421,), (1383522456,), (1383522485,), (1383522511,), (1383522537,), (1383522562,), (1383522741,), (1383522743,), (1383522744,), (1383522748,), (1383522758,), (1383522778,), (1383522780,), (1383522781,), (1383522784,), (1383522787,), (1383522792,), (1383523403,), (1383523453,), (1383523510,), (1383523567,), (1383523618,), (1383523673,), (1383524328,), (1383524105,), (1383524136,), (1383524187,), (1383524275,), (1383524544,), (1383524569,), (1383524598,), (1383524624,), (1383524654,), (1383524717,), (1383525321,), (1383525374,), (1383525438,), (1383525507,), (1383525559,), (1383525612,), (1383525792,), (1383525829,), (1383525856,), (1383525906,), (1383525965,), (1383526055,), (1383526086,), (1383526117,), (1383526147,), (1383526174,), (1383526199,), (1383526577,), (1383526633,), (1383526676,), (1383526701,), (1383526729,), (1383526776,), (1383526911,), (1383526950,), (1383526993,), (1383527019,), (1383527072,), (1383527076,), (1383527077,), (1383527079,), (1383527081,), (1383527083,), (1383527095,), (1383527100,), (1383527115,), (1383527140,), (1383527167,), (1383527430,), (1383527442,), (1383527477,), (1383527523,), (1383527562,), (1383527605,), (1383527794,), (1383527809,), (1383527810,), (1383527833,), (1383527861,), (1383527952,), (1383527960,), (1383527962,), (1383527965,), (1383527975,), (1383527990,), (1383528085,), (1383528089,), (1383528090,), (1383528092,), (1383528096,), (1383528147,), (1383528149,), (1383528150,), (1383528152,), (1383528155,), (1383528161,), (1383528282,), (1383528311,), (1383528340,), (1383528367,), (1383528423,), (1383528471,), (1383528563,), (1383528588,), (1383528611,), (1383528635,), (1383528718,), (1383528749,), (1383528780,), (1383528811,), (1383528822,), (1383528825,), (1383528846,), (1383528869,), (1383528892,), (1383528916,), (1383528945,), (1383529191,), (1383529112,), (1383529138,), (1383529165,), (1383529183,), (1383529187,), (1383529593,), (1383529642,), (1383529695,), (1383529755,), (1383529780,), (1383529925,), (1383529949,), (1383529973,), (1383529998,), (1383530027,), (1383530161,), (1383530213,), (1383530260,), (1383530693,), (1383530732,), (1383530781,), (1383530853,), (1383530925,), (1383531460,), (1383531507,), (1383531534,), (1383531558,), (1383531858,), (1383531860,), (1383531861,), (1383531863,), (1383531866,), (1383531869,), (1383531903,), (1383531904,), (1383531906,), (1383531910,), (1383531913,), (1383531916,), (1383531932,), (1383531934,), (1383531936,), (1383531937,), (1383531963,), (1383532275,), (1383532298,), (1383532328,), (1383532353,), (1383532377,), (1383532402,), (1383532500,), (1383532524,), (1383532551,), (1383532566,), (1383532570,), (1383532593,), (1383532599,), (1383532602,), (1383532603,), (1383532604,), (1383532700,), (1383532728,), (1383532751,), (1383532757,), (1383532759,), (1383532770,), (1383532774,), (1383532776,), (1383532779,), (1383532784,), (1383532821,), (1383532847,), (1383532873,), (1383532898,), (1383533213,), (1383533238,), (1383533243,), (1383533245,), (1383533289,), (1383533293,), (1383533295,), (1383534011,), (1383534113,), (1383534114,), (1383534115,), (1383534117,), (1383534143,), (1383534146,), (1383534148,), (1383534150,), (1383534154,), (1383534198,), (1383534183,), (1383534184,), (1383534185,), (1383534188,), (1383534193,), (1383534300,), (1383534322,), (1383534323,), (1383534325,), (1383534330,), (1383534364,), (1383534366,), (1383534367,), (1383534369,), (1383534374,), (1383534391,), (1383534439,), (1383534442,), (1383534444,), (1383534447,), (1383534467,), (1383534470,), (1383534477,), (1383534481,), (1383534483,), (1383534524,), (1383534527,), (1383534528,), (1383534541,), (1383534546,), (1383534553,), (1383534608,), (1383534610,), (1383534612,), (1383534616,), (1383534677,), (1383534678,), (1383534681,), (1383534686,), (1383534689,), (1383534692,), (1383534704,), (1383534707,), (1383534710,), (1383534712,), (1383534716,), (1383534717,), (1383534720,), (1383534726,), (1383534730,), (1383534745,), (1383534748,), (1383534749,), (1383534751,), (1383534756,), (1383534760,), (1383534794,), (1383534795,), (1383534797,), (1383534801,), (1383534880,), (1383534907,), (1383534928,), (1383534952,), (1383534977,), (1383535199,), (1383535202,), (1383535203,), (1383535205,), (1383535209,), (1383535215,), (1383535297,), (1383535326,), (1383535356,), (1383535384,), (1383535852,), (1383535734,), (1383535766,), (1383535791,), (1383535824,), (1383536137,), (1383536163,), (1383536190,), (1383536216,), (1383536247,), (1383536709,), (1383536756,), (1383536802,), (1383536851,), (1383536898,), (1383536959,), (1383537146,), (1383537182,), (1383537231,), (1383537270,), (1383537302,), (1383537411,), (1383537438,), (1383537467,), (1383537496,), (1383537764,), (1383537789,), (1383537815,), (1383537845,), (1383537872,), (1383537902,), (1383538132,), (1383538148,), (1383538149,), (1383538152,), (1383538157,), (1383538180,), (1383538183,), (1383538184,), (1383538187,), (1383538198,), (1383538491,), (1383538516,), (1383538541,), (1383538545,), (1383538557,), (1383538564,), (1383538657,), (1383538660,), (1383538661,), (1383538663,), (1383538701,), (1383538708,), (1383538717,), (1383538729,), (1383538735,), (1383538749,), (1383538792,), (1383538798,), (1383538802,), (1383538804,), (1383538808,), (1383538852,), (1383538855,), (1383538857,), (1383538859,), (1383538863,), (1383538867,), (1383538935,), (1383538936,), (1383538939,), (1383538946,), (1383538952,), (1383538962,), (1383538977,), (1383538995,), (1383539113,), (1383539146,), (1383539302,), (1383539331,), (1383539357,), (1383539607,), (1383539611,), (1383539640,), (1383539669,), (1383539590,), (1383539592,), (1383539595,), (1383539603,), (1383539769,), (1383539771,), (1383539774,), (1383539788,), (1383539807,), (1383539811,), (1383539898,), (1383539901,), (1383539914,), (1383539944,), (1383540011,), (1383540014,), (1383540015,), (1383540017,), (1383540021,), (1383540025,), (1383540045,), (1383540047,), (1383540048,), (1383540049,), (1383540051,), (1383540088,), (1383540102,), (1383540125,), (1383540138,), (1383540142,), (1383540170,), (1383540172,), (1383540226,), (1383540227,), (1383540232,), (1383540237,), (1383540241,), (1383540271,), (1383540273,), (1383540275,), (1383540277,), (1383540281,), (1383540283,), (1383540294,), (1383540295,), (1383540296,), (1383540297,), (1383540300,), (1383540327,), (1383540330,), (1383540332,), (1383540333,), (1383540337,), (1383540341,), (1383540352,), (1383540354,), (1383540355,), (1383540356,), (1383540357,), (1383540416,), (1383540455,), (1383540494,), (1383540502,), (1383540544,), (1383540531,), (1383540534,), (1383540537,), (1383540539,), (1383540542,), (1383540572,), (1383540574,), (1383540579,), (1383540586,), (1383540612,), (1383540613,), (1383540614,), (1383540616,), (1383540618,), (1383540620,), (1383540633,), (1383540634,), (1383540636,), (1383540638,), (1383540642,), (1383540643,), (1383540644,), (1383540647,), (1383540650,), (1383540668,), (1383540669,), (1383540670,), (1383540676,), (1383540684,), (1383540696,), (1383540697,), (1383540698,), (1383540699,), (1383540702,), (1383540703,), (1383540715,), (1383540718,), (1383540721,), (1383540725,), (1383540727,), (1383540799,), (1383540803,), (1383540805,), (1383540807,), (1383540809,), (1383540812,), (1383540826,), (1383540831,), (1383540834,), (1383544325,), (1383544541,), (1383541529,), (1383542268,), (1383544292,), (1383544300,), (1383544318,), (1383544322,), (1383544372,), (1383544374,), (1383544376,), (1383544380,), (1383544383,), (1383544390,), (1383544494,), (1383544518,), (1383544622,), (1383544653,), (1383544675,), (1383545402,), (1383545431,), (1383545456,), (1383545808,), (1383545831,), (1383545857,), (1383545890,), (1383545903,), (1383545907,), (1383545921,), (1383545923,), (1383545924,), (1383545926,), (1383546116,), (1383546143,), (1383546167,), (1383546190,), (1383546423,), (1383546435,), (1383546436,), (1383546437,), (1383546440,), (1383546443,), (1383546471,), (1383546474,), (1383546475,), (1383546477,), (1383546500,), (1383546502,), (1383546504,), (1383546507,), (1383546510,), (1383546513,), (1383546525,), (1383546527,), (1383546529,), (1383546532,), (1383546536,), (1383546538,), (1383546563,), (1383546566,), (1383546569,), (1383546572,), (1383546594,), (1383546597,), (1383546598,), (1383546600,), (1383546605,), (1383546610,), (1383546646,), (1383546641,), (1383546644,), (1383546645,), (1383546663,), (1383546664,), (1383546665,), (1383546668,), (1383546673,), (1383546702,), (1383546705,), (1383546731,), (1383546734,), (1383546927,), (1383546930,), (1383546932,), (1383546960,), (1383546962,), (1383546964,), (1383546966,), (1383546969,), (1383546989,), (1383546990,), (1383546991,), (1383546994,), (1383546995,), (1383546997,), (1383547027,), (1383547031,), (1383547034,), (1383547037,), (1383547039,), (1383547042,), (1383547047,), (1383547051,), (1383547056,), (1383547060,), (1383547063,), (1383547074,), (1383547078,), (1383547081,), (1383547122,), (1383547124,), (1383547125,), (1383547126,), (1383547129,), (1383547130,), (1383547144,), (1383547145,), (1383547146,), (1383547149,), (1383547154,), (1383547158,), (1383547190,), (1383547194,), (1383547198,), (1383547202,), (1383547207,), (1383547210,), (1383547225,), (1383547227,), (1383547228,), (1383547252,), (1383547256,), (1383547257,), (1383547259,), (1383547263,), (1383547266,), (1383547308,), (1383547295,), (1383547297,), (1383547299,), (1383547301,), (1383547305,), (1383547335,), (1383547353,), (1383547354,), (1383547355,), (1383547431,), (1383547435,), (1383547440,), (1383547445,), (1383547450,), (1383547456,), (1383547475,), (1383547476,), (1383547477,), (1383547478,), (1383547488,), (1383547492,), (1383547496,), (1383547499,), (1383547501,), (1383547503,), (1383547521,), (1383547525,), (1383547527,), (1383547567,), (1383547568,), (1383547569,), (1383547573,), (1383547577,), (1383547580,), (1383547590,), (1383547593,), (1383547601,), (1383547610,), (1383547615,), (1383547683,), (1383547692,), (1383547695,), (1383547697,), (1383547699,), (1383547752,), (1383547754,), (1383547758,), (1383547761,), (1383547782,), (1383547808,), (1383547867,), (1383547890,), (1383547897,), (1383547900,), (1383547950,), (1383547952,), (1383547954,), (1383547955,), (1383547977,), (1383547995,), (1383548147,), (1383548150,), (1383548151,), (1383548153,), (1383548169,), (1383548403,), (1383548405,), (1383548408,), (1383548413,), (1383548416,), (1383548419,), (1383548429,), (1383548432,), (1383548434,), (1383548442,), (1383548445,), (1383548523,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'12092025': {'nb_upload': 77, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26809088]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1383548523] map_info['map_portfolio_photo'] : {26809088: [1383548523, 1383548445, 1383548442, 1383548434, 1383548432, 1383548429, 1383548419, 1383548416, 1383548413, 1383548408, 1383548405, 1383548403, 1383548169, 1383548153, 1383548151, 1383548150, 1383548147, 1383547995, 1383547977, 1383547955, 1383547954, 1383547952, 1383547950, 1383547900, 1383547897, 1383547890, 1383547867, 1383547808, 1383547782, 1383547761, 1383547758, 1383547754, 1383547752, 1383547699, 1383547697, 1383547695, 1383547692, 1383547683, 1383547615, 1383547610, 1383547601, 1383547593, 1383547590, 1383547580, 1383547577, 1383547573, 1383547569, 1383547568, 1383547567, 1383547527, 1383547525, 1383547521, 1383547503, 1383547501, 1383547499, 1383547496, 1383547492, 1383547488, 1383547478, 1383547477, 1383547476, 1383547475, 1383547456, 1383547450, 1383547445, 1383547440, 1383547435, 1383547431, 1383547355, 1383547354, 1383547353, 1383547335, 1383547305, 1383547301, 1383547299, 1383547297, 1383547295]} final : True mtd_id 4302 list_pids : [1383548523] Looping around the photos to save general results len do output : 1 /26809088Didn'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, '3714822') ('4302', '26809088', '1383548523', None, None, None, None, None, '3714822') 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, '26809088', 'None', None, None, None, None, '3714822'), ('4302', '26809088', '1383548523', None, None, None, None, None, '3714822')] time used for this insertion : 0.014235734939575195 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.613778352737427 time spend to save output : 0.01451563835144043 total time spend for step 5 : 4.628293991088867 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 (3714822) 2.30user 2.59system 0:12.62elapsed 38%CPU (0avgtext+0avgdata 156128maxresident)k 70568inputs+9152outputs (329major+70511minor)pagefaults 0swaps