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 : 3456483 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 (3885801) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3885801) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27598818 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3885801'] with mtr_portfolio_ids : ['27598818'] and first list_photo_ids : [] new path : /proc/3456483/ Name: python3 Umask: 0002 State: R (running) Tgid: 3456483 Ngid: 0 Pid: 3456483 PPid: 3456482 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3456483 NSpid: 3456483 NSpgid: 3455159 NSsid: 3455159 VmPeak: 1106856 kB VmSize: 1106856 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98260 kB VmRSS: 98260 kB RssAnon: 59840 kB RssFile: 38420 kB RssShmem: 0 kB VmData: 865608 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 620 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 55 nonvoluntary_ctxt_switches: 114 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3456483', 'Ngid': '0', 'Pid': '3456483', 'PPid': '3456482', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3456483', 'NSpid': '3456483', 'NSpgid': '3455159', 'NSsid': '3455159', 'VmPeak': '1106856 kB', 'VmSize': '1106856 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98260 kB', 'VmRSS': '98260 kB', 'RssAnon': '59840 kB', 'RssFile': '38420 kB', 'RssShmem': '0 kB', 'VmData': '865608 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '620 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '55', 'nonvoluntary_ctxt_switches': '114'} ('datou_batch_current', '3456483', '1106856', '0', '1106856', '865608', '98260', b'', 'marlene', '3885801') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (27598818) 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 (3885801 ) ) 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 (27598818) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1388216110, 'portfolio_id': 27598818}, {'photo_id': 1388216106, 'portfolio_id': 27598818}, {'photo_id': 1388216102, 'portfolio_id': 27598818}, {'photo_id': 1388216100, 'portfolio_id': 27598818}, {'photo_id': 1388216098, 'portfolio_id': 27598818}, {'photo_id': 1388216089, 'portfolio_id': 27598818}, {'photo_id': 1388216085, 'portfolio_id': 27598818}, {'photo_id': 1388216081, 'portfolio_id': 27598818}, {'photo_id': 1388216078, 'portfolio_id': 27598818}, {'photo_id': 1388216064, 'portfolio_id': 27598818}, {'photo_id': 1388216050, 'portfolio_id': 27598818}, {'photo_id': 1388215950, 'portfolio_id': 27598818}, {'photo_id': 1388215946, 'portfolio_id': 27598818}, {'photo_id': 1388215740, 'portfolio_id': 27598818}] map_portfolio_id_photo_id: {27598818: [1388216110, 1388216106, 1388216102, 1388216100, 1388216098, 1388216089, 1388216085, 1388216081, 1388216078, 1388216064, 1388216050, 1388215950, 1388215946, 1388215740]} ##### 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.051902055740356445 #### 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 Wed Oct 8 14:34:56 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 (27598818) 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 : 27598818 get user id for portfolio 27598818 get sub ptf for main ptf 27598818, type 3726 and hashtags ['flou', 'papier', 'autre_refus', 'cartonnette', 'Carton_brun', 'environnement', 'plastique', 'Carton_gris', 'mal_croppe', 'Teint_Dans_La_Masse', 'kraft', 'metal'] 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`=27598818 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','autre_refus','cartonnette','Carton_brun','environnement','plastique','Carton_gris','mal_croppe','Teint_Dans_La_Masse','kraft','metal')) 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`=27598818 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','autre_refus','cartonnette','Carton_brun','environnement','plastique','Carton_gris','mal_croppe','Teint_Dans_La_Masse','kraft','metal')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 27598818, 'sub_port_id': 27598830, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18624930, 'last_updated_at': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 14, 33, 26)}, 'plastique': {'main_port_id': 27598818, 'sub_port_id': 27598831, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18624931, 'last_updated_at': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 14, 33, 26)}, 'Carton_gris': {'main_port_id': 27598818, 'sub_port_id': 27598832, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18624932, 'last_updated_at': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 14, 33, 26)}, 'flou': {'main_port_id': 27598818, 'sub_port_id': 27598833, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18624933, 'last_updated_at': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 14, 33, 26)}, 'mal_croppe': {'main_port_id': 27598818, 'sub_port_id': 27598834, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18624934, 'last_updated_at': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 14, 33, 26)}, 'environnement': {'main_port_id': 27598818, 'sub_port_id': 27598835, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18624935, 'last_updated_at': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 14, 33, 26)}, 'Carton_brun': {'main_port_id': 27598818, 'sub_port_id': 27598836, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18624936, 'last_updated_at': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 14, 33, 26)}, 'Teint_Dans_La_Masse': {'main_port_id': 27598818, 'sub_port_id': 27598837, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18624937, 'last_updated_at': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 14, 33, 26)}, 'metal': {'main_port_id': 27598818, 'sub_port_id': 27598838, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18624938, 'last_updated_at': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 14, 33, 26)}, 'kraft': {'main_port_id': 27598818, 'sub_port_id': 27598839, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18624939, 'last_updated_at': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 14, 33, 26)}, 'papier': {'main_port_id': 27598818, 'sub_port_id': 27598840, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18624940, 'last_updated_at': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 14, 33, 26)}, 'autre_refus': {'main_port_id': 27598818, 'sub_port_id': 27598841, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18624941, 'last_updated_at': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 14, 33, 26)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27598830 , 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=27598818 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 (27598830) result : ((1388216163,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27598818) result : ((1388215740,), (1388215946,), (1388215950,), (1388216050,), (1388216064,), (1388216078,), (1388216081,), (1388216085,), (1388216089,), (1388216098,), (1388216100,), (1388216102,), (1388216106,), (1388216110,)) 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 (1388216100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27598831 , 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=27598818 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 (27598831) result : ((1388216165,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27598818) result : ((1388215740,), (1388215946,), (1388215950,), (1388216050,), (1388216064,), (1388216078,), (1388216081,), (1388216085,), (1388216089,), (1388216098,), (1388216100,), (1388216102,), (1388216106,), (1388216110,)) 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 (1388216100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27598832 , 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=27598818 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 (27598832) result : ((1388216162,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27598818) result : ((1388215740,), (1388215946,), (1388215950,), (1388216050,), (1388216064,), (1388216078,), (1388216081,), (1388216085,), (1388216089,), (1388216098,), (1388216100,), (1388216102,), (1388216106,), (1388216110,)) 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 (1388216100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27598833 , 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=27598818 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 (27598833) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27598818) result : ((1388215740,), (1388215946,), (1388215950,), (1388216050,), (1388216064,), (1388216078,), (1388216081,), (1388216085,), (1388216089,), (1388216098,), (1388216100,), (1388216102,), (1388216106,), (1388216110,)) 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 (1388216100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27598834 , 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=27598818 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 (27598834) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27598818) result : ((1388215740,), (1388215946,), (1388215950,), (1388216050,), (1388216064,), (1388216078,), (1388216081,), (1388216085,), (1388216089,), (1388216098,), (1388216100,), (1388216102,), (1388216106,), (1388216110,)) 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 (1388216100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27598835 , 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=27598818 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 (27598835) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27598818) result : ((1388215740,), (1388215946,), (1388215950,), (1388216050,), (1388216064,), (1388216078,), (1388216081,), (1388216085,), (1388216089,), (1388216098,), (1388216100,), (1388216102,), (1388216106,), (1388216110,)) 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 (1388216100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27598836 , 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=27598818 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 (27598836) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27598818) result : ((1388215740,), (1388215946,), (1388215950,), (1388216050,), (1388216064,), (1388216078,), (1388216081,), (1388216085,), (1388216089,), (1388216098,), (1388216100,), (1388216102,), (1388216106,), (1388216110,)) 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 (1388216100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27598837 , 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=27598818 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 (27598837) result : ((1388216160,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27598818) result : ((1388215740,), (1388215946,), (1388215950,), (1388216050,), (1388216064,), (1388216078,), (1388216081,), (1388216085,), (1388216089,), (1388216098,), (1388216100,), (1388216102,), (1388216106,), (1388216110,)) 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 (1388216100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27598838 , 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=27598818 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 (27598838) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27598818) result : ((1388215740,), (1388215946,), (1388215950,), (1388216050,), (1388216064,), (1388216078,), (1388216081,), (1388216085,), (1388216089,), (1388216098,), (1388216100,), (1388216102,), (1388216106,), (1388216110,)) 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 (1388216100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27598839 , 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=27598818 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 (27598839) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27598818) result : ((1388215740,), (1388215946,), (1388215950,), (1388216050,), (1388216064,), (1388216078,), (1388216081,), (1388216085,), (1388216089,), (1388216098,), (1388216100,), (1388216102,), (1388216106,), (1388216110,)) 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 (1388216100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27598840 , 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=27598818 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 (27598840) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27598818) result : ((1388215740,), (1388215946,), (1388215950,), (1388216050,), (1388216064,), (1388216078,), (1388216081,), (1388216085,), (1388216089,), (1388216098,), (1388216100,), (1388216102,), (1388216106,), (1388216110,)) 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 (1388216100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27598841 , 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=27598818 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 (27598841) result : ((1388216161,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27598818) result : ((1388215740,), (1388215946,), (1388215950,), (1388216050,), (1388216064,), (1388216078,), (1388216081,), (1388216085,), (1388216089,), (1388216098,), (1388216100,), (1388216102,), (1388216106,), (1388216110,)) 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 (1388216100) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27598818 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','autre_refus','cartonnette','Carton_brun','environnement','plastique','Carton_gris','mal_croppe','Teint_Dans_La_Masse','kraft','metal')) 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`=27598818 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','autre_refus','cartonnette','Carton_brun','environnement','plastique','Carton_gris','mal_croppe','Teint_Dans_La_Masse','kraft','metal')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 27598818, 'sub_port_id': 27598842, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18624942, 'last_updated_at': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 14, 33, 26)}, 'plastique': {'main_port_id': 27598818, 'sub_port_id': 27598843, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18624943, 'last_updated_at': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 14, 33, 26)}, 'Carton_gris': {'main_port_id': 27598818, 'sub_port_id': 27598844, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18624944, 'last_updated_at': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 14, 33, 26)}, 'flou': {'main_port_id': 27598818, 'sub_port_id': 27598845, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18624945, 'last_updated_at': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 14, 33, 26)}, 'mal_croppe': {'main_port_id': 27598818, 'sub_port_id': 27598846, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18624946, 'last_updated_at': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 14, 33, 26)}, 'environnement': {'main_port_id': 27598818, 'sub_port_id': 27598847, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18624947, 'last_updated_at': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 14, 33, 26)}, 'Carton_brun': {'main_port_id': 27598818, 'sub_port_id': 27598848, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18624948, 'last_updated_at': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 14, 33, 26)}, 'Teint_Dans_La_Masse': {'main_port_id': 27598818, 'sub_port_id': 27598849, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18624949, 'last_updated_at': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 14, 33, 26)}, 'metal': {'main_port_id': 27598818, 'sub_port_id': 27598850, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18624950, 'last_updated_at': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 14, 33, 26)}, 'kraft': {'main_port_id': 27598818, 'sub_port_id': 27598851, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18624951, 'last_updated_at': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 14, 33, 26)}, 'papier': {'main_port_id': 27598818, 'sub_port_id': 27598852, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18624952, 'last_updated_at': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 14, 33, 26)}, 'autre_refus': {'main_port_id': 27598818, 'sub_port_id': 27598853, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18624953, 'last_updated_at': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 14, 33, 26), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 14, 33, 26)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27598842,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27598830 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27598843,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27598831 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27598844,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27598832 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27598845,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27598833 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27598846,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27598834 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27598847,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27598835 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27598848,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27598836 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27598849,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27598837 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27598850,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27598838 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27598851,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27598839 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27598852,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27598840 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27598853,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27598841 lien utilise dans velours : https://marlene.fotonower.com/velours/27598842,27598843,27598844,27598845,27598846,27598847,27598848,27598849,27598850,27598851,27598852,27598853?tags=cartonnette,plastique,Carton_gris,flou,mal_croppe,environnement,Carton_brun,Teint_Dans_La_Masse,metal,kraft,papier,autre_refus After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27598818]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1388216110, 1388216106, 1388216102, 1388216100, 1388216098, 1388216089, 1388216085, 1388216081, 1388216078, 1388216064, 1388216050] map_info['map_portfolio_photo'] : {27598818: [1388216110, 1388216106, 1388216102, 1388216100, 1388216098, 1388216089, 1388216085, 1388216081, 1388216078, 1388216064, 1388216050, 1388215950, 1388215946, 1388215740]} final : False mtd_id 4302 list_pids : [1388216110, 1388216106, 1388216102, 1388216100, 1388216098, 1388216089, 1388216085, 1388216081, 1388216078, 1388216064, 1388216050] Looping around the photos to save general results len do output : 1 /27598818. 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, '3885801') ('4302', '27598818', '1388216110', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216106', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216102', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216100', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216098', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216089', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216085', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216081', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216078', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216064', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216050', None, None, None, None, None, '3885801') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 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, '27598818', "{'cartonnette': 27598830, 'plastique': 27598831, 'Carton_gris': 27598832, 'flou': 27598833, 'mal_croppe': 27598834, 'environnement': 27598835, 'Carton_brun': 27598836, 'Teint_Dans_La_Masse': 27598837, 'metal': 27598838, 'kraft': 27598839, 'papier': 27598840, 'autre_refus': 27598841}", None, None, None, None, '3885801'), ('4302', '27598818', '1388216110', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216106', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216102', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216100', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216098', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216089', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216085', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216081', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216078', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216064', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216050', None, None, None, None, None, '3885801')] time used for this insertion : 0.036306142807006836 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6035411357879639 time spend to save output : 0.03668379783630371 total time spend for step 1 : 1.6402249336242676 step2:final Wed Oct 8 14:34:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 (27598818) 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 27598818 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1388215950,1388215946,1388215740,1388216089,1388216085,1388216081,1388216078,1388216064,1388216050,1388216110,1388216106,1388216102,1388216100,1388216098); 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([27598818]) Inside saveOutput : final : False verbose : True original output for save of step final : {1388216110: ('0.045017439347590824',), 1388216106: ('0.045017439347590824',), 1388216102: ('0.045017439347590824',), 1388216100: ('0.045017439347590824',), 1388216098: ('0.045017439347590824',), 1388216089: ('0.045017439347590824',), 1388216085: ('0.045017439347590824',), 1388216081: ('0.045017439347590824',), 1388216078: ('0.045017439347590824',), 1388216064: ('0.045017439347590824',), 1388216050: ('0.045017439347590824',)} new output for save of step final : {1388216110: ('0.045017439347590824',), 1388216106: ('0.045017439347590824',), 1388216102: ('0.045017439347590824',), 1388216100: ('0.045017439347590824',), 1388216098: ('0.045017439347590824',), 1388216089: ('0.045017439347590824',), 1388216085: ('0.045017439347590824',), 1388216081: ('0.045017439347590824',), 1388216078: ('0.045017439347590824',), 1388216064: ('0.045017439347590824',), 1388216050: ('0.045017439347590824',)} [1388216110, 1388216106, 1388216102, 1388216100, 1388216098, 1388216089, 1388216085, 1388216081, 1388216078, 1388216064, 1388216050] map_info['map_portfolio_photo'] : {27598818: [1388216110, 1388216106, 1388216102, 1388216100, 1388216098, 1388216089, 1388216085, 1388216081, 1388216078, 1388216064, 1388216050, 1388215950, 1388215946, 1388215740]} final : False mtd_id 4302 list_pids : [1388216110, 1388216106, 1388216102, 1388216100, 1388216098, 1388216089, 1388216085, 1388216081, 1388216078, 1388216064, 1388216050] Looping around the photos to save general results len do output : 11 /1388216110.Didn't retrieve data . /1388216106.Didn't retrieve data . /1388216102.Didn't retrieve data . /1388216100.Didn't retrieve data . /1388216098.Didn't retrieve data . /1388216089.Didn't retrieve data . /1388216085.Didn't retrieve data . /1388216081.Didn't retrieve data . /1388216078.Didn't retrieve data . /1388216064.Didn't retrieve data . /1388216050.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, '3885801') ('4302', '27598818', '1388216110', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216106', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216102', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216100', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216098', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216089', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216085', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216081', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216078', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216064', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216050', None, None, None, None, None, '3885801') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 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', '27598818', '1388216110', '0.045017439347590824', None, None, None, None, '3885801'), ('4302', '27598818', '1388216106', '0.045017439347590824', None, None, None, None, '3885801'), ('4302', '27598818', '1388216102', '0.045017439347590824', None, None, None, None, '3885801'), ('4302', '27598818', '1388216100', '0.045017439347590824', None, None, None, None, '3885801'), ('4302', '27598818', '1388216098', '0.045017439347590824', None, None, None, None, '3885801'), ('4302', '27598818', '1388216089', '0.045017439347590824', None, None, None, None, '3885801'), ('4302', '27598818', '1388216085', '0.045017439347590824', None, None, None, None, '3885801'), ('4302', '27598818', '1388216081', '0.045017439347590824', None, None, None, None, '3885801'), ('4302', '27598818', '1388216078', '0.045017439347590824', None, None, None, None, '3885801'), ('4302', '27598818', '1388216064', '0.045017439347590824', None, None, None, None, '3885801'), ('4302', '27598818', '1388216050', '0.045017439347590824', None, None, None, None, '3885801')] time used for this insertion : 0.03572702407836914 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.2378087043762207 time spend to save output : 0.036109209060668945 total time spend for step 2 : 0.27391791343688965 step3:velours_tree Wed Oct 8 14:34:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {27598818: [{'cartonnette': 27598830, 'plastique': 27598831, 'Carton_gris': 27598832, 'flou': 27598833, 'mal_croppe': 27598834, 'environnement': 27598835, 'Carton_brun': 27598836, 'Teint_Dans_La_Masse': 27598837, 'metal': 27598838, 'kraft': 27598839, 'papier': 27598840, 'autre_refus': 27598841}]} input_args_next_step : {27598818: ()} output_args : {27598818: [{'cartonnette': 27598830, 'plastique': 27598831, 'Carton_gris': 27598832, 'flou': 27598833, 'mal_croppe': 27598834, 'environnement': 27598835, 'Carton_brun': 27598836, 'Teint_Dans_La_Masse': 27598837, 'metal': 27598838, 'kraft': 27598839, 'papier': 27598840, 'autre_refus': 27598841}]} args : 27598818 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': 27598830, 'plastique': 27598831, 'Carton_gris': 27598832, 'flou': 27598833, 'mal_croppe': 27598834, 'environnement': 27598835, 'Carton_brun': 27598836, 'Teint_Dans_La_Masse': 27598837, 'metal': 27598838, 'kraft': 27598839, 'papier': 27598840, 'autre_refus': 27598841},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27598818) 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([27598818]) 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.3309953212738037 time spend to save output : 8.20159912109375e-05 total time spend for step 3 : 0.33107733726501465 step4:send_mail_cod Wed Oct 8 14:34:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1388216110: ('0.045017439347590824',), 1388216106: ('0.045017439347590824',), 1388216102: ('0.045017439347590824',), 1388216100: ('0.045017439347590824',), 1388216098: ('0.045017439347590824',), 1388216089: ('0.045017439347590824',), 1388216085: ('0.045017439347590824',), 1388216081: ('0.045017439347590824',), 1388216078: ('0.045017439347590824',), 1388216064: ('0.045017439347590824',), 1388216050: ('0.045017439347590824',)} input_args_next_step : {1388216110: ()} output_args : {1388216110: ('0.045017439347590824',), 1388216106: ('0.045017439347590824',), 1388216102: ('0.045017439347590824',), 1388216100: ('0.045017439347590824',), 1388216098: ('0.045017439347590824',), 1388216089: ('0.045017439347590824',), 1388216085: ('0.045017439347590824',), 1388216081: ('0.045017439347590824',), 1388216078: ('0.045017439347590824',), 1388216064: ('0.045017439347590824',), 1388216050: ('0.045017439347590824',)} args : 1388216110 depend.output_id : 0 input_args_next_step : {1388216110: ('0.045017439347590824',), 1388216106: ()} output_args : {1388216110: ('0.045017439347590824',), 1388216106: ('0.045017439347590824',), 1388216102: ('0.045017439347590824',), 1388216100: ('0.045017439347590824',), 1388216098: ('0.045017439347590824',), 1388216089: ('0.045017439347590824',), 1388216085: ('0.045017439347590824',), 1388216081: ('0.045017439347590824',), 1388216078: ('0.045017439347590824',), 1388216064: ('0.045017439347590824',), 1388216050: ('0.045017439347590824',)} args : 1388216106 depend.output_id : 0 input_args_next_step : {1388216110: ('0.045017439347590824',), 1388216106: ('0.045017439347590824',), 1388216102: ()} output_args : {1388216110: ('0.045017439347590824',), 1388216106: ('0.045017439347590824',), 1388216102: ('0.045017439347590824',), 1388216100: ('0.045017439347590824',), 1388216098: ('0.045017439347590824',), 1388216089: ('0.045017439347590824',), 1388216085: ('0.045017439347590824',), 1388216081: ('0.045017439347590824',), 1388216078: ('0.045017439347590824',), 1388216064: ('0.045017439347590824',), 1388216050: ('0.045017439347590824',)} args : 1388216102 depend.output_id : 0 input_args_next_step : {1388216110: ('0.045017439347590824',), 1388216106: ('0.045017439347590824',), 1388216102: ('0.045017439347590824',), 1388216100: ()} output_args : {1388216110: ('0.045017439347590824',), 1388216106: ('0.045017439347590824',), 1388216102: ('0.045017439347590824',), 1388216100: ('0.045017439347590824',), 1388216098: ('0.045017439347590824',), 1388216089: ('0.045017439347590824',), 1388216085: ('0.045017439347590824',), 1388216081: ('0.045017439347590824',), 1388216078: ('0.045017439347590824',), 1388216064: ('0.045017439347590824',), 1388216050: ('0.045017439347590824',)} args : 1388216100 depend.output_id : 0 input_args_next_step : {1388216110: ('0.045017439347590824',), 1388216106: ('0.045017439347590824',), 1388216102: ('0.045017439347590824',), 1388216100: ('0.045017439347590824',), 1388216098: ()} output_args : {1388216110: ('0.045017439347590824',), 1388216106: ('0.045017439347590824',), 1388216102: ('0.045017439347590824',), 1388216100: ('0.045017439347590824',), 1388216098: ('0.045017439347590824',), 1388216089: ('0.045017439347590824',), 1388216085: ('0.045017439347590824',), 1388216081: ('0.045017439347590824',), 1388216078: ('0.045017439347590824',), 1388216064: ('0.045017439347590824',), 1388216050: ('0.045017439347590824',)} args : 1388216098 depend.output_id : 0 input_args_next_step : {1388216110: ('0.045017439347590824',), 1388216106: ('0.045017439347590824',), 1388216102: ('0.045017439347590824',), 1388216100: ('0.045017439347590824',), 1388216098: ('0.045017439347590824',), 1388216089: ()} output_args : {1388216110: ('0.045017439347590824',), 1388216106: ('0.045017439347590824',), 1388216102: ('0.045017439347590824',), 1388216100: ('0.045017439347590824',), 1388216098: ('0.045017439347590824',), 1388216089: ('0.045017439347590824',), 1388216085: ('0.045017439347590824',), 1388216081: ('0.045017439347590824',), 1388216078: ('0.045017439347590824',), 1388216064: ('0.045017439347590824',), 1388216050: ('0.045017439347590824',)} args : 1388216089 depend.output_id : 0 input_args_next_step : {1388216110: ('0.045017439347590824',), 1388216106: ('0.045017439347590824',), 1388216102: ('0.045017439347590824',), 1388216100: ('0.045017439347590824',), 1388216098: ('0.045017439347590824',), 1388216089: ('0.045017439347590824',), 1388216085: ()} output_args : {1388216110: ('0.045017439347590824',), 1388216106: ('0.045017439347590824',), 1388216102: ('0.045017439347590824',), 1388216100: ('0.045017439347590824',), 1388216098: ('0.045017439347590824',), 1388216089: ('0.045017439347590824',), 1388216085: ('0.045017439347590824',), 1388216081: ('0.045017439347590824',), 1388216078: ('0.045017439347590824',), 1388216064: ('0.045017439347590824',), 1388216050: ('0.045017439347590824',)} args : 1388216085 depend.output_id : 0 input_args_next_step : {1388216110: ('0.045017439347590824',), 1388216106: ('0.045017439347590824',), 1388216102: ('0.045017439347590824',), 1388216100: ('0.045017439347590824',), 1388216098: ('0.045017439347590824',), 1388216089: ('0.045017439347590824',), 1388216085: ('0.045017439347590824',), 1388216081: ()} output_args : {1388216110: ('0.045017439347590824',), 1388216106: ('0.045017439347590824',), 1388216102: ('0.045017439347590824',), 1388216100: ('0.045017439347590824',), 1388216098: ('0.045017439347590824',), 1388216089: ('0.045017439347590824',), 1388216085: ('0.045017439347590824',), 1388216081: ('0.045017439347590824',), 1388216078: ('0.045017439347590824',), 1388216064: ('0.045017439347590824',), 1388216050: ('0.045017439347590824',)} args : 1388216081 depend.output_id : 0 input_args_next_step : {1388216110: ('0.045017439347590824',), 1388216106: ('0.045017439347590824',), 1388216102: ('0.045017439347590824',), 1388216100: ('0.045017439347590824',), 1388216098: ('0.045017439347590824',), 1388216089: ('0.045017439347590824',), 1388216085: ('0.045017439347590824',), 1388216081: ('0.045017439347590824',), 1388216078: ()} output_args : {1388216110: ('0.045017439347590824',), 1388216106: ('0.045017439347590824',), 1388216102: ('0.045017439347590824',), 1388216100: ('0.045017439347590824',), 1388216098: ('0.045017439347590824',), 1388216089: ('0.045017439347590824',), 1388216085: ('0.045017439347590824',), 1388216081: ('0.045017439347590824',), 1388216078: ('0.045017439347590824',), 1388216064: ('0.045017439347590824',), 1388216050: ('0.045017439347590824',)} args : 1388216078 depend.output_id : 0 input_args_next_step : {1388216110: ('0.045017439347590824',), 1388216106: ('0.045017439347590824',), 1388216102: ('0.045017439347590824',), 1388216100: ('0.045017439347590824',), 1388216098: ('0.045017439347590824',), 1388216089: ('0.045017439347590824',), 1388216085: ('0.045017439347590824',), 1388216081: ('0.045017439347590824',), 1388216078: ('0.045017439347590824',), 1388216064: ()} output_args : {1388216110: ('0.045017439347590824',), 1388216106: ('0.045017439347590824',), 1388216102: ('0.045017439347590824',), 1388216100: ('0.045017439347590824',), 1388216098: ('0.045017439347590824',), 1388216089: ('0.045017439347590824',), 1388216085: ('0.045017439347590824',), 1388216081: ('0.045017439347590824',), 1388216078: ('0.045017439347590824',), 1388216064: ('0.045017439347590824',), 1388216050: ('0.045017439347590824',)} args : 1388216064 depend.output_id : 0 input_args_next_step : {1388216110: ('0.045017439347590824',), 1388216106: ('0.045017439347590824',), 1388216102: ('0.045017439347590824',), 1388216100: ('0.045017439347590824',), 1388216098: ('0.045017439347590824',), 1388216089: ('0.045017439347590824',), 1388216085: ('0.045017439347590824',), 1388216081: ('0.045017439347590824',), 1388216078: ('0.045017439347590824',), 1388216064: ('0.045017439347590824',), 1388216050: ()} output_args : {1388216110: ('0.045017439347590824',), 1388216106: ('0.045017439347590824',), 1388216102: ('0.045017439347590824',), 1388216100: ('0.045017439347590824',), 1388216098: ('0.045017439347590824',), 1388216089: ('0.045017439347590824',), 1388216085: ('0.045017439347590824',), 1388216081: ('0.045017439347590824',), 1388216078: ('0.045017439347590824',), 1388216064: ('0.045017439347590824',), 1388216050: ('0.045017439347590824',)} args : 1388216050 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 : {27598818: [{'cartonnette': 27598830, 'plastique': 27598831, 'Carton_gris': 27598832, 'flou': 27598833, 'mal_croppe': 27598834, 'environnement': 27598835, 'Carton_brun': 27598836, 'Teint_Dans_La_Masse': 27598837, 'metal': 27598838, 'kraft': 27598839, 'papier': 27598840, 'autre_refus': 27598841}]} input_args_next_step : {1388216110: ('0.045017439347590824',), 1388216106: ('0.045017439347590824',), 1388216102: ('0.045017439347590824',), 1388216100: ('0.045017439347590824',), 1388216098: ('0.045017439347590824',), 1388216089: ('0.045017439347590824',), 1388216085: ('0.045017439347590824',), 1388216081: ('0.045017439347590824',), 1388216078: ('0.045017439347590824',), 1388216064: ('0.045017439347590824',), 1388216050: ('0.045017439347590824',), 27598818: ()} output_args : {27598818: [{'cartonnette': 27598830, 'plastique': 27598831, 'Carton_gris': 27598832, 'flou': 27598833, 'mal_croppe': 27598834, 'environnement': 27598835, 'Carton_brun': 27598836, 'Teint_Dans_La_Masse': 27598837, 'metal': 27598838, 'kraft': 27598839, 'papier': 27598840, 'autre_refus': 27598841}]} args : 27598818 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 :12, first value : ('0.045017439347590824',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27598818) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos_view ph WHERE photo_id IN (1388216110,1388216106,1388216102,1388216100,1388216098,1388216089,1388216085,1388216081,1388216078,1388216064,1388216050) Found this number of photos: 11 ##### Call download_photos : nb_thread : 5 begin to download photo : 1388216050 begin to download photo : 1388216081 begin to download photo : 1388216098 begin to download photo : 1388216106 download finish for photo 1388216106 begin to download photo : 1388216110 download finish for photo 1388216098 begin to download photo : 1388216100 download finish for photo 1388216050 begin to download photo : 1388216064 download finish for photo 1388216081 begin to download photo : 1388216085 download finish for photo 1388216110 download finish for photo 1388216085 begin to download photo : 1388216089 download finish for photo 1388216100 begin to download photo : 1388216102 download finish for photo 1388216064 begin to download photo : 1388216078 download finish for photo 1388216102 download finish for photo 1388216089 download finish for photo 1388216078 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 11 ; length of list_pids : 11 ; length of list_args : 11 results_Auto_P27598818_08-10-2025_14_34_59.pdf 27598830 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27598830 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388216163: '1759926865_3057739_1388215950_0c269ca4b92b1a75ccee159160e91c66_rle_crop_3989173240_0.png'} change filename to text .imagette275988301759926899/ imagette275988301759926899/1759926865_3057739_1388215950_0c269ca4b92b1a75ccee159160e91c66_rle_crop_3989173240_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/f36c967a7003e649bda9b4f1be2d9bf0_93388006.png imagette275988301759926899 27598831 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27598831 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388216165: '1759926865_3057739_1388215740_ff9d1f45e86bde2159ef2eb62bcfbc11_rle_crop_3989173258_0.png'} change filename to text .imagette275988311759926899/ imagette275988311759926899/1759926865_3057739_1388215740_ff9d1f45e86bde2159ef2eb62bcfbc11_rle_crop_3989173258_0.png.png imagette275988331759926899/ imagette275988341759926899/ imagette275988381759926899/ imagette275988391759926899/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/4d814c0be9729371a43a03c0942eda1d_22847710.png imagette275988311759926899 27598833 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27598833 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette275988331759926899 27598834 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27598834 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette275988341759926899 27598838 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27598838 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette275988381759926899 27598839 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27598839 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette275988391759926899 27598841 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27598841 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388216161: '1759926865_3057739_1388215950_0c269ca4b92b1a75ccee159160e91c66_rle_crop_3989173239_0.png'} change filename to text .imagette275988411759926899/ imagette275988411759926899/1759926865_3057739_1388215950_0c269ca4b92b1a75ccee159160e91c66_rle_crop_3989173239_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/681a80c41407131ec20df7b75a91dd00_76506315.png imagette275988411759926899 27598832 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27598832 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388216162: '1759926865_3057739_1388215950_0c269ca4b92b1a75ccee159160e91c66_rle_crop_3989173242_0.png'} change filename to text .imagette275988321759926899/ imagette275988321759926899/1759926865_3057739_1388215950_0c269ca4b92b1a75ccee159160e91c66_rle_crop_3989173242_0.png.png imagette275988361759926899/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/1083589c1e62598e3c35f650810b6843_63711719.png imagette275988321759926899 27598836 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27598836 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette275988361759926899 27598837 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27598837 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388216160: '1759926865_3057739_1388215950_0c269ca4b92b1a75ccee159160e91c66_rle_crop_3989173249_0.png'} change filename to text .imagette275988371759926899/ imagette275988371759926899/1759926865_3057739_1388215950_0c269ca4b92b1a75ccee159160e91c66_rle_crop_3989173249_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/2dd99d70d90f92956c78c6f332c51efb_65690851.png imagette275988371759926899 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27598818 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27598842,27598843,27598844,27598845,27598846,27598847,27598848,27598849,27598850,27598851,27598852,27598853?tags=cartonnette,plastique,Carton_gris,flou,mal_croppe,environnement,Carton_brun,Teint_Dans_La_Masse,metal,kraft,papier,autre_refus your option no_mail is active, we will not send the real mail to your client args[1388216110] : ('0.045017439347590824',) no score found for photo 1388216110 We are sending mail with results at report@fotonower.com args[1388216106] : ('0.045017439347590824',) no score found for photo 1388216106 We are sending mail with results at report@fotonower.com args[1388216102] : ('0.045017439347590824',) no score found for photo 1388216102 We are sending mail with results at report@fotonower.com args[1388216100] : ('0.045017439347590824',) no score found for photo 1388216100 We are sending mail with results at report@fotonower.com args[1388216098] : ('0.045017439347590824',) no score found for photo 1388216098 We are sending mail with results at report@fotonower.com args[1388216089] : ('0.045017439347590824',) no score found for photo 1388216089 We are sending mail with results at report@fotonower.com args[1388216085] : ('0.045017439347590824',) no score found for photo 1388216085 We are sending mail with results at report@fotonower.com args[1388216081] : ('0.045017439347590824',) no score found for photo 1388216081 We are sending mail with results at report@fotonower.com args[1388216078] : ('0.045017439347590824',) no score found for photo 1388216078 We are sending mail with results at report@fotonower.com args[1388216064] : ('0.045017439347590824',) no score found for photo 1388216064 We are sending mail with results at report@fotonower.com args[1388216050] : ('0.045017439347590824',) no score found for photo 1388216050 We are sending mail with results at report@fotonower.com refus_total : 0.045017439347590824 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27598818 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_P27598818_08-10-2025_14_34_59.pdf results_Auto_P27598818_08-10-2025_14_34_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27598818_08-10-2025_14_34_59.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','27598818','results_Auto_P27598818_08-10-2025_14_34_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27598818_08-10-2025_14_34_59.pdf','pdf','','0.12','0.045017439347590824') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27598818]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1388216110, 1388216106, 1388216102, 1388216100, 1388216098, 1388216089, 1388216085, 1388216081, 1388216078, 1388216064, 1388216050] map_info['map_portfolio_photo'] : {27598818: [1388216110, 1388216106, 1388216102, 1388216100, 1388216098, 1388216089, 1388216085, 1388216081, 1388216078, 1388216064, 1388216050, 1388215950, 1388215946, 1388215740]} final : False mtd_id 4302 list_pids : [1388216110, 1388216106, 1388216102, 1388216100, 1388216098, 1388216089, 1388216085, 1388216081, 1388216078, 1388216064, 1388216050] 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, '3885801') ('4302', '27598818', '1388216110', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216106', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216102', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216100', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216098', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216089', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216085', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216081', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216078', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216064', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216050', None, None, None, None, None, '3885801') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 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', '27598818', '1388216110', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216106', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216102', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216100', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216098', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216089', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216085', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216081', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216078', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216064', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216050', None, None, None, None, None, '3885801')] time used for this insertion : 0.03801441192626953 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.5095436573028564 time spend to save output : 0.03830718994140625 total time spend for step 4 : 2.5478508472442627 step5:split_time_score Wed Oct 8 14:35: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 : ['27598818'] 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 : [('27598818',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27598818) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1388216106: {'path': 'temp/1759926898_3456483_1388216106_6c8b9dfbd1a376156029f027ded73b31.jpg', 'extension': 'jpg'}, 1388216110: {'path': 'temp/1759926898_3456483_1388216110_8af7312e8fec747051cb2a3cf290dd36.jpg', 'extension': 'jpg'}, 1388216098: {'path': 'temp/1759926898_3456483_1388216098_351930b5b76c6bf61eb4157babfd76a3.jpg', 'extension': 'jpg'}, 1388216100: {'path': 'temp/1759926898_3456483_1388216100_5722056c18929d8e521fd32c723e1f2f.jpg', 'extension': 'jpg'}, 1388216102: {'path': 'temp/1759926898_3456483_1388216102_2a4df0867ce4d5ce7c9b461294a8f998.jpg', 'extension': 'jpg'}, 1388216081: {'path': 'temp/1759926898_3456483_1388216081_9c9ad932798d0e3234adafb6d1dbc688.jpg', 'extension': 'jpg'}, 1388216085: {'path': 'temp/1759926898_3456483_1388216085_e51f4c6650934fb7ab39cd822b72de76.jpg', 'extension': 'jpg'}, 1388216089: {'path': 'temp/1759926898_3456483_1388216089_5e2c0824adecd5e6f337ec4b4b2353b2.jpg', 'extension': 'jpg'}, 1388216050: {'path': 'temp/1759926898_3456483_1388216050_81f5c8657c68ce795497e9ebc71d9dd1.jpg', 'extension': 'jpg'}, 1388216064: {'path': 'temp/1759926898_3456483_1388216064_654da5f52f42ad79571e8ab535fd680d.jpg', 'extension': 'jpg'}, 1388216078: {'path': 'temp/1759926898_3456483_1388216078_f3b1f460bd2a3fdf6f7b5af5d6ca3b3a.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 = 27598818; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 27598818 group by h (('14', 14),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27598818 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 (27598818) 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 (27598818) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 08102025 27598818 Nombre de photos uploadées : 14 / 23040 (0%) 08102025 27598818 Nombre de photos taguées (types de déchets): 0 / 14 (0%) 08102025 27598818 Nombre de photos taguées (volume) : 0 / 14 (0%) [{'photo_id': 1388215950, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/0c269ca4b92b1a75ccee159160e91c66.jpg', 'username': None, 'uploaded_at': 1759926667, 'text': 'image_08102025_14_30_04_10151.jpg'}, {'photo_id': 1388215946, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/c9214e3d3f18022a7df9e6f81e50d107.jpg', 'username': None, 'uploaded_at': 1759926667, 'text': 'image_08102025_14_30_14_10134.jpg'}, {'photo_id': 1388215740, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/ff9d1f45e86bde2159ef2eb62bcfbc11.jpg', 'username': None, 'uploaded_at': 1759926667, 'text': 'image_08102025_14_30_43_9122.jpg'}, {'photo_id': 1388216089, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/5e2c0824adecd5e6f337ec4b4b2353b2.jpg', 'username': None, 'uploaded_at': 1759926728, 'text': 'image_08102025_14_30_53_10136.jpg'}] 0 [] elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 1.2159347534179688e-05 ?????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0009357929229736328 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 27598818, '2025-10-08' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2407133,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6505987644195557 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= 2407133 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27570631, 'dashboard_result_id': 16123613, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570631_08-10-2025_00_19_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27570632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27570633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27570634, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27570635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27570636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27570637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27570638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27570639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27570640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27570641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27570642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27570643, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27570709, 'dashboard_result_id': 16123614, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570709_08-10-2025_00_39_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27570712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27570713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27570714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27570715, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27570716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27570717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27570718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27570719, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27570720, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27570721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27570722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27570723, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27570914, 'dashboard_result_id': 16123616, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570914_08-10-2025_01_33_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27570920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27570921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27570923, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27570924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27570925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27570926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27570927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27570928, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27570929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27570930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27570931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27570932, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27571567, 'dashboard_result_id': 16123617, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571567_08-10-2025_02_03_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27571573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27571574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27571575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27571576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27571577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27571578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27571579, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27571580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27571581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27571582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27571583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27571584, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27571642, 'dashboard_result_id': 16123618, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571642_08-10-2025_02_17_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27571649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27571650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27571651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27571652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27571653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27571654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27571655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27571656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27571657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27571658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27571659, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27571660, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27571858, 'dashboard_result_id': 16123619, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571858_08-10-2025_02_35_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27571865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27571866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27571867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27571868, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27571869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27571870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27571871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27571872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27571873, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27571874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27571875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27571876, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27572099, 'dashboard_result_id': 16123621, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572099_08-10-2025_02_51_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572107, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572108, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572110, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572111, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572113, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572114, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572117, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27572479, 'dashboard_result_id': 16123622, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572479_08-10-2025_03_17_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572506, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27572540, 'dashboard_result_id': 16123623, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572540_08-10-2025_03_35_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572545, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572551, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572552, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27572709, 'dashboard_result_id': 16123624, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572709_08-10-2025_03_55_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572718, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572719, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572720, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572722, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572726, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572727, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27572825, 'dashboard_result_id': 16123625, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572825_08-10-2025_04_07_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572846, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572850, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27573623, 'dashboard_result_id': 16123626, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27573623_08-10-2025_05_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27573666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27573667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27573668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27573669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27573670, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27573671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27573672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27573673, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27573674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27573675, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27573676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27573677, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27573806, 'dashboard_result_id': 16123628, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27573806_08-10-2025_05_34_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27573857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27573858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27573859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27573860, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27573861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27573862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27573863, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27573864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27573865, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27573866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27573867, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27573868, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27574080, 'dashboard_result_id': 16123629, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574080_08-10-2025_05_49_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27574086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27574087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27574088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27574089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27574090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27574091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27574092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27574093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27574094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27574095, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27574096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27574097, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27574493, 'dashboard_result_id': 16123630, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574493_08-10-2025_06_03_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27574518, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27574519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27574520, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27574521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27574522, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27574523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27574524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27574525, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27574526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27574527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27574528, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27574529, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27574915, 'dashboard_result_id': 16123631, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574915_08-10-2025_06_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27574931, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27574932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27574933, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27574934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27574935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27574936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27574937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27574938, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27574939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27574940, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27574941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27574942, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27575448, 'dashboard_result_id': 16123632, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27575448_08-10-2025_06_35_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27575476, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27575477, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27575478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27575479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27575480, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27575481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27575482, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27575483, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27575484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27575485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27575486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27575487, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27575977, 'dashboard_result_id': 16123633, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27575977_08-10-2025_06_50_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27575987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27575988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27575989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27575990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27575991, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27575992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27575993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27575994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27575995, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27575996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27575997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27575998, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27576419, 'dashboard_result_id': 16123634, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27576419_08-10-2025_07_05_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27576444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27576445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27576446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27576447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27576448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27576449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27576450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27576451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27576452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27576453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27576454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27576455, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27576741, 'dashboard_result_id': 16123635, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27576741_08-10-2025_07_19_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27576778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27576779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27576780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27576781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27576782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27576783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27576784, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27576785, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27576786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27576787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27576788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27576789, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27577488, 'dashboard_result_id': 16123636, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27577488_08-10-2025_07_35_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27577529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27577530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27577531, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27577532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27577533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27577534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27577535, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27577536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27577537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27577538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27577539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27577540, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27578065, 'dashboard_result_id': 16123637, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27578065_08-10-2025_07_51_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27578084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27578085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27578086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27578087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27578088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27578089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27578090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27578091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27578093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27578094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27578095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27578096, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27578618, 'dashboard_result_id': 16123638, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27578618_08-10-2025_08_05_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27578629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27578630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27578631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27578632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27578633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27578634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27578635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27578636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27578637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27578638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27578639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27578640, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27579031, 'dashboard_result_id': 16123639, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27579031_08-10-2025_08_17_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27579197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27579198, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27579199, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27579200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27579201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27579202, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27579203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27579204, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27579205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27579206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27579207, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27579208, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27579676, 'dashboard_result_id': 16123640, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27579676_08-10-2025_08_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27579705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27579706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27579707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27579708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27579709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27579710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27579712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27579713, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27579714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27579715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27579716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27579717, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27580231, 'dashboard_result_id': 16123641, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27580231_08-10-2025_08_49_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27580269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27580270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27580271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27580273, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27580274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27580275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27580276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27580277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27580278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27580279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27580280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27580281, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27580884, 'dashboard_result_id': 16123642, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27580884_08-10-2025_09_05_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27580916, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27580917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27580918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27580919, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27580920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27580921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27580922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27580923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27580924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27580925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27580926, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27580927, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27582329, 'dashboard_result_id': 16123643, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582329_08-10-2025_09_49_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27582365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27582366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27582367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27582368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27582369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27582370, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27582371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27582372, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27582373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27582374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27582375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27582376, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27582718, 'dashboard_result_id': 16123644, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582718_08-10-2025_10_03_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27582757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27582758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27582759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27582760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27582761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27582762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27582763, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27582764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27582765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27582766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27582767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27582768, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27583297, 'dashboard_result_id': 16123645, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27583297_08-10-2025_10_19_25.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27583304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27583305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27583306, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27583307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27583308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27583309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27583310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27583311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27583312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27583313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27583314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27583315, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27584475, 'dashboard_result_id': 16123646, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27584475_08-10-2025_10_33_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27584508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27584510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27584511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27584512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27584513, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27584514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27584516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27584517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27584518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27584519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27584520, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27584521, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27585601, 'dashboard_result_id': 16123647, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27585601_08-10-2025_10_49_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27585623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27585624, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27585625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27585626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27585627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27585628, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27585629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27585630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27585631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27585632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27585633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27585635, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27586735, 'dashboard_result_id': 16123648, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27586735_08-10-2025_11_05_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27586769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27586770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27586771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27586772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27586773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27586774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27586775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27586776, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27586777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27586778, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27586779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27586780, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27587655, 'dashboard_result_id': 16123649, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27587655_08-10-2025_11_19_26.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27587681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27587682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27587683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27587684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27587685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27587686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27587687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27587688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27587689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27587690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27587691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27587692, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27588770, 'dashboard_result_id': 16123650, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27588770_08-10-2025_11_33_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27588825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27588826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27588827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27588828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27588829, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27588830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27588831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27588832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27588833, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27588834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27588835, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27588836, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27589876, 'dashboard_result_id': 16123651, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27589876_08-10-2025_11_47_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27589918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27589919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27589920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27589921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27589922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27589923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27589924, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27589925, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27589926, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27589927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27589928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27589929, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27591042, 'dashboard_result_id': 16123652, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27591042_08-10-2025_12_05_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27591074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27591075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27591076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27591077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27591078, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27591079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27591080, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27591081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27591082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27591083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27591084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27591085, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27592015, 'dashboard_result_id': 16123653, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27592015_08-10-2025_14_01_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27592152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27592153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27592154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27592155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27592156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27592157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27592158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27592159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27592160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27592161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27592162, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27592163, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27596112, 'dashboard_result_id': 16123654, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596112_08-10-2025_13_49_26.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27596119, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27596120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27596121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27596122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27596123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27596124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27596125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27596126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27596127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27596128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27596129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27596130, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27596722, 'dashboard_result_id': 16123655, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596722_08-10-2025_14_02_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27596744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27596745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27596746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27596747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27596748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27596749, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27596750, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27596751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27596752, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27596753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27596754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27596755, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27597213, 'dashboard_result_id': 16123656, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597213_08-10-2025_14_18_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27597254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27597255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27597256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27597257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27597258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27597259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27597260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27597261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27597262, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27597263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27597264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27597265, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27597939, 'dashboard_result_id': 16123657, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597939_08-10-2025_14_33_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27597966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27597967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27597968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27597969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27597970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27597971, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27597972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27597973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27597974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27597975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27597976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27597977, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2416579, 'mtr_portfolio_id': 27598818, 'dashboard_result_id': 16123658, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27598818_08-10-2025_14_33_27.pdf'}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27570631 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 = 27570631 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 = 27570631 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27570631 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 = 27570631 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 = 27570631 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570631_08-10-2025_00_19_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27570631 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570631_08-10-2025_00_19_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27570632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27570633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27570634, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27570635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27570636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27570637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27570638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27570639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27570640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27570641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27570642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27570643, 'pht': 3726}}" where mtr_portfolio_id = 27570631 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27570709 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 = 27570709 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 = 27570709 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27570709 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 = 27570709 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 = 27570709 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570709_08-10-2025_00_39_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27570709 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570709_08-10-2025_00_39_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27570712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27570713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27570714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27570715, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27570716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27570717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27570718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27570719, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27570720, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27570721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27570722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27570723, 'pht': 3726}}" where mtr_portfolio_id = 27570709 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27570914 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 = 27570914 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 = 27570914 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27570914 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 = 27570914 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 = 27570914 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570914_08-10-2025_01_33_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27570914 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570914_08-10-2025_01_33_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27570920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27570921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27570923, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27570924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27570925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27570926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27570927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27570928, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27570929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27570930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27570931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27570932, 'pht': 3726}}" where mtr_portfolio_id = 27570914 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27571567 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 = 27571567 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 = 27571567 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27571567 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 = 27571567 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 = 27571567 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571567_08-10-2025_02_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27571567 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571567_08-10-2025_02_03_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27571573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27571574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27571575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27571576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27571577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27571578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27571579, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27571580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27571581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27571582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27571583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27571584, 'pht': 3726}}" where mtr_portfolio_id = 27571567 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27571642 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 = 27571642 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 = 27571642 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27571642 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 = 27571642 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 = 27571642 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571642_08-10-2025_02_17_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27571642 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571642_08-10-2025_02_17_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27571649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27571650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27571651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27571652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27571653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27571654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27571655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27571656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27571657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27571658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27571659, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27571660, 'pht': 3726}}" where mtr_portfolio_id = 27571642 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27571858 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 = 27571858 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 = 27571858 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27571858 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 = 27571858 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 = 27571858 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571858_08-10-2025_02_35_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27571858 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571858_08-10-2025_02_35_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27571865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27571866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27571867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27571868, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27571869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27571870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27571871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27571872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27571873, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27571874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27571875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27571876, 'pht': 3726}}" where mtr_portfolio_id = 27571858 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572099 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 = 27572099 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 = 27572099 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572099 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 = 27572099 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 = 27572099 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572099_08-10-2025_02_51_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27572099 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572099_08-10-2025_02_51_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572107, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572108, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572110, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572111, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572113, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572114, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572117, 'pht': 3726}}" where mtr_portfolio_id = 27572099 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572479 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 = 27572479 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 = 27572479 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572479 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 = 27572479 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 = 27572479 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572479_08-10-2025_03_17_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27572479 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572479_08-10-2025_03_17_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572506, 'pht': 3726}}" where mtr_portfolio_id = 27572479 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572540 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 = 27572540 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 = 27572540 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572540 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 = 27572540 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 = 27572540 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572540_08-10-2025_03_35_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27572540 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572540_08-10-2025_03_35_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572545, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572551, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572552, 'pht': 3726}}" where mtr_portfolio_id = 27572540 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572709 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 = 27572709 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 = 27572709 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572709 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 = 27572709 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 = 27572709 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572709_08-10-2025_03_55_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27572709 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572709_08-10-2025_03_55_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572718, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572719, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572720, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572722, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572726, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572727, 'pht': 3726}}" where mtr_portfolio_id = 27572709 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572825 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 = 27572825 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 = 27572825 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572825 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 = 27572825 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 = 27572825 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572825_08-10-2025_04_07_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27572825 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572825_08-10-2025_04_07_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572846, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572850, 'pht': 3726}}" where mtr_portfolio_id = 27572825 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27573623 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 = 27573623 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 = 27573623 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27573623 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 = 27573623 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 = 27573623 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27573623_08-10-2025_05_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27573623 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27573623_08-10-2025_05_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27573666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27573667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27573668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27573669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27573670, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27573671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27573672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27573673, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27573674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27573675, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27573676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27573677, 'pht': 3726}}" where mtr_portfolio_id = 27573623 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27573806 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 = 27573806 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 = 27573806 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27573806 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 = 27573806 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 = 27573806 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27573806_08-10-2025_05_34_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27573806 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27573806_08-10-2025_05_34_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27573857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27573858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27573859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27573860, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27573861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27573862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27573863, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27573864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27573865, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27573866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27573867, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27573868, 'pht': 3726}}" where mtr_portfolio_id = 27573806 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27574080 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 = 27574080 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 = 27574080 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27574080 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 = 27574080 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 = 27574080 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574080_08-10-2025_05_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27574080 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574080_08-10-2025_05_49_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27574086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27574087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27574088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27574089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27574090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27574091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27574092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27574093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27574094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27574095, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27574096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27574097, 'pht': 3726}}" where mtr_portfolio_id = 27574080 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27574493 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 = 27574493 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 = 27574493 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27574493 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 = 27574493 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 = 27574493 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574493_08-10-2025_06_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27574493 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574493_08-10-2025_06_03_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27574518, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27574519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27574520, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27574521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27574522, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27574523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27574524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27574525, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27574526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27574527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27574528, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27574529, 'pht': 3726}}" where mtr_portfolio_id = 27574493 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27574915 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 = 27574915 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 = 27574915 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27574915 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 = 27574915 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 = 27574915 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574915_08-10-2025_06_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27574915 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574915_08-10-2025_06_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27574931, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27574932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27574933, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27574934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27574935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27574936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27574937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27574938, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27574939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27574940, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27574941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27574942, 'pht': 3726}}" where mtr_portfolio_id = 27574915 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27575448 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 = 27575448 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 = 27575448 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27575448 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 = 27575448 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 = 27575448 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27575448_08-10-2025_06_35_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27575448 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27575448_08-10-2025_06_35_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27575476, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27575477, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27575478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27575479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27575480, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27575481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27575482, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27575483, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27575484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27575485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27575486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27575487, 'pht': 3726}}" where mtr_portfolio_id = 27575448 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27575977 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 = 27575977 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 = 27575977 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27575977 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 = 27575977 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 = 27575977 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27575977_08-10-2025_06_50_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27575977 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27575977_08-10-2025_06_50_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27575987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27575988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27575989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27575990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27575991, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27575992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27575993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27575994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27575995, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27575996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27575997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27575998, 'pht': 3726}}" where mtr_portfolio_id = 27575977 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27576419 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 = 27576419 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 = 27576419 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27576419 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 = 27576419 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 = 27576419 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27576419_08-10-2025_07_05_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27576419 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27576419_08-10-2025_07_05_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27576444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27576445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27576446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27576447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27576448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27576449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27576450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27576451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27576452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27576453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27576454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27576455, 'pht': 3726}}" where mtr_portfolio_id = 27576419 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27576741 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 = 27576741 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 = 27576741 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27576741 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 = 27576741 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 = 27576741 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27576741_08-10-2025_07_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27576741 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27576741_08-10-2025_07_19_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27576778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27576779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27576780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27576781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27576782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27576783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27576784, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27576785, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27576786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27576787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27576788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27576789, 'pht': 3726}}" where mtr_portfolio_id = 27576741 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27577488 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 = 27577488 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 = 27577488 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27577488 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 = 27577488 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 = 27577488 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27577488_08-10-2025_07_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27577488 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27577488_08-10-2025_07_35_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27577529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27577530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27577531, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27577532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27577533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27577534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27577535, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27577536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27577537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27577538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27577539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27577540, 'pht': 3726}}" where mtr_portfolio_id = 27577488 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27578065 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 = 27578065 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 = 27578065 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27578065 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 = 27578065 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 = 27578065 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27578065_08-10-2025_07_51_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27578065 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27578065_08-10-2025_07_51_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27578084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27578085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27578086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27578087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27578088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27578089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27578090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27578091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27578093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27578094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27578095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27578096, 'pht': 3726}}" where mtr_portfolio_id = 27578065 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27578618 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 = 27578618 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 = 27578618 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27578618 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 = 27578618 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 = 27578618 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27578618_08-10-2025_08_05_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27578618 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27578618_08-10-2025_08_05_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27578629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27578630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27578631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27578632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27578633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27578634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27578635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27578636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27578637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27578638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27578639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27578640, 'pht': 3726}}" where mtr_portfolio_id = 27578618 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27579031 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 = 27579031 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 = 27579031 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27579031 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 = 27579031 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 = 27579031 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27579031_08-10-2025_08_17_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27579031 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27579031_08-10-2025_08_17_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27579197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27579198, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27579199, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27579200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27579201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27579202, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27579203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27579204, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27579205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27579206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27579207, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27579208, 'pht': 3726}}" where mtr_portfolio_id = 27579031 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27579676 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 = 27579676 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 = 27579676 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27579676 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 = 27579676 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 = 27579676 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27579676_08-10-2025_08_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27579676 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27579676_08-10-2025_08_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27579705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27579706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27579707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27579708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27579709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27579710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27579712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27579713, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27579714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27579715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27579716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27579717, 'pht': 3726}}" where mtr_portfolio_id = 27579676 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27580231 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 = 27580231 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 = 27580231 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27580231 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 = 27580231 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 = 27580231 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27580231_08-10-2025_08_49_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27580231 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27580231_08-10-2025_08_49_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27580269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27580270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27580271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27580273, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27580274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27580275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27580276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27580277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27580278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27580279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27580280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27580281, 'pht': 3726}}" where mtr_portfolio_id = 27580231 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27580884 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 = 27580884 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 = 27580884 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27580884 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 = 27580884 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 = 27580884 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27580884_08-10-2025_09_05_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27580884 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27580884_08-10-2025_09_05_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27580916, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27580917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27580918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27580919, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27580920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27580921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27580922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27580923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27580924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27580925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27580926, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27580927, 'pht': 3726}}" where mtr_portfolio_id = 27580884 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27582329 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 = 27582329 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 = 27582329 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27582329 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 = 27582329 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 = 27582329 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582329_08-10-2025_09_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27582329 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582329_08-10-2025_09_49_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27582365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27582366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27582367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27582368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27582369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27582370, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27582371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27582372, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27582373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27582374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27582375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27582376, 'pht': 3726}}" where mtr_portfolio_id = 27582329 and dashboard_run_id = 2416579 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27582718 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': 3883604, 'mtr_portfolio_id': 27582718, 'created_at': datetime.datetime(2025, 10, 8, 10, 3, 30), 'result': '0.019757631340325408', 'result_long': None, 'result_double': None}] Qualite : 0.019757631340325408 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27582718 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582718_08-10-2025_10_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27582718 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582718_08-10-2025_10_03_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27582757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27582758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27582759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27582760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27582761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27582762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27582763, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27582764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27582765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27582766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27582767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27582768, 'pht': 3726}}" where mtr_portfolio_id = 27582718 and dashboard_run_id = 2416579 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`=27582718 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16123644, 0.019757631340325408, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582718_08-10-2025_10_03_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27582757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27582758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27582759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27582760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27582761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27582762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27582763, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27582764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27582765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27582766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27582767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27582768, '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 = 27583297 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': 3883800, 'mtr_portfolio_id': 27583297, 'created_at': datetime.datetime(2025, 10, 8, 10, 19, 24), 'result': '0.06915000976527785', 'result_long': None, 'result_double': None}] Qualite : 0.06915000976527785 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27583297 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27583297_08-10-2025_10_19_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27583297 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27583297_08-10-2025_10_19_25.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27583304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27583305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27583306, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27583307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27583308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27583309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27583310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27583311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27583312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27583313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27583314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27583315, 'pht': 3726}}" where mtr_portfolio_id = 27583297 and dashboard_run_id = 2416579 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`=27583297 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16123645, 0.06915000976527785, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27583297_08-10-2025_10_19_25.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27583304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27583305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27583306, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27583307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27583308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27583309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27583310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27583311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27583312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27583313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27583314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27583315, '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 = 27584475 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': 3883952, 'mtr_portfolio_id': 27584475, 'created_at': datetime.datetime(2025, 10, 8, 10, 33, 2), 'result': '0.05922128890929629', 'result_long': None, 'result_double': None}] Qualite : 0.05922128890929629 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27584475 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27584475_08-10-2025_10_33_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27584475 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27584475_08-10-2025_10_33_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27584508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27584510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27584511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27584512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27584513, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27584514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27584516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27584517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27584518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27584519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27584520, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27584521, 'pht': 3726}}" where mtr_portfolio_id = 27584475 and dashboard_run_id = 2416579 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`=27584475 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16123646, 0.05922128890929629, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27584475_08-10-2025_10_33_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27584508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27584510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27584511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27584512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27584513, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27584514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27584516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27584517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27584518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27584519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27584520, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27584521, '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 = 27585601 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': 3884165, 'mtr_portfolio_id': 27585601, 'created_at': datetime.datetime(2025, 10, 8, 10, 49), 'result': '0.045017058698008205', 'result_long': None, 'result_double': None}] Qualite : 0.045017058698008205 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27585601 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27585601_08-10-2025_10_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27585601 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27585601_08-10-2025_10_49_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27585623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27585624, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27585625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27585626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27585627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27585628, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27585629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27585630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27585631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27585632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27585633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27585635, 'pht': 3726}}" where mtr_portfolio_id = 27585601 and dashboard_run_id = 2416579 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`=27585601 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16123647, 0.045017058698008205, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27585601_08-10-2025_10_49_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27585623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27585624, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27585625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27585626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27585627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27585628, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27585629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27585630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27585631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27585632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27585633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27585635, '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 = 27586735 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': 3884344, 'mtr_portfolio_id': 27586735, 'created_at': datetime.datetime(2025, 10, 8, 11, 4, 59), 'result': '0.04302911545524617', 'result_long': None, 'result_double': None}] Qualite : 0.04302911545524617 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27586735 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27586735_08-10-2025_11_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27586735 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27586735_08-10-2025_11_05_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27586769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27586770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27586771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27586772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27586773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27586774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27586775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27586776, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27586777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27586778, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27586779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27586780, 'pht': 3726}}" where mtr_portfolio_id = 27586735 and dashboard_run_id = 2416579 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`=27586735 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16123648, 0.04302911545524617, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27586735_08-10-2025_11_05_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27586769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27586770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27586771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27586772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27586773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27586774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27586775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27586776, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27586777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27586778, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27586779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27586780, '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 = 27587655 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': 3884426, 'mtr_portfolio_id': 27587655, 'created_at': datetime.datetime(2025, 10, 8, 11, 19, 26), 'result': '0.037767543284158676', 'result_long': None, 'result_double': None}] Qualite : 0.037767543284158676 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27587655 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27587655_08-10-2025_11_19_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27587655 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27587655_08-10-2025_11_19_26.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27587681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27587682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27587683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27587684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27587685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27587686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27587687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27587688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27587689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27587690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27587691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27587692, 'pht': 3726}}" where mtr_portfolio_id = 27587655 and dashboard_run_id = 2416579 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`=27587655 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16123649, 0.037767543284158676, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27587655_08-10-2025_11_19_26.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27587681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27587682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27587683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27587684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27587685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27587686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27587687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27587688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27587689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27587690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27587691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27587692, '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 = 27588770 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': 3884509, 'mtr_portfolio_id': 27588770, 'created_at': datetime.datetime(2025, 10, 8, 11, 33, 32), 'result': '0.05614687729208558', 'result_long': None, 'result_double': None}] Qualite : 0.05614687729208558 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27588770 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27588770_08-10-2025_11_33_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27588770 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27588770_08-10-2025_11_33_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27588825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27588826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27588827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27588828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27588829, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27588830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27588831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27588832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27588833, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27588834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27588835, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27588836, 'pht': 3726}}" where mtr_portfolio_id = 27588770 and dashboard_run_id = 2416579 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`=27588770 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16123650, 0.05614687729208558, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27588770_08-10-2025_11_33_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27588825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27588826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27588827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27588828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27588829, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27588830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27588831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27588832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27588833, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27588834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27588835, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27588836, '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 = 27589876 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': 3884874, 'mtr_portfolio_id': 27589876, 'created_at': datetime.datetime(2025, 10, 8, 11, 47, 5), 'result': '0.04306909769730264', 'result_long': None, 'result_double': None}] Qualite : 0.04306909769730264 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27589876 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27589876_08-10-2025_11_47_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27589876 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27589876_08-10-2025_11_47_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27589918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27589919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27589920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27589921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27589922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27589923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27589924, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27589925, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27589926, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27589927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27589928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27589929, 'pht': 3726}}" where mtr_portfolio_id = 27589876 and dashboard_run_id = 2416579 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`=27589876 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16123651, 0.04306909769730264, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27589876_08-10-2025_11_47_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27589918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27589919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27589920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27589921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27589922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27589923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27589924, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27589925, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27589926, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27589927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27589928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27589929, '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 = 27591042 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': 3885025, 'mtr_portfolio_id': 27591042, 'created_at': datetime.datetime(2025, 10, 8, 12, 5), 'result': '0.03804122737603823', 'result_long': None, 'result_double': None}] Qualite : 0.03804122737603823 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27591042 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27591042_08-10-2025_12_05_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27591042 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27591042_08-10-2025_12_05_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27591074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27591075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27591076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27591077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27591078, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27591079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27591080, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27591081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27591082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27591083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27591084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27591085, 'pht': 3726}}" where mtr_portfolio_id = 27591042 and dashboard_run_id = 2416579 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`=27591042 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16123652, 0.03804122737603823, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27591042_08-10-2025_12_05_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27591074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27591075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27591076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27591077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27591078, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27591079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27591080, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27591081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27591082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27591083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27591084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27591085, '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 = 27592015 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': 3885159, 'mtr_portfolio_id': 27592015, 'created_at': datetime.datetime(2025, 10, 8, 14, 1, 5), 'result': '0.026623661315220214', 'result_long': None, 'result_double': None}] Qualite : 0.026623661315220214 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27592015 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27592015_08-10-2025_14_01_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27592015 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27592015_08-10-2025_14_01_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27592152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27592153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27592154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27592155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27592156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27592157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27592158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27592159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27592160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27592161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27592162, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27592163, 'pht': 3726}}" where mtr_portfolio_id = 27592015 and dashboard_run_id = 2416579 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`=27592015 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16123653, 0.026623661315220214, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27592015_08-10-2025_14_01_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27592152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27592153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27592154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27592155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27592156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27592157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27592158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27592159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27592160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27592161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27592162, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27592163, '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 = 27596112 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': 3885485, 'mtr_portfolio_id': 27596112, 'created_at': datetime.datetime(2025, 10, 8, 13, 49, 25), 'result': '0.03616330670330915', 'result_long': None, 'result_double': None}] Qualite : 0.03616330670330915 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27596112 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596112_08-10-2025_13_49_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27596112 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596112_08-10-2025_13_49_26.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27596119, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27596120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27596121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27596122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27596123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27596124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27596125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27596126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27596127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27596128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27596129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27596130, 'pht': 3726}}" where mtr_portfolio_id = 27596112 and dashboard_run_id = 2416579 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`=27596112 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16123654, 0.03616330670330915, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596112_08-10-2025_13_49_26.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27596119, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27596120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27596121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27596122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27596123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27596124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27596125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27596126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27596127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27596128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27596129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27596130, '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 = 27596722 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': 3885518, 'mtr_portfolio_id': 27596722, 'created_at': datetime.datetime(2025, 10, 8, 14, 2, 30), 'result': '0.05226452392431788', 'result_long': None, 'result_double': None}] Qualite : 0.05226452392431788 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27596722 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596722_08-10-2025_14_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27596722 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596722_08-10-2025_14_02_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27596744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27596745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27596746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27596747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27596748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27596749, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27596750, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27596751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27596752, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27596753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27596754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27596755, 'pht': 3726}}" where mtr_portfolio_id = 27596722 and dashboard_run_id = 2416579 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`=27596722 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16123655, 0.05226452392431788, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596722_08-10-2025_14_02_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27596744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27596745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27596746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27596747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27596748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27596749, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27596750, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27596751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27596752, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27596753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27596754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27596755, '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 = 27597213 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': 3885566, 'mtr_portfolio_id': 27597213, 'created_at': datetime.datetime(2025, 10, 8, 14, 18, 3), 'result': '0.047841645043801215', 'result_long': None, 'result_double': None}] Qualite : 0.047841645043801215 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27597213 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597213_08-10-2025_14_18_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27597213 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597213_08-10-2025_14_18_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27597254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27597255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27597256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27597257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27597258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27597259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27597260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27597261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27597262, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27597263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27597264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27597265, 'pht': 3726}}" where mtr_portfolio_id = 27597213 and dashboard_run_id = 2416579 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`=27597213 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16123656, 0.047841645043801215, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597213_08-10-2025_14_18_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27597254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27597255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27597256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27597257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27597258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27597259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27597260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27597261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27597262, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27597263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27597264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27597265, '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 = 27597939 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': 3885661, 'mtr_portfolio_id': 27597939, 'created_at': datetime.datetime(2025, 10, 8, 14, 33, 3), 'result': '0.0576736527518991', 'result_long': None, 'result_double': None}] Qualite : 0.0576736527518991 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27597939 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597939_08-10-2025_14_33_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27597939 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597939_08-10-2025_14_33_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27597966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27597967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27597968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27597969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27597970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27597971, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27597972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27597973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27597974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27597975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27597976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27597977, 'pht': 3726}}" where mtr_portfolio_id = 27597939 and dashboard_run_id = 2416579 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`=27597939 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16123657, 0.0576736527518991, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597939_08-10-2025_14_33_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27597966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27597967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27597968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27597969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27597970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27597971, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27597972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27597973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27597974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27597975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27597976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27597977, '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 = 27598818 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': 3885801, 'mtr_portfolio_id': 27598818, 'created_at': datetime.datetime(2025, 10, 8, 14, 34, 58), 'result': '0.045017439347590824', 'result_long': None, 'result_double': None}] Qualite : 0.045017439347590824 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27598818 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27598818_08-10-2025_14_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27598818 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27598818_08-10-2025_14_34_59.pdf'}" where mtr_portfolio_id = 27598818 and dashboard_run_id = 2416579 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`=27598818 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16123658, 0.045017439347590824, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27598818_08-10-2025_14_34_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27598830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27598831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27598832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27598833, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27598834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27598835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27598836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27598837, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27598838, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27598839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27598840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27598841, '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 (27570631,27570709,27570914,27571567,27571642,27571858,27572099,27572479,27572540,27572709,27572825,27573623,27573806,27574080,27574493,27574915,27575448,27575977,27576419,27576741,27577488,27578065,27578618,27579031,27579676,27580231,27580884,27582329,27582718,27583297,27584475,27585601,27586735,27587655,27588770,27589876,27591042,27592015,27596112,27596722,27597213,27597939,27598818) result : ((1388030203,), (1388030204,), (1388030257,), (1388030272,), (1388030287,), (1388030301,), (1388030302,), (1388030331,), (1388030367,), (1388030368,), (1388030410,), (1388030425,), (1388030500,), (1388030502,), (1388030528,), (1388030537,), (1388030567,), (1388030569,), (1388030666,), (1388031677,), (1388031679,), (1388031704,), (1388031706,), (1388031714,), (1388032212,), (1388032262,), (1388032485,), (1388032591,), (1388032686,), (1388032688,), (1388037828,), (1388039875,), (1388039894,), (1388039901,), (1388039919,), (1388039936,), (1388039938,), (1388039946,), (1388039957,), (1388039973,), (1388039975,), (1388039994,), (1388040043,), (1388041267,), (1388041988,), (1388042042,), (1388042506,), (1388042766,), (1388043408,), (1388043662,), (1388043664,), (1388044761,), (1388045393,), (1388045375,), (1388045442,), (1388046013,), (1388046143,), (1388046546,), (1388046548,), (1388046686,), (1388046705,), (1388046875,), (1388047797,), (1388047881,), (1388047899,), (1388047918,), (1388048176,), (1388048317,), (1388048380,), (1388048397,), (1388048952,), (1388048955,), (1388049264,), (1388051245,), (1388051356,), (1388051359,), (1388051374,), (1388051749,), (1388051799,), (1388052353,), (1388052593,), (1388052590,), (1388053815,), (1388054084,), (1388054120,), (1388054257,), (1388054273,), (1388055217,), (1388055220,), (1388055223,), (1388055225,), (1388055526,), (1388055531,), (1388055633,), (1388055630,), (1388056016,), (1388056457,), (1388056722,), (1388056822,), (1388056824,), (1388056827,), (1388056838,), (1388056841,), (1388056844,), (1388056860,), (1388056879,), (1388056881,), (1388056900,), (1388056917,), (1388056920,), (1388056926,), (1388056951,), (1388056967,), (1388056973,), (1388057480,), (1388057847,), (1388057850,), (1388058157,), (1388058326,), (1388058360,), (1388058363,), (1388058545,), (1388058601,), (1388059519,), (1388059524,), (1388059528,), (1388060995,), (1388068696,), (1388068710,), (1388069029,), (1388069073,), (1388069251,), (1388069293,), (1388069304,), (1388069372,), (1388069375,), (1388069378,), (1388069381,), (1388069391,), (1388069394,), (1388069400,), (1388069402,), (1388069409,), (1388069411,), (1388069413,), (1388069416,), (1388069426,), (1388069429,), (1388069488,), (1388069535,), (1388069575,), (1388070048,), (1388070092,), (1388070133,), (1388070135,), (1388070139,), (1388070142,), (1388070148,), (1388070151,), (1388070157,), (1388070165,), (1388070210,), (1388070410,), (1388070449,), (1388070455,), (1388070470,), (1388070474,), (1388070479,), (1388070483,), (1388070486,), (1388070489,), (1388070922,), (1388070696,), (1388070736,), (1388070777,), (1388070822,), (1388070876,), (1388071121,), (1388071123,), (1388071124,), (1388071127,), (1388071312,), (1388071366,), (1388071369,), (1388071396,), (1388071399,), (1388071402,), (1388071763,), (1388071807,), (1388071848,), (1388071871,), (1388071912,), (1388071954,), (1388072001,), (1388072051,), (1388072059,), (1388072113,), (1388072114,), (1388072115,), (1388072118,), (1388072122,), (1388072127,), (1388072130,), (1388072133,), (1388072136,), (1388072141,), (1388072142,), (1388072145,), (1388072148,), (1388072150,), (1388072152,), (1388072165,), (1388072170,), (1388072176,), (1388072180,), (1388072222,), (1388072223,), (1388072225,), (1388072227,), (1388072230,), (1388072234,), (1388072237,), (1388072239,), (1388072240,), (1388072243,), (1388072251,), (1388072252,), (1388072254,), (1388072256,), (1388072258,), (1388072261,), (1388072266,), (1388072269,), (1388072273,), (1388072275,), (1388072285,), (1388072286,), (1388072287,), (1388072289,), (1388072291,), (1388072293,), (1388072609,), (1388072652,), (1388072691,), (1388072736,), (1388073079,), (1388073067,), (1388073068,), (1388073069,), (1388073071,), (1388073077,), (1388073084,), (1388073086,), (1388073089,), (1388073091,), (1388073418,), (1388073419,), (1388073425,), (1388073427,), (1388073441,), (1388073522,), (1388073526,), (1388073527,), (1388073529,), (1388073532,), (1388073537,), (1388073538,), (1388073539,), (1388073541,), (1388073543,), (1388073549,), (1388073551,), (1388073552,), (1388073590,), (1388073632,), (1388073676,), (1388074005,), (1388074052,), (1388074099,), (1388074148,), (1388074176,), (1388074181,), (1388074183,), (1388074184,), (1388074231,), (1388074276,), (1388074319,), (1388074412,), (1388074418,), (1388074462,), (1388074478,), (1388074526,), (1388074528,), (1388074530,), (1388074558,), (1388074605,), (1388074647,), (1388074969,), (1388075011,), (1388075055,), (1388075060,), (1388075063,), (1388075069,), (1388075104,), (1388075157,), (1388075200,), (1388075246,), (1388075263,), (1388075340,), (1388075343,), (1388075348,), (1388075351,), (1388075641,), (1388075689,), (1388075730,), (1388075732,), (1388075735,), (1388075737,), (1388075826,), (1388075867,), (1388075907,), (1388075912,), (1388075915,), (1388075991,), (1388075981,), (1388075983,), (1388075985,), (1388075987,), (1388075989,), (1388075996,), (1388075998,), (1388076000,), (1388076004,), (1388076008,), (1388076017,), (1388076019,), (1388076020,), (1388076022,), (1388076024,), (1388076213,), (1388076256,), (1388076315,), (1388076362,), (1388076405,), (1388076413,), (1388076533,), (1388076550,), (1388076566,), (1388076576,), (1388076594,), (1388076597,), (1388076601,), (1388076604,), (1388076606,), (1388076609,), (1388076611,), (1388076618,), (1388076619,), (1388076620,), (1388076622,), (1388076624,), (1388076625,), (1388076629,), (1388076631,), (1388076633,), (1388076635,), (1388076636,), (1388076637,), (1388076639,), (1388076640,), (1388076641,), (1388076646,), (1388076648,), (1388076651,), (1388076792,), (1388076839,), (1388076883,), (1388076928,), (1388076970,), (1388077015,), (1388077068,), (1388077113,), (1388077170,), (1388077209,), (1388077277,), (1388077279,), (1388077280,), (1388077282,), (1388077284,), (1388077286,), (1388077294,), (1388077295,), (1388077296,), (1388077305,), (1388077307,), (1388077308,), (1388077310,), (1388077312,), (1388077564,), (1388077612,), (1388077664,), (1388077711,), (1388077835,), (1388077837,), (1388077838,), (1388077839,), (1388077840,), (1388077841,), (1388077842,), (1388077844,), (1388077846,), (1388077848,), (1388078009,), (1388078047,), (1388078064,), (1388078090,), (1388078102,), (1388078106,), (1388078007,), (1388078117,), (1388078118,), (1388078119,), (1388078121,), (1388078123,), (1388078134,), (1388078136,), (1388078137,), (1388078139,), (1388078140,), (1388078142,), (1388078151,), (1388078154,), (1388078157,), (1388078160,), (1388078165,), (1388078166,), (1388078170,), (1388078172,), (1388078174,), (1388078176,), (1388078180,), (1388078181,), (1388078183,), (1388078186,), (1388078194,), (1388078195,), (1388078198,), (1388078200,), (1388078203,), (1388078425,), (1388078472,), (1388078521,), (1388078550,), (1388078552,), (1388078650,), (1388078690,), (1388078699,), (1388078701,), (1388078732,), (1388078768,), (1388078770,), (1388078771,), (1388078773,), (1388078775,), (1388078782,), (1388078783,), (1388078785,), (1388078787,), (1388078789,), (1388078794,), (1388078796,), (1388078797,), (1388078800,), (1388078802,), (1388079081,), (1388079125,), (1388079148,), (1388079151,), (1388079154,), (1388079282,), (1388079305,), (1388079311,), (1388079314,), (1388079317,), (1388079357,), (1388079349,), (1388079350,), (1388079351,), (1388079354,), (1388079363,), (1388079365,), (1388079367,), (1388079369,), (1388079372,), (1388079577,), (1388079597,), (1388079641,), (1388079651,), (1388079668,), (1388079694,), (1388079696,), (1388079697,), (1388079700,), (1388079702,), (1388079709,), (1388079711,), (1388079713,), (1388079716,), (1388079719,), (1388079722,), (1388079727,), (1388079728,), (1388079729,), (1388079731,), (1388079738,), (1388079739,), (1388079740,), (1388079743,), (1388079746,), (1388079748,), (1388079753,), (1388079755,), (1388079757,), (1388079760,), (1388079763,), (1388080100,), (1388080119,), (1388080121,), (1388080123,), (1388080126,), (1388080128,), (1388080273,), (1388080301,), (1388080304,), (1388080306,), (1388080309,), (1388080316,), (1388080317,), (1388080318,), (1388080320,), (1388080323,), (1388080326,), (1388080330,), (1388080332,), (1388080333,), (1388080335,), (1388080343,), (1388080344,), (1388080346,), (1388080348,), (1388080350,), (1388080352,), (1388080359,), (1388080360,), (1388080361,), (1388080367,), (1388080453,), (1388080493,), (1388080536,), (1388080578,), (1388080625,), (1388080668,), (1388080781,), (1388080823,), (1388080854,), (1388081079,), (1388081082,), (1388081104,), (1388081106,), (1388081024,), (1388081031,), (1388081053,), (1388081054,), (1388081086,), (1388081088,), (1388081090,), (1388081091,), (1388081092,), (1388081094,), (1388081096,), (1388081098,), (1388081100,), (1388081102,), (1388081111,), (1388081113,), (1388081116,), (1388081119,), (1388081123,), (1388081127,), (1388081133,), (1388081135,), (1388081139,), (1388081142,), (1388081352,), (1388081399,), (1388081443,), (1388081563,), (1388081608,), (1388081649,), (1388081826,), (1388081847,), (1388081891,), (1388081916,), (1388081973,), (1388081974,), (1388081976,), (1388081979,), (1388081982,), (1388081984,), (1388081990,), (1388081991,), (1388081992,), (1388082002,), (1388082003,), (1388082005,), (1388082007,), (1388082009,), (1388082012,), (1388082024,), (1388082025,), (1388082026,), (1388082029,), (1388082032,), (1388082034,), (1388082044,), (1388082045,), (1388082046,), (1388082055,), (1388082057,), (1388082059,), (1388082061,), (1388082063,), (1388082066,), (1388082071,), (1388082072,), (1388082073,), (1388082075,), (1388082083,), (1388082085,), (1388082086,), (1388082089,), (1388082092,), (1388082094,), (1388082106,), (1388082098,), (1388082099,), (1388082100,), (1388082102,), (1388082104,), (1388082117,), (1388082119,), (1388082120,), (1388082122,), (1388082130,), (1388082132,), (1388082135,), (1388082138,), (1388082140,), (1388082143,), (1388082148,), (1388082150,), (1388082152,), (1388082157,), (1388082161,), (1388082168,), (1388082169,), (1388082170,), (1388082173,), (1388082181,), (1388082183,), (1388082184,), (1388082187,), (1388082195,), (1388082196,), (1388082197,), (1388082200,), (1388082203,), (1388082241,), (1388082470,), (1388082472,), (1388082497,), (1388082571,), (1388083076,), (1388083118,), (1388083161,), (1388083204,), (1388083245,), (1388083296,), (1388083645,), (1388083690,), (1388083733,), (1388083745,), (1388083748,), (1388083753,), (1388083763,), (1388083765,), (1388083766,), (1388083805,), (1388083854,), (1388084198,), (1388084206,), (1388084208,), (1388084211,), (1388084214,), (1388084248,), (1388084411,), (1388084415,), (1388084418,), (1388084421,), (1388084423,), (1388084427,), (1388084428,), (1388084429,), (1388084432,), (1388084456,), (1388084467,), (1388084469,), (1388084470,), (1388084471,), (1388084446,), (1388084448,), (1388084450,), (1388084452,), (1388084454,), (1388084457,), (1388084459,), (1388084461,), (1388084463,), (1388084465,), (1388084474,), (1388084477,), (1388084480,), (1388084483,), (1388084487,), (1388084492,), (1388084494,), (1388084495,), (1388084497,), (1388084711,), (1388084756,), (1388084804,), (1388084848,), (1388084890,), (1388084935,), (1388085290,), (1388085312,), (1388085315,), (1388085317,), (1388085319,), (1388085459,), (1388085462,), (1388085484,), (1388085523,), (1388085628,), (1388085668,), (1388085705,), (1388085749,), (1388085791,), (1388085829,), (1388085930,), (1388085940,), (1388085957,), (1388085981,), (1388085990,), (1388085992,), (1388085993,), (1388085997,), (1388086000,), (1388086002,), (1388086006,), (1388086008,), (1388086010,), (1388086013,), (1388086017,), (1388086026,), (1388086028,), (1388086030,), (1388086032,), (1388086035,), (1388086037,), (1388086041,), (1388086042,), (1388086061,), (1388086064,), (1388086067,), (1388086073,), (1388086074,), (1388086084,), (1388086087,), (1388086089,), (1388086094,), (1388086098,), (1388086115,), (1388086105,), (1388086106,), (1388086108,), (1388086110,), (1388086113,), (1388086120,), (1388086122,), (1388086124,), (1388086128,), (1388086132,), (1388086139,), (1388086141,), (1388086142,), (1388086144,), (1388086146,), (1388086162,), (1388086163,), (1388086165,), (1388086168,), (1388086171,), (1388086173,), (1388086178,), (1388086179,), (1388086182,), (1388086184,), (1388086186,), (1388086188,), (1388086194,), (1388086196,), (1388086198,), (1388086200,), (1388086202,), (1388086204,), (1388086205,), (1388086206,), (1388086207,), (1388086209,), (1388086211,), (1388086212,), (1388086215,), (1388086218,), (1388086220,), (1388086222,), (1388086223,), (1388086224,), (1388086225,), (1388086227,), (1388086228,), (1388086230,), (1388086238,), (1388086239,), (1388086241,), (1388086243,), (1388086245,), (1388086247,), (1388086248,), (1388086249,), (1388086251,), (1388086252,), (1388086255,), (1388086258,), (1388086259,), (1388086261,), (1388086263,), (1388086266,), (1388086279,), (1388086280,), (1388086281,), (1388086285,), (1388086302,), (1388086305,), (1388086307,), (1388086310,), (1388086312,), (1388086314,), (1388086316,), (1388086318,), (1388086320,), (1388086324,), (1388086325,), (1388086326,), (1388086334,), (1388086337,), (1388086338,), (1388086341,), (1388086343,), (1388086345,), (1388086370,), (1388086349,), (1388086353,), (1388086364,), (1388086366,), (1388086368,), (1388086376,), (1388086380,), (1388086382,), (1388086385,), (1388086392,), (1388086393,), (1388086395,), (1388086398,), (1388086400,), (1388086408,), (1388086410,), (1388086917,), (1388087106,), (1388087107,), (1388087108,), (1388087110,), (1388087112,), (1388087118,), (1388087120,), (1388087131,), (1388087142,), (1388087143,), (1388087145,), (1388087152,), (1388087154,), (1388087155,), (1388087157,), (1388087355,), (1388087491,), (1388087534,), (1388087579,), (1388087629,), (1388088137,), (1388087960,), (1388088005,), (1388088051,), (1388088104,), (1388088142,), (1388088143,), (1388088144,), (1388088152,), (1388088154,), (1388088155,), (1388088186,), (1388088580,), (1388088593,), (1388088739,), (1388088741,), (1388088743,), (1388088746,), (1388088748,), (1388088750,), (1388088755,), (1388088757,), (1388088764,), (1388088768,), (1388088772,), (1388088774,), (1388088775,), (1388088778,), (1388088781,), (1388088783,), (1388088788,), (1388088790,), (1388088792,), (1388088795,), (1388088798,), (1388088804,), (1388088806,), (1388088807,), (1388088810,), (1388088813,), (1388088815,), (1388088827,), (1388088830,), (1388088833,), (1388089058,), (1388089103,), (1388089143,), (1388089194,), (1388089240,), (1388089665,), (1388089711,), (1388089754,), (1388089809,), (1388089826,), (1388089850,), (1388089890,), (1388089932,), (1388089979,), (1388089999,), (1388090001,), (1388090218,), (1388090263,), (1388090313,), (1388090594,), (1388090588,), (1388090591,), (1388090702,), (1388090704,), (1388090706,), (1388090709,), (1388090712,), (1388090716,), (1388090722,), (1388090724,), (1388090728,), (1388090733,), (1388090738,), (1388090744,), (1388090746,), (1388090749,), (1388090753,), (1388090755,), (1388090757,), (1388090761,), (1388090763,), (1388090765,), (1388090769,), (1388090773,), (1388090785,), (1388090786,), (1388090788,), (1388090791,), (1388090793,), (1388090795,), (1388090800,), (1388090807,), (1388090815,), (1388090819,), (1388091058,), (1388091099,), (1388091147,), (1388091193,), (1388091237,), (1388091448,), (1388091450,), (1388091451,), (1388091455,), (1388091499,), (1388091542,), (1388092076,), (1388092095,), (1388092104,), (1388092106,), (1388092109,), (1388092111,), (1388092114,), (1388092155,), (1388092198,), (1388092238,), (1388092291,), (1388092292,), (1388092294,), (1388092295,), (1388092296,), (1388092299,), (1388092309,), (1388092311,), (1388092314,), (1388092355,), (1388092397,), (1388092446,), (1388092511,), (1388092513,), (1388092517,), (1388092546,), (1388092575,), (1388092606,), (1388092608,), (1388092610,), (1388092615,), (1388092617,), (1388092619,), (1388092621,), (1388092623,), (1388092626,), (1388092629,), (1388092630,), (1388092633,), (1388092636,), (1388092652,), (1388092647,), (1388092648,), (1388092649,), (1388092664,), (1388092666,), (1388092667,), (1388092669,), (1388092672,), (1388092675,), (1388092685,), (1388092687,), (1388092690,), (1388092733,), (1388092777,), (1388093005,), (1388093008,), (1388093047,), (1388093091,), (1388093098,), (1388093144,), (1388093145,), (1388093147,), (1388093150,), (1388093153,), (1388093156,), (1388093163,), (1388093164,), (1388093166,), (1388093169,), (1388093188,), (1388093190,), (1388093192,), (1388093196,), (1388093198,), (1388093200,), (1388093207,), (1388093210,), (1388093213,), (1388093216,), (1388093218,), (1388093220,), (1388093225,), (1388093228,), (1388093230,), (1388093234,), (1388093238,), (1388093241,), (1388093245,), (1388093247,), (1388093254,), (1388093255,), (1388093256,), (1388093259,), (1388093262,), (1388093282,), (1388093284,), (1388093286,), (1388093290,), (1388093293,), (1388093307,), (1388093310,), (1388093314,), (1388093318,), (1388093321,), (1388093323,), (1388093333,), (1388093335,), (1388093336,), (1388093340,), (1388093352,), (1388093355,), (1388093358,), (1388093361,), (1388093366,), (1388093369,), (1388093384,), (1388093386,), (1388093388,), (1388093391,), (1388093406,), (1388093409,), (1388093411,), (1388093415,), (1388093418,), (1388093422,), (1388093825,), (1388093681,), (1388093740,), (1388093783,), (1388094048,), (1388094052,), (1388094057,), (1388094061,), (1388094121,), (1388094167,), (1388094302,), (1388094305,), (1388094308,), (1388094312,), (1388094565,), (1388094606,), (1388094650,), (1388094696,), (1388094732,), (1388094735,), (1388094843,), (1388094845,), (1388094871,), (1388094886,), (1388094909,), (1388094910,), (1388094911,), (1388094914,), (1388094917,), (1388094919,), (1388094926,), (1388094939,), (1388094942,), (1388094945,), (1388094947,), (1388094952,), (1388094953,), (1388094956,), (1388094960,), (1388094963,), (1388094965,), (1388094969,), (1388094971,), (1388094973,), (1388094976,), (1388094983,), (1388095019,), (1388095067,), (1388095111,), (1388095159,), (1388095208,), (1388095510,), (1388095511,), (1388095513,), (1388095515,), (1388095644,), (1388095645,), (1388095647,), (1388095649,), (1388095652,), (1388095654,), (1388095664,), (1388095666,), (1388095667,), (1388095677,), (1388095678,), (1388095679,), (1388095710,), (1388095750,), (1388095796,), (1388096094,), (1388096097,), (1388096098,), (1388096102,), (1388096273,), (1388096264,), (1388096265,), (1388096268,), (1388096271,), (1388096299,), (1388096340,), (1388096384,), (1388096427,), (1388096545,), (1388096547,), (1388096548,), (1388096550,), (1388096552,), (1388096554,), (1388096558,), (1388096576,), (1388096579,), (1388096582,), (1388096585,), (1388096590,), (1388096591,), (1388096593,), (1388096595,), (1388096597,), (1388096599,), (1388096602,), (1388096603,), (1388096604,), (1388096606,), (1388096608,), (1388096622,), (1388096624,), (1388096627,), (1388096630,), (1388096632,), (1388096635,), (1388096643,), (1388096646,), (1388096648,), (1388096650,), (1388096651,), (1388096652,), (1388096656,), (1388096658,), (1388096661,), (1388096663,), (1388096665,), (1388096667,), (1388096668,), (1388096669,), (1388096671,), (1388096675,), (1388096678,), (1388096680,), (1388096682,), (1388096684,), (1388096687,), (1388096690,), (1388096703,), (1388096706,), (1388096709,), (1388096711,), (1388096716,), (1388096717,), (1388096718,), (1388096728,), (1388096730,), (1388096732,), (1388096734,), (1388096737,), (1388096981,), (1388097063,), (1388097146,), (1388097231,), (1388097321,), (1388097424,), (1388098012,), (1388098016,), (1388098019,), (1388098041,), (1388101067,), (1388101069,), (1388101084,), (1388101087,), (1388101089,), (1388101093,), (1388101097,), (1388101107,), (1388101108,), (1388101116,), (1388101147,), (1388101188,), (1388101231,), (1388101634,), (1388101635,), (1388101636,), (1388101638,), (1388101661,), (1388101709,), (1388101756,), (1388101758,), (1388101759,), (1388101762,), (1388101775,), (1388101777,), (1388101780,), (1388101814,), (1388101815,), (1388101824,), (1388101826,), (1388101829,), (1388101831,), (1388101845,), (1388101848,), (1388101851,), (1388101856,), (1388101862,), (1388101875,), (1388101889,), (1388101890,), (1388101893,), (1388101912,), (1388101913,), (1388101915,), (1388101919,), (1388101923,), (1388101933,), (1388101935,), (1388101936,), (1388101940,), (1388101944,), (1388101947,), (1388101961,), (1388101952,), (1388101953,), (1388101954,), (1388101957,), (1388101970,), (1388101972,), (1388101973,), (1388101976,), (1388101980,), (1388101983,), (1388102210,), (1388102252,), (1388102282,), (1388102320,), (1388102342,), (1388102369,), (1388102370,), (1388102372,), (1388102375,), (1388102378,), (1388102380,), (1388102384,), (1388102386,), (1388102389,), (1388102393,), (1388102394,), (1388102396,), (1388102399,), (1388102400,), (1388102401,), (1388102402,), (1388102435,), (1388102436,), (1388102437,), (1388102439,), (1388102441,), (1388102443,), (1388102449,), (1388102450,), (1388102452,), (1388102454,), (1388102456,), (1388102457,), (1388102458,), (1388102460,), (1388102464,), (1388102466,), (1388102469,), (1388102471,), (1388102473,), (1388102474,), (1388102476,), (1388102477,), (1388102479,), (1388102482,), (1388102485,), (1388102491,), (1388102499,), (1388102510,), (1388102513,), (1388102517,), (1388102527,), (1388102528,), (1388102529,), (1388102532,), (1388102544,), (1388102546,), (1388102550,), (1388102553,), (1388103019,), (1388103040,), (1388103042,), (1388103772,), (1388103732,), (1388103758,), (1388103760,), (1388103762,), (1388103767,), (1388103859,), (1388103925,), (1388103983,), (1388103995,), (1388104448,), (1388104449,), (1388104450,), (1388104452,), (1388104456,), (1388104681,), (1388104682,), (1388104683,), (1388104686,), (1388104689,), (1388104692,), (1388104848,), (1388104865,), (1388104868,), (1388104871,), (1388105307,), (1388105308,), (1388105422,), (1388105484,), (1388105516,), (1388105542,), (1388105622,), (1388105623,), (1388105627,), (1388105629,), (1388105673,), (1388105689,), (1388105832,), (1388105891,), (1388105895,), (1388105898,), (1388107265,), (1388107267,), (1388107380,), (1388107383,), (1388107390,), (1388108535,), (1388108536,), (1388108538,), (1388108765,), (1388108804,), (1388108881,), (1388109013,), (1388109016,), (1388109020,), (1388109037,), (1388109043,), (1388109153,), (1388109520,), (1388109570,), (1388109616,), (1388109665,), (1388110383,), (1388110447,), (1388110470,), (1388110473,), (1388110477,), (1388110711,), (1388110725,), (1388110744,), (1388110749,), (1388110751,), (1388110805,), (1388110809,), (1388110920,), (1388110933,), (1388110947,), (1388111041,), (1388111010,), (1388111011,), (1388111014,), (1388111019,), (1388111022,), (1388111686,), (1388111689,), (1388111699,), (1388112238,), (1388112244,), (1388112347,), (1388112373,), (1388112397,), (1388112410,), (1388113071,), (1388113074,), (1388113087,), (1388113090,), (1388113518,), (1388113539,), (1388113540,), (1388113543,), (1388113548,), (1388113552,), (1388113990,), (1388114044,), (1388114103,), (1388114161,), (1388114208,), (1388114639,), (1388114681,), (1388114725,), (1388114734,), (1388114738,), (1388115002,), (1388115206,), (1388115247,), (1388115298,), (1388115378,), (1388115420,), (1388115583,), (1388115585,), (1388115587,), (1388115590,), (1388115594,), (1388115643,), (1388115644,), (1388115647,), (1388115769,), (1388115770,), (1388115771,), (1388116204,), (1388116205,), (1388116339,), (1388116389,), (1388116440,), (1388116466,), (1388116499,), (1388116501,), (1388116850,), (1388116949,), (1388116953,), (1388116962,), (1388117026,), (1388117015,), (1388117017,), (1388117018,), (1388117022,), (1388117024,), (1388117082,), (1388117083,), (1388117084,), (1388117092,), (1388117463,), (1388117514,), (1388117517,), (1388117520,), (1388117524,), (1388117532,), (1388117563,), (1388117572,), (1388117583,), (1388117831,), (1388117849,), (1388117860,), (1388117871,), (1388117881,), (1388117889,), (1388117896,), (1388117897,), (1388117898,), (1388117902,), (1388117929,), (1388117944,), (1388117951,), (1388117968,), (1388118053,), (1388118090,), (1388118278,), (1388118309,), (1388118310,), (1388118314,), (1388118463,), (1388118468,), (1388118528,), (1388118531,), (1388118536,), (1388118549,), (1388118593,), (1388118597,), (1388118599,), (1388118603,), (1388118629,), (1388118675,), (1388118745,), (1388118748,), (1388118756,), (1388118891,), (1388119058,), (1388119059,), (1388119062,), (1388119064,), (1388119072,), (1388119080,), (1388119088,), (1388119091,), (1388119100,), (1388119102,), (1388119104,), (1388119106,), (1388119127,), (1388119130,), (1388119132,), (1388119135,), (1388119200,), (1388119203,), (1388119208,), (1388119211,), (1388119233,), (1388119241,), (1388119243,), (1388119245,), (1388119247,), (1388119249,), (1388119614,), (1388119618,), (1388119620,), (1388119623,), (1388119934,), (1388119924,), (1388119927,), (1388119931,), (1388120098,), (1388120100,), (1388120113,), (1388120118,), (1388120243,), (1388120261,), (1388120279,), (1388120290,), (1388120297,), (1388120477,), (1388120672,), (1388120674,), (1388120676,), (1388120679,), (1388120682,), (1388121519,), (1388121520,), (1388121522,), (1388121525,), (1388121533,), (1388122238,), (1388122240,), (1388122306,), (1388122334,), (1388122339,), (1388122346,), (1388122386,), (1388122397,), (1388122401,), (1388122405,), (1388123909,), (1388123926,), (1388123931,), (1388123935,), (1388123971,), (1388124252,), (1388124259,), (1388124305,), (1388124319,), (1388124322,), (1388124326,), (1388124527,), (1388124529,), (1388124558,), (1388124563,), (1388124576,), (1388125398,), (1388125410,), (1388125529,), (1388125533,), (1388125584,), (1388125589,), (1388125661,), (1388125694,), (1388125699,), (1388125861,), (1388125893,), (1388125924,), (1388125962,), (1388125997,), (1388126553,), (1388126704,), (1388126710,), (1388126976,), (1388126980,), (1388126985,), (1388126988,), (1388126992,), (1388127495,), (1388127666,), (1388127676,), (1388127679,), (1388127684,), (1388128914,), (1388128956,), (1388128987,), (1388129020,), (1388129066,), (1388129110,), (1388128743,), (1388128757,), (1388128833,), (1388128913,), (1388128960,), (1388128963,), (1388128966,), (1388128968,), (1388128971,), (1388128980,), (1388129306,), (1388129307,), (1388129392,), (1388129401,), (1388129486,), (1388129487,), (1388129540,), (1388129544,), (1388129669,), (1388129735,), (1388130251,), (1388130301,), (1388130446,), (1388130501,), (1388130517,), (1388130537,), (1388130575,), (1388130591,), (1388130635,), (1388130696,), (1388131327,), (1388131346,), (1388131371,), (1388131383,), (1388131387,), (1388131403,), (1388131406,), (1388131433,), (1388131552,), (1388131704,), (1388131705,), (1388131733,), (1388131737,), (1388131757,), (1388131759,), (1388131766,), (1388131768,), (1388131770,), (1388132060,), (1388132215,), (1388132391,), (1388132392,), (1388132404,), (1388132406,), (1388132409,), (1388132411,), (1388132864,), (1388132866,), (1388132868,), (1388133040,), (1388133286,), (1388133697,), (1388133719,), (1388133721,), (1388133725,), (1388133727,), (1388133729,), (1388133743,), (1388133745,), (1388133746,), (1388133749,), (1388133752,), (1388133754,), (1388134750,), (1388134791,), (1388134798,), (1388134816,), (1388134823,), (1388135200,), (1388135569,), (1388135576,), (1388135579,), (1388135641,), (1388136067,), (1388135967,), (1388135972,), (1388135974,), (1388136001,), (1388136259,), (1388136274,), (1388136277,), (1388136285,), (1388136297,), (1388136300,), (1388136301,), (1388136303,), (1388136312,), (1388136315,), (1388136317,), (1388136494,), (1388136513,), (1388136525,), (1388136529,), (1388136587,), (1388136588,), (1388136649,), (1388136653,), (1388136656,), (1388136658,), (1388138028,), (1388138100,), (1388138101,), (1388138104,), (1388138509,), (1388138510,), (1388138511,), (1388138513,), (1388138516,), (1388138518,), (1388138723,), (1388138776,), (1388138895,), (1388138995,), (1388139127,), (1388139128,), (1388139129,), (1388139132,), (1388139136,), (1388139139,), (1388139351,), (1388139392,), (1388139433,), (1388139478,), (1388140113,), (1388140158,), (1388140214,), (1388140262,), (1388140305,), (1388140730,), (1388140889,), (1388141103,), (1388141111,), (1388141115,), (1388141305,), (1388141307,), (1388141316,), (1388141361,), (1388141419,), (1388141925,), (1388141941,), (1388142248,), (1388142906,), (1388142954,), (1388144105,), (1388144123,), (1388144151,), (1388144214,), (1388146442,), (1388146087,), (1388146089,), (1388146213,), (1388146221,), (1388146406,), (1388146729,), (1388146730,), (1388146766,), (1388146818,), (1388146943,), (1388146945,), (1388146972,), (1388146974,), (1388146994,), (1388146997,), (1388147001,), (1388147003,), (1388147116,), (1388147118,), (1388147137,), (1388147167,), (1388147175,), (1388147230,), (1388147322,), (1388147331,), (1388147349,), (1388147405,), (1388147419,), (1388147421,), (1388147424,), (1388147429,), (1388147495,), (1388147499,), (1388147522,), (1388147526,), (1388148672,), (1388148854,), (1388148863,), (1388148868,), (1388148881,), (1388148885,), (1388149707,), (1388149753,), (1388149758,), (1388149762,), (1388149765,), (1388149819,), (1388149824,), (1388149826,), (1388149827,), (1388149940,), (1388149942,), (1388150239,), (1388150243,), (1388150244,), (1388150254,), (1388150272,), (1388150276,), (1388150330,), (1388150332,), (1388150480,), (1388150523,), (1388150525,), (1388150527,), (1388150531,), (1388150533,), (1388150609,), (1388150616,), (1388150625,), (1388150626,), (1388150693,), (1388150695,), (1388150696,), (1388150710,), (1388150714,), (1388150815,), (1388150871,), (1388150874,), (1388150876,), (1388150943,), (1388150949,), (1388150954,), (1388150958,), (1388150962,), (1388150965,), (1388150988,), (1388150991,), (1388150992,), (1388150996,), (1388151082,), (1388151075,), (1388151077,), (1388151079,), (1388151112,), (1388151117,), (1388151119,), (1388151122,), (1388151206,), (1388152154,), (1388152156,), (1388152157,), (1388152159,), (1388152433,), (1388152444,), (1388152483,), (1388152486,), (1388152489,), (1388152505,), (1388152638,), (1388152664,), (1388152686,), (1388154218,), (1388154229,), (1388154235,), (1388154243,), (1388154246,), (1388154532,), (1388154545,), (1388154550,), (1388154553,), (1388154558,), (1388154625,), (1388154642,), (1388154644,), (1388154646,), (1388154798,), (1388154800,), (1388154802,), (1388154806,), (1388154889,), (1388155288,), (1388155516,), (1388155653,), (1388155686,), (1388155738,), (1388155787,), (1388155823,), (1388155835,), (1388155848,), (1388155851,), (1388155855,), (1388155858,), (1388155946,), (1388155970,), (1388155991,), (1388155995,), (1388156001,), (1388156003,), (1388156014,), (1388156026,), (1388156027,), (1388156030,), (1388156963,), (1388157371,), (1388157948,), (1388158107,), (1388158111,), (1388158126,), (1388158155,), (1388158179,), (1388158883,), (1388158926,), (1388159243,), (1388159311,), (1388159426,), (1388159437,), (1388159479,), (1388159211,), (1388159213,), (1388159218,), (1388159220,), (1388159222,), (1388159255,), (1388159270,), (1388159274,), (1388159277,), (1388159280,), (1388159521,), (1388159525,), (1388159559,), (1388159568,), (1388159595,), (1388159607,), (1388159918,), (1388160141,), (1388160145,), (1388160150,), (1388160474,), (1388160477,), (1388160479,), (1388160488,), (1388160492,), (1388160520,), (1388160521,), (1388160522,), (1388160711,), (1388160713,), (1388160725,), (1388160729,), (1388160733,), (1388160736,), (1388161582,), (1388161584,), (1388161650,), (1388161958,), (1388161960,), (1388161966,), (1388161973,), (1388161981,), (1388162015,), (1388195380,), (1388196327,), (1388196329,), (1388196330,), (1388196752,), (1388196760,), (1388197553,), (1388197556,), (1388198520,), (1388199679,), (1388199684,), (1388199752,), (1388200378,), (1388200643,), (1388200650,), (1388200667,), (1388200672,), (1388200732,), (1388200740,), (1388200746,), (1388200769,), (1388200838,), (1388200821,), (1388200823,), (1388200825,), (1388200828,), (1388200833,), (1388201753,), (1388201769,), (1388201829,), (1388201833,), (1388201974,), (1388201989,), (1388201999,), (1388202014,), (1388202374,), (1388202386,), (1388202581,), (1388202584,), (1388202586,), (1388202591,), (1388202596,), (1388202600,), (1388202612,), (1388202616,), (1388202620,), (1388202624,), (1388202628,), (1388202631,), (1388202917,), (1388202920,), (1388202925,), (1388203045,), (1388203147,), (1388203151,), (1388203154,), (1388203158,), (1388203176,), (1388203180,), (1388203207,), (1388203209,), (1388203211,), (1388203213,), (1388203215,), (1388203220,), (1388203224,), (1388203228,), (1388203233,), (1388203237,), (1388203239,), (1388203242,), (1388203554,), (1388203556,), (1388203660,), (1388203663,), (1388203702,), (1388203730,), (1388203777,), (1388203783,), (1388203799,), (1388203804,), (1388203807,), (1388203811,), (1388203828,), (1388203832,), (1388203836,), (1388203842,), (1388203961,), (1388203964,), (1388203968,), (1388203973,), (1388203977,), (1388204032,), (1388204395,), (1388204639,), (1388204642,), (1388204646,), (1388204651,), (1388205518,), (1388205660,), (1388205666,), (1388205748,), (1388205755,), (1388205765,), (1388205770,), (1388205851,), (1388205834,), (1388205837,), (1388205839,), (1388205843,), (1388205847,), (1388206609,), (1388206614,), (1388206627,), (1388206756,), (1388207257,), (1388207259,), (1388207263,), (1388207268,), (1388207272,), (1388207278,), (1388207307,), (1388207310,), (1388207312,), (1388207462,), (1388207485,), (1388207553,), (1388207556,), (1388207557,), (1388207560,), (1388207565,), (1388207570,), (1388207634,), (1388207637,), (1388207640,), (1388207651,), (1388207667,), (1388207695,), (1388207699,), (1388207893,), (1388208108,), (1388208149,), (1388208155,), (1388208160,), (1388208164,), (1388208172,), (1388208245,), (1388208291,), (1388208310,), (1388208326,), (1388208338,), (1388208350,), (1388208355,), (1388208357,), (1388208360,), (1388208363,), (1388208365,), (1388208401,), (1388208405,), (1388208409,), (1388208411,), (1388208419,), (1388208438,), (1388208455,), (1388208468,), (1388208469,), (1388208470,), (1388208471,), (1388208474,), (1388208477,), (1388208482,), (1388208487,), (1388208498,), (1388208506,), (1388208513,), (1388208527,), (1388208530,), (1388208533,), (1388208540,), (1388208543,), (1388208701,), (1388209380,), (1388209595,), (1388209602,), (1388209605,), (1388209607,), (1388209610,), (1388209614,), (1388209838,), (1388209946,), (1388209943,), (1388209945,), (1388209977,), (1388209990,), (1388210002,), (1388210006,), (1388210011,), (1388210015,), (1388210050,), (1388210051,), (1388210296,), (1388211104,), (1388211897,), (1388211924,), (1388211957,), (1388211998,), (1388212003,), (1388212007,), (1388212070,), (1388212072,), (1388212075,), (1388212079,), (1388212082,), (1388212085,), (1388212089,), (1388212090,), (1388212091,), (1388212094,), (1388212095,), (1388212153,), (1388212158,), (1388212161,), (1388212164,), (1388212166,), (1388212170,), (1388212202,), (1388212203,), (1388212205,), (1388212206,), (1388212208,), (1388212209,), (1388212212,), (1388212213,), (1388212215,), (1388212216,), (1388212218,), (1388212219,), (1388212941,), (1388212942,), (1388212945,), (1388212988,), (1388213035,), (1388213080,), (1388213318,), (1388213389,), (1388213425,), (1388213820,), (1388213912,), (1388213921,), (1388214166,), (1388214168,), (1388214197,), (1388214271,), (1388214296,), (1388214303,), (1388214338,), (1388214368,), (1388214379,), (1388214380,), (1388214385,), (1388214455,), (1388214458,), (1388214461,), (1388214463,), (1388214890,), (1388214893,), (1388214895,), (1388215081,), (1388215089,), (1388215091,), (1388215138,), (1388215142,), (1388215143,), (1388215145,), (1388215150,), (1388215192,), (1388215197,), (1388215198,), (1388215201,), (1388215205,), (1388215954,), (1388215740,), (1388215946,), (1388215950,), (1388216050,), (1388216064,), (1388216078,), (1388216081,), (1388216085,), (1388216089,), (1388216098,), (1388216100,), (1388216102,), (1388216106,), (1388216110,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'08102025': {'nb_upload': 14, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27598818]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1388216110, 1388216106, 1388216102, 1388216100, 1388216098, 1388216089, 1388216085, 1388216081, 1388216078, 1388216064, 1388216050] map_info['map_portfolio_photo'] : {27598818: [1388216110, 1388216106, 1388216102, 1388216100, 1388216098, 1388216089, 1388216085, 1388216081, 1388216078, 1388216064, 1388216050, 1388215950, 1388215946, 1388215740]} final : True mtd_id 4302 list_pids : [1388216110, 1388216106, 1388216102, 1388216100, 1388216098, 1388216089, 1388216085, 1388216081, 1388216078, 1388216064, 1388216050] Looping around the photos to save general results len do output : 1 /27598818Didn'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, '3885801') ('4302', '27598818', '1388216110', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216106', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216102', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216100', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216098', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216089', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216085', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216081', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216078', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216064', None, None, None, None, None, '3885801') ('4302', None, None, None, None, None, None, None, '3885801') ('4302', '27598818', '1388216050', None, None, None, None, None, '3885801') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 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, '27598818', 'None', None, None, None, None, '3885801'), ('4302', '27598818', '1388216110', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216106', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216102', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216100', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216098', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216089', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216085', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216081', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216078', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216064', None, None, None, None, None, '3885801'), ('4302', '27598818', '1388216050', None, None, None, None, None, '3885801')] time used for this insertion : 0.036850690841674805 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.431189775466919 time spend to save output : 0.037145137786865234 total time spend for step 5 : 7.468334913253784 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 (3885801) 2.12user 1.94system 0:14.31elapsed 28%CPU (0avgtext+0avgdata 158396maxresident)k 1312inputs+6976outputs (39major+78898minor)pagefaults 0swaps