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 : 3900060 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 (3638759) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3638759) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26345661 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3638759'] with mtr_portfolio_ids : ['26345661'] and first list_photo_ids : [] new path : /proc/3900060/ Name: python3 Umask: 0002 State: R (running) Tgid: 3900060 Ngid: 0 Pid: 3900060 PPid: 3900058 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3900060 NSpid: 3900060 NSpgid: 3898346 NSsid: 3898346 VmPeak: 1107248 kB VmSize: 1107248 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99920 kB VmRSS: 99920 kB RssAnon: 60160 kB RssFile: 39760 kB RssShmem: 0 kB VmData: 866000 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 604 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: 47 nonvoluntary_ctxt_switches: 94 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3900060', 'Ngid': '0', 'Pid': '3900060', 'PPid': '3900058', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3900060', 'NSpid': '3900060', 'NSpgid': '3898346', 'NSsid': '3898346', 'VmPeak': '1107248 kB', 'VmSize': '1107248 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99920 kB', 'VmRSS': '99920 kB', 'RssAnon': '60160 kB', 'RssFile': '39760 kB', 'RssShmem': '0 kB', 'VmData': '866000 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '604 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': '47', 'nonvoluntary_ctxt_switches': '94'} ('datou_batch_current', '3900060', '1107248', '0', '1107248', '866000', '99920', b'', 'marlene', '3638759') 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 (26345661) 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 (3638759 ) ) 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 (26345661) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1380167732, 'portfolio_id': 26345661}, {'photo_id': 1380167731, 'portfolio_id': 26345661}, {'photo_id': 1380167730, 'portfolio_id': 26345661}, {'photo_id': 1380167729, 'portfolio_id': 26345661}, {'photo_id': 1380167728, 'portfolio_id': 26345661}, {'photo_id': 1380167697, 'portfolio_id': 26345661}, {'photo_id': 1380167696, 'portfolio_id': 26345661}, {'photo_id': 1380167580, 'portfolio_id': 26345661}, {'photo_id': 1380167578, 'portfolio_id': 26345661}, {'photo_id': 1380167576, 'portfolio_id': 26345661}, {'photo_id': 1380167573, 'portfolio_id': 26345661}, {'photo_id': 1380167571, 'portfolio_id': 26345661}, {'photo_id': 1380167569, 'portfolio_id': 26345661}, {'photo_id': 1380167248, 'portfolio_id': 26345661}, {'photo_id': 1380167246, 'portfolio_id': 26345661}, {'photo_id': 1380167245, 'portfolio_id': 26345661}, {'photo_id': 1380167244, 'portfolio_id': 26345661}, {'photo_id': 1380167243, 'portfolio_id': 26345661}, {'photo_id': 1380167242, 'portfolio_id': 26345661}, {'photo_id': 1380167206, 'portfolio_id': 26345661}, {'photo_id': 1380167205, 'portfolio_id': 26345661}, {'photo_id': 1380167204, 'portfolio_id': 26345661}, {'photo_id': 1380167203, 'portfolio_id': 26345661}, {'photo_id': 1380167048, 'portfolio_id': 26345661}] map_portfolio_id_photo_id: {26345661: [1380167732, 1380167731, 1380167730, 1380167729, 1380167728, 1380167697, 1380167696, 1380167580, 1380167578, 1380167576, 1380167573, 1380167571, 1380167569, 1380167248, 1380167246, 1380167245, 1380167244, 1380167243, 1380167242, 1380167206, 1380167205, 1380167204, 1380167203, 1380167048]} ##### 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.014508485794067383 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Aug 29 20:36:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26345661) 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 : 26345661 get user id for portfolio 26345661 get sub ptf for main ptf 26345661, type 3726 and hashtags ['Carton_brun', 'cartonnette', 'Carton_gris', 'plastique', 'flou', 'Teint_Dans_La_Masse', 'environnement', 'autre_refus', 'metal', 'mal_croppe', 'kraft', 'papier'] 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`=26345661 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','cartonnette','Carton_gris','plastique','flou','Teint_Dans_La_Masse','environnement','autre_refus','metal','mal_croppe','kraft','papier')) 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`=26345661 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','cartonnette','Carton_gris','plastique','flou','Teint_Dans_La_Masse','environnement','autre_refus','metal','mal_croppe','kraft','papier')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 26345661, 'sub_port_id': 26345694, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17723513, 'last_updated_at': datetime.datetime(2025, 8, 29, 20, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 20, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 20, 33, 28)}, 'metal': {'main_port_id': 26345661, 'sub_port_id': 26345696, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17723514, 'last_updated_at': datetime.datetime(2025, 8, 29, 20, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 20, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 20, 33, 28)}, 'autre_refus': {'main_port_id': 26345661, 'sub_port_id': 26345697, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17723515, 'last_updated_at': datetime.datetime(2025, 8, 29, 20, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 20, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 20, 33, 28)}, 'Carton_gris': {'main_port_id': 26345661, 'sub_port_id': 26345698, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17723516, 'last_updated_at': datetime.datetime(2025, 8, 29, 20, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 20, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 20, 33, 28)}, 'plastique': {'main_port_id': 26345661, 'sub_port_id': 26345699, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17723517, 'last_updated_at': datetime.datetime(2025, 8, 29, 20, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 20, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 20, 33, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 26345661, 'sub_port_id': 26345700, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17723518, 'last_updated_at': datetime.datetime(2025, 8, 29, 20, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 20, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 20, 33, 28)}, 'environnement': {'main_port_id': 26345661, 'sub_port_id': 26345701, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17723519, 'last_updated_at': datetime.datetime(2025, 8, 29, 20, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 20, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 20, 33, 28)}, 'mal_croppe': {'main_port_id': 26345661, 'sub_port_id': 26345702, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17723520, 'last_updated_at': datetime.datetime(2025, 8, 29, 20, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 20, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 20, 33, 28)}, 'kraft': {'main_port_id': 26345661, 'sub_port_id': 26345703, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17723521, 'last_updated_at': datetime.datetime(2025, 8, 29, 20, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 20, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 20, 33, 28)}, 'flou': {'main_port_id': 26345661, 'sub_port_id': 26345704, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17723522, 'last_updated_at': datetime.datetime(2025, 8, 29, 20, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 20, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 20, 33, 28)}, 'papier': {'main_port_id': 26345661, 'sub_port_id': 26345705, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17723523, 'last_updated_at': datetime.datetime(2025, 8, 29, 20, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 20, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 20, 33, 28)}, 'Carton_brun': {'main_port_id': 26345661, 'sub_port_id': 26345706, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17723524, 'last_updated_at': datetime.datetime(2025, 8, 29, 20, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 20, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 20, 33, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26345694 , 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=26345661 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 (26345694) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26345661) result : ((1380167048,), (1380167203,), (1380167204,), (1380167205,), (1380167206,), (1380167242,), (1380167243,), (1380167244,), (1380167245,), (1380167246,), (1380167248,), (1380167569,), (1380167571,), (1380167573,), (1380167576,), (1380167578,), (1380167580,), (1380167696,), (1380167697,), (1380167728,), (1380167729,), (1380167730,), (1380167731,), (1380167732,)) 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 26345696 , 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=26345661 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 (26345696) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26345661) result : ((1380167048,), (1380167203,), (1380167204,), (1380167205,), (1380167206,), (1380167242,), (1380167243,), (1380167244,), (1380167245,), (1380167246,), (1380167248,), (1380167569,), (1380167571,), (1380167573,), (1380167576,), (1380167578,), (1380167580,), (1380167696,), (1380167697,), (1380167728,), (1380167729,), (1380167730,), (1380167731,), (1380167732,)) 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 26345697 , 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=26345661 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 (26345697) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26345661) result : ((1380167048,), (1380167203,), (1380167204,), (1380167205,), (1380167206,), (1380167242,), (1380167243,), (1380167244,), (1380167245,), (1380167246,), (1380167248,), (1380167569,), (1380167571,), (1380167573,), (1380167576,), (1380167578,), (1380167580,), (1380167696,), (1380167697,), (1380167728,), (1380167729,), (1380167730,), (1380167731,), (1380167732,)) 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 26345698 , 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=26345661 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 (26345698) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26345661) result : ((1380167048,), (1380167203,), (1380167204,), (1380167205,), (1380167206,), (1380167242,), (1380167243,), (1380167244,), (1380167245,), (1380167246,), (1380167248,), (1380167569,), (1380167571,), (1380167573,), (1380167576,), (1380167578,), (1380167580,), (1380167696,), (1380167697,), (1380167728,), (1380167729,), (1380167730,), (1380167731,), (1380167732,)) 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 26345699 , 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=26345661 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 (26345699) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26345661) result : ((1380167048,), (1380167203,), (1380167204,), (1380167205,), (1380167206,), (1380167242,), (1380167243,), (1380167244,), (1380167245,), (1380167246,), (1380167248,), (1380167569,), (1380167571,), (1380167573,), (1380167576,), (1380167578,), (1380167580,), (1380167696,), (1380167697,), (1380167728,), (1380167729,), (1380167730,), (1380167731,), (1380167732,)) 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 26345700 , 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=26345661 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 (26345700) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26345661) result : ((1380167048,), (1380167203,), (1380167204,), (1380167205,), (1380167206,), (1380167242,), (1380167243,), (1380167244,), (1380167245,), (1380167246,), (1380167248,), (1380167569,), (1380167571,), (1380167573,), (1380167576,), (1380167578,), (1380167580,), (1380167696,), (1380167697,), (1380167728,), (1380167729,), (1380167730,), (1380167731,), (1380167732,)) 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 26345701 , 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=26345661 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 (26345701) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26345661) result : ((1380167048,), (1380167203,), (1380167204,), (1380167205,), (1380167206,), (1380167242,), (1380167243,), (1380167244,), (1380167245,), (1380167246,), (1380167248,), (1380167569,), (1380167571,), (1380167573,), (1380167576,), (1380167578,), (1380167580,), (1380167696,), (1380167697,), (1380167728,), (1380167729,), (1380167730,), (1380167731,), (1380167732,)) 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 26345702 , 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=26345661 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 (26345702) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26345661) result : ((1380167048,), (1380167203,), (1380167204,), (1380167205,), (1380167206,), (1380167242,), (1380167243,), (1380167244,), (1380167245,), (1380167246,), (1380167248,), (1380167569,), (1380167571,), (1380167573,), (1380167576,), (1380167578,), (1380167580,), (1380167696,), (1380167697,), (1380167728,), (1380167729,), (1380167730,), (1380167731,), (1380167732,)) 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 26345703 , 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=26345661 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 (26345703) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26345661) result : ((1380167048,), (1380167203,), (1380167204,), (1380167205,), (1380167206,), (1380167242,), (1380167243,), (1380167244,), (1380167245,), (1380167246,), (1380167248,), (1380167569,), (1380167571,), (1380167573,), (1380167576,), (1380167578,), (1380167580,), (1380167696,), (1380167697,), (1380167728,), (1380167729,), (1380167730,), (1380167731,), (1380167732,)) 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 26345704 , 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=26345661 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 (26345704) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26345661) result : ((1380167048,), (1380167203,), (1380167204,), (1380167205,), (1380167206,), (1380167242,), (1380167243,), (1380167244,), (1380167245,), (1380167246,), (1380167248,), (1380167569,), (1380167571,), (1380167573,), (1380167576,), (1380167578,), (1380167580,), (1380167696,), (1380167697,), (1380167728,), (1380167729,), (1380167730,), (1380167731,), (1380167732,)) 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 26345705 , 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=26345661 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 (26345705) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26345661) result : ((1380167048,), (1380167203,), (1380167204,), (1380167205,), (1380167206,), (1380167242,), (1380167243,), (1380167244,), (1380167245,), (1380167246,), (1380167248,), (1380167569,), (1380167571,), (1380167573,), (1380167576,), (1380167578,), (1380167580,), (1380167696,), (1380167697,), (1380167728,), (1380167729,), (1380167730,), (1380167731,), (1380167732,)) 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 26345706 , 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=26345661 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 (26345706) result : ((1380167704,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26345661) result : ((1380167048,), (1380167203,), (1380167204,), (1380167205,), (1380167206,), (1380167242,), (1380167243,), (1380167244,), (1380167245,), (1380167246,), (1380167248,), (1380167569,), (1380167571,), (1380167573,), (1380167576,), (1380167578,), (1380167580,), (1380167696,), (1380167697,), (1380167728,), (1380167729,), (1380167730,), (1380167731,), (1380167732,)) 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`=26345661 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','cartonnette','Carton_gris','plastique','flou','Teint_Dans_La_Masse','environnement','autre_refus','metal','mal_croppe','kraft','papier')) 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`=26345661 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','cartonnette','Carton_gris','plastique','flou','Teint_Dans_La_Masse','environnement','autre_refus','metal','mal_croppe','kraft','papier')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 26345661, 'sub_port_id': 26345708, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17723525, 'last_updated_at': datetime.datetime(2025, 8, 29, 20, 33, 34), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 20, 33, 34), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 20, 33, 34)}, 'metal': {'main_port_id': 26345661, 'sub_port_id': 26345709, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17723526, 'last_updated_at': datetime.datetime(2025, 8, 29, 20, 33, 34), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 20, 33, 34), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 20, 33, 34)}, 'autre_refus': {'main_port_id': 26345661, 'sub_port_id': 26345710, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17723527, 'last_updated_at': datetime.datetime(2025, 8, 29, 20, 33, 34), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 20, 33, 34), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 20, 33, 34)}, 'Carton_gris': {'main_port_id': 26345661, 'sub_port_id': 26345711, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17723528, 'last_updated_at': datetime.datetime(2025, 8, 29, 20, 33, 34), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 20, 33, 34), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 20, 33, 34)}, 'plastique': {'main_port_id': 26345661, 'sub_port_id': 26345712, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17723529, 'last_updated_at': datetime.datetime(2025, 8, 29, 20, 33, 34), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 20, 33, 34), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 20, 33, 34)}, 'Teint_Dans_La_Masse': {'main_port_id': 26345661, 'sub_port_id': 26345713, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17723530, 'last_updated_at': datetime.datetime(2025, 8, 29, 20, 33, 34), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 20, 33, 34), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 20, 33, 34)}, 'environnement': {'main_port_id': 26345661, 'sub_port_id': 26345714, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17723531, 'last_updated_at': datetime.datetime(2025, 8, 29, 20, 33, 34), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 20, 33, 34), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 20, 33, 34)}, 'mal_croppe': {'main_port_id': 26345661, 'sub_port_id': 26345715, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17723532, 'last_updated_at': datetime.datetime(2025, 8, 29, 20, 33, 34), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 20, 33, 34), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 20, 33, 34)}, 'kraft': {'main_port_id': 26345661, 'sub_port_id': 26345716, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17723533, 'last_updated_at': datetime.datetime(2025, 8, 29, 20, 33, 34), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 20, 33, 34), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 20, 33, 34)}, 'flou': {'main_port_id': 26345661, 'sub_port_id': 26345717, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17723534, 'last_updated_at': datetime.datetime(2025, 8, 29, 20, 33, 34), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 20, 33, 34), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 20, 33, 34)}, 'papier': {'main_port_id': 26345661, 'sub_port_id': 26345718, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17723535, 'last_updated_at': datetime.datetime(2025, 8, 29, 20, 33, 34), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 20, 33, 34), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 20, 33, 34)}, 'Carton_brun': {'main_port_id': 26345661, 'sub_port_id': 26345719, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17723536, 'last_updated_at': datetime.datetime(2025, 8, 29, 20, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 20, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 20, 33, 34)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26345708,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26345694 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26345709,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26345696 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26345710,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26345697 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26345711,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26345698 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26345712,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26345699 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26345713,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26345700 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26345714,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26345701 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26345715,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26345702 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26345716,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26345703 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26345717,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26345704 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26345718,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26345705 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26345719,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26345706 lien utilise dans velours : https://marlene.fotonower.com/velours/26345708,26345709,26345710,26345711,26345712,26345713,26345714,26345715,26345716,26345717,26345718,26345719?tags=cartonnette,metal,autre_refus,Carton_gris,plastique,Teint_Dans_La_Masse,environnement,mal_croppe,kraft,flou,papier,Carton_brun After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26345661]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1380167732, 1380167731, 1380167730, 1380167729, 1380167728, 1380167697, 1380167696] map_info['map_portfolio_photo'] : {26345661: [1380167732, 1380167731, 1380167730, 1380167729, 1380167728, 1380167697, 1380167696, 1380167580, 1380167578, 1380167576, 1380167573, 1380167571, 1380167569, 1380167248, 1380167246, 1380167245, 1380167244, 1380167243, 1380167242, 1380167206, 1380167205, 1380167204, 1380167203, 1380167048]} final : False mtd_id 4302 list_pids : [1380167732, 1380167731, 1380167730, 1380167729, 1380167728, 1380167697, 1380167696] Looping around the photos to save general results len do output : 1 /26345661. 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, '3638759') ('4302', '26345661', '1380167732', None, None, None, None, None, '3638759') ('4302', None, None, None, None, None, None, None, '3638759') ('4302', '26345661', '1380167731', None, None, None, None, None, '3638759') ('4302', None, None, None, None, None, None, None, '3638759') ('4302', '26345661', '1380167730', None, None, None, None, None, '3638759') ('4302', None, None, None, None, None, None, None, '3638759') ('4302', '26345661', '1380167729', None, None, None, None, None, '3638759') ('4302', None, None, None, None, None, None, None, '3638759') ('4302', '26345661', '1380167728', None, None, None, None, None, '3638759') ('4302', None, None, None, None, None, None, None, '3638759') ('4302', '26345661', '1380167697', None, None, None, None, None, '3638759') ('4302', None, None, None, None, None, None, None, '3638759') ('4302', '26345661', '1380167696', None, None, None, None, None, '3638759') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 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, '26345661', "{'cartonnette': 26345694, 'metal': 26345696, 'autre_refus': 26345697, 'Carton_gris': 26345698, 'plastique': 26345699, 'Teint_Dans_La_Masse': 26345700, 'environnement': 26345701, 'mal_croppe': 26345702, 'kraft': 26345703, 'flou': 26345704, 'papier': 26345705, 'Carton_brun': 26345706}", None, None, None, None, '3638759'), ('4302', '26345661', '1380167732', None, None, None, None, None, '3638759'), ('4302', '26345661', '1380167731', None, None, None, None, None, '3638759'), ('4302', '26345661', '1380167730', None, None, None, None, None, '3638759'), ('4302', '26345661', '1380167729', None, None, None, None, None, '3638759'), ('4302', '26345661', '1380167728', None, None, None, None, None, '3638759'), ('4302', '26345661', '1380167697', None, None, None, None, None, '3638759'), ('4302', '26345661', '1380167696', None, None, None, None, None, '3638759')] time used for this insertion : 0.014000415802001953 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7952497005462646 time spend to save output : 0.01430821418762207 total time spend for step 1 : 1.8095579147338867 step2:final Fri Aug 29 20:37:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26345661) 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 26345661 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1380167048,1380167206,1380167205,1380167204,1380167203,1380167248,1380167246,1380167245,1380167244,1380167243,1380167242,1380167580,1380167578,1380167576,1380167573,1380167571,1380167569,1380167697,1380167696,1380167732,1380167731,1380167730,1380167729,1380167728); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26345661]) Inside saveOutput : final : False verbose : True original output for save of step final : {1380167732: ('0.01018655559845162',), 1380167731: ('0.01018655559845162',), 1380167730: ('0.01018655559845162',), 1380167729: ('0.01018655559845162',), 1380167728: ('0.01018655559845162',), 1380167697: ('0.01018655559845162',), 1380167696: ('0.01018655559845162',)} new output for save of step final : {1380167732: ('0.01018655559845162',), 1380167731: ('0.01018655559845162',), 1380167730: ('0.01018655559845162',), 1380167729: ('0.01018655559845162',), 1380167728: ('0.01018655559845162',), 1380167697: ('0.01018655559845162',), 1380167696: ('0.01018655559845162',)} [1380167732, 1380167731, 1380167730, 1380167729, 1380167728, 1380167697, 1380167696] map_info['map_portfolio_photo'] : {26345661: [1380167732, 1380167731, 1380167730, 1380167729, 1380167728, 1380167697, 1380167696, 1380167580, 1380167578, 1380167576, 1380167573, 1380167571, 1380167569, 1380167248, 1380167246, 1380167245, 1380167244, 1380167243, 1380167242, 1380167206, 1380167205, 1380167204, 1380167203, 1380167048]} final : False mtd_id 4302 list_pids : [1380167732, 1380167731, 1380167730, 1380167729, 1380167728, 1380167697, 1380167696] Looping around the photos to save general results len do output : 7 /1380167732.Didn't retrieve data . /1380167731.Didn't retrieve data . /1380167730.Didn't retrieve data . /1380167729.Didn't retrieve data . /1380167728.Didn't retrieve data . /1380167697.Didn't retrieve data . /1380167696.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, '3638759') ('4302', '26345661', '1380167732', None, None, None, None, None, '3638759') ('4302', None, None, None, None, None, None, None, '3638759') ('4302', '26345661', '1380167731', None, None, None, None, None, '3638759') ('4302', None, None, None, None, None, None, None, '3638759') ('4302', '26345661', '1380167730', None, None, None, None, None, '3638759') ('4302', None, None, None, None, None, None, None, '3638759') ('4302', '26345661', '1380167729', None, None, None, None, None, '3638759') ('4302', None, None, None, None, None, None, None, '3638759') ('4302', '26345661', '1380167728', None, None, None, None, None, '3638759') ('4302', None, None, None, None, None, None, None, '3638759') ('4302', '26345661', '1380167697', None, None, None, None, None, '3638759') ('4302', None, None, None, None, None, None, None, '3638759') ('4302', '26345661', '1380167696', None, None, None, None, None, '3638759') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 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', '26345661', '1380167732', '0.01018655559845162', None, None, None, None, '3638759'), ('4302', '26345661', '1380167731', '0.01018655559845162', None, None, None, None, '3638759'), ('4302', '26345661', '1380167730', '0.01018655559845162', None, None, None, None, '3638759'), ('4302', '26345661', '1380167729', '0.01018655559845162', None, None, None, None, '3638759'), ('4302', '26345661', '1380167728', '0.01018655559845162', None, None, None, None, '3638759'), ('4302', '26345661', '1380167697', '0.01018655559845162', None, None, None, None, '3638759'), ('4302', '26345661', '1380167696', '0.01018655559845162', None, None, None, None, '3638759')] time used for this insertion : 0.012540578842163086 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06229209899902344 time spend to save output : 0.013022422790527344 total time spend for step 2 : 0.07531452178955078 step3:velours_tree Fri Aug 29 20:37:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {26345661: [{'cartonnette': 26345694, 'metal': 26345696, 'autre_refus': 26345697, 'Carton_gris': 26345698, 'plastique': 26345699, 'Teint_Dans_La_Masse': 26345700, 'environnement': 26345701, 'mal_croppe': 26345702, 'kraft': 26345703, 'flou': 26345704, 'papier': 26345705, 'Carton_brun': 26345706}]} input_args_next_step : {26345661: ()} output_args : {26345661: [{'cartonnette': 26345694, 'metal': 26345696, 'autre_refus': 26345697, 'Carton_gris': 26345698, 'plastique': 26345699, 'Teint_Dans_La_Masse': 26345700, 'environnement': 26345701, 'mal_croppe': 26345702, 'kraft': 26345703, 'flou': 26345704, 'papier': 26345705, 'Carton_brun': 26345706}]} args : 26345661 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': 26345694, 'metal': 26345696, 'autre_refus': 26345697, 'Carton_gris': 26345698, 'plastique': 26345699, 'Teint_Dans_La_Masse': 26345700, 'environnement': 26345701, 'mal_croppe': 26345702, 'kraft': 26345703, 'flou': 26345704, 'papier': 26345705, 'Carton_brun': 26345706},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26345661) 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([26345661]) 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.30355286598205566 time spend to save output : 4.482269287109375e-05 total time spend for step 3 : 0.30359768867492676 step4:send_mail_cod Fri Aug 29 20:37:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1380167732: ('0.01018655559845162',), 1380167731: ('0.01018655559845162',), 1380167730: ('0.01018655559845162',), 1380167729: ('0.01018655559845162',), 1380167728: ('0.01018655559845162',), 1380167697: ('0.01018655559845162',), 1380167696: ('0.01018655559845162',)} input_args_next_step : {1380167732: ()} output_args : {1380167732: ('0.01018655559845162',), 1380167731: ('0.01018655559845162',), 1380167730: ('0.01018655559845162',), 1380167729: ('0.01018655559845162',), 1380167728: ('0.01018655559845162',), 1380167697: ('0.01018655559845162',), 1380167696: ('0.01018655559845162',)} args : 1380167732 depend.output_id : 0 input_args_next_step : {1380167732: ('0.01018655559845162',), 1380167731: ()} output_args : {1380167732: ('0.01018655559845162',), 1380167731: ('0.01018655559845162',), 1380167730: ('0.01018655559845162',), 1380167729: ('0.01018655559845162',), 1380167728: ('0.01018655559845162',), 1380167697: ('0.01018655559845162',), 1380167696: ('0.01018655559845162',)} args : 1380167731 depend.output_id : 0 input_args_next_step : {1380167732: ('0.01018655559845162',), 1380167731: ('0.01018655559845162',), 1380167730: ()} output_args : {1380167732: ('0.01018655559845162',), 1380167731: ('0.01018655559845162',), 1380167730: ('0.01018655559845162',), 1380167729: ('0.01018655559845162',), 1380167728: ('0.01018655559845162',), 1380167697: ('0.01018655559845162',), 1380167696: ('0.01018655559845162',)} args : 1380167730 depend.output_id : 0 input_args_next_step : {1380167732: ('0.01018655559845162',), 1380167731: ('0.01018655559845162',), 1380167730: ('0.01018655559845162',), 1380167729: ()} output_args : {1380167732: ('0.01018655559845162',), 1380167731: ('0.01018655559845162',), 1380167730: ('0.01018655559845162',), 1380167729: ('0.01018655559845162',), 1380167728: ('0.01018655559845162',), 1380167697: ('0.01018655559845162',), 1380167696: ('0.01018655559845162',)} args : 1380167729 depend.output_id : 0 input_args_next_step : {1380167732: ('0.01018655559845162',), 1380167731: ('0.01018655559845162',), 1380167730: ('0.01018655559845162',), 1380167729: ('0.01018655559845162',), 1380167728: ()} output_args : {1380167732: ('0.01018655559845162',), 1380167731: ('0.01018655559845162',), 1380167730: ('0.01018655559845162',), 1380167729: ('0.01018655559845162',), 1380167728: ('0.01018655559845162',), 1380167697: ('0.01018655559845162',), 1380167696: ('0.01018655559845162',)} args : 1380167728 depend.output_id : 0 input_args_next_step : {1380167732: ('0.01018655559845162',), 1380167731: ('0.01018655559845162',), 1380167730: ('0.01018655559845162',), 1380167729: ('0.01018655559845162',), 1380167728: ('0.01018655559845162',), 1380167697: ()} output_args : {1380167732: ('0.01018655559845162',), 1380167731: ('0.01018655559845162',), 1380167730: ('0.01018655559845162',), 1380167729: ('0.01018655559845162',), 1380167728: ('0.01018655559845162',), 1380167697: ('0.01018655559845162',), 1380167696: ('0.01018655559845162',)} args : 1380167697 depend.output_id : 0 input_args_next_step : {1380167732: ('0.01018655559845162',), 1380167731: ('0.01018655559845162',), 1380167730: ('0.01018655559845162',), 1380167729: ('0.01018655559845162',), 1380167728: ('0.01018655559845162',), 1380167697: ('0.01018655559845162',), 1380167696: ()} output_args : {1380167732: ('0.01018655559845162',), 1380167731: ('0.01018655559845162',), 1380167730: ('0.01018655559845162',), 1380167729: ('0.01018655559845162',), 1380167728: ('0.01018655559845162',), 1380167697: ('0.01018655559845162',), 1380167696: ('0.01018655559845162',)} args : 1380167696 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 : {26345661: [{'cartonnette': 26345694, 'metal': 26345696, 'autre_refus': 26345697, 'Carton_gris': 26345698, 'plastique': 26345699, 'Teint_Dans_La_Masse': 26345700, 'environnement': 26345701, 'mal_croppe': 26345702, 'kraft': 26345703, 'flou': 26345704, 'papier': 26345705, 'Carton_brun': 26345706}]} input_args_next_step : {1380167732: ('0.01018655559845162',), 1380167731: ('0.01018655559845162',), 1380167730: ('0.01018655559845162',), 1380167729: ('0.01018655559845162',), 1380167728: ('0.01018655559845162',), 1380167697: ('0.01018655559845162',), 1380167696: ('0.01018655559845162',), 26345661: ()} output_args : {26345661: [{'cartonnette': 26345694, 'metal': 26345696, 'autre_refus': 26345697, 'Carton_gris': 26345698, 'plastique': 26345699, 'Teint_Dans_La_Masse': 26345700, 'environnement': 26345701, 'mal_croppe': 26345702, 'kraft': 26345703, 'flou': 26345704, 'papier': 26345705, 'Carton_brun': 26345706}]} args : 26345661 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 :8, first value : ('0.01018655559845162',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26345661) 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 (1380167732,1380167731,1380167730,1380167729,1380167728,1380167697,1380167696) Found this number of photos: 7 ##### Call download_photos : nb_thread : 5 begin to download photo : 1380167696 begin to download photo : 1380167728 begin to download photo : 1380167730 begin to download photo : 1380167732 download finish for photo 1380167696 begin to download photo : 1380167697 download finish for photo 1380167728 begin to download photo : 1380167729 download finish for photo 1380167732 download finish for photo 1380167730 begin to download photo : 1380167731 download finish for photo 1380167697 download finish for photo 1380167729 download finish for photo 1380167731 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette263456941756492620/ imagette263456961756492620/ imagette263456971756492620/ imagette263456991756492620/ imagette263457021756492620/ imagette263457031756492620/ imagette263457041756492620/ imagette263456981756492620/ imagette263457001756492620/ length of list_filenames : 7 ; length of list_pids : 7 ; length of list_args : 7 results_Auto_P26345661_29-08-2025_20_37_00.pdf 26345694 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=26345694 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette263456941756492620 26345696 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=26345696 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette263456961756492620 26345697 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=26345697 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette263456971756492620 26345699 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=26345699 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette263456991756492620 26345702 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=26345702 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette263457021756492620 26345703 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=26345703 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette263457031756492620 26345704 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=26345704 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette263457041756492620 26345698 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=26345698 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette263456981756492620 26345700 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=26345700 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette263457001756492620 26345706 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=26345706 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380167704: '1756492506_175779_1380167205_81c3a5381dab0e781a7bf852240bf92c_52638290_rle_crop_3935835635_0.png'} change filename to text .imagette263457061756492620/ imagette263457061756492620/1756492506_175779_1380167205_81c3a5381dab0e781a7bf852240bf92c_52638290_rle_crop_3935835635_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/1c38b545d11fafe29f4b657572b9627b_24800051.png imagette263457061756492620 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26345661 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26345708,26345709,26345710,26345711,26345712,26345713,26345714,26345715,26345716,26345717,26345718,26345719?tags=cartonnette,metal,autre_refus,Carton_gris,plastique,Teint_Dans_La_Masse,environnement,mal_croppe,kraft,flou,papier,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1380167732] : ('0.01018655559845162',) no score found for photo 1380167732 We are sending mail with results at report@fotonower.com args[1380167731] : ('0.01018655559845162',) no score found for photo 1380167731 We are sending mail with results at report@fotonower.com args[1380167730] : ('0.01018655559845162',) no score found for photo 1380167730 We are sending mail with results at report@fotonower.com args[1380167729] : ('0.01018655559845162',) no score found for photo 1380167729 We are sending mail with results at report@fotonower.com args[1380167728] : ('0.01018655559845162',) no score found for photo 1380167728 We are sending mail with results at report@fotonower.com args[1380167697] : ('0.01018655559845162',) no score found for photo 1380167697 We are sending mail with results at report@fotonower.com args[1380167696] : ('0.01018655559845162',) no score found for photo 1380167696 We are sending mail with results at report@fotonower.com refus_total : 0.01018655559845162 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=26345661 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_P26345661_29-08-2025_20_37_00.pdf results_Auto_P26345661_29-08-2025_20_37_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26345661_29-08-2025_20_37_00.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','26345661','results_Auto_P26345661_29-08-2025_20_37_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26345661_29-08-2025_20_37_00.pdf','pdf','','0.08','0.01018655559845162') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26345661]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1380167732, 1380167731, 1380167730, 1380167729, 1380167728, 1380167697, 1380167696] map_info['map_portfolio_photo'] : {26345661: [1380167732, 1380167731, 1380167730, 1380167729, 1380167728, 1380167697, 1380167696, 1380167580, 1380167578, 1380167576, 1380167573, 1380167571, 1380167569, 1380167248, 1380167246, 1380167245, 1380167244, 1380167243, 1380167242, 1380167206, 1380167205, 1380167204, 1380167203, 1380167048]} final : False mtd_id 4302 list_pids : [1380167732, 1380167731, 1380167730, 1380167729, 1380167728, 1380167697, 1380167696] 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, '3638759') ('4302', '26345661', '1380167732', None, None, None, None, None, '3638759') ('4302', None, None, None, None, None, None, None, '3638759') ('4302', '26345661', '1380167731', None, None, None, None, None, '3638759') ('4302', None, None, None, None, None, None, None, '3638759') ('4302', '26345661', '1380167730', None, None, None, None, None, '3638759') ('4302', None, None, None, None, None, None, None, '3638759') ('4302', '26345661', '1380167729', None, None, None, None, None, '3638759') ('4302', None, None, None, None, None, None, None, '3638759') ('4302', '26345661', '1380167728', None, None, None, None, None, '3638759') ('4302', None, None, None, None, None, None, None, '3638759') ('4302', '26345661', '1380167697', None, None, None, None, None, '3638759') ('4302', None, None, None, None, None, None, None, '3638759') ('4302', '26345661', '1380167696', None, None, None, None, None, '3638759') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '26345661', '1380167732', None, None, None, None, None, '3638759'), ('4302', '26345661', '1380167731', None, None, None, None, None, '3638759'), ('4302', '26345661', '1380167730', None, None, None, None, None, '3638759'), ('4302', '26345661', '1380167729', None, None, None, None, None, '3638759'), ('4302', '26345661', '1380167728', None, None, None, None, None, '3638759'), ('4302', '26345661', '1380167697', None, None, None, None, None, '3638759'), ('4302', '26345661', '1380167696', None, None, None, None, None, '3638759')] time used for this insertion : 0.01957082748413086 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.2744500637054443 time spend to save output : 0.019779205322265625 total time spend for step 4 : 1.29422926902771 step5:split_time_score Fri Aug 29 20:37:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['26345661'] 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 : [('26345661',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26345661) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1380167732: {'path': 'temp/1756492620_3900060_1380167732_cb3837b374e6874e2a74d6ba944db50e_28840349.jpg', 'extension': 'jpg'}, 1380167696: {'path': 'temp/1756492620_3900060_1380167696_990087857396ed237bb48fbdb6277a0e_25516795.jpg', 'extension': 'jpg'}, 1380167697: {'path': 'temp/1756492620_3900060_1380167697_82072c7426ab6463a340e337710c6a78_21144883.jpg', 'extension': 'jpg'}, 1380167728: {'path': 'temp/1756492620_3900060_1380167728_43ff5445beb70f968fcf33cc6f7d20d7_15034674.jpg', 'extension': 'jpg'}, 1380167729: {'path': 'temp/1756492620_3900060_1380167729_8e3d67900c1ddb22ba11618a5597a4b1_86352447.jpg', 'extension': 'jpg'}, 1380167730: {'path': 'temp/1756492620_3900060_1380167730_701a2f49d0b1eb26a0b23f3f43bb5eca_26152429.jpg', 'extension': 'jpg'}, 1380167731: {'path': 'temp/1756492620_3900060_1380167731_d640c2c2225e612f325824da51dfd707_59944068.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 = 26345661; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 26345661 group by h (('20', 24),) 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=26345661 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 (26345661) 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 (26345661) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 29082025 26345661 Nombre de photos uploadées : 24 / 23040 (0%) 29082025 26345661 Nombre de photos taguées (types de déchets): 0 / 24 (0%) 29082025 26345661 Nombre de photos taguées (volume) : 0 / 24 (0%) [{'photo_id': 1380167048, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/31fdb0148fdad23ea5893386eba92a5d_2837857.jpg', 'username': None, 'uploaded_at': 1756492272, 'text': 'image_29082025_20_30_43_10142.jpg'}, {'photo_id': 1380167206, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/176e8934fc41f15a6b4c82036d002631_43506436.jpg', 'username': None, 'uploaded_at': 1756492332, 'text': 'image_29082025_20_30_53_10135.jpg'}, {'photo_id': 1380167205, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/81c3a5381dab0e781a7bf852240bf92c_52638290.jpg', 'username': None, 'uploaded_at': 1756492332, 'text': 'image_29082025_20_31_04_10162.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1380167204, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/4370910d5306afc49293baf68abe9f8b_74238401.jpg', 'username': None, 'uploaded_at': 1756492332, 'text': 'image_29082025_20_31_14_10140.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 3.814697265625e-06 ???????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0010306835174560547 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26345661, '2025-08-29' ) 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-29' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2197579,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.22647929191589355 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= 2197579 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26310324, 'dashboard_result_id': 14465383, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26310324_29-08-2025_00_17_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26310326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26310327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26310328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26310329, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26310330, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26310331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26310332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26310333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26310334, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26310335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26310336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26310337, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26310717, 'dashboard_result_id': 14465384, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26310717_29-08-2025_00_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26310746, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26310747, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26310748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26310749, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26310750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26310751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26310752, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26310753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26310754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26310755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26310756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26310757, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26311223, 'dashboard_result_id': 14465385, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311223_29-08-2025_00_47_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26311266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26311267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26311268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26311269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26311270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26311271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26311272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26311274, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26311275, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26311276, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26311277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26311278, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26311576, 'dashboard_result_id': 14465386, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311576_29-08-2025_01_35_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26311581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26311582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26311583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26311584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26311585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26311586, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26311587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26311588, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26311589, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26311590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26311591, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26311593, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26312508, 'dashboard_result_id': 14465387, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312508_29-08-2025_01_47_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26312520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26312521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26312522, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26312523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26312524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26312525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26312526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26312527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26312528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26312529, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26312530, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26312531, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26312666, 'dashboard_result_id': 14465388, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312666_29-08-2025_02_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26312701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26312702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26312703, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26312704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26312705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26312706, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26312707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26312709, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26312710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26312711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26312712, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26312713, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26312840, 'dashboard_result_id': 14465389, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312840_29-08-2025_02_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26312860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26312861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26312862, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26312863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26312864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26312865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26312866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26312867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26312868, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26312869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26312870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26312871, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26313214, 'dashboard_result_id': 14465390, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313214_29-08-2025_02_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26313225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26313226, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26313227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26313228, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26313229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26313230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26313231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26313232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26313233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26313234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26313235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26313236, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26313513, 'dashboard_result_id': 14465391, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313513_29-08-2025_02_47_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26313525, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26313526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26313527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26313528, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26313529, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26313530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26313531, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26313532, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26313533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26313534, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26313535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26313536, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26313684, 'dashboard_result_id': 14465392, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313684_29-08-2025_03_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26313686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26313687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26313688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26313689, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26313690, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26313691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26313692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26313693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26313694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26313695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26313696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26313697, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26313867, 'dashboard_result_id': 14465393, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313867_29-08-2025_03_18_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26313895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26313896, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26313897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26313898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26313899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26313900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26313901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26313902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26313903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26313904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26313905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26313906, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26314237, 'dashboard_result_id': 14465394, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314237_29-08-2025_03_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26314249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26314250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26314251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26314252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26314253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26314254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26314255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26314256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26314257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26314258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26314259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26314260, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26314515, 'dashboard_result_id': 14465395, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314515_29-08-2025_03_46_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26314526, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26314527, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26314528, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26314529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26314530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26314531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26314532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26314533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26314534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26314535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26314536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26314537, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26314695, 'dashboard_result_id': 14465396, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314695_29-08-2025_04_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26314707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26314708, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26314709, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26314710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26314711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26314712, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26314713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26314714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26314715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26314716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26314717, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26314718, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26314920, 'dashboard_result_id': 14465397, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314920_29-08-2025_14_31_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26314938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26314939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26314940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26314941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26314942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26314943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26314944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26314945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26314946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26314947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26314948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26314949, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26315956, 'dashboard_result_id': 14465398, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26315956_29-08-2025_05_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26315969, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26315970, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26315971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26315972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26315973, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26315974, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26315975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26315976, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26315977, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26315978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26315979, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26315980, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26316121, 'dashboard_result_id': 14465399, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316121_29-08-2025_05_36_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316133, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316137, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316143, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26316295, 'dashboard_result_id': 14465400, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316295_29-08-2025_05_47_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316301, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316303, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316305, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316307, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316308, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316312, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26316368, 'dashboard_result_id': 14465401, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316368_29-08-2025_06_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316373, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316380, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316381, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316382, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316384, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26316645, 'dashboard_result_id': 14465402, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316645_29-08-2025_06_16_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316664, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316667, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316668, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316672, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26316956, 'dashboard_result_id': 14465403, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316956_29-08-2025_06_33_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316971, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316973, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26317122, 'dashboard_result_id': 14465404, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26317122_29-08-2025_06_49_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26317124, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26317125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26317126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26317127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26317128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26317129, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26317130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26317131, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26317132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26317133, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26317134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26317135, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26317313, 'dashboard_result_id': 14465405, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26317313_29-08-2025_14_31_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26317353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26317354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26317355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26317356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26317357, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26317358, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26317359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26317360, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26317361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26317362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26317363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26317364, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26319275, 'dashboard_result_id': 14465406, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319275_29-08-2025_08_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26319276, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26319277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26319278, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26319279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26319280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26319281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26319282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26319283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26319284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26319285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26319286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26319287, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26319649, 'dashboard_result_id': 14465407, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319649_29-08-2025_08_46_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26319660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26319661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26319662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26319663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26319664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26319665, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26319666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26319667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26319668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26319669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26319670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26319671, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26319992, 'dashboard_result_id': 14465408, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319992_29-08-2025_09_38_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26320001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26320002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26320003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26320004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26320005, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26320006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26320007, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26320008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26320009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26320010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26320011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26320012, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26321271, 'dashboard_result_id': 14465409, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321271_29-08-2025_09_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26321302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26321303, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26321304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26321305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26321306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26321307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26321308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26321309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26321310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26321311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26321312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26321313, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26321494, 'dashboard_result_id': 14465410, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321494_29-08-2025_10_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26321503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26321504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26321505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26321506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26321507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26321508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26321509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26321510, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26321511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26321512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26321513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26321514, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26321798, 'dashboard_result_id': 14465411, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321798_29-08-2025_10_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26321806, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26321807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26321808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26321809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26321810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26321811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26321812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26321813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26321814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26321815, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26321816, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26321817, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26322168, 'dashboard_result_id': 14465412, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26322168_29-08-2025_10_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26322203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26322204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26322205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26322206, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26322207, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26322208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26322209, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26322210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26322211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26322213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26322214, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26322215, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26322587, 'dashboard_result_id': 14465413, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26322587_29-08-2025_10_47_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26322636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26322637, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26322638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26322639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26322640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26322641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26322642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26322643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26322644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26322645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26322646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26322647, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26323180, 'dashboard_result_id': 14465414, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26323180_29-08-2025_11_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26323189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26323190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26323191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26323192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26323193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26323194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26323195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26323196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26323197, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26323198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26323199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26323200, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26323592, 'dashboard_result_id': 14465415, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26323592_29-08-2025_11_18_56.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26323602, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26323604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26323605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26323606, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26323607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26323608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26323609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26323610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26323611, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26323612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26323613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26323614, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26324001, 'dashboard_result_id': 14465417, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324001_29-08-2025_11_33_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26324015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26324016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26324017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26324019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26324020, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26324021, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26324022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26324023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26324024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26324025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26324026, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26324027, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26324407, 'dashboard_result_id': 14465419, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324407_29-08-2025_11_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26324429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26324430, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26324431, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26324432, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26324433, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26324434, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26324435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26324436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26324437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26324438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26324439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26324440, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26324712, 'dashboard_result_id': 14465421, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324712_29-08-2025_12_10_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26324748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26324749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26324750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26324751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26324752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26324753, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26324754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26324755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26324756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26324757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26324758, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26324759, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26327763, 'dashboard_result_id': 14465423, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26327763_29-08-2025_13_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26327770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26327771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26327772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26327773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26327774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26327775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26327776, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26327777, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26327778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26327779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26327780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26327781, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26328375, 'dashboard_result_id': 14465424, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26328375_29-08-2025_14_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26328382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26328383, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26328384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26328385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26328386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26328387, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26328388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26328389, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26328390, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26328391, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26328392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26328393, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26328696, 'dashboard_result_id': 14465425, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26328696_29-08-2025_14_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26328713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26328714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26328715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26328716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26328717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26328718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26328719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26328720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26328721, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26328722, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26328723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26328724, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26329431, 'dashboard_result_id': 14465426, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26329431_29-08-2025_14_32_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26329471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26329472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26329473, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26329474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26329475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26329476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26329477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26329478, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26329479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26329480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26329481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26329482, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26330273, 'dashboard_result_id': 14465427, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26330273_29-08-2025_14_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26330321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26330322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26330323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26330324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26330325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26330326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26330327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26330328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26330329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26330330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26330331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26330332, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26330727, 'dashboard_result_id': 14465428, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26330727_29-08-2025_15_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26330761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26330762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26330763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26330764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26330765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26330766, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26330767, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26330768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26330769, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26330770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26330771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26330772, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26331432, 'dashboard_result_id': 14465429, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26331432_29-08-2025_15_16_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26331468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26331469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26331470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26331471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26331472, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26331473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26331474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26331475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26331476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26331477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26331478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26331479, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26332241, 'dashboard_result_id': 14465430, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26332241_29-08-2025_15_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26332275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26332276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26332277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26332278, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26332279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26332280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26332281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26332282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26332283, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26332284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26332286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26332287, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26332945, 'dashboard_result_id': 14465431, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26332945_29-08-2025_15_47_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26332978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26332979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26332981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26332982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26332983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26332984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26332985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26332986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26332987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26332988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26332989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26332990, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26333697, 'dashboard_result_id': 14465432, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26333697_29-08-2025_16_02_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26333722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26333723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26333725, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26333730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26333737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26333743, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26333745, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26333746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26333747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26333748, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26333749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26333750, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26334301, 'dashboard_result_id': 14465433, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26334301_29-08-2025_16_16_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26334350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26334351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26334352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26334353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26334354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26334355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26334356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26334357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26334358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26334359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26334360, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26334361, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26335136, 'dashboard_result_id': 14465434, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26335136_29-08-2025_16_32_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26335185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26335186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26335187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26335188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26335189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26335190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26335191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26335192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26335193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26335194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26335195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26335196, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26335814, 'dashboard_result_id': 14465435, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26335814_29-08-2025_16_46_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26335847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26335848, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26335849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26335850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26335851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26335852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26335853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26335854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26335855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26335856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26335857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26335858, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26336418, 'dashboard_result_id': 14465436, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26336418_29-08-2025_17_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26336454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26336455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26336456, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26336457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26336458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26336459, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26336460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26336461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26336462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26336463, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26336464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26336465, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26337072, 'dashboard_result_id': 14465437, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26337072_29-08-2025_17_16_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26337143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26337144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26337145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26337146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26337147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26337148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26337149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26337150, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26337151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26337152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26337153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26337154, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26337687, 'dashboard_result_id': 14465438, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26337687_29-08-2025_19_01_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26337718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26337719, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26337720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26337721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26337722, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26337723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26337724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26337725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26337726, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26337727, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26337729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26337730, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26341177, 'dashboard_result_id': 14465439, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341177_29-08-2025_19_02_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341350, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341356, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26341357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341359, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341363, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26341180, 'dashboard_result_id': 14465440, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341180_29-08-2025_19_01_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341242, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341243, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341244, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26341251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341253, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26341182, 'dashboard_result_id': 14465441, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341182_29-08-2025_19_00_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26341190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341201, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26341184, 'dashboard_result_id': 14465442, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341184_29-08-2025_19_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341204, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341205, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341206, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341207, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341208, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341209, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26341211, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341212, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341213, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26341409, 'dashboard_result_id': 14465443, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341409_29-08-2025_19_17_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26341431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341435, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341436, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341439, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341441, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341442, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26342142, 'dashboard_result_id': 14465444, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26342142_29-08-2025_19_33_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26342155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26342156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26342157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26342158, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26342159, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26342160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26342161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26342162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26342163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26342164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26342165, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26342166, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26343013, 'dashboard_result_id': 14465445, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26343013_29-08-2025_19_46_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26343046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26343047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26343048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26343049, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26343050, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26343051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26343052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26343053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26343054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26343055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26343056, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26343057, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26343747, 'dashboard_result_id': 14465446, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26343747_29-08-2025_20_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26343753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26343754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26343755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26343756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26343757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26343758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26343759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26343760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26343761, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26343762, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26343763, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26343764, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26344248, 'dashboard_result_id': 14465447, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26344248_29-08-2025_20_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26344312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26344314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26344315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26344316, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26344317, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26344318, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26344319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26344320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26344322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26344323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26344324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26344325, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26344986, 'dashboard_result_id': 14465448, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26344986_29-08-2025_20_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26345032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26345033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26345034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26345035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26345036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26345037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26345038, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26345039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26345040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26345041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26345042, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26345043, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2207119, 'mtr_portfolio_id': 26345661, 'dashboard_result_id': 14465449, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26345661_29-08-2025_20_33_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26345694, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26345696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26345697, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26345698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26345699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26345700, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26345701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26345702, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26345703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26345704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26345705, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26345706, '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 = 26310324 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 = 26310324 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 = 26310324 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26310324 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 = 26310324 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 = 26310324 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26310324_29-08-2025_00_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26310324 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26310324_29-08-2025_00_17_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26310326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26310327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26310328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26310329, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26310330, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26310331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26310332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26310333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26310334, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26310335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26310336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26310337, 'pht': 3726}}" where mtr_portfolio_id = 26310324 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26310717 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 = 26310717 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 = 26310717 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26310717 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 = 26310717 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 = 26310717 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26310717_29-08-2025_00_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26310717 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26310717_29-08-2025_00_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26310746, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26310747, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26310748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26310749, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26310750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26310751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26310752, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26310753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26310754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26310755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26310756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26310757, 'pht': 3726}}" where mtr_portfolio_id = 26310717 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26311223 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 = 26311223 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 = 26311223 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26311223 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 = 26311223 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 = 26311223 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311223_29-08-2025_00_47_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26311223 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311223_29-08-2025_00_47_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26311266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26311267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26311268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26311269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26311270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26311271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26311272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26311274, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26311275, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26311276, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26311277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26311278, 'pht': 3726}}" where mtr_portfolio_id = 26311223 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26311576 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 = 26311576 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 = 26311576 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26311576 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 = 26311576 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 = 26311576 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311576_29-08-2025_01_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26311576 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311576_29-08-2025_01_35_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26311581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26311582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26311583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26311584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26311585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26311586, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26311587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26311588, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26311589, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26311590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26311591, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26311593, 'pht': 3726}}" where mtr_portfolio_id = 26311576 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26312508 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 = 26312508 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 = 26312508 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26312508 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 = 26312508 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 = 26312508 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312508_29-08-2025_01_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26312508 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312508_29-08-2025_01_47_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26312520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26312521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26312522, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26312523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26312524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26312525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26312526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26312527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26312528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26312529, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26312530, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26312531, 'pht': 3726}}" where mtr_portfolio_id = 26312508 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26312666 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 = 26312666 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 = 26312666 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26312666 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 = 26312666 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 = 26312666 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312666_29-08-2025_02_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26312666 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312666_29-08-2025_02_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26312701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26312702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26312703, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26312704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26312705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26312706, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26312707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26312709, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26312710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26312711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26312712, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26312713, 'pht': 3726}}" where mtr_portfolio_id = 26312666 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26312840 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 = 26312840 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 = 26312840 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26312840 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 = 26312840 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 = 26312840 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312840_29-08-2025_02_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26312840 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312840_29-08-2025_02_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26312860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26312861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26312862, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26312863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26312864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26312865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26312866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26312867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26312868, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26312869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26312870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26312871, 'pht': 3726}}" where mtr_portfolio_id = 26312840 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313214 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 = 26313214 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 = 26313214 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313214 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 = 26313214 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 = 26313214 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313214_29-08-2025_02_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26313214 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313214_29-08-2025_02_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26313225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26313226, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26313227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26313228, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26313229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26313230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26313231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26313232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26313233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26313234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26313235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26313236, 'pht': 3726}}" where mtr_portfolio_id = 26313214 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313513 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 = 26313513 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 = 26313513 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313513 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 = 26313513 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 = 26313513 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313513_29-08-2025_02_47_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26313513 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313513_29-08-2025_02_47_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26313525, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26313526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26313527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26313528, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26313529, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26313530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26313531, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26313532, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26313533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26313534, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26313535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26313536, 'pht': 3726}}" where mtr_portfolio_id = 26313513 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313684 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 = 26313684 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 = 26313684 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313684 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 = 26313684 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 = 26313684 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313684_29-08-2025_03_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26313684 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313684_29-08-2025_03_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26313686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26313687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26313688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26313689, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26313690, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26313691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26313692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26313693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26313694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26313695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26313696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26313697, 'pht': 3726}}" where mtr_portfolio_id = 26313684 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313867 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 = 26313867 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 = 26313867 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313867 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 = 26313867 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 = 26313867 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313867_29-08-2025_03_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26313867 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313867_29-08-2025_03_18_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26313895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26313896, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26313897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26313898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26313899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26313900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26313901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26313902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26313903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26313904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26313905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26313906, 'pht': 3726}}" where mtr_portfolio_id = 26313867 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314237 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 = 26314237 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 = 26314237 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314237 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 = 26314237 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 = 26314237 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314237_29-08-2025_03_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26314237 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314237_29-08-2025_03_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26314249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26314250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26314251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26314252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26314253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26314254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26314255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26314256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26314257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26314258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26314259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26314260, 'pht': 3726}}" where mtr_portfolio_id = 26314237 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314515 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 = 26314515 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 = 26314515 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314515 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 = 26314515 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 = 26314515 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314515_29-08-2025_03_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26314515 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314515_29-08-2025_03_46_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26314526, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26314527, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26314528, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26314529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26314530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26314531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26314532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26314533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26314534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26314535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26314536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26314537, 'pht': 3726}}" where mtr_portfolio_id = 26314515 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314695 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 = 26314695 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 = 26314695 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314695 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 = 26314695 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 = 26314695 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314695_29-08-2025_04_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26314695 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314695_29-08-2025_04_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26314707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26314708, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26314709, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26314710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26314711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26314712, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26314713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26314714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26314715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26314716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26314717, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26314718, 'pht': 3726}}" where mtr_portfolio_id = 26314695 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314920 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 = 26314920 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 = 26314920 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314920 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 = 26314920 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 = 26314920 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314920_29-08-2025_14_31_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26314920 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314920_29-08-2025_14_31_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26314938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26314939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26314940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26314941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26314942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26314943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26314944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26314945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26314946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26314947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26314948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26314949, 'pht': 3726}}" where mtr_portfolio_id = 26314920 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26315956 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 = 26315956 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 = 26315956 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26315956 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 = 26315956 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 = 26315956 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26315956_29-08-2025_05_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26315956 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26315956_29-08-2025_05_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26315969, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26315970, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26315971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26315972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26315973, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26315974, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26315975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26315976, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26315977, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26315978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26315979, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26315980, 'pht': 3726}}" where mtr_portfolio_id = 26315956 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316121 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 = 26316121 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 = 26316121 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316121 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 = 26316121 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 = 26316121 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316121_29-08-2025_05_36_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26316121 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316121_29-08-2025_05_36_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316133, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316137, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316143, 'pht': 3726}}" where mtr_portfolio_id = 26316121 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316295 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 = 26316295 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 = 26316295 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316295 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 = 26316295 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 = 26316295 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316295_29-08-2025_05_47_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26316295 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316295_29-08-2025_05_47_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316301, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316303, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316305, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316307, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316308, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316312, 'pht': 3726}}" where mtr_portfolio_id = 26316295 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316368 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 = 26316368 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 = 26316368 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316368 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 = 26316368 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 = 26316368 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316368_29-08-2025_06_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26316368 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316368_29-08-2025_06_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316373, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316380, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316381, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316382, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316384, 'pht': 3726}}" where mtr_portfolio_id = 26316368 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316645 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 = 26316645 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 = 26316645 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316645 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 = 26316645 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 = 26316645 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316645_29-08-2025_06_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26316645 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316645_29-08-2025_06_16_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316664, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316667, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316668, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316672, 'pht': 3726}}" where mtr_portfolio_id = 26316645 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316956 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 = 26316956 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 = 26316956 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316956 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 = 26316956 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 = 26316956 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316956_29-08-2025_06_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26316956 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316956_29-08-2025_06_33_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316971, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316973, 'pht': 3726}}" where mtr_portfolio_id = 26316956 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26317122 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 = 26317122 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 = 26317122 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26317122 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 = 26317122 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 = 26317122 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26317122_29-08-2025_06_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26317122 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26317122_29-08-2025_06_49_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26317124, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26317125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26317126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26317127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26317128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26317129, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26317130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26317131, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26317132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26317133, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26317134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26317135, 'pht': 3726}}" where mtr_portfolio_id = 26317122 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26317313 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 = 26317313 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 = 26317313 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26317313 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 = 26317313 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 = 26317313 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26317313_29-08-2025_14_31_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26317313 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26317313_29-08-2025_14_31_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26317353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26317354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26317355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26317356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26317357, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26317358, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26317359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26317360, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26317361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26317362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26317363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26317364, 'pht': 3726}}" where mtr_portfolio_id = 26317313 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26319275 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 = 26319275 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 = 26319275 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26319275 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 = 26319275 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 = 26319275 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319275_29-08-2025_08_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26319275 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319275_29-08-2025_08_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26319276, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26319277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26319278, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26319279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26319280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26319281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26319282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26319283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26319284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26319285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26319286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26319287, 'pht': 3726}}" where mtr_portfolio_id = 26319275 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26319649 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 = 26319649 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 = 26319649 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26319649 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 = 26319649 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 = 26319649 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319649_29-08-2025_08_46_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26319649 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319649_29-08-2025_08_46_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26319660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26319661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26319662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26319663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26319664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26319665, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26319666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26319667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26319668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26319669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26319670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26319671, 'pht': 3726}}" where mtr_portfolio_id = 26319649 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26319992 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 = 26319992 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 = 26319992 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26319992 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 = 26319992 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 = 26319992 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319992_29-08-2025_09_38_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26319992 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319992_29-08-2025_09_38_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26320001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26320002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26320003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26320004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26320005, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26320006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26320007, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26320008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26320009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26320010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26320011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26320012, 'pht': 3726}}" where mtr_portfolio_id = 26319992 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26321271 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 = 26321271 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 = 26321271 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26321271 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 = 26321271 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 = 26321271 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321271_29-08-2025_09_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26321271 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321271_29-08-2025_09_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26321302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26321303, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26321304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26321305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26321306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26321307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26321308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26321309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26321310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26321311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26321312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26321313, 'pht': 3726}}" where mtr_portfolio_id = 26321271 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26321494 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 = 26321494 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 = 26321494 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26321494 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 = 26321494 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 = 26321494 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321494_29-08-2025_10_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26321494 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321494_29-08-2025_10_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26321503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26321504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26321505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26321506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26321507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26321508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26321509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26321510, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26321511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26321512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26321513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26321514, 'pht': 3726}}" where mtr_portfolio_id = 26321494 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26321798 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 = 26321798 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 = 26321798 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26321798 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 = 26321798 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 = 26321798 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321798_29-08-2025_10_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26321798 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321798_29-08-2025_10_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26321806, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26321807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26321808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26321809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26321810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26321811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26321812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26321813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26321814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26321815, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26321816, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26321817, 'pht': 3726}}" where mtr_portfolio_id = 26321798 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26322168 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 = 26322168 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 = 26322168 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26322168 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 = 26322168 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 = 26322168 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26322168_29-08-2025_10_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26322168 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26322168_29-08-2025_10_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26322203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26322204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26322205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26322206, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26322207, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26322208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26322209, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26322210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26322211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26322213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26322214, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26322215, 'pht': 3726}}" where mtr_portfolio_id = 26322168 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26322587 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 = 26322587 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 = 26322587 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26322587 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 = 26322587 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 = 26322587 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26322587_29-08-2025_10_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26322587 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26322587_29-08-2025_10_47_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26322636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26322637, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26322638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26322639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26322640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26322641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26322642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26322643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26322644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26322645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26322646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26322647, 'pht': 3726}}" where mtr_portfolio_id = 26322587 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26323180 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 = 26323180 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 = 26323180 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26323180 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 = 26323180 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 = 26323180 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26323180_29-08-2025_11_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26323180 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26323180_29-08-2025_11_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26323189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26323190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26323191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26323192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26323193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26323194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26323195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26323196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26323197, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26323198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26323199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26323200, 'pht': 3726}}" where mtr_portfolio_id = 26323180 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26323592 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 = 26323592 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 = 26323592 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26323592 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 = 26323592 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 = 26323592 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26323592_29-08-2025_11_18_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26323592 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26323592_29-08-2025_11_18_56.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26323602, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26323604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26323605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26323606, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26323607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26323608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26323609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26323610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26323611, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26323612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26323613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26323614, 'pht': 3726}}" where mtr_portfolio_id = 26323592 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26324001 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 = 26324001 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 = 26324001 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26324001 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 = 26324001 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 = 26324001 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324001_29-08-2025_11_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26324001 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324001_29-08-2025_11_33_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26324015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26324016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26324017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26324019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26324020, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26324021, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26324022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26324023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26324024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26324025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26324026, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26324027, 'pht': 3726}}" where mtr_portfolio_id = 26324001 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26324407 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 = 26324407 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 = 26324407 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26324407 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 = 26324407 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 = 26324407 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324407_29-08-2025_11_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26324407 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324407_29-08-2025_11_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26324429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26324430, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26324431, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26324432, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26324433, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26324434, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26324435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26324436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26324437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26324438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26324439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26324440, 'pht': 3726}}" where mtr_portfolio_id = 26324407 and dashboard_run_id = 2207119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26324712 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': 3635870, 'mtr_portfolio_id': 26324712, 'created_at': datetime.datetime(2025, 8, 29, 12, 10, 59), 'result': '0.09289079623071032', 'result_long': None, 'result_double': None}] Qualite : 0.09289079623071032 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26324712 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324712_29-08-2025_12_10_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26324712 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324712_29-08-2025_12_10_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26324748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26324749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26324750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26324751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26324752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26324753, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26324754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26324755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26324756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26324757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26324758, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26324759, 'pht': 3726}}" where mtr_portfolio_id = 26324712 and dashboard_run_id = 2207119 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`=26324712 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465421, 0.09289079623071032, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324712_29-08-2025_12_10_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26324748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26324749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26324750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26324751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26324752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26324753, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26324754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26324755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26324756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26324757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26324758, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26324759, '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 = 26327763 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': 3636377, 'mtr_portfolio_id': 26327763, 'created_at': datetime.datetime(2025, 8, 29, 13, 46, 58), 'result': '0.02877178983066864', 'result_long': None, 'result_double': None}] Qualite : 0.02877178983066864 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26327763 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26327763_29-08-2025_13_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26327763 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26327763_29-08-2025_13_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26327770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26327771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26327772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26327773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26327774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26327775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26327776, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26327777, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26327778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26327779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26327780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26327781, 'pht': 3726}}" where mtr_portfolio_id = 26327763 and dashboard_run_id = 2207119 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`=26327763 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465423, 0.02877178983066864, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26327763_29-08-2025_13_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26327770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26327771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26327772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26327773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26327774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26327775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26327776, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26327777, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26327778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26327779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26327780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26327781, '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 = 26328375 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': 3636429, 'mtr_portfolio_id': 26328375, 'created_at': datetime.datetime(2025, 8, 29, 14, 2, 58), 'result': '0.04566607426287306', 'result_long': None, 'result_double': None}] Qualite : 0.04566607426287306 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26328375 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26328375_29-08-2025_14_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26328375 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26328375_29-08-2025_14_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26328382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26328383, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26328384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26328385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26328386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26328387, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26328388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26328389, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26328390, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26328391, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26328392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26328393, 'pht': 3726}}" where mtr_portfolio_id = 26328375 and dashboard_run_id = 2207119 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`=26328375 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465424, 0.04566607426287306, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26328375_29-08-2025_14_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26328382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26328383, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26328384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26328385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26328386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26328387, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26328388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26328389, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26328390, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26328391, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26328392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26328393, '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 = 26328696 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': 3636470, 'mtr_portfolio_id': 26328696, 'created_at': datetime.datetime(2025, 8, 29, 14, 16, 59), 'result': '0.052459700770017416', 'result_long': None, 'result_double': None}] Qualite : 0.052459700770017416 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26328696 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26328696_29-08-2025_14_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26328696 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26328696_29-08-2025_14_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26328713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26328714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26328715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26328716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26328717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26328718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26328719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26328720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26328721, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26328722, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26328723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26328724, 'pht': 3726}}" where mtr_portfolio_id = 26328696 and dashboard_run_id = 2207119 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`=26328696 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465425, 0.052459700770017416, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26328696_29-08-2025_14_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26328713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26328714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26328715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26328716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26328717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26328718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26328719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26328720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26328721, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26328722, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26328723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26328724, '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 = 26329431 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': 3636540, 'mtr_portfolio_id': 26329431, 'created_at': datetime.datetime(2025, 8, 29, 14, 32, 57), 'result': '0.04422196652997871', 'result_long': None, 'result_double': None}] Qualite : 0.04422196652997871 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26329431 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26329431_29-08-2025_14_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26329431 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26329431_29-08-2025_14_32_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26329471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26329472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26329473, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26329474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26329475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26329476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26329477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26329478, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26329479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26329480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26329481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26329482, 'pht': 3726}}" where mtr_portfolio_id = 26329431 and dashboard_run_id = 2207119 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`=26329431 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465426, 0.04422196652997871, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26329431_29-08-2025_14_32_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26329471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26329472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26329473, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26329474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26329475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26329476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26329477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26329478, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26329479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26329480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26329481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26329482, '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 = 26330273 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': 3636648, 'mtr_portfolio_id': 26330273, 'created_at': datetime.datetime(2025, 8, 29, 14, 36, 58), 'result': '0.06415580297979981', 'result_long': None, 'result_double': None}] Qualite : 0.06415580297979981 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26330273 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26330273_29-08-2025_14_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26330273 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26330273_29-08-2025_14_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26330321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26330322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26330323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26330324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26330325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26330326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26330327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26330328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26330329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26330330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26330331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26330332, 'pht': 3726}}" where mtr_portfolio_id = 26330273 and dashboard_run_id = 2207119 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`=26330273 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465427, 0.06415580297979981, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26330273_29-08-2025_14_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26330321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26330322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26330323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26330324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26330325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26330326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26330327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26330328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26330329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26330330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26330331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26330332, '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 = 26330727 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': 3636858, 'mtr_portfolio_id': 26330727, 'created_at': datetime.datetime(2025, 8, 29, 15, 2, 58), 'result': '0.0593357957796049', 'result_long': None, 'result_double': None}] Qualite : 0.0593357957796049 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26330727 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26330727_29-08-2025_15_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26330727 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26330727_29-08-2025_15_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26330761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26330762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26330763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26330764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26330765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26330766, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26330767, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26330768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26330769, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26330770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26330771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26330772, 'pht': 3726}}" where mtr_portfolio_id = 26330727 and dashboard_run_id = 2207119 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`=26330727 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465428, 0.0593357957796049, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26330727_29-08-2025_15_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26330761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26330762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26330763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26330764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26330765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26330766, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26330767, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26330768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26330769, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26330770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26330771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26330772, '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 = 26331432 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': 3636963, 'mtr_portfolio_id': 26331432, 'created_at': datetime.datetime(2025, 8, 29, 15, 16, 58), 'result': '0.06345349149933788', 'result_long': None, 'result_double': None}] Qualite : 0.06345349149933788 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26331432 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26331432_29-08-2025_15_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26331432 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26331432_29-08-2025_15_16_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26331468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26331469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26331470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26331471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26331472, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26331473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26331474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26331475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26331476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26331477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26331478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26331479, 'pht': 3726}}" where mtr_portfolio_id = 26331432 and dashboard_run_id = 2207119 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`=26331432 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465429, 0.06345349149933788, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26331432_29-08-2025_15_16_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26331468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26331469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26331470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26331471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26331472, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26331473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26331474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26331475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26331476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26331477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26331478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26331479, '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 = 26332241 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': 3637053, 'mtr_portfolio_id': 26332241, 'created_at': datetime.datetime(2025, 8, 29, 15, 32, 58), 'result': '0.040776554992635605', 'result_long': None, 'result_double': None}] Qualite : 0.040776554992635605 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26332241 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26332241_29-08-2025_15_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26332241 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26332241_29-08-2025_15_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26332275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26332276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26332277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26332278, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26332279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26332280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26332281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26332282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26332283, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26332284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26332286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26332287, 'pht': 3726}}" where mtr_portfolio_id = 26332241 and dashboard_run_id = 2207119 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`=26332241 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465430, 0.040776554992635605, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26332241_29-08-2025_15_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26332275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26332276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26332277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26332278, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26332279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26332280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26332281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26332282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26332283, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26332284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26332286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26332287, '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 = 26332945 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': 3637157, 'mtr_portfolio_id': 26332945, 'created_at': datetime.datetime(2025, 8, 29, 15, 46, 59), 'result': '0.05336637655479399', 'result_long': None, 'result_double': None}] Qualite : 0.05336637655479399 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26332945 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26332945_29-08-2025_15_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26332945 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26332945_29-08-2025_15_47_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26332978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26332979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26332981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26332982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26332983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26332984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26332985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26332986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26332987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26332988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26332989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26332990, 'pht': 3726}}" where mtr_portfolio_id = 26332945 and dashboard_run_id = 2207119 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`=26332945 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465431, 0.05336637655479399, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26332945_29-08-2025_15_47_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26332978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26332979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26332981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26332982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26332983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26332984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26332985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26332986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26332987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26332988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26332989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26332990, '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 = 26333697 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': 3637241, 'mtr_portfolio_id': 26333697, 'created_at': datetime.datetime(2025, 8, 29, 16, 2, 58), 'result': '0.044877817461725755', 'result_long': None, 'result_double': None}] Qualite : 0.044877817461725755 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26333697 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26333697_29-08-2025_16_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26333697 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26333697_29-08-2025_16_02_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26333722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26333723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26333725, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26333730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26333737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26333743, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26333745, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26333746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26333747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26333748, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26333749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26333750, 'pht': 3726}}" where mtr_portfolio_id = 26333697 and dashboard_run_id = 2207119 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`=26333697 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465432, 0.044877817461725755, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26333697_29-08-2025_16_02_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26333722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26333723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26333725, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26333730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26333737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26333743, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26333745, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26333746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26333747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26333748, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26333749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26333750, '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 = 26334301 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': 3637338, 'mtr_portfolio_id': 26334301, 'created_at': datetime.datetime(2025, 8, 29, 16, 16, 58), 'result': '0.06947797794814142', 'result_long': None, 'result_double': None}] Qualite : 0.06947797794814142 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26334301 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26334301_29-08-2025_16_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26334301 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26334301_29-08-2025_16_16_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26334350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26334351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26334352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26334353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26334354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26334355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26334356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26334357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26334358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26334359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26334360, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26334361, 'pht': 3726}}" where mtr_portfolio_id = 26334301 and dashboard_run_id = 2207119 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`=26334301 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465433, 0.06947797794814142, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26334301_29-08-2025_16_16_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26334350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26334351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26334352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26334353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26334354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26334355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26334356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26334357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26334358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26334359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26334360, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26334361, '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 = 26335136 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': 3637420, 'mtr_portfolio_id': 26335136, 'created_at': datetime.datetime(2025, 8, 29, 16, 32, 58), 'result': '0.04752373724025686', 'result_long': None, 'result_double': None}] Qualite : 0.04752373724025686 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26335136 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26335136_29-08-2025_16_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26335136 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26335136_29-08-2025_16_32_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26335185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26335186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26335187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26335188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26335189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26335190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26335191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26335192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26335193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26335194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26335195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26335196, 'pht': 3726}}" where mtr_portfolio_id = 26335136 and dashboard_run_id = 2207119 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`=26335136 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465434, 0.04752373724025686, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26335136_29-08-2025_16_32_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26335185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26335186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26335187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26335188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26335189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26335190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26335191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26335192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26335193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26335194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26335195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26335196, '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 = 26335814 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': 3637502, 'mtr_portfolio_id': 26335814, 'created_at': datetime.datetime(2025, 8, 29, 16, 46, 59), 'result': '0.05163935803927419', 'result_long': None, 'result_double': None}] Qualite : 0.05163935803927419 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26335814 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26335814_29-08-2025_16_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26335814 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26335814_29-08-2025_16_46_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26335847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26335848, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26335849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26335850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26335851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26335852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26335853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26335854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26335855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26335856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26335857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26335858, 'pht': 3726}}" where mtr_portfolio_id = 26335814 and dashboard_run_id = 2207119 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`=26335814 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465435, 0.05163935803927419, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26335814_29-08-2025_16_46_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26335847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26335848, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26335849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26335850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26335851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26335852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26335853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26335854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26335855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26335856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26335857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26335858, '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 = 26336418 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': 3637602, 'mtr_portfolio_id': 26336418, 'created_at': datetime.datetime(2025, 8, 29, 17, 2, 57), 'result': '0.052551535350744444', 'result_long': None, 'result_double': None}] Qualite : 0.052551535350744444 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26336418 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26336418_29-08-2025_17_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26336418 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26336418_29-08-2025_17_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26336454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26336455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26336456, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26336457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26336458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26336459, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26336460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26336461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26336462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26336463, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26336464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26336465, 'pht': 3726}}" where mtr_portfolio_id = 26336418 and dashboard_run_id = 2207119 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`=26336418 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465436, 0.052551535350744444, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26336418_29-08-2025_17_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26336454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26336455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26336456, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26336457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26336458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26336459, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26336460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26336461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26336462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26336463, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26336464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26336465, '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 = 26337072 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': 3637694, 'mtr_portfolio_id': 26337072, 'created_at': datetime.datetime(2025, 8, 29, 17, 16, 58), 'result': '0.042481889941334575', 'result_long': None, 'result_double': None}] Qualite : 0.042481889941334575 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26337072 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26337072_29-08-2025_17_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26337072 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26337072_29-08-2025_17_16_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26337143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26337144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26337145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26337146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26337147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26337148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26337149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26337150, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26337151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26337152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26337153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26337154, 'pht': 3726}}" where mtr_portfolio_id = 26337072 and dashboard_run_id = 2207119 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`=26337072 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465437, 0.042481889941334575, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26337072_29-08-2025_17_16_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26337143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26337144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26337145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26337146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26337147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26337148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26337149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26337150, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26337151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26337152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26337153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26337154, '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 = 26337687 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': 3637761, 'mtr_portfolio_id': 26337687, 'created_at': datetime.datetime(2025, 8, 29, 19, 1, 28), 'result': '0.06319046522533395', 'result_long': None, 'result_double': None}] Qualite : 0.06319046522533395 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26337687 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26337687_29-08-2025_19_01_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26337687 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26337687_29-08-2025_19_01_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26337718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26337719, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26337720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26337721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26337722, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26337723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26337724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26337725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26337726, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26337727, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26337729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26337730, 'pht': 3726}}" where mtr_portfolio_id = 26337687 and dashboard_run_id = 2207119 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`=26337687 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465438, 0.06319046522533395, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26337687_29-08-2025_19_01_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26337718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26337719, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26337720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26337721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26337722, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26337723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26337724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26337725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26337726, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26337727, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26337729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26337730, '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 = 26341177 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': 3638192, 'mtr_portfolio_id': 26341177, 'created_at': datetime.datetime(2025, 8, 29, 19, 1, 59), 'result': '0.05686169632158254', 'result_long': None, 'result_double': None}] Qualite : 0.05686169632158254 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26341177 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341177_29-08-2025_19_02_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26341177 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341177_29-08-2025_19_02_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341350, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341356, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26341357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341359, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341363, 'pht': 3726}}" where mtr_portfolio_id = 26341177 and dashboard_run_id = 2207119 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`=26341177 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465439, 0.05686169632158254, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341177_29-08-2025_19_02_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341350, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341356, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26341357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341359, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341363, '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 = 26341180 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': 3638193, 'mtr_portfolio_id': 26341180, 'created_at': datetime.datetime(2025, 8, 29, 19, 0, 57), 'result': '0.060260128239553894', 'result_long': None, 'result_double': None}] Qualite : 0.060260128239553894 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26341180 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341180_29-08-2025_19_01_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26341180 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341180_29-08-2025_19_01_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341242, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341243, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341244, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26341251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341253, 'pht': 3726}}" where mtr_portfolio_id = 26341180 and dashboard_run_id = 2207119 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`=26341180 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465440, 0.060260128239553894, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341180_29-08-2025_19_01_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341242, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341243, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341244, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26341251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341253, '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 = 26341182 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': 3638194, 'mtr_portfolio_id': 26341182, 'created_at': datetime.datetime(2025, 8, 29, 19, 0, 35), 'result': '0.09651059680733862', 'result_long': None, 'result_double': None}] Qualite : 0.09651059680733862 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26341182 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341182_29-08-2025_19_00_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26341182 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341182_29-08-2025_19_00_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26341190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341201, 'pht': 3726}}" where mtr_portfolio_id = 26341182 and dashboard_run_id = 2207119 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`=26341182 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465441, 0.09651059680733862, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341182_29-08-2025_19_00_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26341190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341201, '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 = 26341184 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': 3638195, 'mtr_portfolio_id': 26341184, 'created_at': datetime.datetime(2025, 8, 29, 19, 2, 57), 'result': '0.06321797793869523', 'result_long': None, 'result_double': None}] Qualite : 0.06321797793869523 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26341184 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341184_29-08-2025_19_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26341184 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341184_29-08-2025_19_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341204, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341205, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341206, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341207, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341208, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341209, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26341211, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341212, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341213, 'pht': 3726}}" where mtr_portfolio_id = 26341184 and dashboard_run_id = 2207119 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`=26341184 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465442, 0.06321797793869523, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341184_29-08-2025_19_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341204, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341205, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341206, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341207, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341208, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341209, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26341211, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341212, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341213, '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 = 26341409 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': 3638218, 'mtr_portfolio_id': 26341409, 'created_at': datetime.datetime(2025, 8, 29, 19, 17), 'result': '0.05210831413837971', 'result_long': None, 'result_double': None}] Qualite : 0.05210831413837971 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26341409 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341409_29-08-2025_19_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26341409 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341409_29-08-2025_19_17_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26341431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341435, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341436, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341439, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341441, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341442, 'pht': 3726}}" where mtr_portfolio_id = 26341409 and dashboard_run_id = 2207119 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`=26341409 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465443, 0.05210831413837971, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341409_29-08-2025_19_17_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26341431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341435, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341436, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341439, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341441, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341442, '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 = 26342142 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': 3638315, 'mtr_portfolio_id': 26342142, 'created_at': datetime.datetime(2025, 8, 29, 19, 33, 1), 'result': '0.05437403029658409', 'result_long': None, 'result_double': None}] Qualite : 0.05437403029658409 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26342142 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26342142_29-08-2025_19_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26342142 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26342142_29-08-2025_19_33_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26342155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26342156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26342157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26342158, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26342159, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26342160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26342161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26342162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26342163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26342164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26342165, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26342166, 'pht': 3726}}" where mtr_portfolio_id = 26342142 and dashboard_run_id = 2207119 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`=26342142 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465444, 0.05437403029658409, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26342142_29-08-2025_19_33_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26342155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26342156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26342157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26342158, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26342159, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26342160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26342161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26342162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26342163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26342164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26342165, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26342166, '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 = 26343013 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': 3638408, 'mtr_portfolio_id': 26343013, 'created_at': datetime.datetime(2025, 8, 29, 19, 46, 30), 'result': '0.04619644041507709', 'result_long': None, 'result_double': None}] Qualite : 0.04619644041507709 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26343013 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26343013_29-08-2025_19_46_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26343013 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26343013_29-08-2025_19_46_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26343046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26343047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26343048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26343049, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26343050, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26343051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26343052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26343053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26343054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26343055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26343056, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26343057, 'pht': 3726}}" where mtr_portfolio_id = 26343013 and dashboard_run_id = 2207119 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`=26343013 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465445, 0.04619644041507709, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26343013_29-08-2025_19_46_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26343046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26343047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26343048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26343049, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26343050, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26343051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26343052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26343053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26343054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26343055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26343056, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26343057, '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 = 26343747 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': 3638507, 'mtr_portfolio_id': 26343747, 'created_at': datetime.datetime(2025, 8, 29, 20, 2, 59), 'result': '0.05384676174048408', 'result_long': None, 'result_double': None}] Qualite : 0.05384676174048408 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26343747 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26343747_29-08-2025_20_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26343747 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26343747_29-08-2025_20_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26343753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26343754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26343755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26343756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26343757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26343758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26343759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26343760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26343761, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26343762, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26343763, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26343764, 'pht': 3726}}" where mtr_portfolio_id = 26343747 and dashboard_run_id = 2207119 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`=26343747 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465446, 0.05384676174048408, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26343747_29-08-2025_20_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26343753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26343754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26343755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26343756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26343757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26343758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26343759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26343760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26343761, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26343762, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26343763, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26343764, '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 = 26344248 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': 3638584, 'mtr_portfolio_id': 26344248, 'created_at': datetime.datetime(2025, 8, 29, 20, 19, 1), 'result': '0.04389432807905423', 'result_long': None, 'result_double': None}] Qualite : 0.04389432807905423 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26344248 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26344248_29-08-2025_20_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26344248 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26344248_29-08-2025_20_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26344312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26344314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26344315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26344316, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26344317, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26344318, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26344319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26344320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26344322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26344323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26344324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26344325, 'pht': 3726}}" where mtr_portfolio_id = 26344248 and dashboard_run_id = 2207119 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`=26344248 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465447, 0.04389432807905423, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26344248_29-08-2025_20_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26344312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26344314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26344315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26344316, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26344317, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26344318, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26344319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26344320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26344322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26344323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26344324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26344325, '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 = 26344986 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': 3638685, 'mtr_portfolio_id': 26344986, 'created_at': datetime.datetime(2025, 8, 29, 20, 32, 59), 'result': '0.05579370910637382', 'result_long': None, 'result_double': None}] Qualite : 0.05579370910637382 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26344986 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26344986_29-08-2025_20_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26344986 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26344986_29-08-2025_20_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26345032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26345033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26345034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26345035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26345036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26345037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26345038, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26345039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26345040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26345041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26345042, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26345043, 'pht': 3726}}" where mtr_portfolio_id = 26344986 and dashboard_run_id = 2207119 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`=26344986 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465448, 0.05579370910637382, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26344986_29-08-2025_20_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26345032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26345033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26345034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26345035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26345036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26345037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26345038, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26345039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26345040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26345041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26345042, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26345043, '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 = 26345661 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': 3638759, 'mtr_portfolio_id': 26345661, 'created_at': datetime.datetime(2025, 8, 29, 20, 37), 'result': '0.01018655559845162', 'result_long': None, 'result_double': None}] Qualite : 0.01018655559845162 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26345661 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26345661_29-08-2025_20_37_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26345661 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26345661_29-08-2025_20_37_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26345694, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26345696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26345697, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26345698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26345699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26345700, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26345701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26345702, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26345703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26345704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26345705, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26345706, 'pht': 3726}}" where mtr_portfolio_id = 26345661 and dashboard_run_id = 2207119 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`=26345661 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14465449, 0.01018655559845162, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26345661_29-08-2025_20_37_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26345694, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26345696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26345697, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26345698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26345699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26345700, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26345701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26345702, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26345703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26345704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26345705, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26345706, '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 (26310324,26310717,26311223,26311576,26312508,26312666,26312840,26313214,26313513,26313684,26313867,26314237,26314515,26314695,26314920,26315956,26316121,26316295,26316368,26316645,26316956,26317122,26317313,26319275,26319649,26319992,26321271,26321494,26321798,26322168,26322587,26323180,26323592,26324001,26324407,26324712,26327763,26328375,26328696,26329431,26330273,26330727,26331432,26332241,26332945,26333697,26334301,26335136,26335814,26336418,26337072,26337687,26341177,26341180,26341182,26341184,26341409,26342142,26343013,26343747,26344248,26344986,26345661) result : ((1379996207,), (1379996208,), (1379996209,), (1379996377,), (1379996379,), (1379996381,), (1379996382,), (1379996803,), (1379996806,), (1379996809,), (1379996812,), (1379996815,), (1379997472,), (1379997475,), (1379997478,), (1379997481,), (1379997484,), (1379997636,), (1379997638,), (1379997640,), (1379997642,), (1379997901,), (1379997902,), (1379997903,), (1379997904,), (1379998197,), (1379998199,), (1379998201,), (1379998203,), (1379998411,), (1379998412,), (1379998413,), (1379998670,), (1379998671,), (1379998828,), (1379998829,), (1379998830,), (1379998831,), (1379998832,), (1379998888,), (1379998889,), (1379998890,), (1379998891,), (1379998892,), (1379998893,), (1379998913,), (1379998914,), (1379998915,), (1379998916,), (1379998917,), (1379998957,), (1379998959,), (1379998961,), (1379999400,), (1379999403,), (1379999406,), (1379999409,), (1379999717,), (1379999718,), (1379999720,), (1379999722,), (1379999724,), (1380000105,), (1380000098,), (1380000100,), (1380000102,), (1380001323,), (1380001326,), (1380001329,), (1380001332,), (1380001688,), (1380001689,), (1380001690,), (1380001691,), (1380002057,), (1380002059,), (1380004099,), (1380004100,), (1380004101,), (1380004102,), (1380004398,), (1380004401,), (1380004403,), (1380004871,), (1380004867,), (1380004869,), (1380005176,), (1380005177,), (1380005178,), (1380005179,), (1380005181,), (1380005182,), (1380005574,), (1380005576,), (1380005578,), (1380005580,), (1380005929,), (1380006448,), (1380006450,), (1380006452,), (1380006476,), (1380006477,), (1380006478,), (1380006479,), (1380006529,), (1380006530,), (1380006531,), (1380006582,), (1380006583,), (1380006584,), (1380006586,), (1380006611,), (1380006612,), (1380006613,), (1380006614,), (1380006615,), (1380006667,), (1380006668,), (1380006669,), (1380006670,), (1380006712,), (1380006713,), (1380006714,), (1380006715,), (1380006785,), (1380006786,), (1380006787,), (1380006788,), (1380006789,), (1380006790,), (1380006814,), (1380006815,), (1380006816,), (1380006817,), (1380006818,), (1380006839,), (1380006840,), (1380006842,), (1380006843,), (1380006957,), (1380006952,), (1380006953,), (1380006954,), (1380006955,), (1380006956,), (1380006978,), (1380006979,), (1380006980,), (1380006981,), (1380006982,), (1380007047,), (1380007048,), (1380007067,), (1380007068,), (1380007069,), (1380007070,), (1380007071,), (1380007091,), (1380007093,), (1380007095,), (1380007096,), (1380007097,), (1380007159,), (1380007162,), (1380007163,), (1380007165,), (1380007166,), (1380007167,), (1380007290,), (1380007291,), (1380007402,), (1380007403,), (1380007404,), (1380007405,), (1380007453,), (1380007454,), (1380007455,), (1380007456,), (1380007457,), (1380007458,), (1380007471,), (1380007472,), (1380007473,), (1380007474,), (1380007475,), (1380007476,), (1380007498,), (1380007499,), (1380007501,), (1380007503,), (1380007504,), (1380007560,), (1380007582,), (1380007583,), (1380007584,), (1380007585,), (1380007586,), (1380007824,), (1380013142,), (1380013141,), (1380013224,), (1380013225,), (1380013226,), (1380013227,), (1380013228,), (1380013246,), (1380013247,), (1380013266,), (1380013267,), (1380013268,), (1380013269,), (1380013301,), (1380013302,), (1380013303,), (1380013344,), (1380013345,), (1380013346,), (1380013347,), (1380013368,), (1380013369,), (1380013370,), (1380013371,), (1380013391,), (1380013392,), (1380013393,), (1380013436,), (1380013438,), (1380013440,), (1380013441,), (1380013442,), (1380013487,), (1380013488,), (1380013489,), (1380013512,), (1380013513,), (1380013514,), (1380013531,), (1380013558,), (1380013559,), (1380013589,), (1380013584,), (1380013585,), (1380013586,), (1380013587,), (1380013623,), (1380013624,), (1380013647,), (1380013648,), (1380013649,), (1380013650,), (1380013651,), (1380013664,), (1380013665,), (1380013666,), (1380013693,), (1380013694,), (1380013695,), (1380013713,), (1380013714,), (1380013715,), (1380013716,), (1380013717,), (1380013734,), (1380013735,), (1380013736,), (1380013737,), (1380013738,), (1380013821,), (1380013822,), (1380013823,), (1380013824,), (1380013877,), (1380013878,), (1380013879,), (1380013880,), (1380013905,), (1380013906,), (1380013907,), (1380013908,), (1380013924,), (1380013925,), (1380013926,), (1380013927,), (1380013946,), (1380013947,), (1380013948,), (1380013949,), (1380013950,), (1380013969,), (1380013970,), (1380013971,), (1380013972,), (1380013973,), (1380014007,), (1380014009,), (1380014011,), (1380014013,), (1380014014,), (1380014015,), (1380014019,), (1380014020,), (1380014021,), (1380014022,), (1380014112,), (1380014106,), (1380014110,), (1380014649,), (1380014785,), (1380014786,), (1380014787,), (1380014788,), (1380014807,), (1380014808,), (1380014874,), (1380014875,), (1380014876,), (1380014877,), (1380014878,), (1380014879,), (1380014966,), (1380014971,), (1380014978,), (1380014984,), (1380015154,), (1380015155,), (1380015156,), (1380015157,), (1380015158,), (1380015159,), (1380015221,), (1380015224,), (1380015225,), (1380015226,), (1380015227,), (1380015249,), (1380015251,), (1380015253,), (1380015255,), (1380015616,), (1380015618,), (1380015620,), (1380015622,), (1380016003,), (1380016162,), (1380015996,), (1380015999,), (1380016001,), (1380016083,), (1380016085,), (1380016087,), (1380016089,), (1380016091,), (1380016093,), (1380016154,), (1380016156,), (1380016159,), (1380016599,), (1380016601,), (1380016603,), (1380017051,), (1380017053,), (1380017055,), (1380017057,), (1380017059,), (1380017061,), (1380017424,), (1380017425,), (1380017426,), (1380017427,), (1380017624,), (1380017625,), (1380017626,), (1380017627,), (1380017673,), (1380017677,), (1380017678,), (1380017679,), (1380017708,), (1380017709,), (1380017710,), (1380017711,), (1380017712,), (1380017713,), (1380017732,), (1380017733,), (1380017734,), (1380017735,), (1380017736,), (1380017737,), (1380017757,), (1380017758,), (1380017759,), (1380017760,), (1380017761,), (1380017762,), (1380017782,), (1380017783,), (1380017784,), (1380017831,), (1380017834,), (1380017836,), (1380017839,), (1380017841,), (1380017844,), (1380017847,), (1380017850,), (1380017851,), (1380017854,), (1380017856,), (1380017860,), (1380017899,), (1380017900,), (1380017901,), (1380017948,), (1380017949,), (1380017950,), (1380017951,), (1380017952,), (1380017969,), (1380017970,), (1380017971,), (1380017972,), (1380017974,), (1380017975,), (1380018005,), (1380018007,), (1380018008,), (1380018009,), (1380018038,), (1380018034,), (1380018035,), (1380018036,), (1380018037,), (1380018161,), (1380018162,), (1380018163,), (1380018164,), (1380018165,), (1380018215,), (1380018216,), (1380018217,), (1380018218,), (1380018219,), (1380018245,), (1380018246,), (1380018247,), (1380018248,), (1380018262,), (1380018263,), (1380018264,), (1380018265,), (1380018266,), (1380018267,), (1380018287,), (1380018288,), (1380018289,), (1380018290,), (1380018291,), (1380018310,), (1380018311,), (1380018312,), (1380018313,), (1380018327,), (1380018328,), (1380018329,), (1380018330,), (1380018331,), (1380018345,), (1380018346,), (1380018347,), (1380018374,), (1380018508,), (1380018509,), (1380018560,), (1380018561,), (1380018562,), (1380018563,), (1380018583,), (1380018584,), (1380018585,), (1380018586,), (1380018587,), (1380018602,), (1380018603,), (1380018604,), (1380018629,), (1380018624,), (1380018625,), (1380018626,), (1380018627,), (1380018628,), (1380018651,), (1380018652,), (1380018653,), (1380018654,), (1380018655,), (1380018679,), (1380018680,), (1380018681,), (1380018682,), (1380018742,), (1380018744,), (1380018745,), (1380018746,), (1380018747,), (1380018748,), (1380018766,), (1380018767,), (1380018768,), (1380018769,), (1380018770,), (1380018771,), (1380018831,), (1380018832,), (1380018884,), (1380018885,), (1380018886,), (1380018887,), (1380018888,), (1380018902,), (1380018903,), (1380018904,), (1380018905,), (1380018906,), (1380018923,), (1380018924,), (1380018925,), (1380018926,), (1380018948,), (1380018949,), (1380018950,), (1380018951,), (1380018971,), (1380018972,), (1380018973,), (1380018974,), (1380018996,), (1380018997,), (1380018998,), (1380018999,), (1380019000,), (1380019018,), (1380019019,), (1380019020,), (1380019021,), (1380019022,), (1380019023,), (1380019046,), (1380019047,), (1380019049,), (1380019051,), (1380019053,), (1380019060,), (1380019062,), (1380019064,), (1380019065,), (1380019066,), (1380019107,), (1380019103,), (1380019104,), (1380019105,), (1380019106,), (1380019185,), (1380019189,), (1380019193,), (1380019587,), (1380019589,), (1380019591,), (1380019593,), (1380019595,), (1380019597,), (1380019955,), (1380019957,), (1380019959,), (1380019961,), (1380020317,), (1380020320,), (1380020323,), (1380020326,), (1380020808,), (1380020810,), (1380020812,), (1380020814,), (1380020816,), (1380021367,), (1380021369,), (1380021371,), (1380021373,), (1380021375,), (1380021787,), (1380021789,), (1380021791,), (1380021793,), (1380021979,), (1380021980,), (1380021981,), (1380021982,), (1380021983,), (1380022001,), (1380022002,), (1380022003,), (1380022005,), (1380022077,), (1380022078,), (1380022079,), (1380022080,), (1380022160,), (1380022161,), (1380022162,), (1380022163,), (1380022164,), (1380022182,), (1380022183,), (1380022184,), (1380022197,), (1380022198,), (1380022199,), (1380022200,), (1380022201,), (1380022222,), (1380022223,), (1380022224,), (1380022225,), (1380022242,), (1380022275,), (1380022239,), (1380022240,), (1380022241,), (1380022264,), (1380022265,), (1380022266,), (1380022267,), (1380022269,), (1380022270,), (1380022294,), (1380022295,), (1380022297,), (1380022298,), (1380022299,), (1380022318,), (1380022319,), (1380022320,), (1380022321,), (1380022322,), (1380022323,), (1380022344,), (1380022345,), (1380022346,), (1380022347,), (1380022447,), (1380022448,), (1380022449,), (1380022450,), (1380022451,), (1380022452,), (1380022580,), (1380022581,), (1380022582,), (1380022583,), (1380022584,), (1380022650,), (1380022651,), (1380022652,), (1380022653,), (1380022654,), (1380022802,), (1380022803,), (1380022804,), (1380022879,), (1380022880,), (1380022881,), (1380022882,), (1380022883,), (1380022905,), (1380022906,), (1380022907,), (1380022908,), (1380022909,), (1380022926,), (1380022927,), (1380022928,), (1380022958,), (1380022959,), (1380022960,), (1380022961,), (1380022962,), (1380023037,), (1380023038,), (1380023039,), (1380023040,), (1380023041,), (1380023042,), (1380023071,), (1380023072,), (1380023073,), (1380023074,), (1380023158,), (1380023153,), (1380023154,), (1380023155,), (1380023156,), (1380023157,), (1380023195,), (1380023196,), (1380023197,), (1380023198,), (1380023211,), (1380023212,), (1380023213,), (1380023214,), (1380023215,), (1380023216,), (1380023241,), (1380023242,), (1380023243,), (1380023244,), (1380023245,), (1380023246,), (1380023267,), (1380023268,), (1380023269,), (1380023270,), (1380023288,), (1380023289,), (1380023290,), (1380023291,), (1380023292,), (1380023326,), (1380023327,), (1380023328,), (1380023329,), (1380023330,), (1380023431,), (1380023432,), (1380023433,), (1380023434,), (1380023435,), (1380023449,), (1380023450,), (1380023451,), (1380023452,), (1380023474,), (1380023475,), (1380023476,), (1380023477,), (1380023517,), (1380023518,), (1380023519,), (1380023520,), (1380023521,), (1380023539,), (1380023540,), (1380023541,), (1380023561,), (1380023562,), (1380023563,), (1380023564,), (1380023565,), (1380023566,), (1380023588,), (1380023596,), (1380023597,), (1380023598,), (1380023599,), (1380023625,), (1380023627,), (1380023628,), (1380023655,), (1380023649,), (1380023651,), (1380023652,), (1380023653,), (1380023654,), (1380023717,), (1380023718,), (1380023719,), (1380023720,), (1380023721,), (1380023868,), (1380023869,), (1380023870,), (1380023949,), (1380023950,), (1380023952,), (1380023953,), (1380023954,), (1380023955,), (1380024025,), (1380024026,), (1380024027,), (1380024028,), (1380024029,), (1380024030,), (1380024053,), (1380024056,), (1380024061,), (1380024130,), (1380024131,), (1380024132,), (1380024133,), (1380024134,), (1380024135,), (1380024155,), (1380024159,), (1380024160,), (1380024161,), (1380024163,), (1380024164,), (1380024187,), (1380024188,), (1380024206,), (1380024207,), (1380024208,), (1380024209,), (1380024210,), (1380024242,), (1380024243,), (1380024244,), (1380024302,), (1380024303,), (1380024304,), (1380024305,), (1380024306,), (1380024369,), (1380024370,), (1380024371,), (1380024749,), (1380024751,), (1380024753,), (1380024802,), (1380024805,), (1380024807,), (1380024809,), (1380025112,), (1380025104,), (1380025106,), (1380025108,), (1380025110,), (1380025454,), (1380025457,), (1380025460,), (1380025891,), (1380025894,), (1380025898,), (1380026319,), (1380026321,), (1380026323,), (1380026325,), (1380026327,), (1380026329,), (1380026503,), (1380026504,), (1380026505,), (1380026506,), (1380026760,), (1380026761,), (1380026763,), (1380026911,), (1380026912,), (1380026913,), (1380026914,), (1380026915,), (1380026968,), (1380026972,), (1380026976,), (1380026980,), (1380027031,), (1380027032,), (1380027033,), (1380031226,), (1380031224,), (1380031278,), (1380031279,), (1380031294,), (1380031295,), (1380031586,), (1380031588,), (1380031990,), (1380031993,), (1380031995,), (1380031997,), (1380031999,), (1380032118,), (1380032119,), (1380032120,), (1380032121,), (1380032122,), (1380032123,), (1380032367,), (1380032368,), (1380032369,), (1380032475,), (1380032502,), (1380032503,), (1380032504,), (1380032505,), (1380032531,), (1380032532,), (1380032533,), (1380032534,), (1380032535,), (1380032558,), (1380032559,), (1380032560,), (1380032576,), (1380032580,), (1380032581,), (1380032582,), (1380032612,), (1380032608,), (1380032609,), (1380032610,), (1380032611,), (1380032627,), (1380032628,), (1380032629,), (1380032630,), (1380032631,), (1380032632,), (1380032654,), (1380032655,), (1380032656,), (1380032657,), (1380032658,), (1380032659,), (1380032741,), (1380032742,), (1380032877,), (1380032878,), (1380032879,), (1380032880,), (1380032881,), (1380032882,), (1380032899,), (1380032900,), (1380032901,), (1380032925,), (1380032926,), (1380032927,), (1380032943,), (1380032944,), (1380032945,), (1380032969,), (1380033626,), (1380033652,), (1380033653,), (1380033678,), (1380033679,), (1380033680,), (1380033681,), (1380033715,), (1380033718,), (1380033722,), (1380033725,), (1380033727,), (1380033728,), (1380033787,), (1380033788,), (1380033789,), (1380033863,), (1380033864,), (1380033865,), (1380033866,), (1380033926,), (1380033927,), (1380033928,), (1380033929,), (1380033930,), (1380033931,), (1380033950,), (1380033951,), (1380033952,), (1380033953,), (1380033954,), (1380033955,), (1380033977,), (1380033978,), (1380033979,), (1380034000,), (1380034001,), (1380034002,), (1380034003,), (1380034004,), (1380034005,), (1380034034,), (1380034030,), (1380034031,), (1380034032,), (1380034033,), (1380034055,), (1380034056,), (1380034057,), (1380034058,), (1380034059,), (1380034060,), (1380034086,), (1380034087,), (1380034131,), (1380034132,), (1380034178,), (1380034179,), (1380034180,), (1380034226,), (1380034227,), (1380034228,), (1380034229,), (1380034273,), (1380034274,), (1380034275,), (1380034276,), (1380034277,), (1380034278,), (1380034306,), (1380034307,), (1380034308,), (1380034309,), (1380034351,), (1380034352,), (1380034353,), (1380034354,), (1380034355,), (1380034356,), (1380034370,), (1380034371,), (1380034372,), (1380034373,), (1380034375,), (1380034402,), (1380034403,), (1380034404,), (1380034405,), (1380034406,), (1380034429,), (1380034752,), (1380034753,), (1380034754,), (1380034755,), (1380034756,), (1380034757,), (1380034887,), (1380034888,), (1380034889,), (1380034890,), (1380034891,), (1380034893,), (1380034928,), (1380034927,), (1380035029,), (1380035031,), (1380035418,), (1380035420,), (1380035422,), (1380035424,), (1380035426,), (1380035841,), (1380035842,), (1380035843,), (1380035844,), (1380035845,), (1380035846,), (1380036039,), (1380036041,), (1380036043,), (1380036045,), (1380036372,), (1380036374,), (1380036376,), (1380036378,), (1380036380,), (1380036382,), (1380036694,), (1380036696,), (1380036698,), (1380036700,), (1380037127,), (1380037130,), (1380037132,), (1380037134,), (1380037136,), (1380037138,), (1380037303,), (1380037304,), (1380037305,), (1380037307,), (1380037308,), (1380037334,), (1380037335,), (1380037336,), (1380037378,), (1380037379,), (1380037380,), (1380037382,), (1380037383,), (1380037405,), (1380037406,), (1380037407,), (1380037408,), (1380037409,), (1380037472,), (1380037476,), (1380037480,), (1380037484,), (1380037525,), (1380037526,), (1380037527,), (1380037528,), (1380037548,), (1380037549,), (1380037571,), (1380037593,), (1380037594,), (1380037619,), (1380037620,), (1380037621,), (1380037622,), (1380037623,), (1380037663,), (1380037664,), (1380037665,), (1380037692,), (1380037693,), (1380037694,), (1380037695,), (1380037717,), (1380037718,), (1380037719,), (1380037871,), (1380037874,), (1380037878,), (1380037879,), (1380037880,), (1380037901,), (1380037902,), (1380037903,), (1380037904,), (1380037905,), (1380037930,), (1380037931,), (1380037959,), (1380037960,), (1380037961,), (1380037962,), (1380037985,), (1380037986,), (1380037987,), (1380037988,), (1380037989,), (1380037990,), (1380038037,), (1380038038,), (1380038039,), (1380038040,), (1380038062,), (1380038063,), (1380038064,), (1380038065,), (1380038091,), (1380038092,), (1380038093,), (1380038094,), (1380038095,), (1380038122,), (1380038119,), (1380038120,), (1380038121,), (1380038144,), (1380038145,), (1380038146,), (1380038147,), (1380038184,), (1380038185,), (1380038186,), (1380038187,), (1380038188,), (1380038218,), (1380038219,), (1380038220,), (1380038245,), (1380038246,), (1380038247,), (1380038248,), (1380038277,), (1380038278,), (1380038279,), (1380038280,), (1380038356,), (1380038357,), (1380038359,), (1380038360,), (1380038361,), (1380038362,), (1380038376,), (1380038377,), (1380038379,), (1380038440,), (1380038441,), (1380038442,), (1380038443,), (1380038468,), (1380038469,), (1380038513,), (1380038514,), (1380038515,), (1380038516,), (1380038539,), (1380038540,), (1380038541,), (1380038542,), (1380038543,), (1380038569,), (1380038570,), (1380038571,), (1380038572,), (1380038596,), (1380038597,), (1380038598,), (1380038623,), (1380038624,), (1380038625,), (1380038626,), (1380038695,), (1380038802,), (1380038795,), (1380038796,), (1380038797,), (1380038798,), (1380038800,), (1380039013,), (1380039014,), (1380039063,), (1380039110,), (1380039190,), (1380052150,), (1380052565,), (1380052563,), (1380052564,), (1380052692,), (1380052693,), (1380052823,), (1380052825,), (1380052827,), (1380052829,), (1380052831,), (1380052834,), (1380052954,), (1380052956,), (1380052958,), (1380052960,), (1380052999,), (1380053000,), (1380053022,), (1380053023,), (1380053024,), (1380053025,), (1380053104,), (1380053105,), (1380053106,), (1380053615,), (1380053705,), (1380053706,), (1380053707,), (1380053708,), (1380053709,), (1380053710,), (1380053829,), (1380053830,), (1380053831,), (1380053832,), (1380053833,), (1380053863,), (1380053864,), (1380053865,), (1380053866,), (1380053901,), (1380053902,), (1380053903,), (1380053904,), (1380053905,), (1380053906,), (1380054291,), (1380054295,), (1380054299,), (1380054303,), (1380054880,), (1380054878,), (1380054879,), (1380055059,), (1380055060,), (1380055061,), (1380055062,), (1380055082,), (1380055083,), (1380055147,), (1380055172,), (1380055173,), (1380055199,), (1380055200,), (1380055201,), (1380055234,), (1380055235,), (1380055236,), (1380055264,), (1380055265,), (1380055284,), (1380055336,), (1380055337,), (1380055338,), (1380055339,), (1380055340,), (1380055362,), (1380055363,), (1380055364,), (1380055365,), (1380055397,), (1380055398,), (1380055399,), (1380055641,), (1380055643,), (1380055645,), (1380055809,), (1380055811,), (1380055813,), (1380055815,), (1380055880,), (1380055879,), (1380055904,), (1380055905,), (1380055906,), (1380055940,), (1380055996,), (1380056139,), (1380056140,), (1380056168,), (1380056169,), (1380056170,), (1380056172,), (1380056173,), (1380056203,), (1380056204,), (1380056205,), (1380056206,), (1380056266,), (1380056267,), (1380056269,), (1380056271,), (1380056320,), (1380056321,), (1380056322,), (1380056323,), (1380056324,), (1380056325,), (1380056351,), (1380056352,), (1380056353,), (1380056354,), (1380056355,), (1380056377,), (1380056378,), (1380056379,), (1380056411,), (1380061424,), (1380061156,), (1380061418,), (1380061420,), (1380061422,), (1380061581,), (1380061583,), (1380061585,), (1380061587,), (1380061589,), (1380061656,), (1380061657,), (1380061658,), (1380061659,), (1380061695,), (1380061696,), (1380061769,), (1380061770,), (1380061772,), (1380061773,), (1380061774,), (1380061812,), (1380061813,), (1380061814,), (1380061942,), (1380061943,), (1380062005,), (1380062041,), (1380062042,), (1380062043,), (1380062044,), (1380062045,), (1380062078,), (1380062077,), (1380062114,), (1380062115,), (1380062116,), (1380062117,), (1380062118,), (1380062119,), (1380062152,), (1380062153,), (1380062154,), (1380062155,), (1380062156,), (1380062157,), (1380062206,), (1380062207,), (1380062208,), (1380062209,), (1380062241,), (1380062242,), (1380062243,), (1380062330,), (1380062331,), (1380062332,), (1380062333,), (1380062334,), (1380062500,), (1380062501,), (1380062502,), (1380062503,), (1380062504,), (1380062505,), (1380062672,), (1380062673,), (1380062674,), (1380062675,), (1380062726,), (1380062727,), (1380062728,), (1380062729,), (1380062730,), (1380062772,), (1380062773,), (1380062774,), (1380062775,), (1380062776,), (1380062819,), (1380062820,), (1380062926,), (1380062927,), (1380062928,), (1380062929,), (1380062930,), (1380063094,), (1380063095,), (1380063096,), (1380063097,), (1380063329,), (1380063712,), (1380063706,), (1380063708,), (1380063710,), (1380065046,), (1380065390,), (1380065392,), (1380065394,), (1380065396,), (1380065398,), (1380065400,), (1380065795,), (1380065798,), (1380065800,), (1380065802,), (1380066059,), (1380066060,), (1380066061,), (1380066062,), (1380066063,), (1380066064,), (1380066310,), (1380066311,), (1380066312,), (1380066313,), (1380066314,), (1380066315,), (1380066587,), (1380066589,), (1380066591,), (1380066907,), (1380066908,), (1380066909,), (1380066910,), (1380066911,), (1380067006,), (1380067007,), (1380067008,), (1380067009,), (1380067010,), (1380067036,), (1380067037,), (1380067038,), (1380067039,), (1380067093,), (1380067094,), (1380067096,), (1380067167,), (1380067169,), (1380067171,), (1380067173,), (1380067377,), (1380067374,), (1380067375,), (1380067376,), (1380067570,), (1380067572,), (1380067573,), (1380067611,), (1380067612,), (1380067613,), (1380067614,), (1380067780,), (1380067781,), (1380067782,), (1380067783,), (1380067784,), (1380067785,), (1380067932,), (1380067933,), (1380067934,), (1380067935,), (1380068042,), (1380068043,), (1380068044,), (1380068090,), (1380068091,), (1380068092,), (1380068211,), (1380068373,), (1380068374,), (1380068375,), (1380068411,), (1380068412,), (1380068450,), (1380068451,), (1380068452,), (1380068453,), (1380068454,), (1380068499,), (1380068502,), (1380068503,), (1380068504,), (1380068544,), (1380068545,), (1380068546,), (1380068547,), (1380068603,), (1380068637,), (1380068638,), (1380068640,), (1380068736,), (1380068732,), (1380068733,), (1380068734,), (1380068735,), (1380068803,), (1380068804,), (1380068805,), (1380068806,), (1380068807,), (1380068959,), (1380068961,), (1380068963,), (1380068965,), (1380068967,), (1380068971,), (1380068996,), (1380068997,), (1380069029,), (1380069031,), (1380069033,), (1380069035,), (1380069063,), (1380069064,), (1380069414,), (1380069416,), (1380069418,), (1380069420,), (1380069422,), (1380069927,), (1380069929,), (1380069931,), (1380069933,), (1380070318,), (1380070319,), (1380070320,), (1380070321,), (1380070322,), (1380070323,), (1380070379,), (1380070381,), (1380070382,), (1380070384,), (1380070386,), (1380070388,), (1380070836,), (1380070839,), (1380070842,), (1380070845,), (1380072143,), (1380072145,), (1380072419,), (1380072423,), (1380072585,), (1380072586,), (1380072587,), (1380072641,), (1380072773,), (1380072823,), (1380072906,), (1380072910,), (1380072915,), (1380072919,), (1380072996,), (1380072997,), (1380073105,), (1380073256,), (1380073257,), (1380073258,), (1380073259,), (1380073314,), (1380073315,), (1380073316,), (1380073317,), (1380073318,), (1380073319,), (1380073425,), (1380073426,), (1380073427,), (1380073462,), (1380073581,), (1380073583,), (1380073585,), (1380073890,), (1380073891,), (1380073892,), (1380073893,), (1380073894,), (1380073948,), (1380073949,), (1380073950,), (1380073951,), (1380074188,), (1380074191,), (1380074251,), (1380074253,), (1380074919,), (1380075220,), (1380075492,), (1380075493,), (1380075494,), (1380075495,), (1380075497,), (1380075612,), (1380075613,), (1380075614,), (1380075818,), (1380075820,), (1380075822,), (1380075824,), (1380076202,), (1380076204,), (1380076206,), (1380076332,), (1380076334,), (1380076336,), (1380076338,), (1380076586,), (1380076588,), (1380076590,), (1380076693,), (1380076694,), (1380076800,), (1380076801,), (1380076873,), (1380076874,), (1380076875,), (1380077044,), (1380077045,), (1380077046,), (1380077047,), (1380077048,), (1380077049,), (1380077154,), (1380077155,), (1380077456,), (1380077458,), (1380077831,), (1380077825,), (1380077827,), (1380077829,), (1380077830,), (1380077860,), (1380077861,), (1380078127,), (1380078129,), (1380078131,), (1380078133,), (1380078135,), (1380078371,), (1380078372,), (1380078373,), (1380078374,), (1380078518,), (1380078520,), (1380078522,), (1380078524,), (1380078526,), (1380078620,), (1380078741,), (1380078744,), (1380079118,), (1380079119,), (1380079120,), (1380079121,), (1380079122,), (1380079123,), (1380079207,), (1380079208,), (1380079209,), (1380079210,), (1380079252,), (1380079253,), (1380079254,), (1380079294,), (1380079295,), (1380079296,), (1380079297,), (1380079298,), (1380079299,), (1380079416,), (1380079417,), (1380079418,), (1380079419,), (1380079420,), (1380079835,), (1380079836,), (1380079964,), (1380079966,), (1380080078,), (1380080138,), (1380080135,), (1380080136,), (1380080137,), (1380080217,), (1380080487,), (1380080488,), (1380080542,), (1380080543,), (1380080544,), (1380080580,), (1380080581,), (1380080582,), (1380080628,), (1380080629,), (1380080630,), (1380080631,), (1380080632,), (1380080685,), (1380080735,), (1380080765,), (1380080804,), (1380080815,), (1380080816,), (1380080864,), (1380080865,), (1380080866,), (1380080867,), (1380080909,), (1380080910,), (1380080911,), (1380080912,), (1380080913,), (1380081259,), (1380081262,), (1380081382,), (1380081383,), (1380081422,), (1380081424,), (1380081478,), (1380081470,), (1380081472,), (1380081474,), (1380081476,), (1380081531,), (1380081532,), (1380081533,), (1380081534,), (1380081535,), (1380081536,), (1380081573,), (1380081574,), (1380081575,), (1380081614,), (1380081615,), (1380081616,), (1380081617,), (1380081618,), (1380081666,), (1380081667,), (1380081668,), (1380081669,), (1380081670,), (1380081671,), (1380081708,), (1380081709,), (1380081710,), (1380081712,), (1380081714,), (1380081773,), (1380081774,), (1380081775,), (1380081834,), (1380081836,), (1380081838,), (1380081840,), (1380082354,), (1380084040,), (1380098212,), (1380098214,), (1380098321,), (1380098322,), (1380098323,), (1380098324,), (1380098325,), (1380098326,), (1380098355,), (1380098356,), (1380098357,), (1380098358,), (1380098359,), (1380098420,), (1380098421,), (1380098422,), (1380098514,), (1380098515,), (1380098547,), (1380098548,), (1380098888,), (1380098889,), (1380098890,), (1380098916,), (1380098917,), (1380098918,), (1380098919,), (1380099310,), (1380099308,), (1380099423,), (1380099424,), (1380099425,), (1380099426,), (1380099427,), (1380099428,), (1380099564,), (1380099565,), (1380099566,), (1380099567,), (1380099603,), (1380099604,), (1380099605,), (1380099606,), (1380099668,), (1380099670,), (1380100106,), (1380100107,), (1380100108,), (1380100109,), (1380100134,), (1380100135,), (1380100170,), (1380100171,), (1380100172,), (1380100173,), (1380100174,), (1380100310,), (1380100375,), (1380100377,), (1380100861,), (1380100862,), (1380100863,), (1380100864,), (1380100865,), (1380101300,), (1380101302,), (1380101304,), (1380101308,), (1380101312,), (1380101316,), (1380101360,), (1380101362,), (1380101721,), (1380101719,), (1380101840,), (1380101842,), (1380101844,), (1380101846,), (1380102324,), (1380102328,), (1380102332,), (1380102336,), (1380102340,), (1380103072,), (1380103074,), (1380103076,), (1380103078,), (1380103080,), (1380103532,), (1380103535,), (1380103538,), (1380103892,), (1380103894,), (1380104073,), (1380104075,), (1380104077,), (1380104148,), (1380104149,), (1380104397,), (1380104399,), (1380104401,), (1380104403,), (1380104602,), (1380104603,), (1380104604,), (1380104605,), (1380104634,), (1380104635,), (1380104636,), (1380104637,), (1380104638,), (1380104712,), (1380104713,), (1380104714,), (1380104715,), (1380104716,), (1380104752,), (1380104753,), (1380104754,), (1380104755,), (1380104756,), (1380104791,), (1380104792,), (1380104794,), (1380104796,), (1380104848,), (1380104849,), (1380104850,), (1380104851,), (1380105039,), (1380105033,), (1380105036,), (1380105595,), (1380105597,), (1380105599,), (1380105991,), (1380105992,), (1380105993,), (1380105994,), (1380106146,), (1380106147,), (1380106148,), (1380106149,), (1380106150,), (1380106151,), (1380106250,), (1380106252,), (1380106254,), (1380106256,), (1380106694,), (1380106695,), (1380106696,), (1380106697,), (1380106698,), (1380106874,), (1380106875,), (1380106876,), (1380106877,), (1380107016,), (1380107017,), (1380107018,), (1380107019,), (1380107298,), (1380107299,), (1380107300,), (1380107301,), (1380107302,), (1380107598,), (1380107600,), (1380107601,), (1380107602,), (1380107750,), (1380107751,), (1380107752,), (1380107753,), (1380107754,), (1380107874,), (1380107877,), (1380107879,), (1380108278,), (1380108281,), (1380108284,), (1380108287,), (1380108289,), (1380108292,), (1380108847,), (1380108849,), (1380108851,), (1380108853,), (1380108855,), (1380108857,), (1380109140,), (1380109142,), (1380109143,), (1380109410,), (1380109400,), (1380109402,), (1380109404,), (1380109406,), (1380109408,), (1380109816,), (1380109818,), (1380109821,), (1380109824,), (1380109827,), (1380109830,), (1380110184,), (1380110185,), (1380110187,), (1380110188,), (1380110395,), (1380110396,), (1380110397,), (1380110398,), (1380110614,), (1380110615,), (1380110616,), (1380110617,), (1380110803,), (1380110805,), (1380110807,), (1380110809,), (1380110811,), (1380110976,), (1380110977,), (1380110978,), (1380110979,), (1380110980,), (1380110981,), (1380111117,), (1380111118,), (1380111119,), (1380111120,), (1380111121,), (1380111122,), (1380111211,), (1380111212,), (1380111213,), (1380111214,), (1380111255,), (1380111256,), (1380111257,), (1380111258,), (1380111259,), (1380111260,), (1380111297,), (1380111298,), (1380111299,), (1380111300,), (1380111301,), (1380111302,), (1380111372,), (1380111373,), (1380111374,), (1380111531,), (1380111534,), (1380111535,), (1380111536,), (1380111537,), (1380111562,), (1380111563,), (1380111564,), (1380111565,), (1380111566,), (1380111593,), (1380111594,), (1380111595,), (1380111596,), (1380111597,), (1380111651,), (1380111646,), (1380111647,), (1380111648,), (1380111649,), (1380111650,), (1380111685,), (1380111686,), (1380111687,), (1380111688,), (1380111689,), (1380111806,), (1380111807,), (1380111808,), (1380111809,), (1380111810,), (1380111836,), (1380111837,), (1380111838,), (1380111839,), (1380111840,), (1380112240,), (1380112243,), (1380112463,), (1380112464,), (1380112465,), (1380112467,), (1380112535,), (1380112546,), (1380112549,), (1380112550,), (1380112620,), (1380112621,), (1380112622,), (1380112623,), (1380112624,), (1380112625,), (1380112671,), (1380112672,), (1380112673,), (1380112674,), (1380112675,), (1380112706,), (1380112708,), (1380112853,), (1380112855,), (1380112857,), (1380112859,), (1380113022,), (1380113025,), (1380113028,), (1380113031,), (1380113034,), (1380113037,), (1380113161,), (1380113165,), (1380113491,), (1380113492,), (1380113493,), (1380113494,), (1380114213,), (1380114215,), (1380114218,), (1380114220,), (1380114228,), (1380114229,), (1380114625,), (1380114542,), (1380114619,), (1380114621,), (1380114623,), (1380115148,), (1380115150,), (1380115152,), (1380115154,), (1380115156,), (1380115591,), (1380115593,), (1380115595,), (1380115597,), (1380115820,), (1380115821,), (1380115822,), (1380115945,), (1380115946,), (1380115947,), (1380115948,), (1380115949,), (1380115985,), (1380115986,), (1380115987,), (1380115988,), (1380115989,), (1380115990,), (1380116022,), (1380116023,), (1380116024,), (1380116025,), (1380116053,), (1380116054,), (1380116055,), (1380116131,), (1380116132,), (1380116133,), (1380116134,), (1380116135,), (1380116136,), (1380116175,), (1380116176,), (1380116177,), (1380116178,), (1380116179,), (1380116180,), (1380116330,), (1380116335,), (1380116340,), (1380116344,), (1380116347,), (1380116348,), (1380116542,), (1380116543,), (1380116749,), (1380116750,), (1380116751,), (1380116752,), (1380116753,), (1380116754,), (1380116780,), (1380116781,), (1380116782,), (1380116783,), (1380116784,), (1380116785,), (1380116823,), (1380116824,), (1380116873,), (1380116868,), (1380116869,), (1380116870,), (1380116871,), (1380116872,), (1380116900,), (1380116901,), (1380116902,), (1380116903,), (1380117030,), (1380117031,), (1380117032,), (1380117033,), (1380117034,), (1380117221,), (1380117222,), (1380117223,), (1380117224,), (1380117400,), (1380117402,), (1380117404,), (1380117406,), (1380117408,), (1380117451,), (1380117452,), (1380117453,), (1380117454,), (1380117455,), (1380117456,), (1380117526,), (1380117527,), (1380117528,), (1380117529,), (1380117530,), (1380117590,), (1380117591,), (1380117592,), (1380117593,), (1380117594,), (1380117619,), (1380117620,), (1380117621,), (1380117622,), (1380117623,), (1380117647,), (1380117649,), (1380117650,), (1380117651,), (1380117652,), (1380117735,), (1380117736,), (1380117737,), (1380117738,), (1380117739,), (1380117906,), (1380117907,), (1380117908,), (1380118034,), (1380118035,), (1380118036,), (1380118037,), (1380118214,), (1380118215,), (1380118216,), (1380118217,), (1380118284,), (1380118285,), (1380118286,), (1380118287,), (1380118288,), (1380118289,), (1380118346,), (1380118343,), (1380118344,), (1380118345,), (1380118388,), (1380118389,), (1380118390,), (1380118778,), (1380118780,), (1380118782,), (1380118784,), (1380118786,), (1380119087,), (1380119089,), (1380119091,), (1380119093,), (1380119095,), (1380119097,), (1380119249,), (1380119250,), (1380119251,), (1380119252,), (1380119414,), (1380119415,), (1380119416,), (1380119417,), (1380119418,), (1380119419,), (1380119467,), (1380119468,), (1380119469,), (1380119470,), (1380119471,), (1380119472,), (1380119605,), (1380119608,), (1380119610,), (1380119612,), (1380119614,), (1380119774,), (1380119775,), (1380119776,), (1380119777,), (1380119806,), (1380119807,), (1380119808,), (1380119809,), (1380119810,), (1380119811,), (1380119901,), (1380119902,), (1380119903,), (1380119904,), (1380119905,), (1380119964,), (1380119965,), (1380119966,), (1380119967,), (1380120084,), (1380120085,), (1380120086,), (1380120087,), (1380120144,), (1380120145,), (1380120146,), (1380120148,), (1380120150,), (1380120152,), (1380120378,), (1380120379,), (1380120380,), (1380120381,), (1380120382,), (1380120706,), (1380120697,), (1380120700,), (1380120702,), (1380120704,), (1380120761,), (1380120762,), (1380120763,), (1380120764,), (1380120765,), (1380120766,), (1380120854,), (1380120855,), (1380120856,), (1380120857,), (1380120858,), (1380120884,), (1380120885,), (1380120886,), (1380120887,), (1380120935,), (1380120936,), (1380120937,), (1380120938,), (1380120981,), (1380120982,), (1380120983,), (1380121043,), (1380121044,), (1380121045,), (1380121046,), (1380121047,), (1380121048,), (1380121261,), (1380121263,), (1380121265,), (1380121267,), (1380121269,), (1380121458,), (1380121459,), (1380121460,), (1380121461,), (1380121495,), (1380121496,), (1380121497,), (1380121498,), (1380121499,), (1380121500,), (1380121575,), (1380121576,), (1380121577,), (1380121578,), (1380121579,), (1380121737,), (1380121739,), (1380121741,), (1380121743,), (1380121745,), (1380121747,), (1380121903,), (1380121905,), (1380121907,), (1380121909,), (1380121911,), (1380121914,), (1380123304,), (1380123308,), (1380123311,), (1380123315,), (1380123689,), (1380123685,), (1380123687,), (1380123904,), (1380123905,), (1380123906,), (1380123907,), (1380123908,), (1380123909,), (1380124113,), (1380124115,), (1380124117,), (1380124119,), (1380124563,), (1380124564,), (1380124565,), (1380124566,), (1380124567,), (1380124568,), (1380124917,), (1380124918,), (1380124919,), (1380124920,), (1380125136,), (1380125137,), (1380125138,), (1380125139,), (1380125140,), (1380125141,), (1380125339,), (1380125340,), (1380125341,), (1380125342,), (1380125343,), (1380125344,), (1380125503,), (1380125504,), (1380125505,), (1380125585,), (1380125586,), (1380125587,), (1380125588,), (1380125589,), (1380125590,), (1380125798,), (1380125799,), (1380125800,), (1380125963,), (1380125964,), (1380125965,), (1380125966,), (1380125967,), (1380126050,), (1380126051,), (1380126052,), (1380126053,), (1380126054,), (1380126055,), (1380126174,), (1380126175,), (1380126176,), (1380126177,), (1380126178,), (1380126208,), (1380126209,), (1380126210,), (1380126211,), (1380126243,), (1380126244,), (1380126245,), (1380126246,), (1380126247,), (1380126248,), (1380126312,), (1380126306,), (1380126308,), (1380126310,), (1380126435,), (1380126436,), (1380126437,), (1380126438,), (1380126501,), (1380126502,), (1380126503,), (1380126504,), (1380126505,), (1380126506,), (1380126607,), (1380126608,), (1380126609,), (1380126610,), (1380126611,), (1380126733,), (1380126734,), (1380126735,), (1380126766,), (1380126767,), (1380126768,), (1380126769,), (1380126771,), (1380126772,), (1380126853,), (1380126854,), (1380126855,), (1380126856,), (1380126936,), (1380126937,), (1380126938,), (1380126939,), (1380126940,), (1380127194,), (1380127196,), (1380127198,), (1380127200,), (1380127358,), (1380127360,), (1380127362,), (1380127364,), (1380127366,), (1380127368,), (1380127405,), (1380127406,), (1380127407,), (1380127408,), (1380127409,), (1380127411,), (1380127505,), (1380127506,), (1380127612,), (1380127613,), (1380127614,), (1380127615,), (1380127616,), (1380127617,), (1380127691,), (1380127692,), (1380127693,), (1380127694,), (1380127732,), (1380127733,), (1380127734,), (1380127771,), (1380127767,), (1380127768,), (1380127769,), (1380127770,), (1380128004,), (1380128006,), (1380128008,), (1380128010,), (1380128012,), (1380128262,), (1380128265,), (1380128267,), (1380128362,), (1380128363,), (1380128364,), (1380128365,), (1380128366,), (1380128367,), (1380128394,), (1380128395,), (1380128396,), (1380128397,), (1380128422,), (1380128423,), (1380128424,), (1380128425,), (1380128426,), (1380128427,), (1380128447,), (1380128448,), (1380128449,), (1380128451,), (1380128452,), (1380128512,), (1380128514,), (1380128516,), (1380128518,), (1380128519,), (1380128520,), (1380128665,), (1380128666,), (1380128667,), (1380128668,), (1380128669,), (1380128670,), (1380128712,), (1380128714,), (1380128716,), (1380128718,), (1380128719,), (1380128808,), (1380128810,), (1380128812,), (1380128814,), (1380128816,), (1380128970,), (1380128971,), (1380128972,), (1380128973,), (1380128974,), (1380128975,), (1380129056,), (1380129057,), (1380129058,), (1380129059,), (1380129096,), (1380129097,), (1380129098,), (1380129099,), (1380129100,), (1380129278,), (1380129280,), (1380129282,), (1380129284,), (1380129286,), (1380129624,), (1380129620,), (1380129621,), (1380129622,), (1380129623,), (1380129653,), (1380129654,), (1380129655,), (1380129656,), (1380129657,), (1380129763,), (1380129764,), (1380129765,), (1380129766,), (1380129767,), (1380129791,), (1380129792,), (1380129793,), (1380129794,), (1380129795,), (1380129897,), (1380129898,), (1380129899,), (1380129900,), (1380129901,), (1380129902,), (1380129971,), (1380129972,), (1380129973,), (1380129974,), (1380129975,), (1380129976,), (1380130092,), (1380130093,), (1380130094,), (1380130095,), (1380130273,), (1380130275,), (1380130277,), (1380130279,), (1380130281,), (1380130564,), (1380130565,), (1380130566,), (1380130567,), (1380130568,), (1380130569,), (1380130698,), (1380130699,), (1380130700,), (1380130701,), (1380130742,), (1380130743,), (1380130744,), (1380130946,), (1380130948,), (1380130950,), (1380130952,), (1380130954,), (1380131239,), (1380131242,), (1380131244,), (1380131246,), (1380131248,), (1380132077,), (1380132080,), (1380132083,), (1380132086,), (1380132089,), (1380132092,), (1380132199,), (1380132202,), (1380132205,), (1380132595,), (1380132593,), (1380132851,), (1380132852,), (1380132853,), (1380132854,), (1380133010,), (1380133011,), (1380133012,), (1380133036,), (1380133037,), (1380133038,), (1380133039,), (1380133040,), (1380133061,), (1380133062,), (1380133063,), (1380133064,), (1380133065,), (1380133066,), (1380133098,), (1380133099,), (1380133100,), (1380133101,), (1380133137,), (1380133138,), (1380133139,), (1380133140,), (1380133141,), (1380133142,), (1380133233,), (1380133234,), (1380133235,), (1380133236,), (1380133323,), (1380133357,), (1380133358,), (1380133359,), (1380133360,), (1380133361,), (1380133501,), (1380133502,), (1380133503,), (1380133504,), (1380133506,), (1380133507,), (1380133795,), (1380133796,), (1380133797,), (1380133798,), (1380133799,), (1380133875,), (1380133876,), (1380133877,), (1380133878,), (1380133937,), (1380133938,), (1380133939,), (1380133940,), (1380133941,), (1380133942,), (1380133982,), (1380133983,), (1380133984,), (1380133985,), (1380133986,), (1380134092,), (1380134093,), (1380134094,), (1380134095,), (1380134096,), (1380134097,), (1380134130,), (1380134127,), (1380134128,), (1380134129,), (1380134188,), (1380134189,), (1380134190,), (1380134191,), (1380134509,), (1380134546,), (1380134547,), (1380134548,), (1380134641,), (1380134642,), (1380134643,), (1380134644,), (1380134645,), (1380134646,), (1380134688,), (1380134689,), (1380134690,), (1380134691,), (1380134692,), (1380134693,), (1380134797,), (1380134799,), (1380134801,), (1380134803,), (1380135300,), (1380135301,), (1380135302,), (1380135303,), (1380135304,), (1380135305,), (1380135666,), (1380135667,), (1380135668,), (1380135669,), (1380135670,), (1380135671,), (1380135863,), (1380135864,), (1380135865,), (1380135866,), (1380135900,), (1380135901,), (1380135902,), (1380135903,), (1380135929,), (1380135930,), (1380135931,), (1380135932,), (1380135933,), (1380136007,), (1380136008,), (1380136009,), (1380136011,), (1380136012,), (1380136013,), (1380136022,), (1380136023,), (1380136024,), (1380136053,), (1380136054,), (1380136055,), (1380136056,), (1380136057,), (1380141215,), (1380141209,), (1380141212,), (1380142023,), (1380142026,), (1380142029,), (1380142032,), (1380142035,), (1380142402,), (1380142404,), (1380142406,), (1380142869,), (1380142870,), (1380142872,), (1380142976,), (1380142977,), (1380142978,), (1380142979,), (1380142980,), (1380142981,), (1380143012,), (1380143013,), (1380143014,), (1380143015,), (1380143016,), (1380143050,), (1380143051,), (1380143053,), (1380143054,), (1380143055,), (1380143125,), (1380143126,), (1380143127,), (1380143128,), (1380143129,), (1380143130,), (1380143212,), (1380143214,), (1380143215,), (1380143216,), (1380143281,), (1380143282,), (1380143283,), (1380143284,), (1380143285,), (1380143286,), (1380143370,), (1380143371,), (1380143372,), (1380143373,), (1380143374,), (1380143498,), (1380143499,), (1380143500,), (1380143621,), (1380143679,), (1380143680,), (1380143681,), (1380143683,), (1380143684,), (1380143710,), (1380143711,), (1380143712,), (1380143713,), (1380143714,), (1380143715,), (1380143760,), (1380143761,), (1380143762,), (1380143763,), (1380143764,), (1380143962,), (1380143958,), (1380143959,), (1380143960,), (1380143961,), (1380144038,), (1380144039,), (1380144040,), (1380144041,), (1380144042,), (1380144043,), (1380144263,), (1380144264,), (1380144265,), (1380144266,), (1380144408,), (1380144409,), (1380144410,), (1380144411,), (1380144412,), (1380144456,), (1380144457,), (1380144458,), (1380144459,), (1380144460,), (1380144500,), (1380144501,), (1380144502,), (1380144503,), (1380144551,), (1380144552,), (1380144553,), (1380144554,), (1380144618,), (1380144619,), (1380144620,), (1380144621,), (1380144622,), (1380144671,), (1380144672,), (1380144674,), (1380144676,), (1380144678,), (1380144755,), (1380144757,), (1380144759,), (1380144870,), (1380144871,), (1380144872,), (1380144873,), (1380144927,), (1380144928,), (1380144929,), (1380144930,), (1380144931,), (1380144932,), (1380144997,), (1380144998,), (1380144999,), (1380145000,), (1380145001,), (1380145063,), (1380145064,), (1380145065,), (1380145108,), (1380145109,), (1380145110,), (1380145111,), (1380145112,), (1380145113,), (1380145163,), (1380145153,), (1380145158,), (1380145159,), (1380145161,), (1380145162,), (1380145199,), (1380145200,), (1380145201,), (1380145202,), (1380145203,), (1380145287,), (1380145288,), (1380145289,), (1380145290,), (1380145291,), (1380145292,), (1380145326,), (1380145327,), (1380145328,), (1380145329,), (1380145350,), (1380145351,), (1380145352,), (1380145353,), (1380145354,), (1380145355,), (1380145385,), (1380145386,), (1380145387,), (1380145388,), (1380145416,), (1380145417,), (1380145418,), (1380145419,), (1380145420,), (1380145497,), (1380145498,), (1380145499,), (1380145500,), (1380145501,), (1380145502,), (1380145535,), (1380145536,), (1380145537,), (1380145538,), (1380145539,), (1380145540,), (1380145574,), (1380145575,), (1380145576,), (1380145577,), (1380145630,), (1380145631,), (1380145632,), (1380145719,), (1380145720,), (1380145790,), (1380145815,), (1380145816,), (1380145817,), (1380145891,), (1380145892,), (1380145893,), (1380145894,), (1380146085,), (1380146080,), (1380146081,), (1380146082,), (1380146083,), (1380146084,), (1380146235,), (1380146236,), (1380146269,), (1380146270,), (1380146271,), (1380146272,), (1380146273,), (1380146274,), (1380146317,), (1380146318,), (1380146319,), (1380146320,), (1380146356,), (1380146357,), (1380146358,), (1380146359,), (1380146360,), (1380146361,), (1380146398,), (1380146399,), (1380146400,), (1380146401,), (1380146402,), (1380146448,), (1380146449,), (1380146450,), (1380146451,), (1380146452,), (1380146453,), (1380146584,), (1380146586,), (1380146588,), (1380146590,), (1380146592,), (1380146901,), (1380146902,), (1380146903,), (1380146904,), (1380146937,), (1380146938,), (1380146939,), (1380146940,), (1380146941,), (1380146942,), (1380146994,), (1380146995,), (1380146996,), (1380146997,), (1380147017,), (1380147018,), (1380147019,), (1380147020,), (1380147021,), (1380147022,), (1380147029,), (1380147030,), (1380147032,), (1380147033,), (1380147062,), (1380147063,), (1380147064,), (1380147065,), (1380147066,), (1380147067,), (1380147764,), (1380147767,), (1380147771,), (1380147775,), (1380147891,), (1380147894,), (1380147898,), (1380147901,), (1380147904,), (1380148633,), (1380148621,), (1380148624,), (1380148627,), (1380148630,), (1380149113,), (1380149115,), (1380149117,), (1380149119,), (1380149121,), (1380149500,), (1380149501,), (1380149502,), (1380149503,), (1380149504,), (1380149505,), (1380149681,), (1380149682,), (1380149683,), (1380149684,), (1380149685,), (1380149752,), (1380149753,), (1380149754,), (1380149795,), (1380149796,), (1380149797,), (1380149798,), (1380149799,), (1380149905,), (1380149906,), (1380149907,), (1380149908,), (1380149909,), (1380149910,), (1380149978,), (1380149980,), (1380149982,), (1380149984,), (1380150527,), (1380150529,), (1380150531,), (1380150533,), (1380150535,), (1380150537,), (1380150963,), (1380150965,), (1380150967,), (1380150969,), (1380151172,), (1380151174,), (1380151176,), (1380151179,), (1380151750,), (1380151752,), (1380151754,), (1380151756,), (1380151758,), (1380151760,), (1380152207,), (1380152209,), (1380152210,), (1380152211,), (1380152212,), (1380152630,), (1380152634,), (1380152638,), (1380152642,), (1380153521,), (1380153522,), (1380153523,), (1380153524,), (1380153525,), (1380153527,), (1380153688,), (1380153682,), (1380153684,), (1380153686,), (1380153764,), (1380153765,), (1380153766,), (1380153767,), (1380153768,), (1380153769,), (1380154036,), (1380154038,), (1380154040,), (1380154042,), (1380154044,), (1380154046,), (1380154181,), (1380154182,), (1380154183,), (1380154360,), (1380154363,), (1380154365,), (1380154367,), (1380154369,), (1380154371,), (1380154670,), (1380154672,), (1380154674,), (1380154676,), (1380154828,), (1380154829,), (1380154830,), (1380154831,), (1380154928,), (1380154930,), (1380154932,), (1380154934,), (1380154936,), (1380155127,), (1380155128,), (1380155129,), (1380155130,), (1380155131,), (1380155156,), (1380155157,), (1380155158,), (1380155159,), (1380155160,), (1380155579,), (1380155581,), (1380155583,), (1380155585,), (1380155588,), (1380155837,), (1380155838,), (1380155840,), (1380155841,), (1380155842,), (1380155983,), (1380155985,), (1380155987,), (1380155989,), (1380155991,), (1380156334,), (1380156336,), (1380156338,), (1380156579,), (1380156580,), (1380156581,), (1380156582,), (1380156688,), (1380156679,), (1380156680,), (1380156682,), (1380156686,), (1380156687,), (1380156781,), (1380156782,), (1380156783,), (1380156815,), (1380156816,), (1380156817,), (1380156818,), (1380156819,), (1380156820,), (1380156892,), (1380156894,), (1380156896,), (1380156898,), (1380156900,), (1380157271,), (1380157273,), (1380157275,), (1380157277,), (1380157279,), (1380157281,), (1380157538,), (1380157539,), (1380157540,), (1380157541,), (1380157542,), (1380157543,), (1380157574,), (1380157575,), (1380157576,), (1380157627,), (1380157628,), (1380157629,), (1380157630,), (1380157631,), (1380157632,), (1380157671,), (1380157673,), (1380157674,), (1380157675,), (1380157749,), (1380157750,), (1380157751,), (1380157752,), (1380158145,), (1380158505,), (1380158507,), (1380158509,), (1380158574,), (1380158575,), (1380158576,), (1380158577,), (1380158578,), (1380158776,), (1380158777,), (1380158778,), (1380158779,), (1380158780,), (1380158852,), (1380158853,), (1380158854,), (1380158855,), (1380158856,), (1380159061,), (1380159089,), (1380159090,), (1380159091,), (1380159092,), (1380159093,), (1380159163,), (1380159164,), (1380159165,), (1380159166,), (1380159167,), (1380159191,), (1380159192,), (1380159193,), (1380159194,), (1380159195,), (1380159196,), (1380159244,), (1380159245,), (1380159246,), (1380159247,), (1380159248,), (1380159249,), (1380159304,), (1380159305,), (1380159306,), (1380159307,), (1380159369,), (1380159370,), (1380159371,), (1380159372,), (1380159373,), (1380159374,), (1380159449,), (1380159457,), (1380159458,), (1380159459,), (1380159486,), (1380159487,), (1380159488,), (1380159489,), (1380159490,), (1380159491,), (1380159515,), (1380159516,), (1380159517,), (1380159518,), (1380159569,), (1380159570,), (1380159571,), (1380159572,), (1380159573,), (1380159574,), (1380159741,), (1380159742,), (1380159743,), (1380159745,), (1380159746,), (1380159747,), (1380160017,), (1380160019,), (1380160021,), (1380160023,), (1380160886,), (1380160888,), (1380160890,), (1380160892,), (1380160894,), (1380160896,), (1380160968,), (1380160970,), (1380160972,), (1380161435,), (1380161419,), (1380161422,), (1380161426,), (1380161429,), (1380161432,), (1380162055,), (1380162057,), (1380162059,), (1380162061,), (1380162063,), (1380162315,), (1380162317,), (1380162319,), (1380162321,), (1380162323,), (1380162570,), (1380162572,), (1380162612,), (1380162613,), (1380162614,), (1380162615,), (1380162616,), (1380162772,), (1380162774,), (1380162775,), (1380162776,), (1380162966,), (1380162967,), (1380162969,), (1380162970,), (1380162972,), (1380162973,), (1380163017,), (1380163020,), (1380163022,), (1380163084,), (1380163085,), (1380163086,), (1380163087,), (1380163146,), (1380163147,), (1380163148,), (1380163149,), (1380163151,), (1380163243,), (1380163244,), (1380163245,), (1380163246,), (1380163247,), (1380163248,), (1380163432,), (1380163433,), (1380163434,), (1380163435,), (1380163478,), (1380163479,), (1380163480,), (1380163481,), (1380163482,), (1380163483,), (1380163553,), (1380163555,), (1380163557,), (1380163559,), (1380163702,), (1380163703,), (1380163704,), (1380163705,), (1380164311,), (1380164301,), (1380164303,), (1380164305,), (1380164307,), (1380164309,), (1380164535,), (1380164537,), (1380164539,), (1380164541,), (1380164543,), (1380164665,), (1380164666,), (1380164667,), (1380164668,), (1380164669,), (1380164670,), (1380164759,), (1380164761,), (1380164763,), (1380165122,), (1380165125,), (1380165127,), (1380165129,), (1380165131,), (1380165133,), (1380165372,), (1380165373,), (1380165375,), (1380165376,), (1380165377,), (1380165486,), (1380165487,), (1380165488,), (1380165489,), (1380165546,), (1380165547,), (1380165548,), (1380165549,), (1380165550,), (1380165551,), (1380165588,), (1380165589,), (1380165590,), (1380165863,), (1380165865,), (1380165867,), (1380165869,), (1380165871,), (1380166366,), (1380166368,), (1380166370,), (1380166372,), (1380167049,), (1380167048,), (1380167203,), (1380167204,), (1380167205,), (1380167206,), (1380167242,), (1380167243,), (1380167244,), (1380167245,), (1380167246,), (1380167248,), (1380167569,), (1380167571,), (1380167573,), (1380167576,), (1380167578,), (1380167580,), (1380167696,), (1380167697,), (1380167728,), (1380167729,), (1380167730,), (1380167731,), (1380167732,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'29082025': {'nb_upload': 24, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26345661]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1380167732, 1380167731, 1380167730, 1380167729, 1380167728, 1380167697, 1380167696] map_info['map_portfolio_photo'] : {26345661: [1380167732, 1380167731, 1380167730, 1380167729, 1380167728, 1380167697, 1380167696, 1380167580, 1380167578, 1380167576, 1380167573, 1380167571, 1380167569, 1380167248, 1380167246, 1380167245, 1380167244, 1380167243, 1380167242, 1380167206, 1380167205, 1380167204, 1380167203, 1380167048]} final : True mtd_id 4302 list_pids : [1380167732, 1380167731, 1380167730, 1380167729, 1380167728, 1380167697, 1380167696] Looping around the photos to save general results len do output : 1 /26345661Didn'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, '3638759') ('4302', '26345661', '1380167732', None, None, None, None, None, '3638759') ('4302', None, None, None, None, None, None, None, '3638759') ('4302', '26345661', '1380167731', None, None, None, None, None, '3638759') ('4302', None, None, None, None, None, None, None, '3638759') ('4302', '26345661', '1380167730', None, None, None, None, None, '3638759') ('4302', None, None, None, None, None, None, None, '3638759') ('4302', '26345661', '1380167729', None, None, None, None, None, '3638759') ('4302', None, None, None, None, None, None, None, '3638759') ('4302', '26345661', '1380167728', None, None, None, None, None, '3638759') ('4302', None, None, None, None, None, None, None, '3638759') ('4302', '26345661', '1380167697', None, None, None, None, None, '3638759') ('4302', None, None, None, None, None, None, None, '3638759') ('4302', '26345661', '1380167696', None, None, None, None, None, '3638759') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 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, '26345661', 'None', None, None, None, None, '3638759'), ('4302', '26345661', '1380167732', None, None, None, None, None, '3638759'), ('4302', '26345661', '1380167731', None, None, None, None, None, '3638759'), ('4302', '26345661', '1380167730', None, None, None, None, None, '3638759'), ('4302', '26345661', '1380167729', None, None, None, None, None, '3638759'), ('4302', '26345661', '1380167728', None, None, None, None, None, '3638759'), ('4302', '26345661', '1380167697', None, None, None, None, None, '3638759'), ('4302', '26345661', '1380167696', None, None, None, None, None, '3638759')] time used for this insertion : 0.013315200805664062 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.0866291522979736 time spend to save output : 0.01348876953125 total time spend for step 5 : 3.1001179218292236 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 (3638759) 2.03user 2.31system 0:08.74elapsed 49%CPU (0avgtext+0avgdata 160452maxresident)k 184inputs+4704outputs (3major+64105minor)pagefaults 0swaps