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 : 78764 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 (3567178) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3567178) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26080046 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3567178'] with mtr_portfolio_ids : ['26080046'] and first list_photo_ids : [] new path : /proc/78764/ Name: python3 Umask: 0002 State: R (running) Tgid: 78764 Ngid: 0 Pid: 78764 PPid: 78763 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 78764 NSpid: 78764 NSpgid: 78491 NSsid: 78491 VmPeak: 1107248 kB VmSize: 1107248 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99360 kB VmRSS: 99360 kB RssAnon: 60164 kB RssFile: 39196 kB RssShmem: 0 kB VmData: 866000 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 588 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 55 nonvoluntary_ctxt_switches: 89 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '78764', 'Ngid': '0', 'Pid': '78764', 'PPid': '78763', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '78764', 'NSpid': '78764', 'NSpgid': '78491', 'NSsid': '78491', 'VmPeak': '1107248 kB', 'VmSize': '1107248 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99360 kB', 'VmRSS': '99360 kB', 'RssAnon': '60164 kB', 'RssFile': '39196 kB', 'RssShmem': '0 kB', 'VmData': '866000 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '588 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '55', 'nonvoluntary_ctxt_switches': '89'} ('datou_batch_current', '78764', '1107248', '0', '1107248', '866000', '99360', b'', 'marlene', '3567178') 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 (26080046) 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 (3567178 ) ) 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 (26080046) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1377999040, 'portfolio_id': 26080046}, {'photo_id': 1377998679, 'portfolio_id': 26080046}, {'photo_id': 1377998672, 'portfolio_id': 26080046}, {'photo_id': 1377998669, 'portfolio_id': 26080046}, {'photo_id': 1377998665, 'portfolio_id': 26080046}, {'photo_id': 1377998640, 'portfolio_id': 26080046}, {'photo_id': 1377998225, 'portfolio_id': 26080046}, {'photo_id': 1377998223, 'portfolio_id': 26080046}, {'photo_id': 1377998208, 'portfolio_id': 26080046}, {'photo_id': 1377997998, 'portfolio_id': 26080046}, {'photo_id': 1377997952, 'portfolio_id': 26080046}, {'photo_id': 1377997887, 'portfolio_id': 26080046}, {'photo_id': 1377997831, 'portfolio_id': 26080046}, {'photo_id': 1377997492, 'portfolio_id': 26080046}, {'photo_id': 1377997462, 'portfolio_id': 26080046}, {'photo_id': 1377997410, 'portfolio_id': 26080046}, {'photo_id': 1377997386, 'portfolio_id': 26080046}, {'photo_id': 1377997343, 'portfolio_id': 26080046}, {'photo_id': 1377997311, 'portfolio_id': 26080046}, {'photo_id': 1377997185, 'portfolio_id': 26080046}, {'photo_id': 1377997169, 'portfolio_id': 26080046}, {'photo_id': 1377997166, 'portfolio_id': 26080046}, {'photo_id': 1377997163, 'portfolio_id': 26080046}, {'photo_id': 1377997142, 'portfolio_id': 26080046}, {'photo_id': 1377996676, 'portfolio_id': 26080046}, {'photo_id': 1377996670, 'portfolio_id': 26080046}] map_portfolio_id_photo_id: {26080046: [1377999040, 1377998679, 1377998672, 1377998669, 1377998665, 1377998640, 1377998225, 1377998223, 1377998208, 1377997998, 1377997952, 1377997887, 1377997831, 1377997492, 1377997462, 1377997410, 1377997386, 1377997343, 1377997311, 1377997185, 1377997169, 1377997166, 1377997163, 1377997142, 1377996676, 1377996670]} ##### 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.026035547256469727 #### 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 Thu Aug 21 05:47:28 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 (26080046) 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 : 26080046 get user id for portfolio 26080046 get sub ptf for main ptf 26080046, type 3726 and hashtags ['metal', 'environnement', 'flou', 'mal_croppe', 'kraft', 'papier', 'Carton_brun', 'Teint_Dans_La_Masse', 'autre_refus', 'plastique', 'Carton_gris', 'cartonnette'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26080046 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','environnement','flou','mal_croppe','kraft','papier','Carton_brun','Teint_Dans_La_Masse','autre_refus','plastique','Carton_gris','cartonnette')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26080046 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','environnement','flou','mal_croppe','kraft','papier','Carton_brun','Teint_Dans_La_Masse','autre_refus','plastique','Carton_gris','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 26080046, 'sub_port_id': 26080575, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17567267, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 9), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 9), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 8, 59)}, 'papier': {'main_port_id': 26080046, 'sub_port_id': 26080576, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17567268, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 9), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 9), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 8, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 26080046, 'sub_port_id': 26080577, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17567269, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 9), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 9), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 8, 59)}, 'mal_croppe': {'main_port_id': 26080046, 'sub_port_id': 26080578, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17567270, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 9), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 9), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 8, 59)}, 'metal': {'main_port_id': 26080046, 'sub_port_id': 26080579, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17567271, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 9), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 9), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 8, 59)}, 'flou': {'main_port_id': 26080046, 'sub_port_id': 26080580, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17567272, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 9), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 9), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 8, 59)}, 'environnement': {'main_port_id': 26080046, 'sub_port_id': 26080581, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17567273, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 9), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 9), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 8, 59)}, 'Carton_gris': {'main_port_id': 26080046, 'sub_port_id': 26080582, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17567274, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 9), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 9), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 8, 59)}, 'autre_refus': {'main_port_id': 26080046, 'sub_port_id': 26080583, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17567275, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 9), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 9), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 8, 59)}, 'Carton_brun': {'main_port_id': 26080046, 'sub_port_id': 26080584, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17567276, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 9), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 9), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 8, 59)}, 'plastique': {'main_port_id': 26080046, 'sub_port_id': 26080585, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17567277, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 9), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 9), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 8, 59)}, 'kraft': {'main_port_id': 26080046, 'sub_port_id': 26080586, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17567278, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 9), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 9), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 8, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26080575 , 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=26080046 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 (26080575) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26080046) result : ((1377996670,), (1377996676,), (1377997142,), (1377997163,), (1377997166,), (1377997169,), (1377997185,), (1377997311,), (1377997343,), (1377997386,), (1377997410,), (1377997462,), (1377997492,), (1377997831,), (1377997887,), (1377997952,), (1377997998,), (1377998208,), (1377998223,), (1377998225,), (1377998640,), (1377998665,), (1377998669,), (1377998672,), (1377998679,), (1377999040,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26080576 , 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=26080046 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 (26080576) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26080046) result : ((1377996670,), (1377996676,), (1377997142,), (1377997163,), (1377997166,), (1377997169,), (1377997185,), (1377997311,), (1377997343,), (1377997386,), (1377997410,), (1377997462,), (1377997492,), (1377997831,), (1377997887,), (1377997952,), (1377997998,), (1377998208,), (1377998223,), (1377998225,), (1377998640,), (1377998665,), (1377998669,), (1377998672,), (1377998679,), (1377999040,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26080577 , 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=26080046 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 (26080577) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26080046) result : ((1377996670,), (1377996676,), (1377997142,), (1377997163,), (1377997166,), (1377997169,), (1377997185,), (1377997311,), (1377997343,), (1377997386,), (1377997410,), (1377997462,), (1377997492,), (1377997831,), (1377997887,), (1377997952,), (1377997998,), (1377998208,), (1377998223,), (1377998225,), (1377998640,), (1377998665,), (1377998669,), (1377998672,), (1377998679,), (1377999040,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26080578 , 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=26080046 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 (26080578) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26080046) result : ((1377996670,), (1377996676,), (1377997142,), (1377997163,), (1377997166,), (1377997169,), (1377997185,), (1377997311,), (1377997343,), (1377997386,), (1377997410,), (1377997462,), (1377997492,), (1377997831,), (1377997887,), (1377997952,), (1377997998,), (1377998208,), (1377998223,), (1377998225,), (1377998640,), (1377998665,), (1377998669,), (1377998672,), (1377998679,), (1377999040,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26080579 , 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=26080046 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 (26080579) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26080046) result : ((1377996670,), (1377996676,), (1377997142,), (1377997163,), (1377997166,), (1377997169,), (1377997185,), (1377997311,), (1377997343,), (1377997386,), (1377997410,), (1377997462,), (1377997492,), (1377997831,), (1377997887,), (1377997952,), (1377997998,), (1377998208,), (1377998223,), (1377998225,), (1377998640,), (1377998665,), (1377998669,), (1377998672,), (1377998679,), (1377999040,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26080580 , 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=26080046 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 (26080580) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26080046) result : ((1377996670,), (1377996676,), (1377997142,), (1377997163,), (1377997166,), (1377997169,), (1377997185,), (1377997311,), (1377997343,), (1377997386,), (1377997410,), (1377997462,), (1377997492,), (1377997831,), (1377997887,), (1377997952,), (1377997998,), (1377998208,), (1377998223,), (1377998225,), (1377998640,), (1377998665,), (1377998669,), (1377998672,), (1377998679,), (1377999040,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26080581 , 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=26080046 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 (26080581) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26080046) result : ((1377996670,), (1377996676,), (1377997142,), (1377997163,), (1377997166,), (1377997169,), (1377997185,), (1377997311,), (1377997343,), (1377997386,), (1377997410,), (1377997462,), (1377997492,), (1377997831,), (1377997887,), (1377997952,), (1377997998,), (1377998208,), (1377998223,), (1377998225,), (1377998640,), (1377998665,), (1377998669,), (1377998672,), (1377998679,), (1377999040,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26080582 , 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=26080046 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 (26080582) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26080046) result : ((1377996670,), (1377996676,), (1377997142,), (1377997163,), (1377997166,), (1377997169,), (1377997185,), (1377997311,), (1377997343,), (1377997386,), (1377997410,), (1377997462,), (1377997492,), (1377997831,), (1377997887,), (1377997952,), (1377997998,), (1377998208,), (1377998223,), (1377998225,), (1377998640,), (1377998665,), (1377998669,), (1377998672,), (1377998679,), (1377999040,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26080583 , 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=26080046 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 (26080583) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26080046) result : ((1377996670,), (1377996676,), (1377997142,), (1377997163,), (1377997166,), (1377997169,), (1377997185,), (1377997311,), (1377997343,), (1377997386,), (1377997410,), (1377997462,), (1377997492,), (1377997831,), (1377997887,), (1377997952,), (1377997998,), (1377998208,), (1377998223,), (1377998225,), (1377998640,), (1377998665,), (1377998669,), (1377998672,), (1377998679,), (1377999040,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26080584 , 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=26080046 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 (26080584) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26080046) result : ((1377996670,), (1377996676,), (1377997142,), (1377997163,), (1377997166,), (1377997169,), (1377997185,), (1377997311,), (1377997343,), (1377997386,), (1377997410,), (1377997462,), (1377997492,), (1377997831,), (1377997887,), (1377997952,), (1377997998,), (1377998208,), (1377998223,), (1377998225,), (1377998640,), (1377998665,), (1377998669,), (1377998672,), (1377998679,), (1377999040,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26080585 , 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=26080046 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 (26080585) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26080046) result : ((1377996670,), (1377996676,), (1377997142,), (1377997163,), (1377997166,), (1377997169,), (1377997185,), (1377997311,), (1377997343,), (1377997386,), (1377997410,), (1377997462,), (1377997492,), (1377997831,), (1377997887,), (1377997952,), (1377997998,), (1377998208,), (1377998223,), (1377998225,), (1377998640,), (1377998665,), (1377998669,), (1377998672,), (1377998679,), (1377999040,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26080586 , 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=26080046 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 (26080586) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26080046) result : ((1377996670,), (1377996676,), (1377997142,), (1377997163,), (1377997166,), (1377997169,), (1377997185,), (1377997311,), (1377997343,), (1377997386,), (1377997410,), (1377997462,), (1377997492,), (1377997831,), (1377997887,), (1377997952,), (1377997998,), (1377998208,), (1377998223,), (1377998225,), (1377998640,), (1377998665,), (1377998669,), (1377998672,), (1377998679,), (1377999040,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26080046 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','environnement','flou','mal_croppe','kraft','papier','Carton_brun','Teint_Dans_La_Masse','autre_refus','plastique','Carton_gris','cartonnette')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26080046 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','environnement','flou','mal_croppe','kraft','papier','Carton_brun','Teint_Dans_La_Masse','autre_refus','plastique','Carton_gris','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 26080046, 'sub_port_id': 26080588, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17567279, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 9, 1), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 9, 1), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 9, 1)}, 'papier': {'main_port_id': 26080046, 'sub_port_id': 26080589, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17567280, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 9, 1), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 9, 1), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 9, 1)}, 'Teint_Dans_La_Masse': {'main_port_id': 26080046, 'sub_port_id': 26080590, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17567281, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 9, 1), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 9, 1), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 9, 1)}, 'mal_croppe': {'main_port_id': 26080046, 'sub_port_id': 26080591, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17567282, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 9, 1), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 9, 1), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 9, 1)}, 'metal': {'main_port_id': 26080046, 'sub_port_id': 26080592, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17567283, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 9, 1), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 9, 1), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 9, 1)}, 'flou': {'main_port_id': 26080046, 'sub_port_id': 26080593, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17567284, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 9, 1), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 9, 1), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 9, 1)}, 'environnement': {'main_port_id': 26080046, 'sub_port_id': 26080594, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17567285, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 9, 1), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 9, 1), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 9, 1)}, 'Carton_gris': {'main_port_id': 26080046, 'sub_port_id': 26080595, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17567286, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 9, 1), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 9, 1), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 9, 1)}, 'autre_refus': {'main_port_id': 26080046, 'sub_port_id': 26080596, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17567287, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 9, 1), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 9, 1), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 9, 1)}, 'Carton_brun': {'main_port_id': 26080046, 'sub_port_id': 26080597, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17567288, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 9, 1), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 9, 1), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 9, 1)}, 'plastique': {'main_port_id': 26080046, 'sub_port_id': 26080598, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17567289, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 9, 1), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 9, 1), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 9, 1)}, 'kraft': {'main_port_id': 26080046, 'sub_port_id': 26080599, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17567290, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 9, 1), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 9, 1), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 9, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26080588,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26080575 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26080589,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26080576 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26080590,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26080577 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26080591,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26080578 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26080592,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26080579 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26080593,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26080580 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26080594,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26080581 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26080595,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26080582 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26080596,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26080583 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26080597,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26080584 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26080598,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26080585 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26080599,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26080586 lien utilise dans velours : https://www.fotonower.com/velours/26080588,26080589,26080590,26080591,26080592,26080593,26080594,26080595,26080596,26080597,26080598,26080599?tags=cartonnette,papier,Teint_Dans_La_Masse,mal_croppe,metal,flou,environnement,Carton_gris,autre_refus,Carton_brun,plastique,kraft After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26080046]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1377999040, 1377998679, 1377998672, 1377998669, 1377998665, 1377998640, 1377998225, 1377998223, 1377998208, 1377997998, 1377997952, 1377997887, 1377997831, 1377997492, 1377997462, 1377997410, 1377997386, 1377997343, 1377997311, 1377997185, 1377997169, 1377997166, 1377997163, 1377997142, 1377996676, 1377996670] map_info['map_portfolio_photo'] : {26080046: [1377999040, 1377998679, 1377998672, 1377998669, 1377998665, 1377998640, 1377998225, 1377998223, 1377998208, 1377997998, 1377997952, 1377997887, 1377997831, 1377997492, 1377997462, 1377997410, 1377997386, 1377997343, 1377997311, 1377997185, 1377997169, 1377997166, 1377997163, 1377997142, 1377996676, 1377996670]} final : False mtd_id 4302 list_pids : [1377999040, 1377998679, 1377998672, 1377998669, 1377998665, 1377998640, 1377998225, 1377998223, 1377998208, 1377997998, 1377997952, 1377997887, 1377997831, 1377997492, 1377997462, 1377997410, 1377997386, 1377997343, 1377997311, 1377997185, 1377997169, 1377997166, 1377997163, 1377997142, 1377996676, 1377996670] Looping around the photos to save general results len do output : 1 /26080046. 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, '3567178') ('4302', '26080046', '1377999040', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998679', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998672', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998669', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998665', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998640', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998225', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998223', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998208', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997998', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997952', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997887', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997831', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997492', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997462', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997410', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997386', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997343', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997311', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997185', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997169', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997166', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997163', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997142', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377996676', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377996670', None, None, None, None, None, '3567178') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '26080046', "{'cartonnette': 26080575, 'papier': 26080576, 'Teint_Dans_La_Masse': 26080577, 'mal_croppe': 26080578, 'metal': 26080579, 'flou': 26080580, 'environnement': 26080581, 'Carton_gris': 26080582, 'autre_refus': 26080583, 'Carton_brun': 26080584, 'plastique': 26080585, 'kraft': 26080586}", None, None, None, None, '3567178'), ('4302', '26080046', '1377999040', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377998679', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377998672', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377998669', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377998665', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377998640', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377998225', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377998223', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377998208', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997998', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997952', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997887', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997831', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997492', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997462', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997410', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997386', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997343', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997311', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997185', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997169', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997166', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997163', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997142', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377996676', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377996670', None, None, None, None, None, '3567178')] time used for this insertion : 0.01905536651611328 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5573322772979736 time spend to save output : 0.019444704055786133 total time spend for step 1 : 1.5767769813537598 step2:final Thu Aug 21 05:47:30 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 (26080046) 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 26080046 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1377996676,1377996670,1377997185,1377997169,1377997166,1377997163,1377997142,1377997492,1377997462,1377997410,1377997386,1377997343,1377997311,1377997998,1377997952,1377997887,1377997831,1377998225,1377998223,1377998208,1377998679,1377998672,1377998669,1377998665,1377998640,1377999040); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26080046]) Inside saveOutput : final : False verbose : True original output for save of step final : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} new output for save of step final : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} [1377999040, 1377998679, 1377998672, 1377998669, 1377998665, 1377998640, 1377998225, 1377998223, 1377998208, 1377997998, 1377997952, 1377997887, 1377997831, 1377997492, 1377997462, 1377997410, 1377997386, 1377997343, 1377997311, 1377997185, 1377997169, 1377997166, 1377997163, 1377997142, 1377996676, 1377996670] map_info['map_portfolio_photo'] : {26080046: [1377999040, 1377998679, 1377998672, 1377998669, 1377998665, 1377998640, 1377998225, 1377998223, 1377998208, 1377997998, 1377997952, 1377997887, 1377997831, 1377997492, 1377997462, 1377997410, 1377997386, 1377997343, 1377997311, 1377997185, 1377997169, 1377997166, 1377997163, 1377997142, 1377996676, 1377996670]} final : False mtd_id 4302 list_pids : [1377999040, 1377998679, 1377998672, 1377998669, 1377998665, 1377998640, 1377998225, 1377998223, 1377998208, 1377997998, 1377997952, 1377997887, 1377997831, 1377997492, 1377997462, 1377997410, 1377997386, 1377997343, 1377997311, 1377997185, 1377997169, 1377997166, 1377997163, 1377997142, 1377996676, 1377996670] Looping around the photos to save general results len do output : 26 /1377999040.Didn't retrieve data . /1377998679.Didn't retrieve data . /1377998672.Didn't retrieve data . /1377998669.Didn't retrieve data . /1377998665.Didn't retrieve data . /1377998640.Didn't retrieve data . /1377998225.Didn't retrieve data . /1377998223.Didn't retrieve data . /1377998208.Didn't retrieve data . /1377997998.Didn't retrieve data . /1377997952.Didn't retrieve data . /1377997887.Didn't retrieve data . /1377997831.Didn't retrieve data . /1377997492.Didn't retrieve data . /1377997462.Didn't retrieve data . /1377997410.Didn't retrieve data . /1377997386.Didn't retrieve data . /1377997343.Didn't retrieve data . /1377997311.Didn't retrieve data . /1377997185.Didn't retrieve data . /1377997169.Didn't retrieve data . /1377997166.Didn't retrieve data . /1377997163.Didn't retrieve data . /1377997142.Didn't retrieve data . /1377996676.Didn't retrieve data . /1377996670.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, '3567178') ('4302', '26080046', '1377999040', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998679', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998672', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998669', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998665', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998640', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998225', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998223', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998208', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997998', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997952', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997887', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997831', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997492', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997462', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997410', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997386', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997343', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997311', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997185', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997169', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997166', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997163', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997142', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377996676', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377996670', None, None, None, None, None, '3567178') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 78 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', '26080046', '1377999040', '0.0', None, None, None, None, '3567178'), ('4302', '26080046', '1377998679', '0.0', None, None, None, None, '3567178'), ('4302', '26080046', '1377998672', '0.0', None, None, None, None, '3567178'), ('4302', '26080046', '1377998669', '0.0', None, None, None, None, '3567178'), ('4302', '26080046', '1377998665', '0.0', None, None, None, None, '3567178'), ('4302', '26080046', '1377998640', '0.0', None, None, None, None, '3567178'), ('4302', '26080046', '1377998225', '0.0', None, None, None, None, '3567178'), ('4302', '26080046', '1377998223', '0.0', None, None, None, None, '3567178'), ('4302', '26080046', '1377998208', '0.0', None, None, None, None, '3567178'), ('4302', '26080046', '1377997998', '0.0', None, None, None, None, '3567178'), ('4302', '26080046', '1377997952', '0.0', None, None, None, None, '3567178'), ('4302', '26080046', '1377997887', '0.0', None, None, None, None, '3567178'), ('4302', '26080046', '1377997831', '0.0', None, None, None, None, '3567178'), ('4302', '26080046', '1377997492', '0.0', None, None, None, None, '3567178'), ('4302', '26080046', '1377997462', '0.0', None, None, None, None, '3567178'), ('4302', '26080046', '1377997410', '0.0', None, None, None, None, '3567178'), ('4302', '26080046', '1377997386', '0.0', None, None, None, None, '3567178'), ('4302', '26080046', '1377997343', '0.0', None, None, None, None, '3567178'), ('4302', '26080046', '1377997311', '0.0', None, None, None, None, '3567178'), ('4302', '26080046', '1377997185', '0.0', None, None, None, None, '3567178'), ('4302', '26080046', '1377997169', '0.0', None, None, None, None, '3567178'), ('4302', '26080046', '1377997166', '0.0', None, None, None, None, '3567178'), ('4302', '26080046', '1377997163', '0.0', None, None, None, None, '3567178'), ('4302', '26080046', '1377997142', '0.0', None, None, None, None, '3567178'), ('4302', '26080046', '1377996676', '0.0', None, None, None, None, '3567178'), ('4302', '26080046', '1377996670', '0.0', None, None, None, None, '3567178')] time used for this insertion : 0.021333694458007812 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.051274776458740234 time spend to save output : 0.022397518157958984 total time spend for step 2 : 0.07367229461669922 step3:velours_tree Thu Aug 21 05:47:30 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 : {26080046: [{'cartonnette': 26080575, 'papier': 26080576, 'Teint_Dans_La_Masse': 26080577, 'mal_croppe': 26080578, 'metal': 26080579, 'flou': 26080580, 'environnement': 26080581, 'Carton_gris': 26080582, 'autre_refus': 26080583, 'Carton_brun': 26080584, 'plastique': 26080585, 'kraft': 26080586}]} input_args_next_step : {26080046: ()} output_args : {26080046: [{'cartonnette': 26080575, 'papier': 26080576, 'Teint_Dans_La_Masse': 26080577, 'mal_croppe': 26080578, 'metal': 26080579, 'flou': 26080580, 'environnement': 26080581, 'Carton_gris': 26080582, 'autre_refus': 26080583, 'Carton_brun': 26080584, 'plastique': 26080585, 'kraft': 26080586}]} args : 26080046 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 : ({'cartonnette': 26080575, 'papier': 26080576, 'Teint_Dans_La_Masse': 26080577, 'mal_croppe': 26080578, 'metal': 26080579, 'flou': 26080580, 'environnement': 26080581, 'Carton_gris': 26080582, 'autre_refus': 26080583, 'Carton_brun': 26080584, 'plastique': 26080585, 'kraft': 26080586},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26080046) 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([26080046]) 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.29625630378723145 time spend to save output : 7.05718994140625e-05 total time spend for step 3 : 0.2963268756866455 step4:send_mail_cod Thu Aug 21 05:47:30 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 : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} input_args_next_step : {1377999040: ()} output_args : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} args : 1377999040 depend.output_id : 0 input_args_next_step : {1377999040: ('0.0',), 1377998679: ()} output_args : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} args : 1377998679 depend.output_id : 0 input_args_next_step : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ()} output_args : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} args : 1377998672 depend.output_id : 0 input_args_next_step : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ()} output_args : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} args : 1377998669 depend.output_id : 0 input_args_next_step : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ()} output_args : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} args : 1377998665 depend.output_id : 0 input_args_next_step : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ()} output_args : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} args : 1377998640 depend.output_id : 0 input_args_next_step : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ()} output_args : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} args : 1377998225 depend.output_id : 0 input_args_next_step : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ()} output_args : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} args : 1377998223 depend.output_id : 0 input_args_next_step : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ()} output_args : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} args : 1377998208 depend.output_id : 0 input_args_next_step : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ()} output_args : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} args : 1377997998 depend.output_id : 0 input_args_next_step : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ()} output_args : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} args : 1377997952 depend.output_id : 0 input_args_next_step : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ()} output_args : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} args : 1377997887 depend.output_id : 0 input_args_next_step : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ()} output_args : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} args : 1377997831 depend.output_id : 0 input_args_next_step : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ()} output_args : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} args : 1377997492 depend.output_id : 0 input_args_next_step : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ()} output_args : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} args : 1377997462 depend.output_id : 0 input_args_next_step : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ()} output_args : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} args : 1377997410 depend.output_id : 0 input_args_next_step : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ()} output_args : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} args : 1377997386 depend.output_id : 0 input_args_next_step : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ()} output_args : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} args : 1377997343 depend.output_id : 0 input_args_next_step : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ()} output_args : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} args : 1377997311 depend.output_id : 0 input_args_next_step : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ()} output_args : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} args : 1377997185 depend.output_id : 0 input_args_next_step : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ()} output_args : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} args : 1377997169 depend.output_id : 0 input_args_next_step : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ()} output_args : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} args : 1377997166 depend.output_id : 0 input_args_next_step : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ()} output_args : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} args : 1377997163 depend.output_id : 0 input_args_next_step : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ()} output_args : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} args : 1377997142 depend.output_id : 0 input_args_next_step : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ()} output_args : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} args : 1377996676 depend.output_id : 0 input_args_next_step : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ()} output_args : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',)} args : 1377996670 depend.output_id : 0 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 : {26080046: [{'cartonnette': 26080575, 'papier': 26080576, 'Teint_Dans_La_Masse': 26080577, 'mal_croppe': 26080578, 'metal': 26080579, 'flou': 26080580, 'environnement': 26080581, 'Carton_gris': 26080582, 'autre_refus': 26080583, 'Carton_brun': 26080584, 'plastique': 26080585, 'kraft': 26080586}]} input_args_next_step : {1377999040: ('0.0',), 1377998679: ('0.0',), 1377998672: ('0.0',), 1377998669: ('0.0',), 1377998665: ('0.0',), 1377998640: ('0.0',), 1377998225: ('0.0',), 1377998223: ('0.0',), 1377998208: ('0.0',), 1377997998: ('0.0',), 1377997952: ('0.0',), 1377997887: ('0.0',), 1377997831: ('0.0',), 1377997492: ('0.0',), 1377997462: ('0.0',), 1377997410: ('0.0',), 1377997386: ('0.0',), 1377997343: ('0.0',), 1377997311: ('0.0',), 1377997185: ('0.0',), 1377997169: ('0.0',), 1377997166: ('0.0',), 1377997163: ('0.0',), 1377997142: ('0.0',), 1377996676: ('0.0',), 1377996670: ('0.0',), 26080046: ()} output_args : {26080046: [{'cartonnette': 26080575, 'papier': 26080576, 'Teint_Dans_La_Masse': 26080577, 'mal_croppe': 26080578, 'metal': 26080579, 'flou': 26080580, 'environnement': 26080581, 'Carton_gris': 26080582, 'autre_refus': 26080583, 'Carton_brun': 26080584, 'plastique': 26080585, 'kraft': 26080586}]} args : 26080046 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 :27, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26080046) 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 (1377999040,1377998679,1377998672,1377998669,1377998665,1377998640,1377998225,1377998223,1377998208,1377997998,1377997952,1377997887,1377997831,1377997492,1377997462,1377997410,1377997386,1377997343,1377997311,1377997185,1377997169,1377997166,1377997163,1377997142,1377996676,1377996670) Found this number of photos: 26 ##### Call download_photos : nb_thread : 5 begin to download photo : 1377996670 begin to download photo : 1377997185 begin to download photo : 1377997492 begin to download photo : 1377998223 begin to download photo : 1377998679 download finish for photo 1377997492 begin to download photo : 1377997831 download finish for photo 1377998223 begin to download photo : 1377998225 download finish for photo 1377996670 begin to download photo : 1377996676 download finish for photo 1377998679 begin to download photo : 1377999040 download finish for photo 1377997185 begin to download photo : 1377997311 download finish for photo 1377998225 begin to download photo : 1377998640 download finish for photo 1377996676 begin to download photo : 1377997142 download finish for photo 1377997831 begin to download photo : 1377997887 download finish for photo 1377997311 begin to download photo : 1377997343 download finish for photo 1377999040 download finish for photo 1377997887 begin to download photo : 1377997952 download finish for photo 1377998640 begin to download photo : 1377998665 download finish for photo 1377997343 begin to download photo : 1377997386 download finish for photo 1377997142 begin to download photo : 1377997163 download finish for photo 1377997952 begin to download photo : 1377997998 download finish for photo 1377998665 begin to download photo : 1377998669 download finish for photo 1377997386 begin to download photo : 1377997410 download finish for photo 1377997163 begin to download photo : 1377997166 download finish for photo 1377997998 begin to download photo : 1377998208 download finish for photo 1377998669 begin to download photo : 1377998672 download finish for photo 1377997166 begin to download photo : 1377997169 download finish for photo 1377997410 begin to download photo : 1377997462 download finish for photo 1377998672 download finish for photo 1377997169 download finish for photo 1377998208 download finish for photo 1377997462 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette260805751755748051/ imagette260805781755748051/ imagette260805791755748051/ imagette260805801755748051/ imagette260805831755748051/ imagette260805851755748051/ imagette260805861755748051/ imagette260805771755748051/ imagette260805821755748051/ imagette260805841755748051/ length of list_filenames : 26 ; length of list_pids : 26 ; length of list_args : 26 results_Auto_P26080046_21-08-2025_05_47_31.pdf 26080575 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=26080575 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette260805751755748051 26080578 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=26080578 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette260805781755748051 26080579 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=26080579 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette260805791755748051 26080580 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=26080580 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette260805801755748051 26080583 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=26080583 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette260805831755748051 26080585 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=26080585 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette260805851755748051 26080586 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=26080586 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette260805861755748051 26080577 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=26080577 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette260805771755748051 26080582 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=26080582 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette260805821755748051 26080584 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=26080584 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette260805841755748051 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26080046 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26080588,26080589,26080590,26080591,26080592,26080593,26080594,26080595,26080596,26080597,26080598,26080599?tags=cartonnette,papier,Teint_Dans_La_Masse,mal_croppe,metal,flou,environnement,Carton_gris,autre_refus,Carton_brun,plastique,kraft your option no_mail is active, we will not send the real mail to your client args[1377999040] : ('0.0',) no score found for photo 1377999040 We are sending mail with results at report@fotonower.com args[1377998679] : ('0.0',) no score found for photo 1377998679 We are sending mail with results at report@fotonower.com args[1377998672] : ('0.0',) no score found for photo 1377998672 We are sending mail with results at report@fotonower.com args[1377998669] : ('0.0',) no score found for photo 1377998669 We are sending mail with results at report@fotonower.com args[1377998665] : ('0.0',) no score found for photo 1377998665 We are sending mail with results at report@fotonower.com args[1377998640] : ('0.0',) no score found for photo 1377998640 We are sending mail with results at report@fotonower.com args[1377998225] : ('0.0',) no score found for photo 1377998225 We are sending mail with results at report@fotonower.com args[1377998223] : ('0.0',) no score found for photo 1377998223 We are sending mail with results at report@fotonower.com args[1377998208] : ('0.0',) no score found for photo 1377998208 We are sending mail with results at report@fotonower.com args[1377997998] : ('0.0',) no score found for photo 1377997998 We are sending mail with results at report@fotonower.com args[1377997952] : ('0.0',) no score found for photo 1377997952 We are sending mail with results at report@fotonower.com args[1377997887] : ('0.0',) no score found for photo 1377997887 We are sending mail with results at report@fotonower.com args[1377997831] : ('0.0',) no score found for photo 1377997831 We are sending mail with results at report@fotonower.com args[1377997492] : ('0.0',) no score found for photo 1377997492 We are sending mail with results at report@fotonower.com args[1377997462] : ('0.0',) no score found for photo 1377997462 We are sending mail with results at report@fotonower.com args[1377997410] : ('0.0',) no score found for photo 1377997410 We are sending mail with results at report@fotonower.com args[1377997386] : ('0.0',) no score found for photo 1377997386 We are sending mail with results at report@fotonower.com args[1377997343] : ('0.0',) no score found for photo 1377997343 We are sending mail with results at report@fotonower.com args[1377997311] : ('0.0',) no score found for photo 1377997311 We are sending mail with results at report@fotonower.com args[1377997185] : ('0.0',) no score found for photo 1377997185 We are sending mail with results at report@fotonower.com args[1377997169] : ('0.0',) no score found for photo 1377997169 We are sending mail with results at report@fotonower.com args[1377997166] : ('0.0',) no score found for photo 1377997166 We are sending mail with results at report@fotonower.com args[1377997163] : ('0.0',) no score found for photo 1377997163 We are sending mail with results at report@fotonower.com args[1377997142] : ('0.0',) no score found for photo 1377997142 We are sending mail with results at report@fotonower.com args[1377996676] : ('0.0',) no score found for photo 1377996676 We are sending mail with results at report@fotonower.com args[1377996670] : ('0.0',) no score found for photo 1377996670 We are sending mail with results at report@fotonower.com refus_total : 0.0 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26080046 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_P26080046_21-08-2025_05_47_31.pdf results_Auto_P26080046_21-08-2025_05_47_31.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080046_21-08-2025_05_47_31.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','26080046','results_Auto_P26080046_21-08-2025_05_47_31.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080046_21-08-2025_05_47_31.pdf','pdf','','0.2','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26080046]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1377999040, 1377998679, 1377998672, 1377998669, 1377998665, 1377998640, 1377998225, 1377998223, 1377998208, 1377997998, 1377997952, 1377997887, 1377997831, 1377997492, 1377997462, 1377997410, 1377997386, 1377997343, 1377997311, 1377997185, 1377997169, 1377997166, 1377997163, 1377997142, 1377996676, 1377996670] map_info['map_portfolio_photo'] : {26080046: [1377999040, 1377998679, 1377998672, 1377998669, 1377998665, 1377998640, 1377998225, 1377998223, 1377998208, 1377997998, 1377997952, 1377997887, 1377997831, 1377997492, 1377997462, 1377997410, 1377997386, 1377997343, 1377997311, 1377997185, 1377997169, 1377997166, 1377997163, 1377997142, 1377996676, 1377996670]} final : False mtd_id 4302 list_pids : [1377999040, 1377998679, 1377998672, 1377998669, 1377998665, 1377998640, 1377998225, 1377998223, 1377998208, 1377997998, 1377997952, 1377997887, 1377997831, 1377997492, 1377997462, 1377997410, 1377997386, 1377997343, 1377997311, 1377997185, 1377997169, 1377997166, 1377997163, 1377997142, 1377996676, 1377996670] 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, '3567178') ('4302', '26080046', '1377999040', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998679', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998672', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998669', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998665', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998640', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998225', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998223', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998208', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997998', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997952', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997887', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997831', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997492', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997462', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997410', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997386', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997343', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997311', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997185', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997169', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997166', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997163', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997142', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377996676', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377996670', None, None, None, None, None, '3567178') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 26 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', '26080046', '1377999040', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377998679', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377998672', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377998669', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377998665', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377998640', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377998225', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377998223', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377998208', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997998', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997952', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997887', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997831', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997492', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997462', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997410', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997386', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997343', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997311', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997185', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997169', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997166', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997163', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997142', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377996676', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377996670', None, None, None, None, None, '3567178')] time used for this insertion : 0.04982113838195801 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.468371629714966 time spend to save output : 0.05014777183532715 total time spend for step 4 : 2.518519401550293 step5:split_time_score Thu Aug 21 05:47:33 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 : ['26080046'] 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 : [('26080046',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26080046) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1377998679: {'path': 'temp/1755748050_78764_1377998679_aeb89127045cd182a2396d22db5c0441.jpg', 'extension': 'jpg'}, 1377999040: {'path': 'temp/1755748050_78764_1377999040_e73a353c585e2fdb42b42cb007ed2936.jpg', 'extension': 'jpg'}, 1377998223: {'path': 'temp/1755748050_78764_1377998223_46bfdc8fc9c6aad45f289fa506aa244d.jpg', 'extension': 'jpg'}, 1377998225: {'path': 'temp/1755748050_78764_1377998225_2ec375364bb57da902621c9f991a9e1b.jpg', 'extension': 'jpg'}, 1377998640: {'path': 'temp/1755748050_78764_1377998640_30f647c64fb841a282a23c109f1f7ec7.jpg', 'extension': 'jpg'}, 1377998665: {'path': 'temp/1755748050_78764_1377998665_b50f9a33ae67effddff2affa30b0bf5a.jpg', 'extension': 'jpg'}, 1377998669: {'path': 'temp/1755748050_78764_1377998669_506f1e86fa56af1a62b31a15994a4b64.jpg', 'extension': 'jpg'}, 1377998672: {'path': 'temp/1755748050_78764_1377998672_aac7e675b44d290d86b1108668e3f027.jpg', 'extension': 'jpg'}, 1377996670: {'path': 'temp/1755748050_78764_1377996670_cbec94b7e71e1e853ae699f6b2ae4bdd.jpg', 'extension': 'jpg'}, 1377996676: {'path': 'temp/1755748050_78764_1377996676_c1403fe7ccef3f2aea285fc3ae440118.jpg', 'extension': 'jpg'}, 1377997142: {'path': 'temp/1755748050_78764_1377997142_46a27ec60acab65382d4af120d8e6c29.jpg', 'extension': 'jpg'}, 1377997163: {'path': 'temp/1755748050_78764_1377997163_fb371ab6ba018f1ea5f5263b65d8110e.jpg', 'extension': 'jpg'}, 1377997166: {'path': 'temp/1755748050_78764_1377997166_aa7f26be22427a5cf58d0d5846c7e992.jpg', 'extension': 'jpg'}, 1377997169: {'path': 'temp/1755748050_78764_1377997169_256db045dad9a7e493cc19e8809b348f.jpg', 'extension': 'jpg'}, 1377997492: {'path': 'temp/1755748050_78764_1377997492_a9ae31a9602e06e7c4094e32d6518a08.jpg', 'extension': 'jpg'}, 1377997831: {'path': 'temp/1755748050_78764_1377997831_395a9a18866c652d6b498e194ded92d6.jpg', 'extension': 'jpg'}, 1377997887: {'path': 'temp/1755748050_78764_1377997887_3c75b4537e14bce284342dab3aa73a43.jpg', 'extension': 'jpg'}, 1377997952: {'path': 'temp/1755748050_78764_1377997952_faafc0bb68cec97c33fff9e4be5b57bc.jpg', 'extension': 'jpg'}, 1377997998: {'path': 'temp/1755748050_78764_1377997998_75833afcd016de2c0668b20836efdf0f.jpg', 'extension': 'jpg'}, 1377998208: {'path': 'temp/1755748050_78764_1377998208_e0634b0a481984ccffc300db55bd949d.jpg', 'extension': 'jpg'}, 1377997185: {'path': 'temp/1755748050_78764_1377997185_0667ac2d24506f58a66867ed267c651e.jpg', 'extension': 'jpg'}, 1377997311: {'path': 'temp/1755748050_78764_1377997311_0021e7ad762111d2834f2b47beeb313f.jpg', 'extension': 'jpg'}, 1377997343: {'path': 'temp/1755748050_78764_1377997343_9e59766740ea215e56de0f1d75ee1879.jpg', 'extension': 'jpg'}, 1377997386: {'path': 'temp/1755748050_78764_1377997386_89629c075c430f5c012009a1e2425a99.jpg', 'extension': 'jpg'}, 1377997410: {'path': 'temp/1755748050_78764_1377997410_e5c6354cf7fad466ec2fb02142c1147f.jpg', 'extension': 'jpg'}, 1377997462: {'path': 'temp/1755748050_78764_1377997462_b8e4657f21e1d669adbd9ca59947555d.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 = 26080046; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) 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 = 26080046 group by h (('10', 26),) 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=26080046 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 (26080046) 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 (26080046) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 20082025 26080046 Nombre de photos uploadées : 26 / 23040 (0%) 20082025 26080046 Nombre de photos taguées (types de déchets): 0 / 26 (0%) 20082025 26080046 Nombre de photos taguées (volume) : 0 / 26 (0%) [{'photo_id': 1377996676, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/20/c1403fe7ccef3f2aea285fc3ae440118.jpg', 'username': None, 'uploaded_at': 1755677408, 'text': 'image_20082025_10_09_13_10140.jpg'}, {'photo_id': 1377996670, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/20/cbec94b7e71e1e853ae699f6b2ae4bdd.jpg', 'username': None, 'uploaded_at': 1755677408, 'text': 'image_20082025_10_09_44_10145.jpg'}, {'photo_id': 1377997185, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/20/0667ac2d24506f58a66867ed267c651e.jpg', 'username': None, 'uploaded_at': 1755677472, 'text': 'image_20082025_10_09_53_9126.jpg'}, {'photo_id': 1377997169, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/20/256db045dad9a7e493cc19e8809b348f.jpg', 'username': None, 'uploaded_at': 1755677472, 'text': 'image_20082025_10_10_03_10144.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ?????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0029447078704833984 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26080046, '2025-08-20' ) 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-08-20' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2142351,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2431626319885254 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= 2142351 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26079943, 'dashboard_result_id': 14141791, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079943_21-08-2025_05_34_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26082138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26082140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26082141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26082142, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26082143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26082144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26082145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26082146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26082147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26082148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26082149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26082150, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26079947, 'dashboard_result_id': 14141792, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079947_21-08-2025_05_35_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26082035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26082036, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26082037, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26082039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26082040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26082041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26082043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26082044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26082045, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26082046, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26082048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26082049, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26079950, 'dashboard_result_id': 14141793, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079950_21-08-2025_05_36_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081973, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081975, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081980, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081984, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26079954, 'dashboard_result_id': 14141794, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079954_21-08-2025_05_36_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081903, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081908, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081911, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081915, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26079958, 'dashboard_result_id': 14141795, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079958_21-08-2025_05_37_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081805, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081806, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081807, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081810, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081814, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081815, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081816, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26079961, 'dashboard_result_id': 14141796, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079961_21-08-2025_05_37_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081763, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081764, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081765, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081769, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081772, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081774, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26079964, 'dashboard_result_id': 14141797, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079964_21-08-2025_05_38_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081706, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26079967, 'dashboard_result_id': 14141798, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079967_21-08-2025_05_39_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081643, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081645, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081653, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26079969, 'dashboard_result_id': 14141799, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079969_21-08-2025_05_39_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081616, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081619, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081627, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26079970, 'dashboard_result_id': 14141800, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079970_21-08-2025_05_39_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081544, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081549, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081554, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081555, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26079972, 'dashboard_result_id': 14141801, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079972_21-08-2025_05_40_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26081420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081422, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081423, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081424, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081425, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081431, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26079974, 'dashboard_result_id': 14141802, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079974_21-08-2025_05_40_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081260, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081264, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081272, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26079976, 'dashboard_result_id': 14141803, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079976_21-08-2025_05_41_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26081384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081387, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081388, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081390, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081393, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081394, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081395, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26079979, 'dashboard_result_id': 14141804, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079979_21-08-2025_05_41_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26081214, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081218, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081219, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081221, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081225, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26079981, 'dashboard_result_id': 14141805, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079981_21-08-2025_05_41_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26081126, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081128, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081131, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081134, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081135, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081136, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081137, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26079983, 'dashboard_result_id': 14141806, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079983_21-08-2025_05_42_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081190, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081192, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26079985, 'dashboard_result_id': 14141807, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079985_21-08-2025_05_43_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081093, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081094, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081095, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081101, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26079987, 'dashboard_result_id': 14141808, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079987_21-08-2025_05_43_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081061, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081068, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26079989, 'dashboard_result_id': 14141809, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079989_21-08-2025_05_43_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081011, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081014, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081017, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081019, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081020, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081022, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26079991, 'dashboard_result_id': 14141810, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079991_21-08-2025_05_43_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26080957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080968, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26079993, 'dashboard_result_id': 14141811, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079993_21-08-2025_05_44_28.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080925, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080927, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080933, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080935, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080936, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26079995, 'dashboard_result_id': 14141812, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079995_21-08-2025_05_44_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080833, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080834, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080835, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080839, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080840, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080841, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26079997, 'dashboard_result_id': 14141813, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079997_21-08-2025_05_45_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080800, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080802, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080803, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080804, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080805, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080810, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26080016, 'dashboard_result_id': 14141814, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080016_21-08-2025_05_45_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080774, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080776, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080779, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080781, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26080019, 'dashboard_result_id': 14141815, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080019_21-08-2025_05_46_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080676, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080677, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080678, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080684, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080686, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26080040, 'dashboard_result_id': 14141816, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080040_21-08-2025_05_46_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26080645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080646, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080651, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080652, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080656, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26080042, 'dashboard_result_id': 14141817, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080042_21-08-2025_05_47_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080088, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080100, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26080044, 'dashboard_result_id': 14141818, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080044_20-08-2025_15_09_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080614, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080617, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080619, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080621, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080622, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080625, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26080046, 'dashboard_result_id': 14141819, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080046_20-08-2025_15_09_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080577, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080581, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080583, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080585, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080586, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26080048, 'dashboard_result_id': 14141820, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080048_20-08-2025_15_08_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080448, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080449, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080457, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26080050, 'dashboard_result_id': 14141821, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080050_20-08-2025_15_07_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080413, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080418, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080422, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080423, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26080055, 'dashboard_result_id': 14141822, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080055_20-08-2025_15_03_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080102, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080105, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080114, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26080060, 'dashboard_result_id': 14141823, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080060_20-08-2025_15_06_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080316, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080317, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080327, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26080064, 'dashboard_result_id': 14141824, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080064_20-08-2025_15_06_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26080292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080295, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080296, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080301, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080303, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26080069, 'dashboard_result_id': 14141825, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080069_20-08-2025_15_05_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080272, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080273, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080274, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26080074, 'dashboard_result_id': 14141826, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080074_20-08-2025_15_04_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080173, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080176, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080184, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26077616, 'dashboard_result_id': 14141827, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077616_20-08-2025_14_11_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077655, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077660, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077665, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26077618, 'dashboard_result_id': 14141828, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077618_20-08-2025_14_11_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077666, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077668, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077669, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077670, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077672, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077673, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077675, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077677, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26077621, 'dashboard_result_id': 14141829, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077621_20-08-2025_14_16_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077628, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077630, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077635, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26077839, 'dashboard_result_id': 14141830, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077839_20-08-2025_14_32_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077921, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077928, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077930, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26078554, 'dashboard_result_id': 14141831, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26078554_20-08-2025_14_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26078580, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26078581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26078582, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26078583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26078584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26078585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26078586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26078587, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26078588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26078589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26078590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26078591, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26079264, 'dashboard_result_id': 14141832, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079264_20-08-2025_15_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26079313, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26079314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26079315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26079316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26079317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26079318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26079319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26079320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26079321, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26079322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26079323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26079324, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26080200, 'dashboard_result_id': 14141833, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080200_20-08-2025_15_19_28.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080209, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080212, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080214, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080216, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080219, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26081287, 'dashboard_result_id': 14141834, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26081287_20-08-2025_15_33_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081313, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081319, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081321, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26082309, 'dashboard_result_id': 14141835, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26082309_20-08-2025_15_46_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26082371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26082372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26082373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26082374, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26082375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26082376, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26082377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26082379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26082380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26082381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26082382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26082383, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26083119, 'dashboard_result_id': 14141836, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26083119_20-08-2025_16_03_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26083167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26083168, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26083169, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26083170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26083171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26083172, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26083173, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26083174, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26083175, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26083176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26083177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26083178, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26083848, 'dashboard_result_id': 14141837, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26083848_20-08-2025_16_16_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26083868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26083869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26083870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26083871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26083872, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26083873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26083874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26083875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26083876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26083877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26083878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26083879, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26084660, 'dashboard_result_id': 14141838, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26084660_20-08-2025_16_32_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26084717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26084718, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26084719, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26084720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26084721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26084722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26084723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26084724, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26084725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26084726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26084727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26084728, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26085320, 'dashboard_result_id': 14141839, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26085320_20-08-2025_16_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26085403, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26085404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26085405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26085406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26085407, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26085408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26085409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26085410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26085411, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26085412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26085413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26085414, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26086021, 'dashboard_result_id': 14141840, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26086021_20-08-2025_17_05_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26086038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26086039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26086040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26086041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26086042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26086043, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26086044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26086045, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26086046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26086047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26086048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26086049, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26086740, 'dashboard_result_id': 14141841, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26086740_20-08-2025_17_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26086776, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26086777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26086778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26086779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26086780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26086781, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26086782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26086783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26086784, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26086785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26086786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26086787, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26087662, 'dashboard_result_id': 14141842, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26087662_20-08-2025_18_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26087698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26087699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26087700, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26087701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26087702, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26087703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26087704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26087705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26087706, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26087707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26087708, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26087709, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26089702, 'dashboard_result_id': 14141843, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26089702_20-08-2025_18_17_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26089726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26089727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26089728, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26089729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26089730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26089731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26089732, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26089733, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26089734, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26089735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26089736, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26089737, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26090164, 'dashboard_result_id': 14141844, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26090164_20-08-2025_18_36_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26090179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26090180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26090181, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26090182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26090183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26090184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26090185, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26090186, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26090187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26090188, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26090189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26090190, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26090770, 'dashboard_result_id': 14141845, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26090770_20-08-2025_18_47_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26090826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26090827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26090829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26090830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26090831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26090833, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26090834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26090835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26090837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26090838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26090839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26090841, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26091438, 'dashboard_result_id': 14141846, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26091438_20-08-2025_19_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26091491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26091492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26091493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26091494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26091495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26091496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26091497, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26091498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26091499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26091500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26091501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26091502, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26092124, 'dashboard_result_id': 14141847, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26092124_20-08-2025_19_17_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26092141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26092142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26092143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26092144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26092145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26092146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26092147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26092148, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26092149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26092150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26092151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26092152, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26092818, 'dashboard_result_id': 14141848, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26092818_20-08-2025_19_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26092839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26092840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26092841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26092842, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26092843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26092844, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26092845, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26092846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26092847, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26092848, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26092849, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26092850, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26093570, 'dashboard_result_id': 14141849, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26093570_20-08-2025_19_49_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26093598, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26093599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26093600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26093601, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26093602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26093603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26093604, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26093605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26093606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26093607, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26093608, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26093609, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26094392, 'dashboard_result_id': 14141850, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26094392_20-08-2025_20_02_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26094421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26094422, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26094423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26094424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26094425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26094426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26094427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26094428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26094429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26094430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26094431, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26094432, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26095032, 'dashboard_result_id': 14141851, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26095032_20-08-2025_20_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26095089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26095090, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26095091, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26095092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26095093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26095094, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26095096, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26095097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26095098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26095099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26095100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26095101, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26095856, 'dashboard_result_id': 14141852, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26095856_20-08-2025_20_33_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26095865, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26095866, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26095867, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26095868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26095869, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26095870, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26095871, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26095872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26095873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26095874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26095875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26095876, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26096514, 'dashboard_result_id': 14141853, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26096514_20-08-2025_21_02_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26096524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26096525, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26096526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26096527, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26096528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26096529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26096530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26096531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26096532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26096533, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26096534, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26096535, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26097955, 'dashboard_result_id': 14141854, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26097955_20-08-2025_21_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26097959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26097960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26097961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26097962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26097963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26097964, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26097965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26097966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26097967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26097968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26097969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26097970, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26098484, 'dashboard_result_id': 14141855, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26098484_20-08-2025_21_32_56.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26098515, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26098516, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26098517, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26098518, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26098519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26098520, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26098522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26098523, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26098524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26098525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26098526, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26098527, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26098909, 'dashboard_result_id': 14141856, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26098909_20-08-2025_21_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26098921, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26098922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26098923, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26098924, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26098925, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26098926, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26098927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26098928, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26098929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26098930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26098931, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26098932, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26099455, 'dashboard_result_id': 14141857, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26099455_20-08-2025_22_04_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26099523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26099524, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26099525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26099526, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26099527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26099528, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26099529, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26099530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26099531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26099532, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26099533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26099534, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26099918, 'dashboard_result_id': 14141858, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26099918_20-08-2025_22_16_56.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26099939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26099940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26099941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26099942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26099943, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26099944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26099945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26099946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26099947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26099948, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26099949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26099950, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26100480, 'dashboard_result_id': 14141859, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26100480_20-08-2025_22_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26100495, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26100496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26100497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26100498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26100499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26100500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26100501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26100502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26100503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26100504, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26100505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26100506, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26101054, 'dashboard_result_id': 14141860, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26101054_20-08-2025_22_48_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26101076, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26101077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26101078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26101080, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26101081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26101082, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26101083, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26101084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26101085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26101086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26101087, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26101088, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26101599, 'dashboard_result_id': 14141861, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26101599_20-08-2025_23_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26101635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26101636, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26101637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26101638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26101639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26101640, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26101641, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26101642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26101643, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26101644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26101645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26101646, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26102098, 'dashboard_result_id': 14141862, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26102098_20-08-2025_23_18_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26102126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26102127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26102128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26102129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26102130, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26102131, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26102132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26102133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26102134, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26102135, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26102136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26102137, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26102632, 'dashboard_result_id': 14141863, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26102632_20-08-2025_23_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26102654, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26102655, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26102656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26102657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26102658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26102659, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26102660, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26102661, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26102662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26102663, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26102664, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26102665, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26103090, 'dashboard_result_id': 14141864, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26103090_20-08-2025_23_48_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26103111, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26103112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26103113, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26103114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26103115, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26103116, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26103117, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26103118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26103119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26103120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26103121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26103122, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2158619, 'mtr_portfolio_id': 26103628, 'dashboard_result_id': 14141865, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26103628_21-08-2025_01_28_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26103663, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26103664, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26103665, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26103666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26103667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26103668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26103669, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26103670, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26103671, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26103672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26103673, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26103675, '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 = 26079943 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 = 26079943 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 = 26079943 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079943 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 = 26079943 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 = 26079943 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079943_21-08-2025_05_34_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079943 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079943_21-08-2025_05_34_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26082138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26082140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26082141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26082142, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26082143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26082144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26082145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26082146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26082147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26082148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26082149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26082150, 'pht': 3726}}" where mtr_portfolio_id = 26079943 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079947 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 = 26079947 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 = 26079947 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079947 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 = 26079947 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 = 26079947 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079947_21-08-2025_05_35_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079947 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079947_21-08-2025_05_35_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26082035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26082036, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26082037, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26082039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26082040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26082041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26082043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26082044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26082045, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26082046, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26082048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26082049, 'pht': 3726}}" where mtr_portfolio_id = 26079947 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079950 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 = 26079950 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 = 26079950 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079950 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 = 26079950 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 = 26079950 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079950_21-08-2025_05_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079950 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079950_21-08-2025_05_36_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081973, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081975, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081980, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081984, 'pht': 3726}}" where mtr_portfolio_id = 26079950 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079954 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 = 26079954 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 = 26079954 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079954 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 = 26079954 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 = 26079954 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079954_21-08-2025_05_36_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079954 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079954_21-08-2025_05_36_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081903, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081908, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081911, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081915, 'pht': 3726}}" where mtr_portfolio_id = 26079954 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079958 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 = 26079958 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 = 26079958 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079958 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 = 26079958 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 = 26079958 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079958_21-08-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079958 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079958_21-08-2025_05_37_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081805, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081806, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081807, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081810, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081814, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081815, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081816, 'pht': 3726}}" where mtr_portfolio_id = 26079958 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079961 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 = 26079961 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 = 26079961 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079961 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 = 26079961 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 = 26079961 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079961_21-08-2025_05_37_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079961 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079961_21-08-2025_05_37_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081763, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081764, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081765, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081769, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081772, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081774, 'pht': 3726}}" where mtr_portfolio_id = 26079961 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079964 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 = 26079964 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 = 26079964 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079964 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 = 26079964 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 = 26079964 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079964_21-08-2025_05_38_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079964 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079964_21-08-2025_05_38_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081706, 'pht': 3726}}" where mtr_portfolio_id = 26079964 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079967 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 = 26079967 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 = 26079967 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079967 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 = 26079967 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 = 26079967 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079967_21-08-2025_05_39_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079967 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079967_21-08-2025_05_39_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081643, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081645, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081653, 'pht': 3726}}" where mtr_portfolio_id = 26079967 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079969 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 = 26079969 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 = 26079969 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079969 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 = 26079969 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 = 26079969 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079969_21-08-2025_05_39_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079969 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079969_21-08-2025_05_39_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081616, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081619, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081627, 'pht': 3726}}" where mtr_portfolio_id = 26079969 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079970 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 = 26079970 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 = 26079970 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079970 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 = 26079970 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 = 26079970 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079970_21-08-2025_05_39_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079970 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079970_21-08-2025_05_39_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081544, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081549, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081554, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081555, 'pht': 3726}}" where mtr_portfolio_id = 26079970 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079972 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 = 26079972 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 = 26079972 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079972 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 = 26079972 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 = 26079972 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079972_21-08-2025_05_40_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079972 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079972_21-08-2025_05_40_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26081420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081422, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081423, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081424, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081425, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081431, 'pht': 3726}}" where mtr_portfolio_id = 26079972 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079974 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 = 26079974 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 = 26079974 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079974 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 = 26079974 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 = 26079974 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079974_21-08-2025_05_40_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079974 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079974_21-08-2025_05_40_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081260, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081264, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081272, 'pht': 3726}}" where mtr_portfolio_id = 26079974 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079976 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 = 26079976 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 = 26079976 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079976 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 = 26079976 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 = 26079976 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079976_21-08-2025_05_41_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079976 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079976_21-08-2025_05_41_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26081384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081387, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081388, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081390, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081393, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081394, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081395, 'pht': 3726}}" where mtr_portfolio_id = 26079976 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079979 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 = 26079979 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 = 26079979 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079979 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 = 26079979 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 = 26079979 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079979_21-08-2025_05_41_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079979 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079979_21-08-2025_05_41_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26081214, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081218, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081219, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081221, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081225, 'pht': 3726}}" where mtr_portfolio_id = 26079979 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079981 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 = 26079981 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 = 26079981 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079981 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 = 26079981 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 = 26079981 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079981_21-08-2025_05_41_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079981 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079981_21-08-2025_05_41_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26081126, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081128, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081131, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081134, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081135, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081136, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081137, 'pht': 3726}}" where mtr_portfolio_id = 26079981 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079983 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 = 26079983 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 = 26079983 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079983 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 = 26079983 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 = 26079983 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079983_21-08-2025_05_42_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079983 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079983_21-08-2025_05_42_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081190, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081192, 'pht': 3726}}" where mtr_portfolio_id = 26079983 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079985 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 = 26079985 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 = 26079985 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079985 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 = 26079985 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 = 26079985 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079985_21-08-2025_05_43_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079985 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079985_21-08-2025_05_43_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081093, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081094, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081095, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081101, 'pht': 3726}}" where mtr_portfolio_id = 26079985 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079987 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 = 26079987 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 = 26079987 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079987 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 = 26079987 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 = 26079987 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079987_21-08-2025_05_43_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079987 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079987_21-08-2025_05_43_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081061, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081068, 'pht': 3726}}" where mtr_portfolio_id = 26079987 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079989 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 = 26079989 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 = 26079989 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079989 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 = 26079989 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 = 26079989 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079989_21-08-2025_05_43_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079989 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079989_21-08-2025_05_43_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081011, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081014, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081017, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081019, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081020, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081022, 'pht': 3726}}" where mtr_portfolio_id = 26079989 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079991 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 = 26079991 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 = 26079991 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079991 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 = 26079991 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 = 26079991 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079991_21-08-2025_05_43_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079991 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079991_21-08-2025_05_43_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26080957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080968, 'pht': 3726}}" where mtr_portfolio_id = 26079991 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079993 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 = 26079993 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 = 26079993 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079993 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 = 26079993 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 = 26079993 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079993_21-08-2025_05_44_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079993 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079993_21-08-2025_05_44_28.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080925, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080927, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080933, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080935, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080936, 'pht': 3726}}" where mtr_portfolio_id = 26079993 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079995 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 = 26079995 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 = 26079995 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079995 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 = 26079995 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 = 26079995 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079995_21-08-2025_05_44_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079995 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079995_21-08-2025_05_44_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080833, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080834, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080835, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080839, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080840, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080841, 'pht': 3726}}" where mtr_portfolio_id = 26079995 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079997 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 = 26079997 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 = 26079997 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079997 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 = 26079997 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 = 26079997 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079997_21-08-2025_05_45_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079997 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079997_21-08-2025_05_45_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080800, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080802, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080803, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080804, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080805, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080810, 'pht': 3726}}" where mtr_portfolio_id = 26079997 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080016 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 = 26080016 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 = 26080016 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080016 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 = 26080016 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 = 26080016 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080016_21-08-2025_05_45_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080016 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080016_21-08-2025_05_45_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080774, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080776, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080779, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080781, 'pht': 3726}}" where mtr_portfolio_id = 26080016 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080019 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 = 26080019 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 = 26080019 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080019 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 = 26080019 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 = 26080019 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080019_21-08-2025_05_46_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080019 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080019_21-08-2025_05_46_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080676, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080677, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080678, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080684, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080686, 'pht': 3726}}" where mtr_portfolio_id = 26080019 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080040 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 = 26080040 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 = 26080040 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080040 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 = 26080040 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 = 26080040 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080040_21-08-2025_05_46_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080040 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080040_21-08-2025_05_46_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26080645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080646, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080651, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080652, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080656, 'pht': 3726}}" where mtr_portfolio_id = 26080040 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080042 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 = 26080042 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 = 26080042 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080042 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 = 26080042 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 = 26080042 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080042_21-08-2025_05_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080042 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080042_21-08-2025_05_47_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080088, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080100, 'pht': 3726}}" where mtr_portfolio_id = 26080042 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080044 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 = 26080044 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 = 26080044 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080044 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 = 26080044 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 = 26080044 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080044_21-08-2025_05_47_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080044 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080044_21-08-2025_05_47_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080614, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080617, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080619, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080621, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080622, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080625, 'pht': 3726}}" where mtr_portfolio_id = 26080044 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080046 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 = 26080046 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 = 26080046 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080046 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 = 26080046 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 = 26080046 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080046_21-08-2025_05_47_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080046 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080046_21-08-2025_05_47_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080577, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080581, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080583, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080585, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080586, 'pht': 3726}}" where mtr_portfolio_id = 26080046 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080048 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 = 26080048 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 = 26080048 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080048 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 = 26080048 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 = 26080048 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080048_20-08-2025_15_08_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080048 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080048_20-08-2025_15_08_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080448, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080449, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080457, 'pht': 3726}}" where mtr_portfolio_id = 26080048 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080050 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 = 26080050 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 = 26080050 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080050 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 = 26080050 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 = 26080050 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080050_20-08-2025_15_07_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080050 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080050_20-08-2025_15_07_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080413, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080418, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080422, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080423, 'pht': 3726}}" where mtr_portfolio_id = 26080050 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080055 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 = 26080055 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 = 26080055 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080055 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 = 26080055 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 = 26080055 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080055_20-08-2025_15_03_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080055 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080055_20-08-2025_15_03_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080102, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080105, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080114, 'pht': 3726}}" where mtr_portfolio_id = 26080055 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080060 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 = 26080060 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 = 26080060 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080060 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 = 26080060 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 = 26080060 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080060_20-08-2025_15_06_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080060 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080060_20-08-2025_15_06_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080316, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080317, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080327, 'pht': 3726}}" where mtr_portfolio_id = 26080060 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080064 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 = 26080064 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 = 26080064 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080064 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 = 26080064 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 = 26080064 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080064_20-08-2025_15_06_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080064 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080064_20-08-2025_15_06_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26080292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080295, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080296, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080301, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080303, 'pht': 3726}}" where mtr_portfolio_id = 26080064 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080069 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 = 26080069 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 = 26080069 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080069 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 = 26080069 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 = 26080069 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080069_20-08-2025_15_05_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080069 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080069_20-08-2025_15_05_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080272, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080273, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080274, 'pht': 3726}}" where mtr_portfolio_id = 26080069 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080074 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 = 26080074 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 = 26080074 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080074 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 = 26080074 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 = 26080074 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080074_20-08-2025_15_04_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080074 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080074_20-08-2025_15_04_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080173, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080176, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080184, 'pht': 3726}}" where mtr_portfolio_id = 26080074 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26077616 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 = 26077616 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 = 26077616 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26077616 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 = 26077616 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 = 26077616 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077616_20-08-2025_14_11_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26077616 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077616_20-08-2025_14_11_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077655, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077660, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077665, 'pht': 3726}}" where mtr_portfolio_id = 26077616 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26077618 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 = 26077618 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 = 26077618 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26077618 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 = 26077618 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 = 26077618 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077618_20-08-2025_14_11_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26077618 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077618_20-08-2025_14_11_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077666, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077668, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077669, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077670, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077672, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077673, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077675, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077677, 'pht': 3726}}" where mtr_portfolio_id = 26077618 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26077621 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': 3556356, 'mtr_portfolio_id': 26077621, 'created_at': datetime.datetime(2025, 8, 20, 14, 16, 59), 'result': '0.06687066554665505', 'result_long': None, 'result_double': None}] Qualite : 0.06687066554665505 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26077621 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077621_20-08-2025_14_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26077621 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077621_20-08-2025_14_16_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077628, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077630, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077635, 'pht': 3726}}" where mtr_portfolio_id = 26077621 and dashboard_run_id = 2158619 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`=26077621 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141829, 0.06687066554665505, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077621_20-08-2025_14_16_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077628, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077630, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077635, '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 = 26077839 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': 3556534, 'mtr_portfolio_id': 26077839, 'created_at': datetime.datetime(2025, 8, 20, 14, 32, 57), 'result': '0.07742126445864296', 'result_long': None, 'result_double': None}] Qualite : 0.07742126445864296 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26077839 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077839_20-08-2025_14_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26077839 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077839_20-08-2025_14_32_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077921, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077928, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077930, 'pht': 3726}}" where mtr_portfolio_id = 26077839 and dashboard_run_id = 2158619 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`=26077839 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141830, 0.07742126445864296, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077839_20-08-2025_14_32_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077921, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077928, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077930, '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 = 26078554 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': 3556758, 'mtr_portfolio_id': 26078554, 'created_at': datetime.datetime(2025, 8, 20, 14, 48, 59), 'result': '0.029841024099936195', 'result_long': None, 'result_double': None}] Qualite : 0.029841024099936195 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26078554 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26078554_20-08-2025_14_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26078554 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26078554_20-08-2025_14_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26078580, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26078581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26078582, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26078583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26078584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26078585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26078586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26078587, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26078588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26078589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26078590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26078591, 'pht': 3726}}" where mtr_portfolio_id = 26078554 and dashboard_run_id = 2158619 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`=26078554 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141831, 0.029841024099936195, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26078554_20-08-2025_14_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26078580, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26078581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26078582, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26078583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26078584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26078585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26078586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26078587, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26078588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26078589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26078590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26078591, '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 = 26079264 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 = 26079264 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 = 26079264 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079264 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 = 26079264 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 = 26079264 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079264_20-08-2025_15_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079264 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079264_20-08-2025_15_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26079313, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26079314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26079315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26079316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26079317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26079318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26079319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26079320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26079321, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26079322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26079323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26079324, 'pht': 3726}}" where mtr_portfolio_id = 26079264 and dashboard_run_id = 2158619 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080200 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': 3557438, 'mtr_portfolio_id': 26080200, 'created_at': datetime.datetime(2025, 8, 20, 15, 19, 28), 'result': '0.06455565714476703', 'result_long': None, 'result_double': None}] Qualite : 0.06455565714476703 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26080200 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080200_20-08-2025_15_19_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080200 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080200_20-08-2025_15_19_28.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080209, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080212, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080214, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080216, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080219, 'pht': 3726}}" where mtr_portfolio_id = 26080200 and dashboard_run_id = 2158619 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`=26080200 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141833, 0.06455565714476703, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080200_20-08-2025_15_19_28.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080209, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080212, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080214, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080216, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080219, '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 = 26081287 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': 3557647, 'mtr_portfolio_id': 26081287, 'created_at': datetime.datetime(2025, 8, 20, 15, 33, 1), 'result': '0.051968471217162186', 'result_long': None, 'result_double': None}] Qualite : 0.051968471217162186 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26081287 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26081287_20-08-2025_15_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26081287 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26081287_20-08-2025_15_33_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081313, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081319, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081321, 'pht': 3726}}" where mtr_portfolio_id = 26081287 and dashboard_run_id = 2158619 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`=26081287 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141834, 0.051968471217162186, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26081287_20-08-2025_15_33_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081313, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081319, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081321, '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 = 26082309 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': 3557855, 'mtr_portfolio_id': 26082309, 'created_at': datetime.datetime(2025, 8, 20, 15, 46, 58), 'result': '0.06158518885642113', 'result_long': None, 'result_double': None}] Qualite : 0.06158518885642113 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26082309 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26082309_20-08-2025_15_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26082309 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26082309_20-08-2025_15_46_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26082371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26082372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26082373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26082374, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26082375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26082376, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26082377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26082379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26082380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26082381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26082382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26082383, 'pht': 3726}}" where mtr_portfolio_id = 26082309 and dashboard_run_id = 2158619 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`=26082309 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141835, 0.06158518885642113, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26082309_20-08-2025_15_46_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26082371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26082372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26082373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26082374, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26082375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26082376, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26082377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26082379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26082380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26082381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26082382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26082383, '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 = 26083119 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': 3558114, 'mtr_portfolio_id': 26083119, 'created_at': datetime.datetime(2025, 8, 20, 16, 3), 'result': '0.059145369794072165', 'result_long': None, 'result_double': None}] Qualite : 0.059145369794072165 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26083119 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26083119_20-08-2025_16_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26083119 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26083119_20-08-2025_16_03_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26083167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26083168, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26083169, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26083170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26083171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26083172, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26083173, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26083174, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26083175, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26083176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26083177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26083178, 'pht': 3726}}" where mtr_portfolio_id = 26083119 and dashboard_run_id = 2158619 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`=26083119 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141836, 0.059145369794072165, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26083119_20-08-2025_16_03_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26083167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26083168, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26083169, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26083170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26083171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26083172, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26083173, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26083174, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26083175, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26083176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26083177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26083178, '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 = 26083848 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': 3558368, 'mtr_portfolio_id': 26083848, 'created_at': datetime.datetime(2025, 8, 20, 16, 16, 57), 'result': '0.041316353768693616', 'result_long': None, 'result_double': None}] Qualite : 0.041316353768693616 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26083848 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26083848_20-08-2025_16_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26083848 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26083848_20-08-2025_16_16_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26083868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26083869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26083870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26083871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26083872, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26083873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26083874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26083875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26083876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26083877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26083878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26083879, 'pht': 3726}}" where mtr_portfolio_id = 26083848 and dashboard_run_id = 2158619 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`=26083848 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141837, 0.041316353768693616, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26083848_20-08-2025_16_16_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26083868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26083869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26083870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26083871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26083872, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26083873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26083874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26083875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26083876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26083877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26083878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26083879, '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 = 26084660 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': 3558586, 'mtr_portfolio_id': 26084660, 'created_at': datetime.datetime(2025, 8, 20, 16, 32, 57), 'result': '0.024238481814409848', 'result_long': None, 'result_double': None}] Qualite : 0.024238481814409848 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26084660 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26084660_20-08-2025_16_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26084660 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26084660_20-08-2025_16_32_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26084717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26084718, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26084719, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26084720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26084721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26084722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26084723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26084724, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26084725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26084726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26084727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26084728, 'pht': 3726}}" where mtr_portfolio_id = 26084660 and dashboard_run_id = 2158619 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`=26084660 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141838, 0.024238481814409848, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26084660_20-08-2025_16_32_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26084717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26084718, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26084719, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26084720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26084721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26084722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26084723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26084724, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26084725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26084726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26084727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26084728, '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 = 26085320 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': 3558844, 'mtr_portfolio_id': 26085320, 'created_at': datetime.datetime(2025, 8, 20, 16, 47), 'result': '0.03644267759149329', 'result_long': None, 'result_double': None}] Qualite : 0.03644267759149329 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26085320 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26085320_20-08-2025_16_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26085320 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26085320_20-08-2025_16_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26085403, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26085404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26085405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26085406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26085407, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26085408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26085409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26085410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26085411, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26085412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26085413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26085414, 'pht': 3726}}" where mtr_portfolio_id = 26085320 and dashboard_run_id = 2158619 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`=26085320 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141839, 0.03644267759149329, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26085320_20-08-2025_16_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26085403, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26085404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26085405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26085406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26085407, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26085408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26085409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26085410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26085411, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26085412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26085413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26085414, '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 = 26086021 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': 3559069, 'mtr_portfolio_id': 26086021, 'created_at': datetime.datetime(2025, 8, 20, 17, 5, 31), 'result': '0.049666243199523036', 'result_long': None, 'result_double': None}] Qualite : 0.049666243199523036 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26086021 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26086021_20-08-2025_17_05_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26086021 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26086021_20-08-2025_17_05_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26086038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26086039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26086040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26086041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26086042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26086043, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26086044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26086045, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26086046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26086047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26086048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26086049, 'pht': 3726}}" where mtr_portfolio_id = 26086021 and dashboard_run_id = 2158619 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`=26086021 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141840, 0.049666243199523036, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26086021_20-08-2025_17_05_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26086038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26086039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26086040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26086041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26086042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26086043, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26086044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26086045, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26086046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26086047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26086048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26086049, '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 = 26086740 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': 3559321, 'mtr_portfolio_id': 26086740, 'created_at': datetime.datetime(2025, 8, 20, 17, 18, 57), 'result': '0.05863700611330754', 'result_long': None, 'result_double': None}] Qualite : 0.05863700611330754 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26086740 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26086740_20-08-2025_17_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26086740 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26086740_20-08-2025_17_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26086776, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26086777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26086778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26086779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26086780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26086781, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26086782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26086783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26086784, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26086785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26086786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26086787, 'pht': 3726}}" where mtr_portfolio_id = 26086740 and dashboard_run_id = 2158619 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`=26086740 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141841, 0.05863700611330754, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26086740_20-08-2025_17_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26086776, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26086777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26086778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26086779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26086780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26086781, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26086782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26086783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26086784, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26086785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26086786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26086787, '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 = 26087662 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': 3559577, 'mtr_portfolio_id': 26087662, 'created_at': datetime.datetime(2025, 8, 20, 18, 2, 59), 'result': '0.05873627911263012', 'result_long': None, 'result_double': None}] Qualite : 0.05873627911263012 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26087662 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26087662_20-08-2025_18_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26087662 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26087662_20-08-2025_18_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26087698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26087699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26087700, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26087701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26087702, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26087703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26087704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26087705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26087706, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26087707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26087708, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26087709, 'pht': 3726}}" where mtr_portfolio_id = 26087662 and dashboard_run_id = 2158619 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`=26087662 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141842, 0.05873627911263012, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26087662_20-08-2025_18_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26087698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26087699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26087700, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26087701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26087702, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26087703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26087704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26087705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26087706, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26087707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26087708, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26087709, '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 = 26089702 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': 3560120, 'mtr_portfolio_id': 26089702, 'created_at': datetime.datetime(2025, 8, 20, 18, 17), 'result': '0.0426584679779677', 'result_long': None, 'result_double': None}] Qualite : 0.0426584679779677 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26089702 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26089702_20-08-2025_18_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26089702 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26089702_20-08-2025_18_17_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26089726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26089727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26089728, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26089729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26089730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26089731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26089732, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26089733, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26089734, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26089735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26089736, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26089737, 'pht': 3726}}" where mtr_portfolio_id = 26089702 and dashboard_run_id = 2158619 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`=26089702 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141843, 0.0426584679779677, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26089702_20-08-2025_18_17_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26089726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26089727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26089728, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26089729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26089730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26089731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26089732, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26089733, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26089734, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26089735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26089736, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26089737, '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 = 26090164 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': 3560192, 'mtr_portfolio_id': 26090164, 'created_at': datetime.datetime(2025, 8, 20, 18, 36, 58), 'result': '0.04585513206935572', 'result_long': None, 'result_double': None}] Qualite : 0.04585513206935572 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26090164 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26090164_20-08-2025_18_36_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26090164 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26090164_20-08-2025_18_36_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26090179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26090180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26090181, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26090182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26090183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26090184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26090185, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26090186, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26090187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26090188, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26090189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26090190, 'pht': 3726}}" where mtr_portfolio_id = 26090164 and dashboard_run_id = 2158619 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`=26090164 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141844, 0.04585513206935572, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26090164_20-08-2025_18_36_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26090179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26090180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26090181, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26090182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26090183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26090184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26090185, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26090186, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26090187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26090188, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26090189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26090190, '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 = 26090770 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': 3560315, 'mtr_portfolio_id': 26090770, 'created_at': datetime.datetime(2025, 8, 20, 18, 47, 28), 'result': '0.030377639116658105', 'result_long': None, 'result_double': None}] Qualite : 0.030377639116658105 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26090770 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26090770_20-08-2025_18_47_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26090770 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26090770_20-08-2025_18_47_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26090826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26090827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26090829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26090830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26090831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26090833, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26090834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26090835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26090837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26090838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26090839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26090841, 'pht': 3726}}" where mtr_portfolio_id = 26090770 and dashboard_run_id = 2158619 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`=26090770 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141845, 0.030377639116658105, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26090770_20-08-2025_18_47_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26090826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26090827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26090829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26090830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26090831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26090833, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26090834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26090835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26090837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26090838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26090839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26090841, '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 = 26091438 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': 3560420, 'mtr_portfolio_id': 26091438, 'created_at': datetime.datetime(2025, 8, 20, 19, 2, 59), 'result': '0.047176264541364664', 'result_long': None, 'result_double': None}] Qualite : 0.047176264541364664 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26091438 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26091438_20-08-2025_19_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26091438 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26091438_20-08-2025_19_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26091491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26091492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26091493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26091494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26091495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26091496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26091497, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26091498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26091499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26091500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26091501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26091502, 'pht': 3726}}" where mtr_portfolio_id = 26091438 and dashboard_run_id = 2158619 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`=26091438 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141846, 0.047176264541364664, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26091438_20-08-2025_19_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26091491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26091492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26091493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26091494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26091495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26091496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26091497, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26091498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26091499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26091500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26091501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26091502, '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 = 26092124 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': 3560608, 'mtr_portfolio_id': 26092124, 'created_at': datetime.datetime(2025, 8, 20, 19, 17), 'result': '0.028734523954999012', 'result_long': None, 'result_double': None}] Qualite : 0.028734523954999012 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26092124 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26092124_20-08-2025_19_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26092124 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26092124_20-08-2025_19_17_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26092141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26092142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26092143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26092144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26092145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26092146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26092147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26092148, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26092149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26092150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26092151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26092152, 'pht': 3726}}" where mtr_portfolio_id = 26092124 and dashboard_run_id = 2158619 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`=26092124 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141847, 0.028734523954999012, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26092124_20-08-2025_19_17_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26092141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26092142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26092143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26092144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26092145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26092146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26092147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26092148, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26092149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26092150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26092151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26092152, '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 = 26092818 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': 3560814, 'mtr_portfolio_id': 26092818, 'created_at': datetime.datetime(2025, 8, 20, 19, 32, 57), 'result': '0.05498159571759199', 'result_long': None, 'result_double': None}] Qualite : 0.05498159571759199 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26092818 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26092818_20-08-2025_19_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26092818 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26092818_20-08-2025_19_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26092839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26092840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26092841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26092842, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26092843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26092844, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26092845, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26092846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26092847, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26092848, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26092849, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26092850, 'pht': 3726}}" where mtr_portfolio_id = 26092818 and dashboard_run_id = 2158619 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`=26092818 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141848, 0.05498159571759199, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26092818_20-08-2025_19_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26092839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26092840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26092841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26092842, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26092843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26092844, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26092845, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26092846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26092847, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26092848, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26092849, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26092850, '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 = 26093570 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': 3561050, 'mtr_portfolio_id': 26093570, 'created_at': datetime.datetime(2025, 8, 20, 19, 49, 1), 'result': '0.03655285956460832', 'result_long': None, 'result_double': None}] Qualite : 0.03655285956460832 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26093570 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26093570_20-08-2025_19_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26093570 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26093570_20-08-2025_19_49_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26093598, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26093599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26093600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26093601, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26093602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26093603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26093604, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26093605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26093606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26093607, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26093608, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26093609, 'pht': 3726}}" where mtr_portfolio_id = 26093570 and dashboard_run_id = 2158619 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`=26093570 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141849, 0.03655285956460832, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26093570_20-08-2025_19_49_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26093598, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26093599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26093600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26093601, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26093602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26093603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26093604, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26093605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26093606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26093607, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26093608, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26093609, '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 = 26094392 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': 3561318, 'mtr_portfolio_id': 26094392, 'created_at': datetime.datetime(2025, 8, 20, 20, 2, 58), 'result': '0.06537575217721758', 'result_long': None, 'result_double': None}] Qualite : 0.06537575217721758 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26094392 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26094392_20-08-2025_20_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26094392 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26094392_20-08-2025_20_02_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26094421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26094422, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26094423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26094424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26094425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26094426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26094427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26094428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26094429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26094430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26094431, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26094432, 'pht': 3726}}" where mtr_portfolio_id = 26094392 and dashboard_run_id = 2158619 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`=26094392 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141850, 0.06537575217721758, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26094392_20-08-2025_20_02_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26094421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26094422, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26094423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26094424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26094425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26094426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26094427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26094428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26094429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26094430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26094431, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26094432, '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 = 26095032 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': 3561545, 'mtr_portfolio_id': 26095032, 'created_at': datetime.datetime(2025, 8, 20, 20, 16, 58), 'result': '0.054605112499050895', 'result_long': None, 'result_double': None}] Qualite : 0.054605112499050895 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26095032 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26095032_20-08-2025_20_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26095032 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26095032_20-08-2025_20_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26095089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26095090, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26095091, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26095092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26095093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26095094, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26095096, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26095097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26095098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26095099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26095100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26095101, 'pht': 3726}}" where mtr_portfolio_id = 26095032 and dashboard_run_id = 2158619 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`=26095032 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141851, 0.054605112499050895, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26095032_20-08-2025_20_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26095089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26095090, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26095091, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26095092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26095093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26095094, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26095096, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26095097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26095098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26095099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26095100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26095101, '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 = 26095856 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': 3561764, 'mtr_portfolio_id': 26095856, 'created_at': datetime.datetime(2025, 8, 20, 20, 33, 28), 'result': '0.018526472061941975', 'result_long': None, 'result_double': None}] Qualite : 0.018526472061941975 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26095856 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26095856_20-08-2025_20_33_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26095856 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26095856_20-08-2025_20_33_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26095865, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26095866, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26095867, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26095868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26095869, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26095870, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26095871, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26095872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26095873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26095874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26095875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26095876, 'pht': 3726}}" where mtr_portfolio_id = 26095856 and dashboard_run_id = 2158619 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`=26095856 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141852, 0.018526472061941975, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26095856_20-08-2025_20_33_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26095865, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26095866, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26095867, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26095868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26095869, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26095870, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26095871, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26095872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26095873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26095874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26095875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26095876, '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 = 26096514 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': 3562008, 'mtr_portfolio_id': 26096514, 'created_at': datetime.datetime(2025, 8, 20, 21, 2, 30), 'result': '0.05810348320325559', 'result_long': None, 'result_double': None}] Qualite : 0.05810348320325559 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26096514 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26096514_20-08-2025_21_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26096514 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26096514_20-08-2025_21_02_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26096524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26096525, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26096526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26096527, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26096528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26096529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26096530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26096531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26096532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26096533, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26096534, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26096535, 'pht': 3726}}" where mtr_portfolio_id = 26096514 and dashboard_run_id = 2158619 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`=26096514 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141853, 0.05810348320325559, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26096514_20-08-2025_21_02_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26096524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26096525, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26096526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26096527, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26096528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26096529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26096530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26096531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26096532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26096533, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26096534, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26096535, '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 = 26097955 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': 3562501, 'mtr_portfolio_id': 26097955, 'created_at': datetime.datetime(2025, 8, 20, 21, 18, 58), 'result': '0.040132577204167116', 'result_long': None, 'result_double': None}] Qualite : 0.040132577204167116 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26097955 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26097955_20-08-2025_21_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26097955 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26097955_20-08-2025_21_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26097959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26097960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26097961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26097962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26097963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26097964, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26097965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26097966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26097967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26097968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26097969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26097970, 'pht': 3726}}" where mtr_portfolio_id = 26097955 and dashboard_run_id = 2158619 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`=26097955 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141854, 0.040132577204167116, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26097955_20-08-2025_21_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26097959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26097960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26097961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26097962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26097963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26097964, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26097965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26097966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26097967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26097968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26097969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26097970, '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 = 26098484 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': 3562582, 'mtr_portfolio_id': 26098484, 'created_at': datetime.datetime(2025, 8, 20, 21, 32, 56), 'result': '0.06942410730483467', 'result_long': None, 'result_double': None}] Qualite : 0.06942410730483467 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26098484 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26098484_20-08-2025_21_32_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26098484 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26098484_20-08-2025_21_32_56.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26098515, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26098516, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26098517, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26098518, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26098519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26098520, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26098522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26098523, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26098524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26098525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26098526, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26098527, 'pht': 3726}}" where mtr_portfolio_id = 26098484 and dashboard_run_id = 2158619 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`=26098484 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141855, 0.06942410730483467, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26098484_20-08-2025_21_32_56.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26098515, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26098516, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26098517, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26098518, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26098519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26098520, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26098522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26098523, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26098524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26098525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26098526, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26098527, '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 = 26098909 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': 3562681, 'mtr_portfolio_id': 26098909, 'created_at': datetime.datetime(2025, 8, 20, 21, 49), 'result': '0.05750418630692907', 'result_long': None, 'result_double': None}] Qualite : 0.05750418630692907 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26098909 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26098909_20-08-2025_21_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26098909 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26098909_20-08-2025_21_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26098921, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26098922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26098923, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26098924, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26098925, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26098926, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26098927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26098928, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26098929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26098930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26098931, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26098932, 'pht': 3726}}" where mtr_portfolio_id = 26098909 and dashboard_run_id = 2158619 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`=26098909 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141856, 0.05750418630692907, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26098909_20-08-2025_21_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26098921, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26098922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26098923, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26098924, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26098925, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26098926, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26098927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26098928, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26098929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26098930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26098931, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26098932, '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 = 26099455 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': 3562843, 'mtr_portfolio_id': 26099455, 'created_at': datetime.datetime(2025, 8, 20, 22, 4, 59), 'result': '0.06500390063690485', 'result_long': None, 'result_double': None}] Qualite : 0.06500390063690485 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26099455 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26099455_20-08-2025_22_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26099455 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26099455_20-08-2025_22_04_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26099523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26099524, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26099525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26099526, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26099527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26099528, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26099529, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26099530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26099531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26099532, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26099533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26099534, 'pht': 3726}}" where mtr_portfolio_id = 26099455 and dashboard_run_id = 2158619 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`=26099455 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141857, 0.06500390063690485, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26099455_20-08-2025_22_04_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26099523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26099524, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26099525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26099526, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26099527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26099528, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26099529, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26099530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26099531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26099532, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26099533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26099534, '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 = 26099918 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': 3563020, 'mtr_portfolio_id': 26099918, 'created_at': datetime.datetime(2025, 8, 20, 22, 16, 56), 'result': '0.04938496745545616', 'result_long': None, 'result_double': None}] Qualite : 0.04938496745545616 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26099918 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26099918_20-08-2025_22_16_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26099918 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26099918_20-08-2025_22_16_56.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26099939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26099940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26099941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26099942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26099943, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26099944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26099945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26099946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26099947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26099948, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26099949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26099950, 'pht': 3726}}" where mtr_portfolio_id = 26099918 and dashboard_run_id = 2158619 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`=26099918 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141858, 0.04938496745545616, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26099918_20-08-2025_22_16_56.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26099939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26099940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26099941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26099942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26099943, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26099944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26099945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26099946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26099947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26099948, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26099949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26099950, '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 = 26100480 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': 3563263, 'mtr_portfolio_id': 26100480, 'created_at': datetime.datetime(2025, 8, 20, 22, 32, 57), 'result': '0.08590610090521865', 'result_long': None, 'result_double': None}] Qualite : 0.08590610090521865 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26100480 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26100480_20-08-2025_22_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26100480 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26100480_20-08-2025_22_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26100495, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26100496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26100497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26100498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26100499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26100500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26100501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26100502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26100503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26100504, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26100505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26100506, 'pht': 3726}}" where mtr_portfolio_id = 26100480 and dashboard_run_id = 2158619 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`=26100480 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141859, 0.08590610090521865, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26100480_20-08-2025_22_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26100495, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26100496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26100497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26100498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26100499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26100500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26100501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26100502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26100503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26100504, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26100505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26100506, '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 = 26101054 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': 3563540, 'mtr_portfolio_id': 26101054, 'created_at': datetime.datetime(2025, 8, 20, 22, 48, 57), 'result': '0.10188647606510588', 'result_long': None, 'result_double': None}] Qualite : 0.10188647606510588 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26101054 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26101054_20-08-2025_22_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26101054 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26101054_20-08-2025_22_48_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26101076, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26101077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26101078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26101080, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26101081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26101082, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26101083, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26101084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26101085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26101086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26101087, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26101088, 'pht': 3726}}" where mtr_portfolio_id = 26101054 and dashboard_run_id = 2158619 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`=26101054 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141860, 0.10188647606510588, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26101054_20-08-2025_22_48_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26101076, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26101077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26101078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26101080, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26101081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26101082, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26101083, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26101084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26101085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26101086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26101087, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26101088, '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 = 26101599 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': 3563792, 'mtr_portfolio_id': 26101599, 'created_at': datetime.datetime(2025, 8, 20, 23, 2, 59), 'result': '0.07450595292500227', 'result_long': None, 'result_double': None}] Qualite : 0.07450595292500227 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26101599 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26101599_20-08-2025_23_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26101599 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26101599_20-08-2025_23_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26101635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26101636, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26101637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26101638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26101639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26101640, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26101641, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26101642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26101643, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26101644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26101645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26101646, 'pht': 3726}}" where mtr_portfolio_id = 26101599 and dashboard_run_id = 2158619 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`=26101599 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141861, 0.07450595292500227, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26101599_20-08-2025_23_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26101635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26101636, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26101637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26101638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26101639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26101640, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26101641, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26101642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26101643, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26101644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26101645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26101646, '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 = 26102098 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': 3563999, 'mtr_portfolio_id': 26102098, 'created_at': datetime.datetime(2025, 8, 20, 23, 18, 58), 'result': '0.07129057382508908', 'result_long': None, 'result_double': None}] Qualite : 0.07129057382508908 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26102098 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26102098_20-08-2025_23_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26102098 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26102098_20-08-2025_23_18_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26102126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26102127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26102128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26102129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26102130, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26102131, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26102132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26102133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26102134, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26102135, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26102136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26102137, 'pht': 3726}}" where mtr_portfolio_id = 26102098 and dashboard_run_id = 2158619 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`=26102098 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141862, 0.07129057382508908, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26102098_20-08-2025_23_18_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26102126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26102127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26102128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26102129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26102130, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26102131, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26102132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26102133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26102134, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26102135, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26102136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26102137, '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 = 26102632 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': 3564290, 'mtr_portfolio_id': 26102632, 'created_at': datetime.datetime(2025, 8, 20, 23, 32, 58), 'result': '0.0312820773215613', 'result_long': None, 'result_double': None}] Qualite : 0.0312820773215613 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26102632 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26102632_20-08-2025_23_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26102632 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26102632_20-08-2025_23_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26102654, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26102655, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26102656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26102657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26102658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26102659, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26102660, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26102661, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26102662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26102663, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26102664, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26102665, 'pht': 3726}}" where mtr_portfolio_id = 26102632 and dashboard_run_id = 2158619 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`=26102632 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141863, 0.0312820773215613, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26102632_20-08-2025_23_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26102654, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26102655, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26102656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26102657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26102658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26102659, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26102660, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26102661, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26102662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26102663, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26102664, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26102665, '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 = 26103090 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': 3564523, 'mtr_portfolio_id': 26103090, 'created_at': datetime.datetime(2025, 8, 20, 23, 48, 57), 'result': '0.03628427097769509', 'result_long': None, 'result_double': None}] Qualite : 0.03628427097769509 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26103090 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26103090_20-08-2025_23_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26103090 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26103090_20-08-2025_23_48_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26103111, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26103112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26103113, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26103114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26103115, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26103116, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26103117, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26103118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26103119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26103120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26103121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26103122, 'pht': 3726}}" where mtr_portfolio_id = 26103090 and dashboard_run_id = 2158619 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`=26103090 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141864, 0.03628427097769509, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26103090_20-08-2025_23_48_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26103111, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26103112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26103113, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26103114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26103115, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26103116, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26103117, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26103118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26103119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26103120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26103121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26103122, '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 = 26103628 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': 3564837, 'mtr_portfolio_id': 26103628, 'created_at': datetime.datetime(2025, 8, 21, 1, 27, 59), 'result': '0.055551543476841894', 'result_long': None, 'result_double': None}] Qualite : 0.055551543476841894 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26103628 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26103628_21-08-2025_01_28_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26103628 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26103628_21-08-2025_01_28_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26103663, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26103664, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26103665, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26103666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26103667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26103668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26103669, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26103670, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26103671, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26103672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26103673, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26103675, 'pht': 3726}}" where mtr_portfolio_id = 26103628 and dashboard_run_id = 2158619 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`=26103628 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14141865, 0.055551543476841894, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26103628_21-08-2025_01_28_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26103663, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26103664, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26103665, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26103666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26103667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26103668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26103669, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26103670, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26103671, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26103672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26103673, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26103675, '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 (26079943,26079947,26079950,26079954,26079958,26079961,26079964,26079967,26079969,26079970,26079972,26079974,26079976,26079979,26079981,26079983,26079985,26079987,26079989,26079991,26079993,26079995,26079997,26080016,26080019,26080040,26080042,26080044,26080046,26080048,26080050,26080055,26080060,26080064,26080069,26080074,26077616,26077618,26077621,26077839,26078554,26079264,26080200,26081287,26082309,26083119,26083848,26084660,26085320,26086021,26086740,26087662,26089702,26090164,26090770,26091438,26092124,26092818,26093570,26094392,26095032,26095856,26096514,26097955,26098484,26098909,26099455,26099918,26100480,26101054,26101599,26102098,26102632,26103090,26103628) result : ((1378034422,), (1378034892,), (1378035148,), (1378035229,), (1378035309,), (1378035327,), (1378035330,), (1378035333,), (1378035335,), (1378035352,), (1378035380,), (1378035383,), (1378035385,), (1378035459,), (1378035464,), (1378035467,), (1378035754,), (1378035675,), (1378035704,), (1378035730,), (1378035855,), (1378035860,), (1378035864,), (1378035883,), (1378035888,), (1378035890,), (1378035956,), (1378035966,), (1378035997,), (1378036001,), (1378036005,), (1378036012,), (1378036039,), (1378036040,), (1378036084,), (1378036112,), (1378036115,), (1378036117,), (1378036145,), (1378036149,), (1378036177,), (1378036181,), (1378036184,), (1378036295,), (1378036298,), (1378036299,), (1378036301,), (1378036304,), (1378036784,), (1378036769,), (1378036772,), (1378036871,), (1378036875,), (1378036877,), (1378036879,), (1378036880,), (1378036903,), (1378036905,), (1378036920,), (1378036925,), (1378036927,), (1378036949,), (1378036952,), (1378036953,), (1378036954,), (1378036957,), (1378036960,), (1378036972,), (1378036977,), (1378036980,), (1378036983,), (1378036988,), (1378037003,), (1378037005,), (1378037007,), (1378037011,), (1378037091,), (1378037156,), (1378037158,), (1378037161,), (1378037163,), (1378037168,), (1378037177,), (1378037180,), (1378037186,), (1378037189,), (1378037198,), (1378037206,), (1378037252,), (1378037256,), (1378037258,), (1378037268,), (1378037339,), (1378037343,), (1378037346,), (1378037349,), (1378037352,), (1378037357,), (1378037388,), (1378037391,), (1378037392,), (1378037449,), (1378037453,), (1378037475,), (1378037478,), (1378037497,), (1378037500,), (1378037589,), (1378037620,), (1378037643,), (1378037665,), (1378037667,), (1378037669,), (1378037672,), (1378037675,), (1378037679,), (1378037741,), (1378037715,), (1378037718,), (1378037720,), (1378037890,), (1378037916,), (1378037927,), (1378037931,), (1378037935,), (1378037943,), (1378038084,), (1378038118,), (1378038144,), (1378038170,), (1378038300,), (1378038304,), (1378038305,), (1378038323,), (1378038328,), (1378038331,), (1378038484,), (1378038522,), (1378038531,), (1378038551,), (1378038619,), (1378038620,), (1378038633,), (1378038659,), (1378038685,), (1378038781,), (1378038795,), (1378038819,), (1378038838,), (1378038850,), (1378038869,), (1378038881,), (1378038888,), (1378038895,), (1378038979,), (1378038991,), (1378038993,), (1378038995,), (1378039005,), (1378039017,), (1378039082,), (1378039086,), (1378039100,), (1378039103,), (1378039227,), (1378039232,), (1378039234,), (1378039236,), (1378039238,), (1378039240,), (1378039253,), (1378039255,), (1378039256,), (1378039258,), (1378039362,), (1378039379,), (1378039392,), (1378039395,), (1378039432,), (1378039435,), (1378039436,), (1378039437,), (1378039439,), (1378039441,), (1378039463,), (1378039468,), (1378039472,), (1378039476,), (1378039480,), (1378039532,), (1378039513,), (1378039515,), (1378039517,), (1378039519,), (1378039522,), (1378039688,), (1378039694,), (1378039697,), (1378039699,), (1378039769,), (1378039772,), (1378039774,), (1378039776,), (1378039779,), (1378039784,), (1378039908,), (1378039914,), (1378039918,), (1378039921,), (1378039924,), (1378039941,), (1378039943,), (1378039945,), (1378039946,), (1378039948,), (1378039985,), (1378040016,), (1378040041,), (1378040053,), (1378040064,), (1378040070,), (1378040161,), (1378040169,), (1378040177,), (1378040196,), (1378040213,), (1378040280,), (1378040286,), (1378040291,), (1378040298,), (1378040301,), (1378040303,), (1378040340,), (1378040344,), (1378040345,), (1378040346,), (1378040348,), (1378040352,), (1378040372,), (1378040376,), (1378040380,), (1378040404,), (1378040406,), (1378040407,), (1378040408,), (1378040411,), (1378040415,), (1378040441,), (1378040450,), (1378040453,), (1378040468,), (1378040535,), (1378040538,), (1378040539,), (1378040541,), (1378040544,), (1378040546,), (1378040570,), (1378040574,), (1378040576,), (1378040580,), (1378040584,), (1378040642,), (1378040645,), (1378040648,), (1378040651,), (1378040866,), (1378040822,), (1378040830,), (1378040832,), (1378040840,), (1378041021,), (1378041028,), (1378041037,), (1378041064,), (1378041351,), (1378041377,), (1378041567,), (1378041571,), (1378041572,), (1378041573,), (1378041576,), (1378041580,), (1378041948,), (1378042001,), (1378042047,), (1378042085,), (1378042092,), (1378042200,), (1378042220,), (1378042246,), (1378042473,), (1378042520,), (1378042552,), (1378042557,), (1378042585,), (1378042611,), (1378042856,), (1378042878,), (1378042882,), (1378042897,), (1378042997,), (1378043001,), (1378043003,), (1378043025,), (1378043050,), (1378043075,), (1378043280,), (1378043322,), (1378043368,), (1378043398,), (1378043428,), (1378043453,), (1378043537,), (1378043565,), (1378043594,), (1378043622,), (1378043653,), (1378043977,), (1378044003,), (1378044026,), (1378044050,), (1378044084,), (1378044111,), (1378044873,), (1378044881,), (1378044912,), (1378044916,), (1378044920,), (1378044969,), (1378044970,), (1378044989,), (1378044990,), (1378044991,), (1378044992,), (1378044994,), (1378044995,), (1378045227,), (1377957814,), (1377957819,), (1377957914,), (1377957939,), (1377957940,), (1377957941,), (1377957942,), (1377957945,), (1377957948,), (1377957958,), (1377957960,), (1377957962,), (1377957978,), (1377957981,), (1377957984,), (1377957988,), (1377958088,), (1377958091,), (1377958095,), (1377958105,), (1377958109,), (1377958112,), (1377958130,), (1377958133,), (1377958136,), (1377958139,), (1377958142,), (1377958145,), (1377958176,), (1377958177,), (1377958198,), (1377958201,), (1377958204,), (1377958207,), (1377958210,), (1377958254,), (1377958256,), (1377958257,), (1377958336,), (1377958338,), (1377958340,), (1377958343,), (1377958346,), (1377958356,), (1377958388,), (1377958407,), (1377958410,), (1377958414,), (1377958421,), (1377958422,), (1377958383,), (1377958384,), (1377958490,), (1377958515,), (1377958519,), (1377958542,), (1377958549,), (1377958551,), (1377958554,), (1377958575,), (1377958576,), (1377958577,), (1377958579,), (1377958597,), (1377958599,), (1377958601,), (1377958605,), (1377958672,), (1377958674,), (1377958677,), (1377958681,), (1377958684,), (1377958767,), (1377958771,), (1377958775,), (1377958778,), (1377958782,), (1377958961,), (1377958986,), (1377959010,), (1377959037,), (1377959269,), (1377959271,), (1377959290,), (1377959302,), (1377959303,), (1377959348,), (1377959350,), (1377959352,), (1377959355,), (1377959358,), (1377959359,), (1377959364,), (1377959368,), (1377959372,), (1377959460,), (1377959485,), (1377959513,), (1377959536,), (1377959747,), (1377959757,), (1377959761,), (1377959767,), (1377959820,), (1377959824,), (1377959829,), (1377959833,), (1377959881,), (1377959883,), (1377959884,), (1377959887,), (1377959891,), (1377959894,), (1377959915,), (1377959918,), (1377959920,), (1377960088,), (1377960082,), (1377960085,), (1377960145,), (1377960148,), (1377960150,), (1377960178,), (1377960180,), (1377960190,), (1377960246,), (1377960249,), (1377960266,), (1377960268,), (1377960270,), (1377960391,), (1377960403,), (1377960408,), (1377960415,), (1377960417,), (1377960419,), (1377960436,), (1377960438,), (1377960439,), (1377960440,), (1377960442,), (1377960444,), (1377960454,), (1377960456,), (1377960458,), (1377960462,), (1377960470,), (1377960472,), (1377960489,), (1377960498,), (1377960500,), (1377960503,), (1377960560,), (1377960564,), (1377960568,), (1377960590,), (1377960597,), (1377960599,), (1377960604,), (1377960606,), (1377960609,), (1377960612,), (1377960615,), (1377960616,), (1377960618,), (1377960620,), (1377960623,), (1377960627,), (1377960629,), (1377960649,), (1377960652,), (1377960655,), (1377960657,), (1377960677,), (1377960681,), (1377960683,), (1377960685,), (1377960687,), (1377960706,), (1377960707,), (1377960708,), (1377960710,), (1377960713,), (1377960716,), (1377960733,), (1377960735,), (1377960737,), (1377960739,), (1377960757,), (1377960762,), (1377960766,), (1377960769,), (1377960796,), (1377960784,), (1377960786,), (1377960788,), (1377960791,), (1377960793,), (1377960825,), (1377960828,), (1377960832,), (1377960853,), (1377960867,), (1377960870,), (1377960886,), (1377960889,), (1377960911,), (1377960912,), (1377960913,), (1377960915,), (1377960928,), (1377960931,), (1377960934,), (1377960937,), (1377960940,), (1377960943,), (1377960955,), (1377960958,), (1377960960,), (1377960961,), (1377960964,), (1377960979,), (1377960987,), (1377960990,), (1377960992,), (1377960995,), (1377961010,), (1377961012,), (1377961015,), (1377961017,), (1377961035,), (1377961037,), (1377961077,), (1377961081,), (1377964177,), (1377964172,), (1377964175,), (1377964316,), (1377964318,), (1377964320,), (1377964323,), (1377964336,), (1377964338,), (1377964340,), (1377964342,), (1377964356,), (1377964359,), (1377964362,), (1377964365,), (1377964383,), (1377964386,), (1377964389,), (1377964394,), (1377964414,), (1377964417,), (1377964420,), (1377964423,), (1377964444,), (1377964446,), (1377964484,), (1377964487,), (1377964490,), (1377964493,), (1377964497,), (1377964511,), (1377964513,), (1377964515,), (1377964517,), (1377964532,), (1377964535,), (1377964538,), (1377964541,), (1377964569,), (1377964570,), (1377964589,), (1377964593,), (1377964596,), (1377964600,), (1377964623,), (1377964614,), (1377964617,), (1377964620,), (1377964644,), (1377964646,), (1377964647,), (1377964648,), (1377964650,), (1377964652,), (1377964668,), (1377964670,), (1377964672,), (1377964690,), (1377964692,), (1377964693,), (1377964694,), (1377964695,), (1377964697,), (1377964709,), (1377964712,), (1377964714,), (1377964717,), (1377964736,), (1377964739,), (1377964742,), (1377964745,), (1377964749,), (1377964753,), (1377964762,), (1377964765,), (1377964768,), (1377964771,), (1377964793,), (1377964795,), (1377964797,), (1377964800,), (1377964803,), (1377964819,), (1377964821,), (1377964843,), (1377964846,), (1377964850,), (1377964853,), (1377964867,), (1377964871,), (1377964873,), (1377964877,), (1377964895,), (1377964897,), (1377964899,), (1377964901,), (1377964919,), (1377964921,), (1377964953,), (1377964956,), (1377964959,), (1377964961,), (1377964963,), (1377964965,), (1377964981,), (1377964977,), (1377965002,), (1377965005,), (1377965008,), (1377965010,), (1377965025,), (1377965026,), (1377965027,), (1377965029,), (1377965032,), (1377965052,), (1377965054,), (1377965056,), (1377965057,), (1377965075,), (1377965079,), (1377965082,), (1377965094,), (1377965097,), (1377965099,), (1377965110,), (1377965112,), (1377965114,), (1377965116,), (1377965130,), (1377965132,), (1377965134,), (1377965137,), (1377965141,), (1377965145,), (1377965157,), (1377965159,), (1377965162,), (1377965166,), (1377965171,), (1377965182,), (1377965185,), (1377965188,), (1377965220,), (1377965223,), (1377965225,), (1377965227,), (1377965240,), (1377965242,), (1377965244,), (1377965246,), (1377965249,), (1377965263,), (1377965266,), (1377965269,), (1377965273,), (1377965286,), (1377965289,), (1377965292,), (1377965319,), (1377965320,), (1377965342,), (1377965339,), (1377965375,), (1377965376,), (1377965377,), (1377965379,), (1377965382,), (1377965398,), (1377965399,), (1377965400,), (1377965402,), (1377965406,), (1377965429,), (1377965433,), (1377965436,), (1377965449,), (1377965450,), (1377965451,), (1377965453,), (1377965467,), (1377965470,), (1377965472,), (1377965475,), (1377965478,), (1377965488,), (1377965490,), (1377965492,), (1377965495,), (1377965553,), (1377965555,), (1377965559,), (1377965580,), (1377965597,), (1377965599,), (1377965601,), (1377965604,), (1377965626,), (1377965629,), (1377965632,), (1377965635,), (1377965658,), (1377965660,), (1377965662,), (1377965726,), (1377965743,), (1377965747,), (1377965750,), (1377965768,), (1377965771,), (1377965792,), (1377965795,), (1377965797,), (1377965816,), (1377965818,), (1377965820,), (1377965822,), (1377965823,), (1377965825,), (1377965834,), (1377965835,), (1377965836,), (1377965861,), (1377965863,), (1377965864,), (1377965865,), (1377965879,), (1377965882,), (1377965903,), (1377965906,), (1377965907,), (1377965909,), (1377965930,), (1377965932,), (1377965934,), (1377965936,), (1377965965,), (1377965966,), (1377965967,), (1377965969,), (1377965972,), (1377965989,), (1377965992,), (1377965995,), (1377965998,), (1377966019,), (1377966021,), (1377966023,), (1377966025,), (1377966029,), (1377966032,), (1377966053,), (1377966056,), (1377966059,), (1377966060,), (1377966063,), (1377966092,), (1377966096,), (1377966098,), (1377966105,), (1377966107,), (1377966110,), (1377966082,), (1377966084,), (1377966088,), (1377966119,), (1377966122,), (1377966125,), (1377966129,), (1377966131,), (1377966143,), (1377966146,), (1377966149,), (1377966152,), (1377966156,), (1377966160,), (1377966179,), (1377966180,), (1377966181,), (1377966197,), (1377966199,), (1377966201,), (1377966203,), (1377966219,), (1377966221,), (1377966222,), (1377966223,), (1377966243,), (1377966245,), (1377966247,), (1377966249,), (1377966252,), (1377966265,), (1377966269,), (1377966272,), (1377966276,), (1377966279,), (1377966293,), (1377966295,), (1377966297,), (1377966300,), (1377966302,), (1377966321,), (1377966322,), (1377966346,), (1377966349,), (1377966351,), (1377966355,), (1377966359,), (1377966362,), (1377966371,), (1377966374,), (1377966376,), (1377966378,), (1377966402,), (1377966403,), (1377966404,), (1377966431,), (1377966434,), (1377966437,), (1377966460,), (1377966458,), (1377966479,), (1377966500,), (1377966502,), (1377966648,), (1377966651,), (1377966670,), (1377966673,), (1377966676,), (1377966679,), (1377966682,), (1377966695,), (1377966699,), (1377966703,), (1377966722,), (1377966725,), (1377966727,), (1377966729,), (1377966732,), (1377966735,), (1377966750,), (1377966753,), (1377966756,), (1377966759,), (1377966783,), (1377966788,), (1377966791,), (1377966794,), (1377966797,), (1377966819,), (1377966821,), (1377966822,), (1377966827,), (1377966830,), (1377966833,), (1377966813,), (1377966815,), (1377966817,), (1377966837,), (1377966838,), (1377966840,), (1377966858,), (1377966862,), (1377966886,), (1377966887,), (1377966888,), (1377966890,), (1377966894,), (1377966915,), (1377966917,), (1377966918,), (1377966919,), (1377966939,), (1377966941,), (1377966943,), (1377966963,), (1377966966,), (1377966969,), (1377966971,), (1377966974,), (1377966977,), (1377966988,), (1377966990,), (1377967009,), (1377967012,), (1377967015,), (1377967034,), (1377967036,), (1377967038,), (1377967063,), (1377967066,), (1377967070,), (1377967073,), (1377967075,), (1377967076,), (1377967093,), (1377967095,), (1377967096,), (1377967097,), (1377967099,), (1377967115,), (1377967117,), (1377967119,), (1377967122,), (1377967147,), (1377967153,), (1377967156,), (1377967173,), (1377967178,), (1377967181,), (1377967198,), (1377967194,), (1377967195,), (1377967196,), (1377967214,), (1377967216,), (1377967218,), (1377967220,), (1377967223,), (1377967225,), (1377967240,), (1377967244,), (1377967248,), (1377967251,), (1377967273,), (1377967275,), (1377967278,), (1377967297,), (1377967301,), (1377967304,), (1377967332,), (1377967334,), (1377967335,), (1377967337,), (1377967340,), (1377967356,), (1377967360,), (1377967364,), (1377967385,), (1377967387,), (1377967388,), (1377967389,), (1377967409,), (1377967412,), (1377967416,), (1377967437,), (1377967439,), (1377967440,), (1377967441,), (1377967455,), (1377967501,), (1377967640,), (1377967564,), (1377967635,), (1377967636,), (1377967637,), (1377967638,), (1377967657,), (1377967660,), (1377967664,), (1377967668,), (1377967692,), (1377967694,), (1377967696,), (1377967697,), (1377967699,), (1377967719,), (1377967721,), (1377967723,), (1377967725,), (1377967743,), (1377967744,), (1377967763,), (1377967767,), (1377967772,), (1377967777,), (1377967803,), (1377967805,), (1377967806,), (1377967807,), (1377967821,), (1377967823,), (1377967825,), (1377967828,), (1377967850,), (1377967852,), (1377967854,), (1377967880,), (1377967881,), (1377967882,), (1377967884,), (1377967887,), (1377967908,), (1377967912,), (1377967916,), (1377967925,), (1377967927,), (1377967929,), (1377967931,), (1377967955,), (1377967945,), (1377967952,), (1377967954,), (1377967968,), (1377967971,), (1377967978,), (1377967980,), (1377968000,), (1377968009,), (1377968011,), (1377968014,), (1377968017,), (1377968020,), (1377968035,), (1377968042,), (1377968045,), (1377968061,), (1377968071,), (1377968074,), (1377968076,), (1377968079,), (1377968099,), (1377968106,), (1377968107,), (1377968129,), (1377968138,), (1377968141,), (1377968144,), (1377968147,), (1377968150,), (1377968168,), (1377968177,), (1377968179,), (1377968201,), (1377968202,), (1377968209,), (1377968211,), (1377968214,), (1377968228,), (1377968708,), (1377970105,), (1377970114,), (1377970162,), (1377970228,), (1377970238,), (1377970326,), (1377970410,), (1377970415,), (1377970437,), (1377970453,), (1377970457,), (1377970462,), (1377970570,), (1377970598,), (1377970614,), (1377970686,), (1377970711,), (1377970760,), (1377970764,), (1377970818,), (1377970894,), (1377971669,), (1377971674,), (1377971677,), (1377971717,), (1377971720,), (1377971742,), (1377971745,), (1377971746,), (1377971793,), (1377971796,), (1377971903,), (1377971908,), (1377971933,), (1377971963,), (1377972040,), (1377972087,), (1377972107,), (1377972133,), (1377972137,), (1377972138,), (1377972155,), (1377972310,), (1377972331,), (1377972524,), (1377972752,), (1377972803,), (1377972804,), (1377972821,), (1377972886,), (1377973199,), (1377973293,), (1377973316,), (1377973819,), (1377973906,), (1377974755,), (1377974815,), (1377974864,), (1377974868,), (1377975031,), (1377975957,), (1377976109,), (1377976126,), (1377976800,), (1377977066,), (1377977081,), (1377977546,), (1377978228,), (1377978223,), (1377978606,), (1377978952,), (1377979005,), (1377979806,), (1377980040,), (1377980401,), (1377980679,), (1377981253,), (1377981250,), (1377981353,), (1377981580,), (1377981607,), (1377981935,), (1377981941,), (1377982057,), (1377982320,), (1377982353,), (1377982764,), (1377982743,), (1377983062,), (1377983821,), (1377983828,), (1377984121,), (1377984495,), (1377984499,), (1377984745,), (1377984741,), (1377984788,), (1377985103,), (1377985392,), (1377985402,), (1377985542,), (1377985601,), (1377985747,), (1377985978,), (1377985982,), (1377986253,), (1377986282,), (1377986380,), (1377986384,), (1377986528,), (1377986487,), (1377986692,), (1377986745,), (1377986899,), (1377986925,), (1377987453,), (1377987458,), (1377987623,), (1377987834,), (1377988358,), (1377988423,), (1377988741,), (1377988774,), (1377989024,), (1377989114,), (1377989119,), (1377989450,), (1377989678,), (1377990264,), (1377994181,), (1377994177,), (1377994220,), (1377994301,), (1377994389,), (1377994393,), (1377994395,), (1377994398,), (1377994401,), (1377994405,), (1377994421,), (1377994424,), (1377994426,), (1377994428,), (1377994500,), (1377994503,), (1377994561,), (1377994587,), (1377994634,), (1377994637,), (1377994639,), (1377994641,), (1377994644,), (1377994653,), (1377994710,), (1377994715,), (1377994718,), (1377994720,), (1377994735,), (1377994737,), (1377994758,), (1377994761,), (1377994762,), (1377994818,), (1377994836,), (1377994841,), (1377994914,), (1377994970,), (1377994972,), (1377994974,), (1377994977,), (1377994992,), (1377996701,), (1377996670,), (1377996676,), (1377997142,), (1377997163,), (1377997166,), (1377997169,), (1377997185,), (1377997311,), (1377997343,), (1377997386,), (1377997410,), (1377997462,), (1377997492,), (1377997831,), (1377997887,), (1377997952,), (1377997998,), (1377998208,), (1377998223,), (1377998225,), (1377998640,), (1377998665,), (1377998669,), (1377998672,), (1377998679,), (1377999040,), (1377998984,), (1377999026,), (1377999375,), (1377999427,), (1377999463,), (1377999831,), (1377999855,), (1378000236,), (1378000582,), (1378000587,), (1378000588,), (1378000597,), (1378000737,), (1378000780,), (1378000843,), (1378001240,), (1378001287,), (1378001346,), (1378001389,), (1378001965,), (1378002030,), (1378002075,), (1378002651,), (1378002695,), (1378002700,), (1378002703,), (1378002711,), (1378002714,), (1378002761,), (1378002796,), (1378002800,), (1378002945,), (1378003002,), (1378003026,), (1378003065,), (1378003090,), (1378003114,), (1378003219,), (1378003372,), (1378003402,), (1378003417,), (1378003426,), (1378003431,), (1378003500,), (1378003507,), (1378003529,), (1378003556,), (1378003603,), (1378003822,), (1378003826,), (1378003828,), (1378003830,), (1378003832,), (1378003835,), (1378003928,), (1378003952,), (1378003976,), (1378004368,), (1378004334,), (1378004337,), (1378004340,), (1378004343,), (1378004359,), (1378004535,), (1378004540,), (1378004550,), (1378004573,), (1378004621,), (1378004665,), (1378004825,), (1378004829,), (1378004838,), (1378005246,), (1378005272,), (1378005296,), (1378005323,), (1378005557,), (1378005564,), (1378005570,), (1378005574,), (1378005591,), (1378005627,), (1378005772,), (1378005806,), (1378005834,), (1378005862,), (1378006022,), (1378006036,), (1378006040,), (1378006055,), (1378006467,), (1378011952,), (1378011765,), (1378011799,), (1378012270,), (1378012282,), (1378012285,), (1378012290,), (1378012297,), (1378012319,), (1378012348,), (1378012352,), (1378012369,), (1378012372,), (1378012375,), (1378012581,), (1378012613,), (1378012645,), (1378012668,), (1378012695,), (1378012720,), (1378012921,), (1378012924,), (1378012926,), (1378012940,), (1378012948,), (1378012951,), (1378012966,), (1378012970,), (1378012973,), (1378012994,), (1378012998,), (1378013002,), (1378013022,), (1378013024,), (1378013027,), (1378013069,), (1378013095,), (1378013116,), (1378013139,), (1378013625,), (1378013631,), (1378013632,), (1378013635,), (1378013637,), (1378013605,), (1378013610,), (1378013615,), (1378013648,), (1378013653,), (1378013664,), (1378013689,), (1378013713,), (1378013738,), (1378013976,), (1378013997,), (1378014004,), (1378014031,), (1378014037,), (1378014041,), (1378014202,), (1378014227,), (1378014232,), (1378014237,), (1378014241,), (1378014252,), (1378014311,), (1378014317,), (1378014320,), (1378014325,), (1378014496,), (1378014513,), (1378014515,), (1378014520,), (1378014540,), (1378014564,), (1378014615,), (1378014621,), (1378014623,), (1378014627,), (1378014652,), (1378014675,), (1378014706,), (1378014711,), (1378014719,), (1378014759,), (1378014786,), (1378014815,), (1378014892,), (1378014992,), (1378015013,), (1378015040,), (1378015092,), (1378015351,), (1378015354,), (1378015356,), (1378015359,), (1378015382,), (1378015401,), (1378015584,), (1378015611,), (1378015637,), (1378015663,), (1378015831,), (1378015837,), (1378015839,), (1378015842,), (1378015865,), (1378015869,), (1378015906,), (1378015908,), (1378015922,), (1378015943,), (1378016055,), (1378016089,), (1378016135,), (1378016196,), (1378016249,), (1378016449,), (1378016452,), (1378016459,), (1378016462,), (1378016466,), (1378016658,), (1378016706,), (1378016709,), (1378016711,), (1378016732,), (1378017440,), (1378017432,), (1378017435,), (1378017437,), (1378017491,), (1378017496,), (1378017508,), (1378017511,), (1378017515,), (1378017644,), (1378017647,), (1378017649,), (1378017671,), (1378017694,), (1378018335,), (1378018566,), (1378018569,), (1378018588,), (1378018590,), (1378018593,), (1378018693,), (1378018716,), (1378018719,), (1378018732,), (1378018743,), (1378018749,), (1378018863,), (1378019084,), (1378019087,), (1378019088,), (1378019090,), (1378019092,), (1378019095,), (1378019153,), (1378019158,), (1378019162,), (1378019166,), (1378019170,), (1378019242,), (1378019245,), (1378019249,), (1378019253,), (1378019257,), (1378019311,), (1378019275,), (1378019285,), (1378019288,), (1378019291,), (1378019576,), (1378019600,), (1378019624,), (1378019652,), (1378019680,), (1378019729,), (1378019734,), (1378019737,), (1378019740,), (1378019743,), (1378019798,), (1378019810,), (1378019815,), (1378019819,), (1378019823,), (1378019840,), (1378019938,), (1378019958,), (1378019982,), (1378020012,), (1378020037,), (1378020375,), (1378020380,), (1378020394,), (1378020407,), (1378020412,), (1378020416,), (1378020529,), (1378020533,), (1378020536,), (1378020539,), (1378020542,), (1378020551,), (1378020612,), (1378020650,), (1378020655,), (1378020660,), (1378020666,), (1378020753,), (1378020779,), (1378020784,), (1378020790,), (1378020818,), (1378020845,), (1378021225,), (1378021280,), (1378021293,), (1378021295,), (1378021297,), (1378021362,), (1378021387,), (1378021413,), (1378021437,), (1378021464,), (1378021489,), (1378021651,), (1378021664,), (1378021667,), (1378021669,), (1378021844,), (1378021848,), (1378021851,), (1378021967,), (1378021994,), (1378022026,), (1378022041,), (1378022045,), (1378022049,), (1378022090,), (1378022092,), (1378022095,), (1378022098,), (1378022106,), (1378022114,), (1378022124,), (1378022129,), (1378022135,), (1378022146,), (1378022215,), (1378022255,), (1378022086,), (1378022088,), (1378022152,), (1378022162,), (1378022165,), (1378022171,), (1378022195,), (1378022353,), (1378022379,), (1378022401,), (1378022424,), (1378022472,), (1378022747,), (1378022774,), (1378022782,), (1378022908,), (1378022912,), (1378022914,), (1378022916,), (1378022919,), (1378022943,), (1378022947,), (1378022950,), (1378022953,), (1378022956,), (1378022960,), (1378023004,), (1378023005,), (1378023017,), (1378023026,), (1378023028,), (1378023044,), (1378023049,), (1378023089,), (1378023183,), (1378023205,), (1378023299,), (1378034895,), (1378045098,), (1378045129,), (1378045153,), (1378045177,), (1378045337,), (1378045339,), (1378045620,), (1378045726,), (1378045752,), (1378045779,), (1378045804,), (1378045825,), (1378046136,), (1378046176,), (1378046186,), (1378046190,), (1378046192,), (1378046195,), (1378046323,), (1378046327,), (1378046328,), (1378046330,), (1378046550,), (1378046553,), (1378046556,), (1378046560,), (1378046588,), (1378046618,), (1378046830,), (1378046871,), (1378046898,), (1378046927,), (1378047072,), (1378047075,), (1378047077,), (1378047081,), (1378047084,), (1378047110,), (1378047114,), (1378047117,), (1378047171,), (1378047190,), (1378047200,), (1378047202,), (1378047206,), (1378047215,), (1378047221,), (1378047395,), (1378047446,), (1378047492,), (1378047541,), (1378048142,), (1378048169,), (1378048194,), (1378048221,), (1378048666,), (1378048717,), (1378048773,), (1378048841,), (1378048912,), (1378049409,), (1378049213,), (1378049216,), (1378049233,), (1378049272,), (1378049342,), (1378049953,), (1378049979,), (1378050005,), (1378050047,), (1378050092,), (1378050163,), (1378050784,), (1378050827,), (1378050857,), (1378050874,), (1378051192,), (1378051228,), (1378051269,), (1378051319,), (1378051372,), (1378051418,), (1378051829,), (1378051854,), (1378051878,), (1378051907,), (1378052036,), (1378052063,), (1378052089,), (1378052112,), (1378052137,), (1378052154,), (1378052350,), (1378052374,), (1378052398,), (1378052423,), (1378052450,), (1378052680,), (1378052686,), (1378052706,), (1378052712,), (1378052755,), (1378052848,), (1378052852,), (1378052855,), (1378052881,), (1378053187,), (1378053214,), (1378053239,), (1378053264,), (1378053289,), (1378053315,), (1378053641,), (1378053668,), (1378053692,), (1378053897,), (1378053903,), (1378053906,), (1378054155,), (1378054210,), (1378054259,), (1378054310,), (1378054361,), (1378054409,), (1378054734,), (1378054744,), (1378054753,), (1378054781,), (1378055158,), (1378055257,), (1378055301,), (1378055356,), (1378055395,), (1378055399,), (1378055904,), (1378055647,), (1378055681,), (1378055735,), (1378055800,), (1378055854,), (1378056257,), (1378056259,), (1378056260,), (1378056371,), (1378056377,), (1378056381,), (1378056391,), (1378056417,), (1378056444,), (1378056714,), (1378056736,), (1378056738,), (1378056740,), (1378056742,), (1378056922,), (1378056934,), (1378056938,), (1378056942,), (1378056946,), (1378057268,), (1378057294,), (1378057325,), (1378057358,), (1378057361,), (1378057571,), (1378057598,), (1378057615,), (1378057617,), (1378057619,), (1378057620,), (1378057730,), (1378057733,), (1378057735,), (1378057738,), (1378057742,), (1378057778,), (1378057782,), (1378057787,), (1378057792,), (1378057795,), (1378057809,), (1378057821,), (1378057827,), (1378057830,), (1378057832,), (1378057834,), (1378057848,), (1378057852,), (1378057854,), (1378057858,), (1378057862,), (1378057897,), (1378057900,), (1378057921,), (1378057924,), (1378057932,), (1378057988,), (1378058001,), (1378058004,), (1378058006,), (1378058009,), (1378058035,), (1378058329,), (1378058353,), (1378058384,), (1378058431,), (1378058495,), (1378059113,), (1378059184,), (1378059249,), (1378059276,), (1378059621,), (1378059601,), (1378059618,), (1378059620,), (1378059717,), (1378059721,), (1378059742,), (1378059770,), (1378059799,), (1378060343,), (1378060392,), (1378060445,), (1378060507,), (1378060574,), (1378060626,), (1378063578,), (1378063624,), (1378063673,), (1378063719,), (1378064217,), (1378064271,), (1378064323,), (1378066221,), (1378066138,), (1378066172,), (1378066180,), (1378066203,), (1378066265,), (1378066310,), (1378066352,), (1378066390,), (1378066437,), (1378066715,), (1378066743,), (1378066768,), (1378066794,), (1378066820,), (1378067072,), (1378067075,), (1378067077,), (1378067078,), (1378067165,), (1378067219,), (1378067273,), (1378067322,), (1378067357,), (1378067385,), (1378067786,), (1378067812,), (1378067845,), (1378067894,), (1378067926,), (1378068195,), (1378068291,), (1378068319,), (1378068345,), (1378068374,), (1378068400,), (1378068721,), (1378068769,), (1378068815,), (1378068872,), (1378068918,), (1378069227,), (1378069255,), (1378069308,), (1378069369,), (1378069402,), (1378069448,), (1378069691,), (1378069698,), (1378069701,), (1378069786,), (1378069789,), (1378069790,), (1378069799,), (1378069848,), (1378069900,), (1378070113,), (1378070138,), (1378070141,), (1378070143,), (1378070153,), (1378070182,), (1378070272,), (1378070276,), (1378070278,), (1378070279,), (1378070366,), (1378070372,), (1378070381,), (1378070409,), (1378070992,), (1378071054,), (1378071094,), (1378071108,), (1378071136,), (1378071588,), (1378071506,), (1378071538,), (1378071563,), (1378071821,), (1378071855,), (1378071872,), (1378071894,), (1378071897,), (1378071919,), (1378072028,), (1378072036,), (1378072040,), (1378072044,), (1378072067,), (1378072072,), (1378072073,), (1378072074,), (1378072076,), (1378072091,), (1378072095,), (1378072137,), (1378072146,), (1378072150,), (1378072192,), (1378072207,), (1378072256,), (1378072280,), (1378072283,), (1378072398,), (1378072432,), (1378072463,), (1378072516,), (1378072570,), (1378072620,), (1378073193,), (1378073278,), (1378073340,), (1378073370,), (1378073377,), (1378073381,), (1378073548,), (1378073554,), (1378073570,), (1378073707,), (1378073711,), (1378073721,), (1378073725,), (1378074033,), (1378074065,), (1378074092,), (1378074117,), (1378074159,), (1378074478,), (1378074505,), (1378074530,), (1378074542,), (1378074545,), (1378074547,), (1378074601,), (1378074629,), (1378074654,), (1378074907,), (1378074910,), (1378074930,), (1378074980,), (1378075011,), (1378075300,), (1378075331,), (1378075361,), (1378075388,), (1378075412,), (1378075823,), (1378075712,), (1378075745,), (1378075770,), (1378075796,), (1378076163,), (1378076189,), (1378076214,), (1378076826,), (1378076854,), (1378076885,), (1378076934,), (1378076981,), (1378077012,), (1378077297,), (1378077347,), (1378077399,), (1378077458,), (1378077831,), (1378078012,), (1378078046,), (1378078074,), (1378078099,), (1378078125,), (1378078333,), (1378078361,), (1378078380,), (1378078382,), (1378078385,), (1378078394,), (1378078510,), (1378078513,), (1378078516,), (1378078983,), (1378079060,), (1378079137,), (1378079212,), (1378079282,), (1378079861,), (1378079904,), (1378079932,), (1378079960,), (1378080282,), (1378080286,), (1378080287,), (1378080289,), (1378080455,), (1378080484,), (1378080510,), (1378080532,), (1378080717,), (1378080728,), (1378080733,), (1378081093,), (1378081120,), (1378081145,), (1378081169,), (1378081196,), (1378081424,), (1378081427,), (1378081619,), (1378081543,), (1378081570,), (1378081595,), (1378081827,), (1378081852,), (1378081862,), (1378081864,), (1378082119,), (1378082146,), (1378082189,), (1378082217,), (1378082252,), (1378082279,), (1378082529,), (1378082556,), (1378082580,), (1378083125,), (1378083174,), (1378083220,), (1378083262,), (1378083309,), (1378083358,), (1378083646,), (1378083709,), (1378083756,), (1378083802,), (1378083865,), (1378083902,), (1378084106,), (1378084111,), (1378084129,), (1378084775,), (1378084814,), (1378084837,), (1378085237,), (1378085257,), (1378085260,), (1378085263,), (1378085266,), (1378085269,), (1378085417,), (1378085424,), (1378085439,), (1378085452,), (1378085459,), (1378085491,), (1378085495,), (1378085497,), (1378085501,), (1378085504,), (1378085519,), (1378085523,), (1378085525,), (1378085527,), (1378085530,), (1378085540,), (1378085761,), (1378085787,), (1378085812,), (1378085839,), (1378085865,), (1378087010,), (1378087066,), (1378087119,), (1378087177,), (1378087771,), (1378087808,), (1378087833,), (1378087940,), (1378087966,), (1378088013,), (1378088087,), (1378088143,), (1378088193,), (1378088710,), (1378087686,), (1378087713,), (1378087736,), (1378088439,), (1378088491,), (1378088567,), (1378088616,), (1378088670,), (1378088940,), (1378088967,), (1378089015,), (1378089059,), (1378089096,), (1378089308,), (1378089312,), (1378089322,), (1378089347,), (1378089373,), (1378089545,), (1378089549,), (1378089573,), (1378089588,), (1378089590,), (1378089614,), (1378089922,), (1378089974,), (1378090010,), (1378090046,), (1378090449,), (1378090485,), (1378090528,), (1378090554,), (1378090603,), (1378090960,), (1378091026,), (1378091072,), (1378091127,), (1378091180,), (1378091706,), (1378091762,), (1378091812,), (1378091871,), (1378091916,), (1378092316,), (1378092329,), (1378092336,), (1378092597,), (1378092628,), (1378092652,), (1378092656,), (1378092660,), (1378092681,), (1378092760,), (1378092830,), (1378092837,), (1378092840,), (1378092842,), (1378092845,), (1378092933,), (1378092946,), (1378092951,), (1378093018,), (1378093022,), (1378093024,), (1378093026,), (1378093032,), (1378093038,), (1378093374,), (1378093418,), (1378093451,), (1378093479,), (1378093505,), (1378094060,), (1378093786,), (1378093839,), (1378093900,), (1378093963,), (1378094011,), (1378094602,), (1378094629,), (1378094654,), (1378094681,), (1378094708,), (1378094901,), (1378094938,), (1378094979,), (1378095438,), (1378095444,), (1378095467,), (1378095480,), (1378095482,), (1378095484,), (1378095571,), (1378095574,), (1378095575,), (1378095577,), (1378095580,), (1378095855,), (1378095882,), (1378095910,), (1378096248,), (1378096290,), (1378096326,), (1378096351,), (1378096387,), (1378096621,), (1378096623,), (1378096627,), (1378097391,), (1378097459,), (1378097513,), (1378097561,), (1378097632,), (1378097689,), (1378098007,), (1378098048,), (1378098078,), (1378098107,), (1378098145,), (1378098226,), (1378098230,), (1378098231,), (1378098234,), (1378098238,), (1378098458,), (1378098515,), (1378098568,), (1378098619,), (1378099358,), (1378099412,), (1378099460,), (1378099508,), (1378099568,), (1378100106,), (1378100131,), (1378100167,), (1378100215,), (1378100260,), (1378100312,), (1378109391,), (1378109360,), (1378109365,), (1378109385,), (1378109459,), (1378109462,), (1378109464,), (1378109467,), (1378109471,), (1378109474,), (1378109490,), (1378109494,), (1378109515,), (1378109520,), (1378109523,), (1378109525,), (1378109528,), (1378109531,), (1378109542,), (1378109549,), (1378109551,), (1378109553,), (1378109555,), (1378109568,), (1378109571,), (1378109572,), (1378109574,), (1378109576,), (1378109581,), (1378109627,), (1378109632,), (1378109636,), (1378110135,), (1378110185,), (1378110218,), (1378110246,), (1378110678,), (1378110713,), (1378110737,), (1378110760,), (1378110784,), (1378110901,), (1378110905,), (1378110923,), (1378111352,), (1378111378,), (1378111404,), (1378111418,), (1378111422,), (1378111426,), (1378111752,), (1378111754,), (1378111755,), (1378111756,), (1378111956,), (1378111987,), (1378112014,), (1378112039,), (1378112067,), (1378112216,), (1378112236,), (1378112264,), (1378112289,), (1378112555,), (1378112542,), (1378112550,), (1378112553,), (1378112734,), (1378112739,), (1378112741,), (1378112761,), (1378112786,), (1378112825,), (1378113200,), (1378113205,), (1378113208,), (1378113211,), (1378113307,), (1378113312,), (1378113315,), (1378113318,), (1378113427,), (1378113430,), (1378113444,), (1378113458,), (1378113461,), (1378113558,), (1378113584,), (1378113611,), (1378113622,), (1378113779,), (1378113806,), (1378113832,), (1378113861,), (1378113886,), (1378113913,), (1378114117,), (1378114146,), (1378114171,), (1378114195,), (1378114237,), (1378114288,), (1378114472,), (1378114571,), (1378114576,), (1378114579,), (1378114751,), (1378114752,), (1378114753,), (1378114754,), (1378114755,), (1378114757,), (1378114773,), (1378114776,), (1378114865,), (1378114895,), (1378114905,), (1378114908,), (1378114911,), (1378114938,), (1378115010,), (1378115028,), (1378115030,), (1378115033,), (1378115151,), (1378115158,), (1378115163,), (1378115167,), (1378115171,), (1378115175,), (1378115243,), (1378115263,), (1378115279,), (1378115289,), (1378115355,), (1378115359,), (1378115363,), (1378115367,), (1378115370,), (1378115373,), (1378115429,), (1378115440,), (1378115466,), (1378115491,), (1378115506,), (1378115511,), (1378115534,), (1378115675,), (1378115679,), (1378115733,), (1378115737,), (1378115743,), (1378115745,), (1378115417,), (1378115419,), (1378115422,), (1378115425,), (1378115427,), (1378115652,), (1378115655,), (1378115658,), (1378115666,), (1378115690,), (1378115691,), (1378115695,), (1378115696,), (1378115700,), (1378115701,), (1378115702,), (1378115704,), (1378115706,), (1378115707,), (1378115709,), (1378115710,), (1378115720,), (1378115724,), (1378115727,), (1378115730,), (1378115988,), (1378115991,), (1378116148,), (1378116152,), (1378116176,), (1378116180,), (1378116182,), (1378116186,), (1378116293,), (1378116328,), (1378116353,), (1378116385,), (1378116416,), (1378116426,), (1378116650,), (1378116670,), (1378116682,), (1378116686,), (1378116714,), (1378116832,), (1378116847,), (1378116872,), (1378116914,), (1378116956,), (1378116983,), (1378117140,), (1378117168,), (1378117178,), (1378117193,), (1378117281,), (1378117285,), (1378117289,), (1378117291,), (1378117485,), (1378117438,), (1378117464,), (1378117477,), (1378117479,), (1378117510,), (1378117513,), (1378117515,), (1378117578,), (1378117581,), (1378117951,), (1378117955,), (1378117998,), (1378118004,), (1378118086,), (1378118094,), (1378118111,), (1378118114,), (1378118262,), (1378118410,), (1378118413,), (1378118414,), (1378118416,), (1378118616,), (1378118623,), (1378118626,), (1378118629,), (1378118631,), (1378118767,), (1378118770,), (1378118772,), (1378118774,), (1378118777,), (1378118918,), (1378118945,), (1378118970,), (1378118998,), (1378119025,), (1378119053,), (1378119207,), (1378119211,), (1378119214,), (1378119232,), (1378119596,), (1378119601,), (1378119631,), (1378119650,), (1378119653,), (1378119657,), (1378119768,), (1378119734,), (1378119762,), (1378119763,), (1378119765,), (1378119827,), (1378119829,), (1378119831,), (1378119847,), (1378119876,), (1378120148,), (1378120151,), (1378120175,), (1378120181,), (1378120183,), (1378120253,), (1378120257,), (1378120259,), (1378120347,), (1378120373,), (1378120385,), (1378120386,), (1378120389,), (1378120596,), (1378120614,), (1378120619,), (1378120622,), (1378120624,), (1378120664,), (1378120667,), (1378120671,), (1378120673,), (1378120718,), (1378120722,), (1378120734,), (1378120745,), (1378120751,), (1378120755,), (1378120774,), (1378120780,), (1378120783,), (1378120786,), (1378120812,), (1378121082,), (1378121111,), (1378121145,), (1378121172,), (1378121181,), (1378121405,), (1378121418,), (1378121440,), (1378121452,), (1378121494,), (1378121640,), (1378121669,), (1378121695,), (1378121720,), (1378122168,), (1378122194,), (1378122196,), (1378122197,), (1378122199,), (1378122201,), (1378122290,), (1378122293,), (1378122311,), (1378122332,), (1378122409,), (1378122414,), (1378122417,), (1378122420,), (1378122425,), (1378122429,), (1378122554,), (1378122515,), (1378122519,), (1378122524,), (1378122532,), (1378122587,), (1378122617,), (1378122645,), (1378122845,), (1378122863,), (1378122864,), (1378122865,), (1378122867,), (1378122870,), (1378122887,), (1378122889,), (1378122890,), (1378122893,), (1378122895,), (1378122920,), (1378122953,), (1378122977,), (1378123000,), (1378123024,), (1378123160,), (1378123186,), (1378123209,), (1378123216,), (1378123542,), (1378123574,), (1378123579,), (1378123583,), (1378123588,), (1378123706,), (1378123711,), (1378123737,), (1378123752,), (1378123816,), (1378123821,), (1378123824,), (1378123827,), (1378123830,), (1378123834,), (1378123868,), (1378123891,), (1378123922,), (1378123950,), (1378123977,), (1378124001,), (1378124094,), (1378124119,), (1378124145,), (1378124171,), (1378124232,), (1378124251,), (1378124266,), (1378124271,), (1378124325,), (1378124329,), (1378124338,), (1378124350,), (1378124359,), (1378124647,), (1378124673,), (1378124697,), (1378124719,), (1378124747,), (1378124750,), (1378124768,), (1378124794,), (1378124821,), (1378124971,), (1378124984,), (1378125107,), (1378125099,), (1378125104,), (1378125155,), (1378125181,), (1378125209,), (1378125236,), (1378125263,), (1378125282,), (1378125427,), (1378125447,), (1378125450,), (1378125453,), (1378125456,), (1378125474,), (1378125476,), (1378125480,), (1378125507,), (1378125532,), (1378125581,), (1378125584,), (1378125587,), (1378125598,), (1378125625,), (1378125650,), (1378125744,), (1378125764,), (1378125767,), (1378125794,), (1378125962,), (1378125967,), (1378125976,), (1378125986,), (1378125992,), (1378126006,), (1378126031,), (1378126034,), (1378126037,), (1378126040,), (1378126041,), (1378126124,), (1378126129,), (1378126155,), (1378126161,), (1378126227,), (1378126231,), (1378126236,), (1378126243,), (1378126259,), (1378126269,), (1378126279,), (1378126283,), (1378126290,), (1378126446,), (1378126498,), (1378126547,), (1378126598,), (1378126627,), (1378126669,), (1378126776,), (1378126779,), (1378126782,), (1378126785,), (1378126789,), (1378126836,), (1378126851,), (1378126856,), (1378126890,), (1378126893,), (1378126895,), (1378126898,), (1378126901,), (1378126925,), (1378127144,), (1378127147,), (1378127149,), (1378127174,), (1378127201,), (1378127210,), (1378127238,), (1378127264,), (1378127285,), (1378127288,), (1378127307,), (1378127298,), (1378127301,), (1378127305,), (1378127320,), (1378127324,), (1378127326,), (1378127329,), (1378127335,), (1378127582,), (1378127586,), (1378127591,), (1378127618,), (1378127644,), (1378128062,), (1378128093,), (1378128624,), (1378129242,), (1378129246,), (1378129482,), (1378129437,), (1378129463,), (1378129466,), (1378129508,), (1378129510,), (1378129512,), (1378129530,), (1378129541,), (1378129549,), (1378129561,), (1378129564,), (1378129567,), (1378129585,), (1378129588,), (1378129589,), (1378129590,), (1378129591,), (1378129593,), (1378129674,), (1378129707,), (1378129745,), (1378129799,), (1378130260,), (1378130303,), (1378130334,), (1378130361,), (1378130398,), (1378130446,), (1378130731,), (1378130760,), (1378130782,), (1378130806,), (1378130829,), (1378130931,), (1378130960,), (1378130983,), (1378131009,), (1378131027,), (1378131064,), (1378131384,), (1378131406,), (1378131434,), (1378131449,), (1378131454,), (1378131459,), (1378131598,), (1378131604,), (1378131606,), (1378131634,), (1378131649,), (1378131654,), (1378131680,), (1378131707,), (1378131731,), (1378131853,), (1378131879,), (1378131902,), (1378131905,), (1378131908,), (1378131934,), (1378132014,), (1378132018,), (1378132022,), (1378132025,), (1378132027,), (1378132052,), (1378132054,), (1378132057,), (1378132061,), (1378132066,), (1378132070,), (1378132174,), (1378132202,), (1378132229,), (1378132586,), (1378132554,), (1378132844,), (1378132848,), (1378132850,), (1378132866,), (1378133064,), (1378133103,), (1378133126,), (1378133144,), (1378133150,), (1378133213,), (1378133217,), (1378133221,), (1378133248,), (1378133275,), (1378133414,), (1378133463,), (1378133493,), (1378133518,), (1378133780,), (1378133811,), (1378133844,), (1378133868,), (1378133895,), (1378133920,), (1378133953,), (1378133956,), (1378134274,), (1378134302,), (1378134331,), (1378134357,), (1378134363,), (1378134452,), (1378134457,), (1378134460,), (1378134463,), (1378134466,), (1378134469,), (1378134488,), (1378134512,), (1378134515,), (1378134519,), (1378134540,), (1378134564,), (1378134587,), (1378134610,), (1378134634,), (1378134660,), (1378134777,), (1378134787,), (1378134790,), (1378134801,), (1378134983,), (1378135010,), (1378135045,), (1378135076,), (1378135109,), (1378135594,), (1378135622,), (1378135651,), (1378135699,), (1378135745,), (1378135799,), (1378136144,), (1378136135,), (1378136140,), (1378136142,), (1378136259,), (1378136286,), (1378136312,), (1378136335,), (1378136360,), (1378136386,), (1378136676,), (1378136723,), (1378136769,), (1378136796,), (1378136820,), (1378136825,), (1378136958,), (1378136962,), (1378136990,), (1378137039,), (1378137085,), (1378137339,), (1378137353,), (1378137360,), (1378137370,), (1378137373,), (1378137395,), (1378137422,), (1378137426,), (1378137429,), (1378137432,), (1378137445,), (1378137448,), (1378137449,), (1378137451,), (1378137454,), (1378137456,), (1378137516,), (1378137521,), (1378137524,), (1378137532,), (1378137556,), (1378137722,), (1378137733,), (1378137735,), (1378137737,), (1378137770,), (1378138101,), (1378141654,), (1378141651,), (1378141848,), (1378141876,), (1378141899,), (1378141922,), (1378142334,), (1378142490,), (1378142518,), (1378142525,), (1378142548,), (1378142553,), (1378142556,), (1378142559,), (1378142562,), (1378142564,), (1378142580,), (1378142585,), (1378142589,), (1378142592,), (1378142606,), (1378142611,), (1378142613,), (1378142616,), (1378142619,), (1378142622,), (1378142642,), (1378142646,), (1378142647,), (1378142649,), (1378142668,), (1378142673,), (1378142679,), (1378142685,), (1378142688,), (1378142700,), (1378142977,), (1378143010,), (1378143032,), (1378143602,), (1378143655,), (1378143730,), (1378143805,), (1378143875,), (1378143943,), (1378144546,), (1378144570,), (1378144591,), (1378144615,), (1378144946,), (1378144722,), (1378144770,), (1378144816,), (1378144862,), (1378144904,), (1378145256,), (1378145261,), (1378145275,), (1378145297,), (1378145320,), (1378145718,), (1378145725,), (1378145749,), (1378145775,), (1378145802,), (1378145828,), (1378145990,), (1378146015,), (1378146040,), (1378146065,), (1378146091,), (1378146202,), (1378146206,), (1378146207,), (1378146208,), (1378146210,), (1378146216,), (1378146292,), (1378146294,), (1378146297,), (1378146300,), (1378146303,), (1378146305,), (1378146309,), (1378146311,), (1378146315,), (1378146318,), (1378146321,), (1378146333,), (1378146340,), (1378146355,), (1378146364,), (1378146367,), (1378146369,), (1378146406,), (1378146409,), (1378146411,), (1378146413,), (1378146415,), (1378146418,), (1378146433,), (1378146437,), (1378146438,), (1378146465,), (1378146468,), (1378146469,), (1378146470,), (1378146473,), (1378146475,), (1378146527,), (1378146531,), (1378146533,), (1378146535,), (1378146538,), (1378146560,), (1378146563,), (1378146564,), (1378146572,), (1378146580,), (1378146585,), (1378146641,), (1378146645,), (1378146646,), (1378146650,), (1378146656,), (1378146676,), (1378146679,), (1378146681,), (1378146683,), (1378146685,), (1378146687,), (1378146708,), (1378146718,), (1378146720,), (1378146788,), (1378146781,), (1378146785,), (1378146787,), (1378146849,), (1378146854,), (1378146856,), (1378146858,), (1378146861,), (1378146974,), (1378146998,), (1378147024,), (1378147050,), (1378147077,), (1378147102,), (1378147266,), (1378147279,), (1378147281,), (1378147419,), (1378147423,), (1378147426,), (1378147429,), (1378147432,), (1378147436,), (1378147450,), (1378147455,), (1378147458,), (1378147461,), (1378147481,), (1378147492,), (1378147502,), (1378147510,), (1378147514,), (1378147517,), (1378147554,), (1378147560,), (1378147564,), (1378147583,), (1378147585,), (1378147589,), (1378147592,), (1378147593,), (1378147595,), (1378147617,), (1378147621,), (1378147622,), (1378147623,), (1378147669,), (1378147679,), (1378147693,), (1378147694,), (1378147706,), (1378147734,), (1378147829,), (1378147839,), (1378147842,), (1378147845,), (1378147849,), (1378147904,), (1378147906,), (1378147907,), (1378147909,), (1378147911,), (1378147914,), (1378147988,), (1378148015,), (1378148038,), (1378148042,), (1378148102,), (1378148106,), (1378148108,), (1378148109,), (1378148353,), (1378148215,), (1378148242,), (1378148270,), (1378148294,), (1378148324,), (1378148392,), (1378148401,), (1378148407,), (1378148477,), (1378148488,), (1378148497,), (1378148503,), (1378148505,), (1378148687,), (1378148720,), (1378148724,), (1378148726,), (1378148728,), (1378148730,), (1378148737,), (1378148741,), (1378148743,), (1378148745,), (1378148776,), (1378148779,), (1378148792,), (1378148795,), (1378148798,), (1378148819,), (1378148824,), (1378148825,), (1378148826,), (1378148828,), (1378148830,), (1378148877,), (1378148880,), (1378148882,), (1378148892,), (1378148964,), (1378148978,), (1378149003,), (1378149037,), (1378149084,), (1378149245,), (1378149273,), (1378149291,), (1378149298,), (1378149302,), (1378149368,), (1378149397,), (1378149424,), (1378149457,), (1378149460,), (1378149461,), (1378149462,), (1378149511,), (1378149515,), (1378149518,), (1378149521,), (1378149746,), (1378149750,), (1378149758,), (1378149760,), (1378149809,), (1378149814,), (1378149821,), (1378149823,), (1378149825,), (1378149837,), (1378149845,), (1378149861,), (1378149902,), (1378149788,), (1378149790,), (1378149794,), (1378149800,), (1378149870,), (1378149872,), (1378149879,), (1378149892,), (1378149913,), (1378149917,), (1378149920,), (1378149924,), (1378149928,), (1378149932,), (1378149952,), (1378149957,), (1378149958,), (1378149959,), (1378149978,), (1378149981,), (1378149982,), (1378149983,), (1378149984,), (1378149986,), (1378149999,), (1378150003,), (1378150005,), (1378150007,), (1378150010,), (1378150025,), (1378150027,), (1378150029,), (1378150031,), (1378150141,), (1378150145,), (1378150147,), (1378150149,), (1378150152,), (1378150165,), (1378150168,), (1378150171,), (1378150173,), (1378150176,), (1378150192,), (1378150204,), (1378150208,), (1378150212,), (1378150250,), (1378150273,), (1378150274,), (1378150275,), (1378150300,), (1378150311,), (1378150316,), (1378150319,), (1378150322,), (1378150396,), (1378150399,), (1378150401,), (1378150403,), (1378150405,), (1378150406,), (1378150430,), (1378150434,), (1378150436,), (1378150438,), (1378150451,), (1378150455,), (1378150458,), (1378150459,), (1378150460,), (1378150487,), (1378150474,), (1378150481,), (1378150484,), (1378150517,), (1378150519,), (1378150520,), (1378150521,), (1378150522,), (1378150526,), (1378150532,), (1378150535,), (1378150538,), (1378150541,), (1378150548,), (1378150550,), (1378150552,), (1378150554,), (1378150557,), (1378150560,), (1378150567,), (1378150570,), (1378150571,), (1378150573,), (1378150596,), (1378150599,), (1378150601,), (1378150603,), (1378150605,), (1378150608,), (1378150632,), (1378150643,), (1378150644,), (1378150645,), (1378150655,), (1378150662,), (1378150731,), (1378150733,), (1378150734,), (1378150735,), (1378150736,), (1378150754,), (1378150758,), (1378150760,), (1378150762,), (1378150765,), (1378150768,), (1378150781,), (1378150784,), (1378150785,), (1378150787,), (1378150790,), (1378150800,), (1378150804,), (1378150806,), (1378150808,), (1378150810,), (1378150811,), (1378150847,), (1378150848,), (1378150856,), (1378150862,), (1378150869,), (1378150881,), (1378150885,), (1378150887,), (1378150890,), (1378150893,), (1378150895,), (1378150969,), (1378150972,), (1378150973,), (1378150975,), (1378150995,), (1378151000,), (1378151004,), (1378151007,), (1378151010,), (1378151013,), (1378151041,), (1378151033,), (1378151036,), (1378151038,), (1378151067,), (1378151068,), (1378151071,), (1378151078,), (1378151088,), (1378151092,), (1378151107,), (1378151110,), (1378151112,), (1378151114,), (1378151116,), (1378151214,), (1378151218,), (1378151220,), (1378151235,), (1378151237,), (1378151239,), (1378151241,), (1378151243,), (1378151261,), (1378151268,), (1378151272,), (1378151273,), (1378151274,), (1378151289,), (1378151292,), (1378151294,), (1378151296,), (1378151298,), (1378151364,), (1378151376,), (1378151380,), (1378151390,), (1378151395,), (1378151401,), (1378151476,), (1378151477,), (1378151479,), (1378151481,), (1378151483,), (1378151484,), (1378151487,), (1378151489,), (1378151493,), (1378151499,), (1378151500,), (1378151507,), (1378151510,), (1378151512,), (1378151514,), (1378151517,), (1378151519,), (1378151526,), (1378151528,), (1378151530,), (1378151532,), (1378151534,), (1378151535,), (1378151544,), (1378151545,), (1378151548,), (1378151550,), (1378151563,), (1378151569,), (1378151631,), (1378151633,), (1378151635,), (1378151637,), (1378151639,), (1378151652,), (1378151656,), (1378151657,), (1378151658,), (1378151660,), (1378151661,), (1378151676,), (1378151678,), (1378151680,), (1378151682,), (1378151684,), (1378151685,), (1378151688,), (1378151690,), (1378151691,), (1378151698,), (1378151715,), (1378151708,), (1378151709,), (1378151711,), (1378151713,), (1378151741,), (1378151744,), (1378151747,), (1378151777,), (1378151781,), (1378151807,), (1378151816,), (1378151836,), (1378151839,), (1378151840,), (1378151875,), (1378151878,), (1378151880,), (1378151882,), (1378151893,), (1378151897,), (1378151899,), (1378151901,), (1378151907,), (1378151972,), (1378151975,), (1378151977,), (1378151998,), (1378152005,), (1378152006,), (1378152007,), (1378152008,), (1378152010,), (1378152028,), (1378152031,), (1378152033,), (1378152036,), (1378152045,), (1378152047,), (1378152048,), (1378152060,), (1378152064,), (1378152067,), (1378152070,), (1378152072,), (1378152082,), (1378152123,), (1378152126,), (1378152140,), (1378152143,), (1378152150,), (1378152153,), (1378152163,), (1378152165,), (1378152167,), (1378152169,), (1378152175,), (1378152198,), (1378152194,), (1378152196,), (1378152197,), (1378152221,), (1378152223,), (1378152225,), (1378152228,), (1378152232,), (1378152236,), (1378152307,), (1378152310,), (1378152312,), (1378152314,), (1378152317,), (1378152319,), (1378152340,), (1378152344,), (1378152346,), (1378152348,), (1378152404,), (1378152409,), (1378152411,), (1378152413,), (1378152416,), (1378152430,), (1378152433,), (1378152435,), (1378152438,), (1378152441,), (1378152462,), (1378152466,), (1378152468,), (1378152470,), (1378152514,), (1378152518,), (1378152520,), (1378152522,), (1378152524,), (1378152526,), (1378152555,), (1378152556,), (1378152557,), (1378152559,), (1378152562,), (1378152581,), (1378152588,), (1378152591,), (1378152616,), (1378152619,), (1378152621,), (1378152623,), (1378152654,), (1378152659,), (1378152663,), (1378152667,), (1378152671,), (1378152681,), (1378152703,), (1378152709,), (1378152710,), (1378152711,), (1378152738,), (1378152741,), (1378152757,), (1378152763,), (1378152766,), (1378152769,), (1378152773,), (1378152804,), (1378152789,), (1378152793,), (1378152796,), (1378152799,), (1378152801,), (1378152825,), (1378152829,), (1378152830,), (1378152921,), (1378152925,), (1378152928,), (1378152932,), (1378152956,), (1378152960,), (1378152963,), (1378152967,), (1378152970,), (1378152982,), (1378152986,), (1378152989,), (1378152993,), (1378153011,), (1378153017,), (1378153019,), (1378153021,), (1378153046,), (1378153051,), (1378153054,), (1378153059,), (1378153063,), (1378153116,), (1378153119,), (1378153120,), (1378153122,), (1378153125,), (1378153144,), (1378153149,), (1378153152,), (1378153154,), (1378153178,), (1378153181,), (1378153185,), (1378153188,), (1378153191,), (1378153194,), (1378153208,), (1378153213,), (1378153216,), (1378153249,), (1378153254,), (1378153256,), (1378153301,), (1378153305,), (1378153307,), (1378153309,), (1378153313,), (1378153326,), (1378153332,), (1378153336,), (1378153340,), (1378153343,), (1378153362,), (1378153366,), (1378153369,), (1378153415,), (1378153406,), (1378153409,), (1378153412,), (1378153438,), (1378153445,), (1378153448,), (1378153451,), (1378153454,), (1378153457,), (1378153524,), (1378153529,), (1378153532,), (1378153550,), (1378153555,), (1378153557,), (1378153559,), (1378153561,), (1378153565,), (1378153582,), (1378153584,), (1378153585,), (1378153589,), (1378153593,), (1378153613,), (1378153621,), (1378153625,), (1378153628,), (1378153631,), (1378153649,), (1378153660,), (1378153662,), (1378153665,), (1378153745,), (1378153753,), (1378153756,), (1378153758,), (1378153761,), (1378153763,), (1378153776,), (1378153781,), (1378153783,), (1378153786,), (1378153790,), (1378153793,), (1378153810,), (1378153815,), (1378153818,), (1378153821,), (1378153858,), (1378153861,), (1378153863,), (1378153866,), (1378153869,), (1378153899,), (1378153904,), (1378153907,), (1378153909,), (1378153912,), (1378153981,), (1378153986,), (1378153988,), (1378153991,), (1378154011,), (1378154013,), (1378154015,), (1378154017,), (1378154019,), (1378154023,), (1378154043,), (1378154046,), (1378154105,), (1378154100,), (1378154103,), (1378154169,), (1378154174,), (1378154177,), (1378154180,), (1378154184,), (1378154188,), (1378154201,), (1378154205,), (1378154207,), (1378154210,), (1378154212,), (1378154233,), (1378154238,), (1378154240,), (1378154242,), (1378154244,), (1378154247,), (1378154294,), (1378154296,), (1378154298,), (1378154301,), (1378154321,), (1378154324,), (1378154326,), (1378154413,), (1378154420,), (1378154424,), (1378154428,), (1378154430,), (1378154433,), (1378154450,), (1378154452,), (1378154453,), (1378154456,), (1378154476,), (1378154481,), (1378154483,), (1378154484,), (1378154486,), (1378154488,), (1378154505,), (1378154508,), (1378154510,), (1378154512,), (1378154515,), (1378154525,), (1378154528,), (1378154529,), (1378154531,), (1378154605,), (1378154608,), (1378154610,), (1378154612,), (1378154615,), (1378154635,), (1378154637,), (1378154641,), (1378154644,), (1378154646,), (1378154652,), (1378154654,), (1378154656,), (1378154668,), (1378154686,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'20082025': {'nb_upload': 26, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26080046]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1377999040, 1377998679, 1377998672, 1377998669, 1377998665, 1377998640, 1377998225, 1377998223, 1377998208, 1377997998, 1377997952, 1377997887, 1377997831, 1377997492, 1377997462, 1377997410, 1377997386, 1377997343, 1377997311, 1377997185, 1377997169, 1377997166, 1377997163, 1377997142, 1377996676, 1377996670] map_info['map_portfolio_photo'] : {26080046: [1377999040, 1377998679, 1377998672, 1377998669, 1377998665, 1377998640, 1377998225, 1377998223, 1377998208, 1377997998, 1377997952, 1377997887, 1377997831, 1377997492, 1377997462, 1377997410, 1377997386, 1377997343, 1377997311, 1377997185, 1377997169, 1377997166, 1377997163, 1377997142, 1377996676, 1377996670]} final : True mtd_id 4302 list_pids : [1377999040, 1377998679, 1377998672, 1377998669, 1377998665, 1377998640, 1377998225, 1377998223, 1377998208, 1377997998, 1377997952, 1377997887, 1377997831, 1377997492, 1377997462, 1377997410, 1377997386, 1377997343, 1377997311, 1377997185, 1377997169, 1377997166, 1377997163, 1377997142, 1377996676, 1377996670] Looping around the photos to save general results len do output : 1 /26080046Didn'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, '3567178') ('4302', '26080046', '1377999040', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998679', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998672', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998669', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998665', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998640', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998225', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998223', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377998208', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997998', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997952', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997887', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997831', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997492', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997462', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997410', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997386', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997343', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997311', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997185', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997169', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997166', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997163', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377997142', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377996676', None, None, None, None, None, '3567178') ('4302', None, None, None, None, None, None, None, '3567178') ('4302', '26080046', '1377996670', None, None, None, None, None, '3567178') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '26080046', 'None', None, None, None, None, '3567178'), ('4302', '26080046', '1377999040', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377998679', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377998672', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377998669', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377998665', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377998640', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377998225', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377998223', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377998208', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997998', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997952', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997887', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997831', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997492', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997462', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997410', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997386', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997343', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997311', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997185', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997169', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997166', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997163', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377997142', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377996676', None, None, None, None, None, '3567178'), ('4302', '26080046', '1377996670', None, None, None, None, None, '3567178')] time used for this insertion : 0.01581096649169922 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.983724594116211 time spend to save output : 0.01609945297241211 total time spend for step 5 : 5.999824047088623 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 (3567178) 2.41user 2.46system 0:13.87elapsed 35%CPU (0avgtext+0avgdata 167620maxresident)k 240inputs+15264outputs (2major+75215minor)pagefaults 0swaps