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 : 3493622 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 (3713887) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3713887) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26802977 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3713887'] with mtr_portfolio_ids : ['26802977'] and first list_photo_ids : [] new path : /proc/3493622/ Name: python3 Umask: 0002 State: R (running) Tgid: 3493622 Ngid: 0 Pid: 3493622 PPid: 3493620 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3493622 NSpid: 3493622 NSpgid: 3493004 NSsid: 3493004 VmPeak: 1107252 kB VmSize: 1107252 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99312 kB VmRSS: 99312 kB RssAnon: 60172 kB RssFile: 39140 kB RssShmem: 0 kB VmData: 866004 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 552 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: 46 nonvoluntary_ctxt_switches: 370 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3493622', 'Ngid': '0', 'Pid': '3493622', 'PPid': '3493620', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3493622', 'NSpid': '3493622', 'NSpgid': '3493004', 'NSsid': '3493004', 'VmPeak': '1107252 kB', 'VmSize': '1107252 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99312 kB', 'VmRSS': '99312 kB', 'RssAnon': '60172 kB', 'RssFile': '39140 kB', 'RssShmem': '0 kB', 'VmData': '866004 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '552 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': '46', 'nonvoluntary_ctxt_switches': '370'} ('datou_batch_current', '3493622', '1107252', '0', '1107252', '866004', '99312', b'', 'marlene', '3713887') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (26802977) 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 (3713887 ) ) 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 (26802977) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1383520563, 'portfolio_id': 26802977}, {'photo_id': 1383520552, 'portfolio_id': 26802977}, {'photo_id': 1383520550, 'portfolio_id': 26802977}, {'photo_id': 1383520548, 'portfolio_id': 26802977}, {'photo_id': 1383520542, 'portfolio_id': 26802977}, {'photo_id': 1383520538, 'portfolio_id': 26802977}, {'photo_id': 1383520534, 'portfolio_id': 26802977}, {'photo_id': 1383520530, 'portfolio_id': 26802977}, {'photo_id': 1383520526, 'portfolio_id': 26802977}, {'photo_id': 1383520524, 'portfolio_id': 26802977}, {'photo_id': 1383520505, 'portfolio_id': 26802977}, {'photo_id': 1383520501, 'portfolio_id': 26802977}, {'photo_id': 1383520497, 'portfolio_id': 26802977}, {'photo_id': 1383520495, 'portfolio_id': 26802977}, {'photo_id': 1383520494, 'portfolio_id': 26802977}, {'photo_id': 1383520489, 'portfolio_id': 26802977}, {'photo_id': 1383520488, 'portfolio_id': 26802977}, {'photo_id': 1383520483, 'portfolio_id': 26802977}, {'photo_id': 1383520480, 'portfolio_id': 26802977}, {'photo_id': 1383520466, 'portfolio_id': 26802977}, {'photo_id': 1383520462, 'portfolio_id': 26802977}, {'photo_id': 1383520458, 'portfolio_id': 26802977}, {'photo_id': 1383520453, 'portfolio_id': 26802977}, {'photo_id': 1383520450, 'portfolio_id': 26802977}, {'photo_id': 1383520449, 'portfolio_id': 26802977}, {'photo_id': 1383520372, 'portfolio_id': 26802977}, {'photo_id': 1383520370, 'portfolio_id': 26802977}, {'photo_id': 1383520369, 'portfolio_id': 26802977}, {'photo_id': 1383520368, 'portfolio_id': 26802977}, {'photo_id': 1383520256, 'portfolio_id': 26802977}, {'photo_id': 1383520252, 'portfolio_id': 26802977}, {'photo_id': 1383520226, 'portfolio_id': 26802977}, {'photo_id': 1383520211, 'portfolio_id': 26802977}, {'photo_id': 1383520207, 'portfolio_id': 26802977}] map_portfolio_id_photo_id: {26802977: [1383520563, 1383520552, 1383520550, 1383520548, 1383520542, 1383520538, 1383520534, 1383520530, 1383520526, 1383520524, 1383520505, 1383520501, 1383520497, 1383520495, 1383520494, 1383520489, 1383520488, 1383520483, 1383520480, 1383520466, 1383520462, 1383520458, 1383520453, 1383520450, 1383520449, 1383520372, 1383520370, 1383520369, 1383520368, 1383520256, 1383520252, 1383520226, 1383520211, 1383520207]} ##### 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.015063762664794922 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Sep 12 18:36:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26802977) 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 : 26802977 get user id for portfolio 26802977 get sub ptf for main ptf 26802977, type 3726 and hashtags ['papier', 'Teint_Dans_La_Masse', 'autre_refus', 'metal', 'flou', 'kraft', 'plastique', 'mal_croppe', 'Carton_brun', 'Carton_gris', 'environnement', 'cartonnette'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26802977 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Teint_Dans_La_Masse','autre_refus','metal','flou','kraft','plastique','mal_croppe','Carton_brun','Carton_gris','environnement','cartonnette')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26802977 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Teint_Dans_La_Masse','autre_refus','metal','flou','kraft','plastique','mal_croppe','Carton_brun','Carton_gris','environnement','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 26802977, 'sub_port_id': 26802996, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18067541, 'last_updated_at': datetime.datetime(2025, 9, 12, 18, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 18, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 18, 33, 26)}, 'metal': {'main_port_id': 26802977, 'sub_port_id': 26802997, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18067542, 'last_updated_at': datetime.datetime(2025, 9, 12, 18, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 18, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 18, 33, 26)}, 'Teint_Dans_La_Masse': {'main_port_id': 26802977, 'sub_port_id': 26802998, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18067543, 'last_updated_at': datetime.datetime(2025, 9, 12, 18, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 18, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 18, 33, 26)}, 'cartonnette': {'main_port_id': 26802977, 'sub_port_id': 26802999, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18067544, 'last_updated_at': datetime.datetime(2025, 9, 12, 18, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 18, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 18, 33, 26)}, 'mal_croppe': {'main_port_id': 26802977, 'sub_port_id': 26803000, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18067545, 'last_updated_at': datetime.datetime(2025, 9, 12, 18, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 18, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 18, 33, 26)}, 'Carton_brun': {'main_port_id': 26802977, 'sub_port_id': 26803001, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18067546, 'last_updated_at': datetime.datetime(2025, 9, 12, 18, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 18, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 18, 33, 26)}, 'papier': {'main_port_id': 26802977, 'sub_port_id': 26803002, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18067547, 'last_updated_at': datetime.datetime(2025, 9, 12, 18, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 18, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 18, 33, 26)}, 'kraft': {'main_port_id': 26802977, 'sub_port_id': 26803003, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18067548, 'last_updated_at': datetime.datetime(2025, 9, 12, 18, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 18, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 18, 33, 26)}, 'plastique': {'main_port_id': 26802977, 'sub_port_id': 26803004, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18067549, 'last_updated_at': datetime.datetime(2025, 9, 12, 18, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 18, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 18, 33, 26)}, 'flou': {'main_port_id': 26802977, 'sub_port_id': 26803005, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18067550, 'last_updated_at': datetime.datetime(2025, 9, 12, 18, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 18, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 18, 33, 26)}, 'Carton_gris': {'main_port_id': 26802977, 'sub_port_id': 26803006, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18067551, 'last_updated_at': datetime.datetime(2025, 9, 12, 18, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 18, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 18, 33, 26)}, 'environnement': {'main_port_id': 26802977, 'sub_port_id': 26803007, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18067552, 'last_updated_at': datetime.datetime(2025, 9, 12, 18, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 18, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 18, 33, 26)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26802996 , 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=26802977 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 (26802996) result : ((1383520485,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26802977) result : ((1383520207,), (1383520211,), (1383520226,), (1383520252,), (1383520256,), (1383520368,), (1383520369,), (1383520370,), (1383520372,), (1383520449,), (1383520450,), (1383520453,), (1383520458,), (1383520462,), (1383520466,), (1383520480,), (1383520483,), (1383520488,), (1383520489,), (1383520494,), (1383520495,), (1383520497,), (1383520501,), (1383520505,), (1383520524,), (1383520526,), (1383520530,), (1383520534,), (1383520538,), (1383520542,), (1383520548,), (1383520550,), (1383520552,), (1383520563,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26802997 , 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=26802977 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 (26802997) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26802977) result : ((1383520207,), (1383520211,), (1383520226,), (1383520252,), (1383520256,), (1383520368,), (1383520369,), (1383520370,), (1383520372,), (1383520449,), (1383520450,), (1383520453,), (1383520458,), (1383520462,), (1383520466,), (1383520480,), (1383520483,), (1383520488,), (1383520489,), (1383520494,), (1383520495,), (1383520497,), (1383520501,), (1383520505,), (1383520524,), (1383520526,), (1383520530,), (1383520534,), (1383520538,), (1383520542,), (1383520548,), (1383520550,), (1383520552,), (1383520563,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26802998 , 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=26802977 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 (26802998) result : ((1383520482,), (1383520553,), (1383520554,), (1383520555,), (1383520556,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26802977) result : ((1383520207,), (1383520211,), (1383520226,), (1383520252,), (1383520256,), (1383520368,), (1383520369,), (1383520370,), (1383520372,), (1383520449,), (1383520450,), (1383520453,), (1383520458,), (1383520462,), (1383520466,), (1383520480,), (1383520483,), (1383520488,), (1383520489,), (1383520494,), (1383520495,), (1383520497,), (1383520501,), (1383520505,), (1383520524,), (1383520526,), (1383520530,), (1383520534,), (1383520538,), (1383520542,), (1383520548,), (1383520550,), (1383520552,), (1383520563,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26802999 , 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=26802977 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 (26802999) result : ((1383520559,), (1383520560,), (1383520561,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26802977) result : ((1383520207,), (1383520211,), (1383520226,), (1383520252,), (1383520256,), (1383520368,), (1383520369,), (1383520370,), (1383520372,), (1383520449,), (1383520450,), (1383520453,), (1383520458,), (1383520462,), (1383520466,), (1383520480,), (1383520483,), (1383520488,), (1383520489,), (1383520494,), (1383520495,), (1383520497,), (1383520501,), (1383520505,), (1383520524,), (1383520526,), (1383520530,), (1383520534,), (1383520538,), (1383520542,), (1383520548,), (1383520550,), (1383520552,), (1383520563,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26803000 , 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=26802977 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 (26803000) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26802977) result : ((1383520207,), (1383520211,), (1383520226,), (1383520252,), (1383520256,), (1383520368,), (1383520369,), (1383520370,), (1383520372,), (1383520449,), (1383520450,), (1383520453,), (1383520458,), (1383520462,), (1383520466,), (1383520480,), (1383520483,), (1383520488,), (1383520489,), (1383520494,), (1383520495,), (1383520497,), (1383520501,), (1383520505,), (1383520524,), (1383520526,), (1383520530,), (1383520534,), (1383520538,), (1383520542,), (1383520548,), (1383520550,), (1383520552,), (1383520563,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26803001 , 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=26802977 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 (26803001) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26802977) result : ((1383520207,), (1383520211,), (1383520226,), (1383520252,), (1383520256,), (1383520368,), (1383520369,), (1383520370,), (1383520372,), (1383520449,), (1383520450,), (1383520453,), (1383520458,), (1383520462,), (1383520466,), (1383520480,), (1383520483,), (1383520488,), (1383520489,), (1383520494,), (1383520495,), (1383520497,), (1383520501,), (1383520505,), (1383520524,), (1383520526,), (1383520530,), (1383520534,), (1383520538,), (1383520542,), (1383520548,), (1383520550,), (1383520552,), (1383520563,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26803002 , 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=26802977 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 (26803002) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26802977) result : ((1383520207,), (1383520211,), (1383520226,), (1383520252,), (1383520256,), (1383520368,), (1383520369,), (1383520370,), (1383520372,), (1383520449,), (1383520450,), (1383520453,), (1383520458,), (1383520462,), (1383520466,), (1383520480,), (1383520483,), (1383520488,), (1383520489,), (1383520494,), (1383520495,), (1383520497,), (1383520501,), (1383520505,), (1383520524,), (1383520526,), (1383520530,), (1383520534,), (1383520538,), (1383520542,), (1383520548,), (1383520550,), (1383520552,), (1383520563,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26803003 , 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=26802977 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 (26803003) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26802977) result : ((1383520207,), (1383520211,), (1383520226,), (1383520252,), (1383520256,), (1383520368,), (1383520369,), (1383520370,), (1383520372,), (1383520449,), (1383520450,), (1383520453,), (1383520458,), (1383520462,), (1383520466,), (1383520480,), (1383520483,), (1383520488,), (1383520489,), (1383520494,), (1383520495,), (1383520497,), (1383520501,), (1383520505,), (1383520524,), (1383520526,), (1383520530,), (1383520534,), (1383520538,), (1383520542,), (1383520548,), (1383520550,), (1383520552,), (1383520563,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26803004 , 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=26802977 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 (26803004) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26802977) result : ((1383520207,), (1383520211,), (1383520226,), (1383520252,), (1383520256,), (1383520368,), (1383520369,), (1383520370,), (1383520372,), (1383520449,), (1383520450,), (1383520453,), (1383520458,), (1383520462,), (1383520466,), (1383520480,), (1383520483,), (1383520488,), (1383520489,), (1383520494,), (1383520495,), (1383520497,), (1383520501,), (1383520505,), (1383520524,), (1383520526,), (1383520530,), (1383520534,), (1383520538,), (1383520542,), (1383520548,), (1383520550,), (1383520552,), (1383520563,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26803005 , 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=26802977 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 (26803005) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26802977) result : ((1383520207,), (1383520211,), (1383520226,), (1383520252,), (1383520256,), (1383520368,), (1383520369,), (1383520370,), (1383520372,), (1383520449,), (1383520450,), (1383520453,), (1383520458,), (1383520462,), (1383520466,), (1383520480,), (1383520483,), (1383520488,), (1383520489,), (1383520494,), (1383520495,), (1383520497,), (1383520501,), (1383520505,), (1383520524,), (1383520526,), (1383520530,), (1383520534,), (1383520538,), (1383520542,), (1383520548,), (1383520550,), (1383520552,), (1383520563,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26803006 , 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=26802977 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 (26803006) result : ((1383520486,), (1383520558,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26802977) result : ((1383520207,), (1383520211,), (1383520226,), (1383520252,), (1383520256,), (1383520368,), (1383520369,), (1383520370,), (1383520372,), (1383520449,), (1383520450,), (1383520453,), (1383520458,), (1383520462,), (1383520466,), (1383520480,), (1383520483,), (1383520488,), (1383520489,), (1383520494,), (1383520495,), (1383520497,), (1383520501,), (1383520505,), (1383520524,), (1383520526,), (1383520530,), (1383520534,), (1383520538,), (1383520542,), (1383520548,), (1383520550,), (1383520552,), (1383520563,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26803007 , 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=26802977 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 (26803007) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26802977) result : ((1383520207,), (1383520211,), (1383520226,), (1383520252,), (1383520256,), (1383520368,), (1383520369,), (1383520370,), (1383520372,), (1383520449,), (1383520450,), (1383520453,), (1383520458,), (1383520462,), (1383520466,), (1383520480,), (1383520483,), (1383520488,), (1383520489,), (1383520494,), (1383520495,), (1383520497,), (1383520501,), (1383520505,), (1383520524,), (1383520526,), (1383520530,), (1383520534,), (1383520538,), (1383520542,), (1383520548,), (1383520550,), (1383520552,), (1383520563,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26802977 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Teint_Dans_La_Masse','autre_refus','metal','flou','kraft','plastique','mal_croppe','Carton_brun','Carton_gris','environnement','cartonnette')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26802977 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Teint_Dans_La_Masse','autre_refus','metal','flou','kraft','plastique','mal_croppe','Carton_brun','Carton_gris','environnement','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 26802977, 'sub_port_id': 26803009, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18067553, 'last_updated_at': datetime.datetime(2025, 9, 12, 18, 33, 28), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 18, 33, 28), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 18, 33, 28)}, 'metal': {'main_port_id': 26802977, 'sub_port_id': 26803010, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18067554, 'last_updated_at': datetime.datetime(2025, 9, 12, 18, 33, 28), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 18, 33, 28), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 18, 33, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 26802977, 'sub_port_id': 26803011, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18067555, 'last_updated_at': datetime.datetime(2025, 9, 12, 18, 33, 28), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 18, 33, 28), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 18, 33, 28)}, 'cartonnette': {'main_port_id': 26802977, 'sub_port_id': 26803012, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18067556, 'last_updated_at': datetime.datetime(2025, 9, 12, 18, 33, 28), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 18, 33, 28), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 18, 33, 28)}, 'mal_croppe': {'main_port_id': 26802977, 'sub_port_id': 26803013, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18067557, 'last_updated_at': datetime.datetime(2025, 9, 12, 18, 33, 28), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 18, 33, 28), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 18, 33, 28)}, 'Carton_brun': {'main_port_id': 26802977, 'sub_port_id': 26803014, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18067558, 'last_updated_at': datetime.datetime(2025, 9, 12, 18, 33, 28), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 18, 33, 28), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 18, 33, 28)}, 'papier': {'main_port_id': 26802977, 'sub_port_id': 26803015, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18067559, 'last_updated_at': datetime.datetime(2025, 9, 12, 18, 33, 28), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 18, 33, 28), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 18, 33, 28)}, 'kraft': {'main_port_id': 26802977, 'sub_port_id': 26803016, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18067560, 'last_updated_at': datetime.datetime(2025, 9, 12, 18, 33, 28), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 18, 33, 28), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 18, 33, 28)}, 'plastique': {'main_port_id': 26802977, 'sub_port_id': 26803017, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18067561, 'last_updated_at': datetime.datetime(2025, 9, 12, 18, 33, 28), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 18, 33, 28), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 18, 33, 28)}, 'flou': {'main_port_id': 26802977, 'sub_port_id': 26803018, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18067562, 'last_updated_at': datetime.datetime(2025, 9, 12, 18, 33, 28), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 18, 33, 28), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 18, 33, 28)}, 'Carton_gris': {'main_port_id': 26802977, 'sub_port_id': 26803019, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18067563, 'last_updated_at': datetime.datetime(2025, 9, 12, 18, 33, 28), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 18, 33, 28), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 18, 33, 28)}, 'environnement': {'main_port_id': 26802977, 'sub_port_id': 26803020, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18067564, 'last_updated_at': datetime.datetime(2025, 9, 12, 18, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 12, 18, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 12, 18, 33, 28)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26803009,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26802996 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26803010,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26802997 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26803011,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26802998 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26803012,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26802999 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26803013,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26803000 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26803014,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26803001 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26803015,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26803002 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26803016,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26803003 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26803017,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26803004 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26803018,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26803005 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26803019,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26803006 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26803020,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26803007 lien utilise dans velours : https://marlene.fotonower.com/velours/26803009,26803010,26803011,26803012,26803013,26803014,26803015,26803016,26803017,26803018,26803019,26803020?tags=autre_refus,metal,Teint_Dans_La_Masse,cartonnette,mal_croppe,Carton_brun,papier,kraft,plastique,flou,Carton_gris,environnement After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26802977]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1383520563, 1383520552, 1383520550, 1383520548, 1383520542, 1383520538, 1383520534, 1383520530, 1383520526, 1383520524, 1383520505, 1383520501, 1383520497, 1383520495, 1383520494] map_info['map_portfolio_photo'] : {26802977: [1383520563, 1383520552, 1383520550, 1383520548, 1383520542, 1383520538, 1383520534, 1383520530, 1383520526, 1383520524, 1383520505, 1383520501, 1383520497, 1383520495, 1383520494, 1383520489, 1383520488, 1383520483, 1383520480, 1383520466, 1383520462, 1383520458, 1383520453, 1383520450, 1383520449, 1383520372, 1383520370, 1383520369, 1383520368, 1383520256, 1383520252, 1383520226, 1383520211, 1383520207]} final : False mtd_id 4302 list_pids : [1383520563, 1383520552, 1383520550, 1383520548, 1383520542, 1383520538, 1383520534, 1383520530, 1383520526, 1383520524, 1383520505, 1383520501, 1383520497, 1383520495, 1383520494] Looping around the photos to save general results len do output : 1 /26802977. 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, '3713887') ('4302', '26802977', '1383520563', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520552', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520550', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520548', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520542', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520538', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520534', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520530', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520526', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520524', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520505', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520501', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520497', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520495', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520494', None, None, None, None, None, '3713887') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 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, '26802977', "{'autre_refus': 26802996, 'metal': 26802997, 'Teint_Dans_La_Masse': 26802998, 'cartonnette': 26802999, 'mal_croppe': 26803000, 'Carton_brun': 26803001, 'papier': 26803002, 'kraft': 26803003, 'plastique': 26803004, 'flou': 26803005, 'Carton_gris': 26803006, 'environnement': 26803007}", None, None, None, None, '3713887'), ('4302', '26802977', '1383520563', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520552', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520550', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520548', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520542', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520538', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520534', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520530', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520526', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520524', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520505', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520501', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520497', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520495', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520494', None, None, None, None, None, '3713887')] time used for this insertion : 0.014841794967651367 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.749091625213623 time spend to save output : 0.015260696411132812 total time spend for step 1 : 1.7643523216247559 step2:final Fri Sep 12 18:36:32 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 (26802977) 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 26802977 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1383520256,1383520252,1383520226,1383520211,1383520207,1383520489,1383520372,1383520488,1383520370,1383520483,1383520369,1383520480,1383520368,1383520466,1383520462,1383520458,1383520453,1383520450,1383520449,1383520563,1383520505,1383520501,1383520552,1383520497,1383520550,1383520495,1383520548,1383520542,1383520494,1383520538,1383520534,1383520530,1383520526,1383520524); 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([26802977]) Inside saveOutput : final : False verbose : True original output for save of step final : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ('0.045168916338213475',), 1383520526: ('0.045168916338213475',), 1383520524: ('0.045168916338213475',), 1383520505: ('0.045168916338213475',), 1383520501: ('0.045168916338213475',), 1383520497: ('0.045168916338213475',), 1383520495: ('0.045168916338213475',), 1383520494: ('0.045168916338213475',)} new output for save of step final : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ('0.045168916338213475',), 1383520526: ('0.045168916338213475',), 1383520524: ('0.045168916338213475',), 1383520505: ('0.045168916338213475',), 1383520501: ('0.045168916338213475',), 1383520497: ('0.045168916338213475',), 1383520495: ('0.045168916338213475',), 1383520494: ('0.045168916338213475',)} [1383520563, 1383520552, 1383520550, 1383520548, 1383520542, 1383520538, 1383520534, 1383520530, 1383520526, 1383520524, 1383520505, 1383520501, 1383520497, 1383520495, 1383520494] map_info['map_portfolio_photo'] : {26802977: [1383520563, 1383520552, 1383520550, 1383520548, 1383520542, 1383520538, 1383520534, 1383520530, 1383520526, 1383520524, 1383520505, 1383520501, 1383520497, 1383520495, 1383520494, 1383520489, 1383520488, 1383520483, 1383520480, 1383520466, 1383520462, 1383520458, 1383520453, 1383520450, 1383520449, 1383520372, 1383520370, 1383520369, 1383520368, 1383520256, 1383520252, 1383520226, 1383520211, 1383520207]} final : False mtd_id 4302 list_pids : [1383520563, 1383520552, 1383520550, 1383520548, 1383520542, 1383520538, 1383520534, 1383520530, 1383520526, 1383520524, 1383520505, 1383520501, 1383520497, 1383520495, 1383520494] Looping around the photos to save general results len do output : 15 /1383520563.Didn't retrieve data . /1383520552.Didn't retrieve data . /1383520550.Didn't retrieve data . /1383520548.Didn't retrieve data . /1383520542.Didn't retrieve data . /1383520538.Didn't retrieve data . /1383520534.Didn't retrieve data . /1383520530.Didn't retrieve data . /1383520526.Didn't retrieve data . /1383520524.Didn't retrieve data . /1383520505.Didn't retrieve data . /1383520501.Didn't retrieve data . /1383520497.Didn't retrieve data . /1383520495.Didn't retrieve data . /1383520494.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, '3713887') ('4302', '26802977', '1383520563', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520552', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520550', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520548', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520542', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520538', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520534', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520530', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520526', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520524', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520505', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520501', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520497', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520495', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520494', None, None, None, None, None, '3713887') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 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', '26802977', '1383520563', '0.045168916338213475', None, None, None, None, '3713887'), ('4302', '26802977', '1383520552', '0.045168916338213475', None, None, None, None, '3713887'), ('4302', '26802977', '1383520550', '0.045168916338213475', None, None, None, None, '3713887'), ('4302', '26802977', '1383520548', '0.045168916338213475', None, None, None, None, '3713887'), ('4302', '26802977', '1383520542', '0.045168916338213475', None, None, None, None, '3713887'), ('4302', '26802977', '1383520538', '0.045168916338213475', None, None, None, None, '3713887'), ('4302', '26802977', '1383520534', '0.045168916338213475', None, None, None, None, '3713887'), ('4302', '26802977', '1383520530', '0.045168916338213475', None, None, None, None, '3713887'), ('4302', '26802977', '1383520526', '0.045168916338213475', None, None, None, None, '3713887'), ('4302', '26802977', '1383520524', '0.045168916338213475', None, None, None, None, '3713887'), ('4302', '26802977', '1383520505', '0.045168916338213475', None, None, None, None, '3713887'), ('4302', '26802977', '1383520501', '0.045168916338213475', None, None, None, None, '3713887'), ('4302', '26802977', '1383520497', '0.045168916338213475', None, None, None, None, '3713887'), ('4302', '26802977', '1383520495', '0.045168916338213475', None, None, None, None, '3713887'), ('4302', '26802977', '1383520494', '0.045168916338213475', None, None, None, None, '3713887')] time used for this insertion : 0.016499996185302734 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06571817398071289 time spend to save output : 0.017184734344482422 total time spend for step 2 : 0.08290290832519531 step3:velours_tree Fri Sep 12 18:36:32 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 : {26802977: [{'autre_refus': 26802996, 'metal': 26802997, 'Teint_Dans_La_Masse': 26802998, 'cartonnette': 26802999, 'mal_croppe': 26803000, 'Carton_brun': 26803001, 'papier': 26803002, 'kraft': 26803003, 'plastique': 26803004, 'flou': 26803005, 'Carton_gris': 26803006, 'environnement': 26803007}]} input_args_next_step : {26802977: ()} output_args : {26802977: [{'autre_refus': 26802996, 'metal': 26802997, 'Teint_Dans_La_Masse': 26802998, 'cartonnette': 26802999, 'mal_croppe': 26803000, 'Carton_brun': 26803001, 'papier': 26803002, 'kraft': 26803003, 'plastique': 26803004, 'flou': 26803005, 'Carton_gris': 26803006, 'environnement': 26803007}]} args : 26802977 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 : ({'autre_refus': 26802996, 'metal': 26802997, 'Teint_Dans_La_Masse': 26802998, 'cartonnette': 26802999, 'mal_croppe': 26803000, 'Carton_brun': 26803001, 'papier': 26803002, 'kraft': 26803003, 'plastique': 26803004, 'flou': 26803005, 'Carton_gris': 26803006, 'environnement': 26803007},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26802977) 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([26802977]) 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.36505722999572754 time spend to save output : 4.482269287109375e-05 total time spend for step 3 : 0.36510205268859863 step4:send_mail_cod Fri Sep 12 18:36:32 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 : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ('0.045168916338213475',), 1383520526: ('0.045168916338213475',), 1383520524: ('0.045168916338213475',), 1383520505: ('0.045168916338213475',), 1383520501: ('0.045168916338213475',), 1383520497: ('0.045168916338213475',), 1383520495: ('0.045168916338213475',), 1383520494: ('0.045168916338213475',)} input_args_next_step : {1383520563: ()} output_args : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ('0.045168916338213475',), 1383520526: ('0.045168916338213475',), 1383520524: ('0.045168916338213475',), 1383520505: ('0.045168916338213475',), 1383520501: ('0.045168916338213475',), 1383520497: ('0.045168916338213475',), 1383520495: ('0.045168916338213475',), 1383520494: ('0.045168916338213475',)} args : 1383520563 depend.output_id : 0 input_args_next_step : {1383520563: ('0.045168916338213475',), 1383520552: ()} output_args : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ('0.045168916338213475',), 1383520526: ('0.045168916338213475',), 1383520524: ('0.045168916338213475',), 1383520505: ('0.045168916338213475',), 1383520501: ('0.045168916338213475',), 1383520497: ('0.045168916338213475',), 1383520495: ('0.045168916338213475',), 1383520494: ('0.045168916338213475',)} args : 1383520552 depend.output_id : 0 input_args_next_step : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ()} output_args : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ('0.045168916338213475',), 1383520526: ('0.045168916338213475',), 1383520524: ('0.045168916338213475',), 1383520505: ('0.045168916338213475',), 1383520501: ('0.045168916338213475',), 1383520497: ('0.045168916338213475',), 1383520495: ('0.045168916338213475',), 1383520494: ('0.045168916338213475',)} args : 1383520550 depend.output_id : 0 input_args_next_step : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ()} output_args : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ('0.045168916338213475',), 1383520526: ('0.045168916338213475',), 1383520524: ('0.045168916338213475',), 1383520505: ('0.045168916338213475',), 1383520501: ('0.045168916338213475',), 1383520497: ('0.045168916338213475',), 1383520495: ('0.045168916338213475',), 1383520494: ('0.045168916338213475',)} args : 1383520548 depend.output_id : 0 input_args_next_step : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ()} output_args : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ('0.045168916338213475',), 1383520526: ('0.045168916338213475',), 1383520524: ('0.045168916338213475',), 1383520505: ('0.045168916338213475',), 1383520501: ('0.045168916338213475',), 1383520497: ('0.045168916338213475',), 1383520495: ('0.045168916338213475',), 1383520494: ('0.045168916338213475',)} args : 1383520542 depend.output_id : 0 input_args_next_step : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ()} output_args : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ('0.045168916338213475',), 1383520526: ('0.045168916338213475',), 1383520524: ('0.045168916338213475',), 1383520505: ('0.045168916338213475',), 1383520501: ('0.045168916338213475',), 1383520497: ('0.045168916338213475',), 1383520495: ('0.045168916338213475',), 1383520494: ('0.045168916338213475',)} args : 1383520538 depend.output_id : 0 input_args_next_step : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ()} output_args : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ('0.045168916338213475',), 1383520526: ('0.045168916338213475',), 1383520524: ('0.045168916338213475',), 1383520505: ('0.045168916338213475',), 1383520501: ('0.045168916338213475',), 1383520497: ('0.045168916338213475',), 1383520495: ('0.045168916338213475',), 1383520494: ('0.045168916338213475',)} args : 1383520534 depend.output_id : 0 input_args_next_step : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ()} output_args : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ('0.045168916338213475',), 1383520526: ('0.045168916338213475',), 1383520524: ('0.045168916338213475',), 1383520505: ('0.045168916338213475',), 1383520501: ('0.045168916338213475',), 1383520497: ('0.045168916338213475',), 1383520495: ('0.045168916338213475',), 1383520494: ('0.045168916338213475',)} args : 1383520530 depend.output_id : 0 input_args_next_step : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ('0.045168916338213475',), 1383520526: ()} output_args : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ('0.045168916338213475',), 1383520526: ('0.045168916338213475',), 1383520524: ('0.045168916338213475',), 1383520505: ('0.045168916338213475',), 1383520501: ('0.045168916338213475',), 1383520497: ('0.045168916338213475',), 1383520495: ('0.045168916338213475',), 1383520494: ('0.045168916338213475',)} args : 1383520526 depend.output_id : 0 input_args_next_step : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ('0.045168916338213475',), 1383520526: ('0.045168916338213475',), 1383520524: ()} output_args : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ('0.045168916338213475',), 1383520526: ('0.045168916338213475',), 1383520524: ('0.045168916338213475',), 1383520505: ('0.045168916338213475',), 1383520501: ('0.045168916338213475',), 1383520497: ('0.045168916338213475',), 1383520495: ('0.045168916338213475',), 1383520494: ('0.045168916338213475',)} args : 1383520524 depend.output_id : 0 input_args_next_step : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ('0.045168916338213475',), 1383520526: ('0.045168916338213475',), 1383520524: ('0.045168916338213475',), 1383520505: ()} output_args : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ('0.045168916338213475',), 1383520526: ('0.045168916338213475',), 1383520524: ('0.045168916338213475',), 1383520505: ('0.045168916338213475',), 1383520501: ('0.045168916338213475',), 1383520497: ('0.045168916338213475',), 1383520495: ('0.045168916338213475',), 1383520494: ('0.045168916338213475',)} args : 1383520505 depend.output_id : 0 input_args_next_step : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ('0.045168916338213475',), 1383520526: ('0.045168916338213475',), 1383520524: ('0.045168916338213475',), 1383520505: ('0.045168916338213475',), 1383520501: ()} output_args : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ('0.045168916338213475',), 1383520526: ('0.045168916338213475',), 1383520524: ('0.045168916338213475',), 1383520505: ('0.045168916338213475',), 1383520501: ('0.045168916338213475',), 1383520497: ('0.045168916338213475',), 1383520495: ('0.045168916338213475',), 1383520494: ('0.045168916338213475',)} args : 1383520501 depend.output_id : 0 input_args_next_step : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ('0.045168916338213475',), 1383520526: ('0.045168916338213475',), 1383520524: ('0.045168916338213475',), 1383520505: ('0.045168916338213475',), 1383520501: ('0.045168916338213475',), 1383520497: ()} output_args : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ('0.045168916338213475',), 1383520526: ('0.045168916338213475',), 1383520524: ('0.045168916338213475',), 1383520505: ('0.045168916338213475',), 1383520501: ('0.045168916338213475',), 1383520497: ('0.045168916338213475',), 1383520495: ('0.045168916338213475',), 1383520494: ('0.045168916338213475',)} args : 1383520497 depend.output_id : 0 input_args_next_step : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ('0.045168916338213475',), 1383520526: ('0.045168916338213475',), 1383520524: ('0.045168916338213475',), 1383520505: ('0.045168916338213475',), 1383520501: ('0.045168916338213475',), 1383520497: ('0.045168916338213475',), 1383520495: ()} output_args : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ('0.045168916338213475',), 1383520526: ('0.045168916338213475',), 1383520524: ('0.045168916338213475',), 1383520505: ('0.045168916338213475',), 1383520501: ('0.045168916338213475',), 1383520497: ('0.045168916338213475',), 1383520495: ('0.045168916338213475',), 1383520494: ('0.045168916338213475',)} args : 1383520495 depend.output_id : 0 input_args_next_step : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ('0.045168916338213475',), 1383520526: ('0.045168916338213475',), 1383520524: ('0.045168916338213475',), 1383520505: ('0.045168916338213475',), 1383520501: ('0.045168916338213475',), 1383520497: ('0.045168916338213475',), 1383520495: ('0.045168916338213475',), 1383520494: ()} output_args : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ('0.045168916338213475',), 1383520526: ('0.045168916338213475',), 1383520524: ('0.045168916338213475',), 1383520505: ('0.045168916338213475',), 1383520501: ('0.045168916338213475',), 1383520497: ('0.045168916338213475',), 1383520495: ('0.045168916338213475',), 1383520494: ('0.045168916338213475',)} args : 1383520494 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 : {26802977: [{'autre_refus': 26802996, 'metal': 26802997, 'Teint_Dans_La_Masse': 26802998, 'cartonnette': 26802999, 'mal_croppe': 26803000, 'Carton_brun': 26803001, 'papier': 26803002, 'kraft': 26803003, 'plastique': 26803004, 'flou': 26803005, 'Carton_gris': 26803006, 'environnement': 26803007}]} input_args_next_step : {1383520563: ('0.045168916338213475',), 1383520552: ('0.045168916338213475',), 1383520550: ('0.045168916338213475',), 1383520548: ('0.045168916338213475',), 1383520542: ('0.045168916338213475',), 1383520538: ('0.045168916338213475',), 1383520534: ('0.045168916338213475',), 1383520530: ('0.045168916338213475',), 1383520526: ('0.045168916338213475',), 1383520524: ('0.045168916338213475',), 1383520505: ('0.045168916338213475',), 1383520501: ('0.045168916338213475',), 1383520497: ('0.045168916338213475',), 1383520495: ('0.045168916338213475',), 1383520494: ('0.045168916338213475',), 26802977: ()} output_args : {26802977: [{'autre_refus': 26802996, 'metal': 26802997, 'Teint_Dans_La_Masse': 26802998, 'cartonnette': 26802999, 'mal_croppe': 26803000, 'Carton_brun': 26803001, 'papier': 26803002, 'kraft': 26803003, 'plastique': 26803004, 'flou': 26803005, 'Carton_gris': 26803006, 'environnement': 26803007}]} args : 26802977 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 :16, first value : ('0.045168916338213475',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26802977) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1383520563,1383520552,1383520550,1383520548,1383520542,1383520538,1383520534,1383520530,1383520526,1383520524,1383520505,1383520501,1383520497,1383520495,1383520494) Found this number of photos: 15 ##### Call download_photos : nb_thread : 5 begin to download photo : 1383520494 begin to download photo : 1383520505 begin to download photo : 1383520534 begin to download photo : 1383520550 download finish for photo 1383520494 begin to download photo : 1383520495 download finish for photo 1383520550 begin to download photo : 1383520552 download finish for photo 1383520534 begin to download photo : 1383520538 download finish for photo 1383520505 begin to download photo : 1383520524 download finish for photo 1383520495 begin to download photo : 1383520497 download finish for photo 1383520552 begin to download photo : 1383520563 download finish for photo 1383520538 begin to download photo : 1383520542 download finish for photo 1383520524 begin to download photo : 1383520526 download finish for photo 1383520542 begin to download photo : 1383520548 download finish for photo 1383520563 download finish for photo 1383520497 begin to download photo : 1383520501 download finish for photo 1383520526 begin to download photo : 1383520530 download finish for photo 1383520548 download finish for photo 1383520501 download finish for photo 1383520530 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 : 15 ; length of list_pids : 15 ; length of list_args : 15 results_Auto_P26802977_12-09-2025_18_36_33.pdf 26802996 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26802996 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1383520485: '1757694805_2353384_1383520368_0bc396d50e863cd63c1ca7e9d165f33e_rle_crop_3957200555_0.png'} change filename to text .imagette268029961757694993/ imagette268029961757694993/1757694805_2353384_1383520368_0bc396d50e863cd63c1ca7e9d165f33e_rle_crop_3957200555_0.png.png imagette268029971757694993/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/0234a23f90dcca0f573d1d1f54e5aa7b_30339808.png imagette268029961757694993 26802997 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26802997 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette268029971757694993 26802999 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26802999 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1383520559: '1757694925_2358662_1383520458_d68f4e30ff94efe9c5544e727f584196_rle_crop_3957201181_0.png', 1383520560: '1757694925_2358662_1383520458_d68f4e30ff94efe9c5544e727f584196_rle_crop_3957201182_0.png', 1383520561: '1757694925_2358662_1383520453_a043652b2cb3a5365d4ae68a7d8fb09b_rle_crop_3957201194_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/f7de00151d7e41b3e651e2cb0f4cef77_86890741.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/5c3594d78fca4799e713466e1403ee97_9395524.png change filename to text .imagette268029991757694993/ imagette268029991757694993/1757694925_2358662_1383520453_a043652b2cb3a5365d4ae68a7d8fb09b_rle_crop_3957201194_0.png.png imagette268029991757694993/1757694925_2358662_1383520458_d68f4e30ff94efe9c5544e727f584196_rle_crop_3957201182_0.png.png imagette268029991757694993/1757694925_2358662_1383520458_d68f4e30ff94efe9c5544e727f584196_rle_crop_3957201181_0.png.png imagette268030001757694993/ imagette268030031757694993/ imagette268030041757694993/ imagette268030051757694993/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/5f5d453a8f3865b4801dea507b30ed86_20311217.png imagette268029991757694993 26803000 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26803000 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette268030001757694993 26803003 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26803003 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette268030031757694993 26803004 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26803004 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette268030041757694993 26803005 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26803005 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette268030051757694993 26802998 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26802998 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1383520482: '1757694805_2353384_1383520368_0bc396d50e863cd63c1ca7e9d165f33e_rle_crop_3957200553_0.png', 1383520553: '1757694925_2358662_1383520462_c0182a63ba3a724e64f7f839e6c0d07b_rle_crop_3957201165_0.png', 1383520554: '1757694925_2358662_1383520458_d68f4e30ff94efe9c5544e727f584196_rle_crop_3957201183_0.png', 1383520555: '1757694925_2358662_1383520450_a584f3e878965e8884a34834a480df47_rle_crop_3957201207_0.png', 1383520556: '1757694925_2358662_1383520450_a584f3e878965e8884a34834a480df47_rle_crop_3957201208_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/e1a061081b4dd312bb12875e002e5141_60232232.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/8ef3f8a889852a20d3f6b15111d60fd5_37104947.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/3eb302a5c254ec6d1f055fccb7f01eef_96869461.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/a76674db61b305f9050b0679553cba1a_89649947.png change filename to text .imagette268029981757694993/ imagette268029981757694993/1757694925_2358662_1383520450_a584f3e878965e8884a34834a480df47_rle_crop_3957201208_0.png.png imagette268029981757694993/1757694925_2358662_1383520450_a584f3e878965e8884a34834a480df47_rle_crop_3957201207_0.png.png imagette268029981757694993/1757694925_2358662_1383520462_c0182a63ba3a724e64f7f839e6c0d07b_rle_crop_3957201165_0.png.png imagette268029981757694993/1757694925_2358662_1383520458_d68f4e30ff94efe9c5544e727f584196_rle_crop_3957201183_0.png.png imagette268029981757694993/1757694805_2353384_1383520368_0bc396d50e863cd63c1ca7e9d165f33e_rle_crop_3957200553_0.png.png imagette268030011757694994/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/9f7cc33d904b2d0d08bf005c3a7dfb2c_61722446.png imagette268029981757694993 26803001 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26803001 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette268030011757694994 26803006 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26803006 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1383520486: '1757694805_2353384_1383520369_147e8c48d8c2355e30df07cc84c45ee6_rle_crop_3957200545_0.png', 1383520558: '1757694925_2358662_1383520449_6a93fb8c7d26c57c4479e43aab93b428_rle_crop_3957201219_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/b35d2245ea0afe90b69b0c892fe47afa_41339190.png change filename to text .imagette268030061757694994/ imagette268030061757694994/1757694805_2353384_1383520369_147e8c48d8c2355e30df07cc84c45ee6_rle_crop_3957200545_0.png.png imagette268030061757694994/1757694925_2358662_1383520449_6a93fb8c7d26c57c4479e43aab93b428_rle_crop_3957201219_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/0e618df41737284ab9fbae07d6e58752_62734068.png imagette268030061757694994 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26802977 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26803009,26803010,26803011,26803012,26803013,26803014,26803015,26803016,26803017,26803018,26803019,26803020?tags=autre_refus,metal,Teint_Dans_La_Masse,cartonnette,mal_croppe,Carton_brun,papier,kraft,plastique,flou,Carton_gris,environnement your option no_mail is active, we will not send the real mail to your client args[1383520563] : ('0.045168916338213475',) no score found for photo 1383520563 We are sending mail with results at report@fotonower.com args[1383520552] : ('0.045168916338213475',) no score found for photo 1383520552 We are sending mail with results at report@fotonower.com args[1383520550] : ('0.045168916338213475',) no score found for photo 1383520550 We are sending mail with results at report@fotonower.com args[1383520548] : ('0.045168916338213475',) no score found for photo 1383520548 We are sending mail with results at report@fotonower.com args[1383520542] : ('0.045168916338213475',) no score found for photo 1383520542 We are sending mail with results at report@fotonower.com args[1383520538] : ('0.045168916338213475',) no score found for photo 1383520538 We are sending mail with results at report@fotonower.com args[1383520534] : ('0.045168916338213475',) no score found for photo 1383520534 We are sending mail with results at report@fotonower.com args[1383520530] : ('0.045168916338213475',) no score found for photo 1383520530 We are sending mail with results at report@fotonower.com args[1383520526] : ('0.045168916338213475',) no score found for photo 1383520526 We are sending mail with results at report@fotonower.com args[1383520524] : ('0.045168916338213475',) no score found for photo 1383520524 We are sending mail with results at report@fotonower.com args[1383520505] : ('0.045168916338213475',) no score found for photo 1383520505 We are sending mail with results at report@fotonower.com args[1383520501] : ('0.045168916338213475',) no score found for photo 1383520501 We are sending mail with results at report@fotonower.com args[1383520497] : ('0.045168916338213475',) no score found for photo 1383520497 We are sending mail with results at report@fotonower.com args[1383520495] : ('0.045168916338213475',) no score found for photo 1383520495 We are sending mail with results at report@fotonower.com args[1383520494] : ('0.045168916338213475',) no score found for photo 1383520494 We are sending mail with results at report@fotonower.com refus_total : 0.045168916338213475 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26802977 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_P26802977_12-09-2025_18_36_33.pdf results_Auto_P26802977_12-09-2025_18_36_33.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26802977_12-09-2025_18_36_33.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','26802977','results_Auto_P26802977_12-09-2025_18_36_33.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26802977_12-09-2025_18_36_33.pdf','pdf','','0.17','0.045168916338213475') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26802977]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1383520563, 1383520552, 1383520550, 1383520548, 1383520542, 1383520538, 1383520534, 1383520530, 1383520526, 1383520524, 1383520505, 1383520501, 1383520497, 1383520495, 1383520494] map_info['map_portfolio_photo'] : {26802977: [1383520563, 1383520552, 1383520550, 1383520548, 1383520542, 1383520538, 1383520534, 1383520530, 1383520526, 1383520524, 1383520505, 1383520501, 1383520497, 1383520495, 1383520494, 1383520489, 1383520488, 1383520483, 1383520480, 1383520466, 1383520462, 1383520458, 1383520453, 1383520450, 1383520449, 1383520372, 1383520370, 1383520369, 1383520368, 1383520256, 1383520252, 1383520226, 1383520211, 1383520207]} final : False mtd_id 4302 list_pids : [1383520563, 1383520552, 1383520550, 1383520548, 1383520542, 1383520538, 1383520534, 1383520530, 1383520526, 1383520524, 1383520505, 1383520501, 1383520497, 1383520495, 1383520494] 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, '3713887') ('4302', '26802977', '1383520563', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520552', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520550', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520548', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520542', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520538', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520534', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520530', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520526', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520524', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520505', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520501', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520497', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520495', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520494', None, None, None, None, None, '3713887') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 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', '26802977', '1383520563', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520552', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520550', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520548', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520542', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520538', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520534', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520530', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520526', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520524', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520505', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520501', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520497', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520495', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520494', None, None, None, None, None, '3713887')] time used for this insertion : 0.014734983444213867 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.082937717437744 time spend to save output : 0.015074014663696289 total time spend for step 4 : 3.0980117321014404 step5:split_time_score Fri Sep 12 18:36:35 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 : ['26802977'] 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 : [('26802977',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26802977) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1383520550: {'path': 'temp/1757694992_3493622_1383520550_8eb034eae9c71141d59844a32732eb9e.jpg', 'extension': 'jpg'}, 1383520552: {'path': 'temp/1757694992_3493622_1383520552_a2883ae4e01b1234c9d0b387c72d8ec8.jpg', 'extension': 'jpg'}, 1383520563: {'path': 'temp/1757694992_3493622_1383520563_85e5c4d2a353e78407099673ef5c58c5.jpg', 'extension': 'jpg'}, 1383520534: {'path': 'temp/1757694992_3493622_1383520534_9af4cdd982e62e3da7ffe44bfdcac68c.jpg', 'extension': 'jpg'}, 1383520538: {'path': 'temp/1757694992_3493622_1383520538_351248bde75a82285da5550ee685e4d6.jpg', 'extension': 'jpg'}, 1383520542: {'path': 'temp/1757694992_3493622_1383520542_4d0c146b1167b06d1062bdc4b3d7d05c.jpg', 'extension': 'jpg'}, 1383520548: {'path': 'temp/1757694992_3493622_1383520548_d1cd7143ec90df31956e736f8569a0dd.jpg', 'extension': 'jpg'}, 1383520494: {'path': 'temp/1757694992_3493622_1383520494_1243d03a77c5bc05c8f3971ad5a45f17.jpg', 'extension': 'jpg'}, 1383520495: {'path': 'temp/1757694992_3493622_1383520495_cbeb89451ce3354a53e6b85224b8d370.jpg', 'extension': 'jpg'}, 1383520497: {'path': 'temp/1757694992_3493622_1383520497_14c030fb269761cb94d30518771e7c1d.jpg', 'extension': 'jpg'}, 1383520501: {'path': 'temp/1757694992_3493622_1383520501_743e3300cb57d9c6bf219e46482dc3cd.jpg', 'extension': 'jpg'}, 1383520505: {'path': 'temp/1757694992_3493622_1383520505_52dd9fa6c4f5d201828879326cc7a4d7.jpg', 'extension': 'jpg'}, 1383520524: {'path': 'temp/1757694992_3493622_1383520524_ff8508af414cdc17270a2d1691274a1a.jpg', 'extension': 'jpg'}, 1383520526: {'path': 'temp/1757694992_3493622_1383520526_0b4b00578ce89ca38f16842b9ee63fe0.jpg', 'extension': 'jpg'}, 1383520530: {'path': 'temp/1757694992_3493622_1383520530_7654bc67433aac0fcf6f3a4dd49437fc.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 = 26802977; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 26802977 group by h (('18', 34),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26802977 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 (26802977) 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 (26802977) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 12092025 26802977 Nombre de photos uploadées : 34 / 23040 (0%) 12092025 26802977 Nombre de photos taguées (types de déchets): 0 / 34 (0%) 12092025 26802977 Nombre de photos taguées (volume) : 0 / 34 (0%) [{'photo_id': 1383520256, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/d75035159a260d8e3b7c5688fee4a1a6.jpg', 'username': None, 'uploaded_at': 1757694668, 'text': 'image_12092025_18_30_04_10158.jpg'}, {'photo_id': 1383520252, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/77498ffea34a3041b539d0194e212db6.jpg', 'username': None, 'uploaded_at': 1757694668, 'text': 'image_12092025_18_30_14_10136.jpg'}, {'photo_id': 1383520226, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/6448cbee6e881dd4731225e0b94e6090.jpg', 'username': None, 'uploaded_at': 1757694668, 'text': 'image_12092025_18_30_23_9129.jpg'}, {'photo_id': 1383520211, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/12/cd73274a2dea2134c0745dd87c9a3139.jpg', 'username': None, 'uploaded_at': 1757694668, 'text': 'image_12092025_18_30_33_10146.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 1.0251998901367188e-05 ?????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0027997493743896484 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26802977, '2025-09-12' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-09-12' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2276429,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.22391057014465332 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps SELECT dri.dashboard_entry_day, dr.dashboard_run_id, dr.mtr_portfolio_id, dr.id, dr.hashtag, dr.completion_json FROM MTRPhoto.dashboard_results dr, MTRPhoto.dashboard_run_ids dri, MTRPhoto.dashboard_entry_day ded WHERE ded.id= 2276429 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26769794, 'dashboard_result_id': 15094348, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26769794_12-09-2025_00_17_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26769809, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26769810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26769811, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26769812, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26769813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26769814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26769815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26769816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26769817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26769818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26769819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26769820, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26769970, 'dashboard_result_id': 15094349, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26769970_12-09-2025_00_33_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26769979, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26769980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26769981, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26769982, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26769983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26769984, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26769985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26769986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26769987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26769988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26769989, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26769990, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26770154, 'dashboard_result_id': 15094350, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26770154_12-09-2025_00_49_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26770173, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26770176, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26770178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26770180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26770181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26770182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26770183, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26770184, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26770185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26770186, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26770187, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26770188, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26770454, 'dashboard_result_id': 15094351, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26770454_12-09-2025_01_33_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26770476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26770477, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26770478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26770479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26770480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26770481, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26770482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26770483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26770484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26770485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26770486, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26770487, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26771445, 'dashboard_result_id': 15094352, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26771445_12-09-2025_01_47_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26771452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26771453, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26771454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26771455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26771456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26771457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26771458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26771459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26771460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26771461, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26771462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26771463, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26771671, 'dashboard_result_id': 15094353, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26771671_12-09-2025_02_03_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26771683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26771684, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26771685, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26771686, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26771687, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26771688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26771689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26771690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26771691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26771692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26771693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26771694, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26771908, 'dashboard_result_id': 15094354, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26771908_12-09-2025_02_21_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26771925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26771927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26771928, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26771929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26771930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26771931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26771932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26771933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26771934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26771935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26771936, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26771937, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26772224, 'dashboard_result_id': 15094355, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26772224_12-09-2025_02_34_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26772242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26772243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26772244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26772245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26772246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26772247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26772249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26772250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26772251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26772252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26772253, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26772254, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26772605, 'dashboard_result_id': 15094356, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26772605_12-09-2025_02_47_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26772643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26772644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26772645, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26772646, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26772647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26772648, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26772649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26772650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26772651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26772652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26772653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26772654, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26773115, 'dashboard_result_id': 15094357, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26773115_12-09-2025_03_02_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26773140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26773141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26773142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26773143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26773144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26773145, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26773146, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26773148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26773149, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26773150, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26773151, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26773152, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26773547, 'dashboard_result_id': 15094358, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26773547_12-09-2025_03_17_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26773591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26773592, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26773593, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26773594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26773595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26773596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26773597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26773598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26773599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26773600, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26773601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26773602, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26773878, 'dashboard_result_id': 15094359, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26773878_12-09-2025_03_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26773898, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26773899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26773900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26773901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26773902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26773903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26773904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26773905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26773906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26773907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26773908, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26773909, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26774340, 'dashboard_result_id': 15094360, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26774340_12-09-2025_03_47_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26774463, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26774464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26774465, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26774466, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26774467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26774468, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26774469, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26774470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26774471, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26774472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26774473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26774474, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26774756, 'dashboard_result_id': 15094361, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26774756_12-09-2025_04_03_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26774767, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26774768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26774769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26774770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26774771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26774772, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26774773, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26774774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26774775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26774776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26774777, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26774778, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26775013, 'dashboard_result_id': 15094362, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26775013_12-09-2025_04_25_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26775036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26775037, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26775038, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26775039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26775040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26775041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26775042, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26775043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26775044, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26775045, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26775046, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26775047, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26776010, 'dashboard_result_id': 15094363, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26776010_12-09-2025_05_23_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26776014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26776015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26776016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26776017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26776018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26776019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26776020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26776021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26776022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26776023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26776024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26776025, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26776254, 'dashboard_result_id': 15094364, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26776254_12-09-2025_05_34_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26776261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26776262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26776263, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26776264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26776265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26776266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26776267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26776268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26776269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26776270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26776271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26776272, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26776334, 'dashboard_result_id': 15094365, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26776334_12-09-2025_05_47_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26776356, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26776357, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26776358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26776359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26776360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26776361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26776362, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26776363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26776364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26776365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26776366, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26776367, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26776641, 'dashboard_result_id': 15094366, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26776641_12-09-2025_06_07_27.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26776646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26776647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26776648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26776649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26776650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26776651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26776652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26776653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26776655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26776656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26776657, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26776658, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26777142, 'dashboard_result_id': 15094367, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26777142_12-09-2025_06_17_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26777152, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26777153, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26777154, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26777155, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26777156, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26777157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26777158, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26777159, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26777160, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26777161, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26777162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26777164, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26777304, 'dashboard_result_id': 15094368, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26777304_12-09-2025_06_34_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26777309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26777310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26777311, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26777312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26777313, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26777314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26777315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26777316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26777317, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26777318, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26777319, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26777320, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26777851, 'dashboard_result_id': 15094369, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26777851_12-09-2025_06_49_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26777872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26777873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26777874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26777875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26777876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26777877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26777878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26777879, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26777880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26777881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26777882, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26777883, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26778063, 'dashboard_result_id': 15094370, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26778063_12-09-2025_07_11_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26778074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26778075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26778076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26778077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26778078, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26778079, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26778080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26778081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26778082, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26778083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26778084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26778085, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26778501, 'dashboard_result_id': 15094371, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26778501_12-09-2025_07_16_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26778733, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26778734, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26778735, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26778736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26778737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26778738, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26778739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26778740, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26778741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26778742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26778743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26778744, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26778906, 'dashboard_result_id': 15094372, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26778906_12-09-2025_07_36_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26778949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26778950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26778951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26778952, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26778953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26778954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26778955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26778956, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26778957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26778958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26778959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26778960, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26779351, 'dashboard_result_id': 15094373, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26779351_12-09-2025_07_54_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26779363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26779364, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26779365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26779366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26779367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26779368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26779369, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26779370, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26779371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26779372, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26779373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26779374, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26779799, 'dashboard_result_id': 15094374, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26779799_12-09-2025_08_06_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26779821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26779822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26779823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26779824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26779825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26779826, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26779827, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26779828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26779829, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26779830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26779831, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26779832, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26780037, 'dashboard_result_id': 15094375, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26780037_12-09-2025_08_17_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26780066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26780067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26780068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26780069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26780070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26780071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26780072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26780073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26780074, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26780075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26780076, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26780077, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26780421, 'dashboard_result_id': 15094376, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26780421_12-09-2025_08_39_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26780432, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26780433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26780434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26780435, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26780436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26780437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26780438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26780439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26780440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26780441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26780442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26780443, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26780889, 'dashboard_result_id': 15094377, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26780889_12-09-2025_08_49_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26780900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26780901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26780902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26780903, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26780904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26780905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26780906, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26780907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26780908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26780909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26780910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26780912, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26781097, 'dashboard_result_id': 15094378, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26781097_12-09-2025_11_01_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26781109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26781110, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26781111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26781112, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26781113, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26781114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26781115, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26781116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26781117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26781118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26781119, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26781120, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26781445, 'dashboard_result_id': 15094379, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26781445_12-09-2025_09_48_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26781461, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26781462, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26781463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26781464, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26781465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26781466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26781467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26781468, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26781469, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26781470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26781471, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26781472, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26781588, 'dashboard_result_id': 15094380, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26781588_12-09-2025_10_02_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26781600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26781601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26781602, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26781603, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26781604, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26781605, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26781606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26781607, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26781608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26781609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26781610, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26781611, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26781923, 'dashboard_result_id': 15094381, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26781923_12-09-2025_10_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26781936, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26781937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26781938, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26781939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26781940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26781941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26781942, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26781943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26781945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26781946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26781947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26781948, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26782198, 'dashboard_result_id': 15094382, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26782198_12-09-2025_10_34_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26782223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26782224, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26782225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26782226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26782227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26782228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26782229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26782230, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26782231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26782232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26782233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26782234, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26782512, 'dashboard_result_id': 15094383, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26782512_12-09-2025_10_47_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26782533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26782534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26782535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26782536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26782537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26782538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26782539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26782540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26782541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26782542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26782543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26782544, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26782878, 'dashboard_result_id': 15094384, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26782878_12-09-2025_11_03_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26782995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26782996, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26782997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26782998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26782999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26783000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26783001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26783002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26783003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26783004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26783005, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26783006, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26784153, 'dashboard_result_id': 15094385, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26784153_12-09-2025_11_31_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26784210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26784211, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26784212, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26784213, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26784214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26784215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26784216, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26784217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26784218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26784219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26784220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26784221, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26786071, 'dashboard_result_id': 15094386, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26786071_12-09-2025_11_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26786126, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26786127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26786128, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26786129, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26786130, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26786131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26786132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26786133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26786134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26786135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26786136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26786137, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26786240, 'dashboard_result_id': 15094387, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26786240_12-09-2025_11_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26786275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26786276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26786277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26786278, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26786279, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26786280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26786281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26786282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26786283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26786284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26786285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26786286, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26786893, 'dashboard_result_id': 15094388, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26786893_12-09-2025_12_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26786905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26786906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26786907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26786908, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26786909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26786910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26786911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26786912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26786913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26786914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26786915, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26786916, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26787654, 'dashboard_result_id': 15094389, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26787654_12-09-2025_12_21_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26787661, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26787662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26787663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26787664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26787665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26787666, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26787667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26787668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26787669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26787670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26787671, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26787672, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26791753, 'dashboard_result_id': 15094390, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26791753_12-09-2025_14_03_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26791756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26791757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26791758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26791759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26791760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26791761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26791762, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26791763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26791764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26791765, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26791766, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26791767, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26791938, 'dashboard_result_id': 15094391, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26791938_12-09-2025_14_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26791949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26791950, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26791951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26791952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26791953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26791954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26791955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26791956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26791957, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26791958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26791959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26791960, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26792456, 'dashboard_result_id': 15094392, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26792456_12-09-2025_14_33_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26792463, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26792464, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26792465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26792466, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26792467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26792468, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26792469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26792470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26792471, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26792472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26792473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26792474, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26792889, 'dashboard_result_id': 15094393, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26792889_12-09-2025_14_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26792926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26792927, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26792928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26792929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26792930, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26792931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26792932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26792933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26792934, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26792935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26792936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26792937, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26793443, 'dashboard_result_id': 15094394, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26793443_12-09-2025_15_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26793480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26793481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26793482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26793483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26793484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26793485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26793486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26793487, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26793488, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26793489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26793490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26793491, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26793948, 'dashboard_result_id': 15094395, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26793948_12-09-2025_15_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26794064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26794065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26794066, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26794067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26794068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26794069, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26794070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26794071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26794072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26794073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26794074, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26794075, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26794876, 'dashboard_result_id': 15094396, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26794876_12-09-2025_15_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26794919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26794920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26794921, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26794922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26794923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26794924, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26794925, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26794926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26794927, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26794928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26794929, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26794930, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26795626, 'dashboard_result_id': 15094397, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26795626_12-09-2025_15_47_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26795652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26795653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26795654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26795655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26795656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26795657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26795658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26795659, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26795660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26795661, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26795662, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26795663, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26796371, 'dashboard_result_id': 15094398, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26796371_12-09-2025_16_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26796377, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26796378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26796379, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26796380, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26796381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26796382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26796383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26796384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26796385, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26796386, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26796387, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26796388, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26796958, 'dashboard_result_id': 15094399, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26796989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26796991, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26796993, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26796995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26796998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26797000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26797003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26797005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26797008, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26797010, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26797011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26797012, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26797204, 'dashboard_result_id': 15094400, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26797204_12-09-2025_16_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26797215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26797216, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26797217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26797218, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26797219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26797220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26797221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26797222, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26797223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26797224, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26797225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26797226, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26797708, 'dashboard_result_id': 15094401, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26797708_12-09-2025_16_46_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26797736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26797737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26797738, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26797739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26797740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26797741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26797742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26797743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26797744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26797745, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26797746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26797747, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26798546, 'dashboard_result_id': 15094402, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26798546_12-09-2025_17_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26798600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26798601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26798603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26798604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26798605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26798606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26798607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26798608, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26798609, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26798610, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26798611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26798612, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26799245, 'dashboard_result_id': 15094403, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26799245_12-09-2025_17_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26799319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26799320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26799321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26799322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26799323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26799324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26799325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26799326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26799327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26799328, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26799329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26799330, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26800267, 'dashboard_result_id': 15094404, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26800267_12-09-2025_17_42_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26800279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26800280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26800281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26800282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26800283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26800284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26800285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26800286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26800288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26800289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26800290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26800291, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26802165, 'dashboard_result_id': 15094405, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26802165_12-09-2025_18_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26802196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26802197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26802198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26802199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26802200, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26802201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26802202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26802203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26802204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26802205, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26802206, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26802207, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26802608, 'dashboard_result_id': 15094406, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26802608_12-09-2025_18_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26802612, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26802613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26802614, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26802615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26802616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26802617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26802618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26802619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26802620, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26802621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26802622, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26802623, 'pht': 3726}}"}, {'dashboat_entry_day': 2276429, 'dashboard_run_id': 2286443, 'mtr_portfolio_id': 26802977, 'dashboard_result_id': 15094407, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26802977_12-09-2025_18_34_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26802996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26802997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26802998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26802999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26803000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26803001, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26803002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26803003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26803004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26803005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26803006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26803007, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26769794 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26769794 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26769794 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26769794 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26769794 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26769794 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26769794_12-09-2025_00_17_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26769794 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26769794_12-09-2025_00_17_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26769809, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26769810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26769811, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26769812, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26769813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26769814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26769815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26769816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26769817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26769818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26769819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26769820, 'pht': 3726}}" where mtr_portfolio_id = 26769794 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26769970 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26769970 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26769970 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26769970 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26769970 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26769970 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26769970_12-09-2025_00_33_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26769970 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26769970_12-09-2025_00_33_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26769979, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26769980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26769981, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26769982, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26769983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26769984, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26769985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26769986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26769987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26769988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26769989, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26769990, 'pht': 3726}}" where mtr_portfolio_id = 26769970 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26770154 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26770154 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26770154 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26770154 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26770154 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26770154 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26770154_12-09-2025_00_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26770154 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26770154_12-09-2025_00_49_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26770173, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26770176, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26770178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26770180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26770181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26770182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26770183, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26770184, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26770185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26770186, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26770187, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26770188, 'pht': 3726}}" where mtr_portfolio_id = 26770154 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26770454 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26770454 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26770454 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26770454 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26770454 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26770454 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26770454_12-09-2025_01_33_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26770454 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26770454_12-09-2025_01_33_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26770476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26770477, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26770478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26770479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26770480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26770481, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26770482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26770483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26770484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26770485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26770486, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26770487, 'pht': 3726}}" where mtr_portfolio_id = 26770454 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26771445 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26771445 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26771445 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26771445 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26771445 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26771445 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26771445_12-09-2025_01_47_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26771445 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26771445_12-09-2025_01_47_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26771452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26771453, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26771454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26771455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26771456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26771457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26771458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26771459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26771460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26771461, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26771462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26771463, 'pht': 3726}}" where mtr_portfolio_id = 26771445 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26771671 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26771671 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26771671 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26771671 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26771671 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26771671 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26771671_12-09-2025_02_03_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26771671 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26771671_12-09-2025_02_03_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26771683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26771684, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26771685, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26771686, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26771687, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26771688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26771689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26771690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26771691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26771692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26771693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26771694, 'pht': 3726}}" where mtr_portfolio_id = 26771671 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26771908 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26771908 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26771908 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26771908 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26771908 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26771908 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26771908_12-09-2025_02_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26771908 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26771908_12-09-2025_02_21_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26771925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26771927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26771928, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26771929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26771930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26771931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26771932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26771933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26771934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26771935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26771936, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26771937, 'pht': 3726}}" where mtr_portfolio_id = 26771908 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26772224 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26772224 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26772224 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26772224 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26772224 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26772224 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26772224_12-09-2025_02_34_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26772224 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26772224_12-09-2025_02_34_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26772242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26772243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26772244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26772245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26772246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26772247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26772249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26772250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26772251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26772252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26772253, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26772254, 'pht': 3726}}" where mtr_portfolio_id = 26772224 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26772605 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26772605 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26772605 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26772605 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26772605 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26772605 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26772605_12-09-2025_02_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26772605 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26772605_12-09-2025_02_47_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26772643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26772644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26772645, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26772646, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26772647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26772648, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26772649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26772650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26772651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26772652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26772653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26772654, 'pht': 3726}}" where mtr_portfolio_id = 26772605 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26773115 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26773115 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26773115 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26773115 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26773115 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26773115 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26773115_12-09-2025_03_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26773115 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26773115_12-09-2025_03_02_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26773140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26773141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26773142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26773143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26773144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26773145, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26773146, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26773148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26773149, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26773150, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26773151, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26773152, 'pht': 3726}}" where mtr_portfolio_id = 26773115 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26773547 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26773547 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26773547 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26773547 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26773547 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26773547 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26773547_12-09-2025_03_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26773547 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26773547_12-09-2025_03_17_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26773591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26773592, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26773593, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26773594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26773595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26773596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26773597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26773598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26773599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26773600, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26773601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26773602, 'pht': 3726}}" where mtr_portfolio_id = 26773547 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26773878 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26773878 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26773878 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26773878 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26773878 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26773878 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26773878_12-09-2025_03_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26773878 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26773878_12-09-2025_03_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26773898, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26773899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26773900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26773901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26773902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26773903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26773904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26773905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26773906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26773907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26773908, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26773909, 'pht': 3726}}" where mtr_portfolio_id = 26773878 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26774340 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26774340 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26774340 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26774340 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26774340 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26774340 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26774340_12-09-2025_03_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26774340 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26774340_12-09-2025_03_47_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26774463, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26774464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26774465, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26774466, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26774467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26774468, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26774469, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26774470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26774471, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26774472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26774473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26774474, 'pht': 3726}}" where mtr_portfolio_id = 26774340 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26774756 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26774756 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26774756 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26774756 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26774756 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26774756 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26774756_12-09-2025_04_03_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26774756 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26774756_12-09-2025_04_03_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26774767, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26774768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26774769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26774770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26774771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26774772, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26774773, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26774774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26774775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26774776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26774777, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26774778, 'pht': 3726}}" where mtr_portfolio_id = 26774756 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26775013 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26775013 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26775013 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26775013 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26775013 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26775013 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26775013_12-09-2025_04_25_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26775013 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26775013_12-09-2025_04_25_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26775036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26775037, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26775038, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26775039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26775040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26775041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26775042, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26775043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26775044, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26775045, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26775046, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26775047, 'pht': 3726}}" where mtr_portfolio_id = 26775013 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26776010 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26776010 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26776010 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26776010 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26776010 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26776010 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26776010_12-09-2025_05_23_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26776010 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26776010_12-09-2025_05_23_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26776014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26776015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26776016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26776017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26776018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26776019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26776020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26776021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26776022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26776023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26776024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26776025, 'pht': 3726}}" where mtr_portfolio_id = 26776010 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26776254 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26776254 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26776254 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26776254 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26776254 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26776254 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26776254_12-09-2025_05_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26776254 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26776254_12-09-2025_05_34_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26776261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26776262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26776263, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26776264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26776265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26776266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26776267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26776268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26776269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26776270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26776271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26776272, 'pht': 3726}}" where mtr_portfolio_id = 26776254 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26776334 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26776334 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26776334 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26776334 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26776334 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26776334 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26776334_12-09-2025_05_47_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26776334 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26776334_12-09-2025_05_47_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26776356, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26776357, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26776358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26776359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26776360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26776361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26776362, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26776363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26776364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26776365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26776366, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26776367, 'pht': 3726}}" where mtr_portfolio_id = 26776334 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26776641 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26776641 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26776641 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26776641 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26776641 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26776641 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26776641_12-09-2025_06_07_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26776641 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26776641_12-09-2025_06_07_27.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26776646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26776647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26776648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26776649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26776650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26776651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26776652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26776653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26776655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26776656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26776657, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26776658, 'pht': 3726}}" where mtr_portfolio_id = 26776641 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26777142 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26777142 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26777142 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26777142 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26777142 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26777142 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26777142_12-09-2025_06_17_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26777142 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26777142_12-09-2025_06_17_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26777152, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26777153, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26777154, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26777155, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26777156, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26777157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26777158, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26777159, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26777160, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26777161, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26777162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26777164, 'pht': 3726}}" where mtr_portfolio_id = 26777142 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26777304 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26777304 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26777304 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26777304 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26777304 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26777304 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26777304_12-09-2025_06_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26777304 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26777304_12-09-2025_06_34_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26777309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26777310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26777311, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26777312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26777313, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26777314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26777315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26777316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26777317, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26777318, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26777319, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26777320, 'pht': 3726}}" where mtr_portfolio_id = 26777304 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26777851 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26777851 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26777851 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26777851 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26777851 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26777851 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26777851_12-09-2025_06_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26777851 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26777851_12-09-2025_06_49_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26777872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26777873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26777874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26777875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26777876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26777877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26777878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26777879, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26777880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26777881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26777882, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26777883, 'pht': 3726}}" where mtr_portfolio_id = 26777851 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26778063 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26778063 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26778063 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26778063 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26778063 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26778063 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26778063_12-09-2025_07_11_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26778063 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26778063_12-09-2025_07_11_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26778074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26778075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26778076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26778077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26778078, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26778079, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26778080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26778081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26778082, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26778083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26778084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26778085, 'pht': 3726}}" where mtr_portfolio_id = 26778063 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26778501 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26778501 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26778501 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26778501 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26778501 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26778501 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26778501_12-09-2025_07_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26778501 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26778501_12-09-2025_07_16_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26778733, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26778734, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26778735, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26778736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26778737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26778738, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26778739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26778740, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26778741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26778742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26778743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26778744, 'pht': 3726}}" where mtr_portfolio_id = 26778501 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26778906 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26778906 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26778906 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26778906 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26778906 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26778906 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26778906_12-09-2025_07_36_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26778906 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26778906_12-09-2025_07_36_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26778949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26778950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26778951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26778952, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26778953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26778954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26778955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26778956, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26778957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26778958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26778959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26778960, 'pht': 3726}}" where mtr_portfolio_id = 26778906 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26779351 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26779351 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26779351 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26779351 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26779351 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26779351 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26779351_12-09-2025_07_54_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26779351 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26779351_12-09-2025_07_54_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26779363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26779364, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26779365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26779366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26779367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26779368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26779369, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26779370, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26779371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26779372, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26779373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26779374, 'pht': 3726}}" where mtr_portfolio_id = 26779351 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26779799 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26779799 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26779799 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26779799 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26779799 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26779799 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26779799_12-09-2025_08_06_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26779799 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26779799_12-09-2025_08_06_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26779821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26779822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26779823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26779824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26779825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26779826, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26779827, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26779828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26779829, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26779830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26779831, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26779832, 'pht': 3726}}" where mtr_portfolio_id = 26779799 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26780037 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26780037 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26780037 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26780037 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26780037 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26780037 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26780037_12-09-2025_08_17_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26780037 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26780037_12-09-2025_08_17_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26780066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26780067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26780068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26780069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26780070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26780071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26780072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26780073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26780074, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26780075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26780076, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26780077, 'pht': 3726}}" where mtr_portfolio_id = 26780037 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26780421 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26780421 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26780421 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26780421 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26780421 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26780421 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26780421_12-09-2025_08_39_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26780421 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26780421_12-09-2025_08_39_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26780432, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26780433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26780434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26780435, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26780436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26780437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26780438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26780439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26780440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26780441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26780442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26780443, 'pht': 3726}}" where mtr_portfolio_id = 26780421 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26780889 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26780889 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26780889 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26780889 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26780889 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26780889 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26780889_12-09-2025_08_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26780889 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26780889_12-09-2025_08_49_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26780900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26780901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26780902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26780903, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26780904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26780905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26780906, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26780907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26780908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26780909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26780910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26780912, 'pht': 3726}}" where mtr_portfolio_id = 26780889 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26781097 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26781097 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26781097 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26781097 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26781097 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26781097 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26781097_12-09-2025_11_01_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26781097 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26781097_12-09-2025_11_01_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26781109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26781110, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26781111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26781112, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26781113, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26781114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26781115, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26781116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26781117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26781118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26781119, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26781120, 'pht': 3726}}" where mtr_portfolio_id = 26781097 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26781445 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26781445 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26781445 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26781445 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26781445 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26781445 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26781445_12-09-2025_09_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26781445 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26781445_12-09-2025_09_48_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26781461, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26781462, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26781463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26781464, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26781465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26781466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26781467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26781468, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26781469, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26781470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26781471, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26781472, 'pht': 3726}}" where mtr_portfolio_id = 26781445 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26781588 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26781588 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26781588 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26781588 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26781588 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26781588 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26781588_12-09-2025_10_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26781588 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26781588_12-09-2025_10_02_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26781600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26781601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26781602, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26781603, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26781604, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26781605, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26781606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26781607, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26781608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26781609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26781610, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26781611, 'pht': 3726}}" where mtr_portfolio_id = 26781588 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26781923 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26781923 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26781923 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26781923 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26781923 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26781923 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26781923_12-09-2025_10_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26781923 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26781923_12-09-2025_10_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26781936, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26781937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26781938, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26781939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26781940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26781941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26781942, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26781943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26781945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26781946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26781947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26781948, 'pht': 3726}}" where mtr_portfolio_id = 26781923 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26782198 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26782198 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26782198 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26782198 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26782198 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26782198 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26782198_12-09-2025_10_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26782198 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26782198_12-09-2025_10_34_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26782223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26782224, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26782225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26782226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26782227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26782228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26782229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26782230, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26782231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26782232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26782233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26782234, 'pht': 3726}}" where mtr_portfolio_id = 26782198 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26782512 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3710131, 'mtr_portfolio_id': 26782512, 'created_at': datetime.datetime(2025, 9, 12, 10, 47), 'result': '0.04550892038235986', 'result_long': None, 'result_double': None}] Qualite : 0.04550892038235986 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26782512 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26782512_12-09-2025_10_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26782512 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26782512_12-09-2025_10_47_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26782533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26782534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26782535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26782536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26782537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26782538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26782539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26782540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26782541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26782542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26782543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26782544, 'pht': 3726}}" where mtr_portfolio_id = 26782512 and dashboard_run_id = 2286443 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26782512 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15094383, 0.04550892038235986, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26782512_12-09-2025_10_47_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26782533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26782534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26782535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26782536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26782537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26782538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26782539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26782540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26782541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26782542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26782543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26782544, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26782878 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3710356, 'mtr_portfolio_id': 26782878, 'created_at': datetime.datetime(2025, 9, 12, 11, 3, 6), 'result': '0.04280390246291466', 'result_long': None, 'result_double': None}] Qualite : 0.04280390246291466 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26782878 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26782878_12-09-2025_11_03_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26782878 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26782878_12-09-2025_11_03_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26782995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26782996, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26782997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26782998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26782999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26783000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26783001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26783002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26783003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26783004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26783005, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26783006, 'pht': 3726}}" where mtr_portfolio_id = 26782878 and dashboard_run_id = 2286443 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26782878 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15094384, 0.04280390246291466, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26782878_12-09-2025_11_03_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26782995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26782996, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26782997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26782998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26782999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26783000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26783001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26783002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26783003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26783004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26783005, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26783006, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26784153 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3710814, 'mtr_portfolio_id': 26784153, 'created_at': datetime.datetime(2025, 9, 12, 11, 31, 1), 'result': '0.05872399431381087', 'result_long': None, 'result_double': None}] Qualite : 0.05872399431381087 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26784153 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26784153_12-09-2025_11_31_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26784153 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26784153_12-09-2025_11_31_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26784210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26784211, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26784212, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26784213, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26784214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26784215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26784216, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26784217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26784218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26784219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26784220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26784221, 'pht': 3726}}" where mtr_portfolio_id = 26784153 and dashboard_run_id = 2286443 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26784153 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15094385, 0.05872399431381087, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26784153_12-09-2025_11_31_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26784210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26784211, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26784212, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26784213, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26784214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26784215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26784216, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26784217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26784218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26784219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26784220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26784221, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26786071 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3711181, 'mtr_portfolio_id': 26786071, 'created_at': datetime.datetime(2025, 9, 12, 11, 32, 59), 'result': '0.002880465029362209', 'result_long': None, 'result_double': None}] Qualite : 0.002880465029362209 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26786071 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26786071_12-09-2025_11_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26786071 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26786071_12-09-2025_11_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26786126, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26786127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26786128, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26786129, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26786130, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26786131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26786132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26786133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26786134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26786135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26786136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26786137, 'pht': 3726}}" where mtr_portfolio_id = 26786071 and dashboard_run_id = 2286443 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26786071 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15094386, 0.002880465029362209, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26786071_12-09-2025_11_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26786126, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26786127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26786128, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26786129, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26786130, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26786131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26786132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26786133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26786134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26786135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26786136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26786137, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26786240 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3711213, 'mtr_portfolio_id': 26786240, 'created_at': datetime.datetime(2025, 9, 12, 11, 46, 59), 'result': '0.07058522084205082', 'result_long': None, 'result_double': None}] Qualite : 0.07058522084205082 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26786240 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26786240_12-09-2025_11_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26786240 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26786240_12-09-2025_11_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26786275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26786276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26786277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26786278, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26786279, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26786280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26786281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26786282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26786283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26786284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26786285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26786286, 'pht': 3726}}" where mtr_portfolio_id = 26786240 and dashboard_run_id = 2286443 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26786240 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15094387, 0.07058522084205082, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26786240_12-09-2025_11_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26786275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26786276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26786277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26786278, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26786279, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26786280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26786281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26786282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26786283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26786284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26786285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26786286, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26786893 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3711286, 'mtr_portfolio_id': 26786893, 'created_at': datetime.datetime(2025, 9, 12, 12, 2, 59), 'result': '0.025402113569915712', 'result_long': None, 'result_double': None}] Qualite : 0.025402113569915712 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26786893 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26786893_12-09-2025_12_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26786893 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26786893_12-09-2025_12_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26786905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26786906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26786907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26786908, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26786909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26786910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26786911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26786912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26786913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26786914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26786915, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26786916, 'pht': 3726}}" where mtr_portfolio_id = 26786893 and dashboard_run_id = 2286443 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26786893 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15094388, 0.025402113569915712, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26786893_12-09-2025_12_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26786905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26786906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26786907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26786908, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26786909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26786910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26786911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26786912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26786913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26786914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26786915, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26786916, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26787654 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3711423, 'mtr_portfolio_id': 26787654, 'created_at': datetime.datetime(2025, 9, 12, 12, 20, 59), 'result': '0.04526879875142421', 'result_long': None, 'result_double': None}] Qualite : 0.04526879875142421 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26787654 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26787654_12-09-2025_12_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26787654 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26787654_12-09-2025_12_21_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26787661, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26787662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26787663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26787664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26787665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26787666, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26787667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26787668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26787669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26787670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26787671, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26787672, 'pht': 3726}}" where mtr_portfolio_id = 26787654 and dashboard_run_id = 2286443 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26787654 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15094389, 0.04526879875142421, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26787654_12-09-2025_12_21_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26787661, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26787662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26787663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26787664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26787665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26787666, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26787667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26787668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26787669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26787670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26787671, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26787672, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26791753 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3711670, 'mtr_portfolio_id': 26791753, 'created_at': datetime.datetime(2025, 9, 12, 14, 3, 28), 'result': '0.06240005408249316', 'result_long': None, 'result_double': None}] Qualite : 0.06240005408249316 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26791753 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26791753_12-09-2025_14_03_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26791753 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26791753_12-09-2025_14_03_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26791756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26791757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26791758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26791759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26791760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26791761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26791762, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26791763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26791764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26791765, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26791766, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26791767, 'pht': 3726}}" where mtr_portfolio_id = 26791753 and dashboard_run_id = 2286443 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26791753 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15094390, 0.06240005408249316, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26791753_12-09-2025_14_03_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26791756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26791757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26791758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26791759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26791760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26791761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26791762, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26791763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26791764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26791765, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26791766, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26791767, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26791938 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3711706, 'mtr_portfolio_id': 26791938, 'created_at': datetime.datetime(2025, 9, 12, 14, 18, 58), 'result': '0.05413085087180704', 'result_long': None, 'result_double': None}] Qualite : 0.05413085087180704 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26791938 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26791938_12-09-2025_14_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26791938 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26791938_12-09-2025_14_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26791949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26791950, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26791951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26791952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26791953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26791954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26791955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26791956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26791957, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26791958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26791959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26791960, 'pht': 3726}}" where mtr_portfolio_id = 26791938 and dashboard_run_id = 2286443 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26791938 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15094391, 0.05413085087180704, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26791938_12-09-2025_14_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26791949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26791950, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26791951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26791952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26791953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26791954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26791955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26791956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26791957, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26791958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26791959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26791960, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26792456 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3711761, 'mtr_portfolio_id': 26792456, 'created_at': datetime.datetime(2025, 9, 12, 14, 33, 1), 'result': '0.07038156317841392', 'result_long': None, 'result_double': None}] Qualite : 0.07038156317841392 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26792456 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26792456_12-09-2025_14_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26792456 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26792456_12-09-2025_14_33_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26792463, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26792464, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26792465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26792466, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26792467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26792468, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26792469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26792470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26792471, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26792472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26792473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26792474, 'pht': 3726}}" where mtr_portfolio_id = 26792456 and dashboard_run_id = 2286443 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26792456 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15094392, 0.07038156317841392, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26792456_12-09-2025_14_33_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26792463, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26792464, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26792465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26792466, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26792467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26792468, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26792469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26792470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26792471, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26792472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26792473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26792474, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26792889 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3711822, 'mtr_portfolio_id': 26792889, 'created_at': datetime.datetime(2025, 9, 12, 14, 48, 59), 'result': '0.04584800308273103', 'result_long': None, 'result_double': None}] Qualite : 0.04584800308273103 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26792889 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26792889_12-09-2025_14_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26792889 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26792889_12-09-2025_14_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26792926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26792927, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26792928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26792929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26792930, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26792931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26792932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26792933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26792934, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26792935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26792936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26792937, 'pht': 3726}}" where mtr_portfolio_id = 26792889 and dashboard_run_id = 2286443 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26792889 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15094393, 0.04584800308273103, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26792889_12-09-2025_14_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26792926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26792927, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26792928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26792929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26792930, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26792931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26792932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26792933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26792934, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26792935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26792936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26792937, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26793443 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3711887, 'mtr_portfolio_id': 26793443, 'created_at': datetime.datetime(2025, 9, 12, 15, 2, 58), 'result': '0.04052113350378328', 'result_long': None, 'result_double': None}] Qualite : 0.04052113350378328 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26793443 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26793443_12-09-2025_15_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26793443 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26793443_12-09-2025_15_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26793480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26793481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26793482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26793483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26793484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26793485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26793486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26793487, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26793488, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26793489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26793490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26793491, 'pht': 3726}}" where mtr_portfolio_id = 26793443 and dashboard_run_id = 2286443 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26793443 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15094394, 0.04052113350378328, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26793443_12-09-2025_15_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26793480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26793481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26793482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26793483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26793484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26793485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26793486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26793487, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26793488, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26793489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26793490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26793491, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26793948 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3711989, 'mtr_portfolio_id': 26793948, 'created_at': datetime.datetime(2025, 9, 12, 15, 18, 59), 'result': '0.050895664433003016', 'result_long': None, 'result_double': None}] Qualite : 0.050895664433003016 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26793948 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26793948_12-09-2025_15_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26793948 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26793948_12-09-2025_15_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26794064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26794065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26794066, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26794067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26794068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26794069, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26794070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26794071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26794072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26794073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26794074, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26794075, 'pht': 3726}}" where mtr_portfolio_id = 26793948 and dashboard_run_id = 2286443 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26793948 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15094395, 0.050895664433003016, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26793948_12-09-2025_15_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26794064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26794065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26794066, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26794067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26794068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26794069, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26794070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26794071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26794072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26794073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26794074, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26794075, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26794876 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3712096, 'mtr_portfolio_id': 26794876, 'created_at': datetime.datetime(2025, 9, 12, 15, 32, 58), 'result': '0.044880941638985046', 'result_long': None, 'result_double': None}] Qualite : 0.044880941638985046 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26794876 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26794876_12-09-2025_15_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26794876 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26794876_12-09-2025_15_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26794919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26794920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26794921, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26794922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26794923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26794924, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26794925, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26794926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26794927, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26794928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26794929, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26794930, 'pht': 3726}}" where mtr_portfolio_id = 26794876 and dashboard_run_id = 2286443 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26794876 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15094396, 0.044880941638985046, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26794876_12-09-2025_15_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26794919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26794920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26794921, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26794922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26794923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26794924, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26794925, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26794926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26794927, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26794928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26794929, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26794930, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26795626 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3712165, 'mtr_portfolio_id': 26795626, 'created_at': datetime.datetime(2025, 9, 12, 15, 47, 28), 'result': '0.05374958778523722', 'result_long': None, 'result_double': None}] Qualite : 0.05374958778523722 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26795626 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26795626_12-09-2025_15_47_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26795626 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26795626_12-09-2025_15_47_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26795652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26795653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26795654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26795655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26795656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26795657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26795658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26795659, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26795660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26795661, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26795662, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26795663, 'pht': 3726}}" where mtr_portfolio_id = 26795626 and dashboard_run_id = 2286443 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26795626 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15094397, 0.05374958778523722, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26795626_12-09-2025_15_47_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26795652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26795653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26795654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26795655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26795656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26795657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26795658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26795659, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26795660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26795661, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26795662, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26795663, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26796371 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3712234, 'mtr_portfolio_id': 26796371, 'created_at': datetime.datetime(2025, 9, 12, 16, 3), 'result': '0.03778128512808869', 'result_long': None, 'result_double': None}] Qualite : 0.03778128512808869 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26796371 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26796371_12-09-2025_16_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26796371 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26796371_12-09-2025_16_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26796377, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26796378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26796379, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26796380, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26796381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26796382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26796383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26796384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26796385, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26796386, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26796387, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26796388, 'pht': 3726}}" where mtr_portfolio_id = 26796371 and dashboard_run_id = 2286443 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26796371 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15094398, 0.03778128512808869, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26796371_12-09-2025_16_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26796377, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26796378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26796379, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26796380, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26796381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26796382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26796383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26796384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26796385, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26796386, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26796387, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26796388, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26796958 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26796958 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26796958 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26796958%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26796958 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26796989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26796991, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26796993, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26796995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26796998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26797000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26797003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26797005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26797008, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26797010, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26797011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26797012, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 26796958 and dashboard_run_id = 2286443 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26797204 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3712407, 'mtr_portfolio_id': 26797204, 'created_at': datetime.datetime(2025, 9, 12, 16, 32, 58), 'result': '0.047434813107234394', 'result_long': None, 'result_double': None}] Qualite : 0.047434813107234394 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26797204 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26797204_12-09-2025_16_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26797204 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26797204_12-09-2025_16_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26797215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26797216, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26797217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26797218, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26797219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26797220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26797221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26797222, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26797223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26797224, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26797225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26797226, 'pht': 3726}}" where mtr_portfolio_id = 26797204 and dashboard_run_id = 2286443 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26797204 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15094400, 0.047434813107234394, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26797204_12-09-2025_16_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26797215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26797216, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26797217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26797218, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26797219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26797220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26797221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26797222, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26797223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26797224, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26797225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26797226, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26797708 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3712637, 'mtr_portfolio_id': 26797708, 'created_at': datetime.datetime(2025, 9, 12, 16, 46, 57), 'result': '0.059794286882717165', 'result_long': None, 'result_double': None}] Qualite : 0.059794286882717165 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26797708 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26797708_12-09-2025_16_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26797708 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26797708_12-09-2025_16_46_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26797736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26797737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26797738, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26797739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26797740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26797741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26797742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26797743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26797744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26797745, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26797746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26797747, 'pht': 3726}}" where mtr_portfolio_id = 26797708 and dashboard_run_id = 2286443 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26797708 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15094401, 0.059794286882717165, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26797708_12-09-2025_16_46_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26797736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26797737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26797738, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26797739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26797740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26797741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26797742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26797743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26797744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26797745, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26797746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26797747, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26798546 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3712862, 'mtr_portfolio_id': 26798546, 'created_at': datetime.datetime(2025, 9, 12, 17, 3), 'result': '0.08233348059625543', 'result_long': None, 'result_double': None}] Qualite : 0.08233348059625543 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26798546 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26798546_12-09-2025_17_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26798546 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26798546_12-09-2025_17_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26798600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26798601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26798603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26798604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26798605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26798606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26798607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26798608, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26798609, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26798610, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26798611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26798612, 'pht': 3726}}" where mtr_portfolio_id = 26798546 and dashboard_run_id = 2286443 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26798546 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15094402, 0.08233348059625543, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26798546_12-09-2025_17_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26798600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26798601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26798603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26798604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26798605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26798606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26798607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26798608, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26798609, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26798610, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26798611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26798612, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26799245 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3713131, 'mtr_portfolio_id': 26799245, 'created_at': datetime.datetime(2025, 9, 12, 17, 19), 'result': '0.05325858740428369', 'result_long': None, 'result_double': None}] Qualite : 0.05325858740428369 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26799245 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26799245_12-09-2025_17_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26799245 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26799245_12-09-2025_17_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26799319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26799320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26799321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26799322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26799323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26799324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26799325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26799326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26799327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26799328, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26799329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26799330, 'pht': 3726}}" where mtr_portfolio_id = 26799245 and dashboard_run_id = 2286443 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26799245 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15094403, 0.05325858740428369, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26799245_12-09-2025_17_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26799319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26799320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26799321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26799322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26799323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26799324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26799325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26799326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26799327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26799328, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26799329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26799330, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26800267 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3713400, 'mtr_portfolio_id': 26800267, 'created_at': datetime.datetime(2025, 9, 12, 17, 42, 58), 'result': '0.05130302222397655', 'result_long': None, 'result_double': None}] Qualite : 0.05130302222397655 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26800267 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26800267_12-09-2025_17_42_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26800267 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26800267_12-09-2025_17_42_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26800279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26800280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26800281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26800282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26800283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26800284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26800285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26800286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26800288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26800289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26800290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26800291, 'pht': 3726}}" where mtr_portfolio_id = 26800267 and dashboard_run_id = 2286443 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26800267 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15094404, 0.05130302222397655, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26800267_12-09-2025_17_42_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26800279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26800280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26800281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26800282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26800283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26800284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26800285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26800286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26800288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26800289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26800290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26800291, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26802165 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3713789, 'mtr_portfolio_id': 26802165, 'created_at': datetime.datetime(2025, 9, 12, 18, 18, 57), 'result': '0.05420941373820589', 'result_long': None, 'result_double': None}] Qualite : 0.05420941373820589 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26802165 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26802165_12-09-2025_18_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26802165 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26802165_12-09-2025_18_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26802196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26802197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26802198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26802199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26802200, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26802201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26802202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26802203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26802204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26802205, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26802206, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26802207, 'pht': 3726}}" where mtr_portfolio_id = 26802165 and dashboard_run_id = 2286447 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26802165 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15094405, 0.05420941373820589, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26802165_12-09-2025_18_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26802196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26802197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26802198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26802199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26802200, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26802201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26802202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26802203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26802204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26802205, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26802206, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26802207, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26802608 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3713828, 'mtr_portfolio_id': 26802608, 'created_at': datetime.datetime(2025, 9, 12, 18, 33), 'result': '0.04389214056361694', 'result_long': None, 'result_double': None}] Qualite : 0.04389214056361694 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26802608 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26802608_12-09-2025_18_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26802608 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26802608_12-09-2025_18_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26802612, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26802613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26802614, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26802615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26802616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26802617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26802618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26802619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26802620, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26802621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26802622, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26802623, 'pht': 3726}}" where mtr_portfolio_id = 26802608 and dashboard_run_id = 2286447 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26802608 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15094406, 0.04389214056361694, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26802608_12-09-2025_18_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26802612, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26802613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26802614, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26802615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26802616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26802617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26802618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26802619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26802620, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26802621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26802622, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26802623, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26802977 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3713887, 'mtr_portfolio_id': 26802977, 'created_at': datetime.datetime(2025, 9, 12, 18, 36, 32), 'result': '0.045168916338213475', 'result_long': None, 'result_double': None}] Qualite : 0.045168916338213475 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26802977 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26802977_12-09-2025_18_36_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26802977 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26802977_12-09-2025_18_36_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26802996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26802997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26802998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26802999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26803000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26803001, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26803002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26803003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26803004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26803005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26803006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26803007, 'pht': 3726}}" where mtr_portfolio_id = 26802977 and dashboard_run_id = 2286447 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26802977 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15094407, 0.045168916338213475, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26802977_12-09-2025_18_36_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26802996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26802997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26802998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26802999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26803000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26803001, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26803002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26803003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26803004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26803005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26803006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26803007, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26769794,26769970,26770154,26770454,26771445,26771671,26771908,26772224,26772605,26773115,26773547,26773878,26774340,26774756,26775013,26776010,26776254,26776334,26776641,26777142,26777304,26777851,26778063,26778501,26778906,26779351,26779799,26780037,26780421,26780889,26781097,26781445,26781588,26781923,26782198,26782512,26782878,26784153,26786071,26786240,26786893,26787654,26791753,26791938,26792456,26792889,26793443,26793948,26794876,26795626,26796371,26796958,26797204,26797708,26798546,26799245,26800267,26802165,26802608,26802977) result : ((1383306307,), (1383306308,), (1383306336,), (1383306340,), (1383306342,), (1383306345,), (1383306354,), (1383306356,), (1383306358,), (1383306360,), (1383306363,), (1383306371,), (1383306374,), (1383306378,), (1383306394,), (1383306396,), (1383306397,), (1383306399,), (1383306418,), (1383306420,), (1383306422,), (1383306424,), (1383306427,), (1383306437,), (1383306440,), (1383306443,), (1383306451,), (1383306554,), (1383306575,), (1383306607,), (1383306609,), (1383306611,), (1383306614,), (1383306618,), (1383306636,), (1383306639,), (1383306641,), (1383306644,), (1383306659,), (1383306661,), (1383306663,), (1383306667,), (1383306672,), (1383306677,), (1383306679,), (1383306681,), (1383306684,), (1383306701,), (1383306704,), (1383306706,), (1383306708,), (1383306720,), (1383306722,), (1383306725,), (1383306727,), (1383306730,), (1383306732,), (1383306745,), (1383306749,), (1383306751,), (1383306769,), (1383306767,), (1383306768,), (1383306789,), (1383306791,), (1383306795,), (1383306806,), (1383306808,), (1383306810,), (1383306813,), (1383306827,), (1383306830,), (1383306832,), (1383306835,), (1383306857,), (1383306859,), (1383306860,), (1383306863,), (1383306865,), (1383306880,), (1383306884,), (1383306886,), (1383306888,), (1383306899,), (1383306901,), (1383306903,), (1383306940,), (1383306942,), (1383306943,), (1383306944,), (1383306947,), (1383306962,), (1383306964,), (1383306967,), (1383306970,), (1383306982,), (1383306985,), (1383306988,), (1383306990,), (1383306991,), (1383307000,), (1383307017,), (1383307021,), (1383307023,), (1383307025,), (1383307053,), (1383307055,), (1383307057,), (1383307061,), (1383307079,), (1383307084,), (1383307086,), (1383307090,), (1383307094,), (1383307113,), (1383307114,), (1383307139,), (1383307133,), (1383307135,), (1383307137,), (1383307144,), (1383307147,), (1383307150,), (1383307153,), (1383307193,), (1383307194,), (1383307195,), (1383307197,), (1383307209,), (1383307223,), (1383307227,), (1383307229,), (1383307252,), (1383307253,), (1383307254,), (1383307272,), (1383307275,), (1383307278,), (1383307281,), (1383307284,), (1383307286,), (1383307291,), (1383307293,), (1383307295,), (1383307297,), (1383307300,), (1383307302,), (1383307314,), (1383307318,), (1383307320,), (1383307322,), (1383307325,), (1383307337,), (1383307339,), (1383307353,), (1383307356,), (1383307358,), (1383307360,), (1383307363,), (1383307376,), (1383307378,), (1383307380,), (1383307383,), (1383307397,), (1383307398,), (1383307399,), (1383307401,), (1383307404,), (1383307406,), (1383307418,), (1383307420,), (1383307422,), (1383307424,), (1383307446,), (1383307449,), (1383307451,), (1383307452,), (1383307455,), (1383307459,), (1383307486,), (1383307476,), (1383307478,), (1383307481,), (1383307484,), (1383307501,), (1383307531,), (1383307533,), (1383307534,), (1383307535,), (1383307537,), (1383307539,), (1383307549,), (1383307550,), (1383307552,), (1383307555,), (1383307572,), (1383307576,), (1383307620,), (1383307668,), (1383307698,), (1383307726,), (1383307728,), (1383307748,), (1383307750,), (1383307751,), (1383307752,), (1383307754,), (1383307779,), (1383307781,), (1383307782,), (1383307784,), (1383307787,), (1383307812,), (1383307815,), (1383307818,), (1383307892,), (1383307896,), (1383307899,), (1383307902,), (1383307904,), (1383307912,), (1383309554,), (1383309548,), (1383309551,), (1383309552,), (1383309564,), (1383309570,), (1383309572,), (1383309576,), (1383309580,), (1383309598,), (1383309600,), (1383309776,), (1383309786,), (1383309820,), (1383309825,), (1383309828,), (1383309831,), (1383309845,), (1383309849,), (1383309854,), (1383309860,), (1383309866,), (1383309919,), (1383309934,), (1383309938,), (1383309949,), (1383309990,), (1383309991,), (1383309993,), (1383309995,), (1383310033,), (1383310036,), (1383310038,), (1383310041,), (1383310120,), (1383310148,), (1383310171,), (1383310175,), (1383310178,), (1383310190,), (1383310193,), (1383310197,), (1383310201,), (1383310205,), (1383310209,), (1383310229,), (1383310238,), (1383310244,), (1383310289,), (1383310292,), (1383310294,), (1383310298,), (1383310302,), (1383310307,), (1383310321,), (1383310324,), (1383310326,), (1383310330,), (1383310335,), (1383310340,), (1383310359,), (1383310354,), (1383310357,), (1383310376,), (1383310382,), (1383310386,), (1383310407,), (1383310409,), (1383310411,), (1383310414,), (1383310417,), (1383310434,), (1383310436,), (1383310437,), (1383310440,), (1383310456,), (1383310458,), (1383310460,), (1383310463,), (1383310468,), (1383310477,), (1383310479,), (1383310481,), (1383310483,), (1383310507,), (1383310509,), (1383310510,), (1383310512,), (1383310516,), (1383310519,), (1383310536,), (1383310541,), (1383310546,), (1383310561,), (1383310563,), (1383310565,), (1383310569,), (1383310587,), (1383310590,), (1383310593,), (1383310614,), (1383310616,), (1383310618,), (1383310645,), (1383310648,), (1383310663,), (1383310664,), (1383310665,), (1383310666,), (1383310669,), (1383310689,), (1383310694,), (1383310698,), (1383310702,), (1383310705,), (1383310712,), (1383310714,), (1383310718,), (1383310721,), (1383310742,), (1383310735,), (1383310739,), (1383310740,), (1383310761,), (1383310762,), (1383310763,), (1383310765,), (1383310768,), (1383310771,), (1383310784,), (1383310787,), (1383310788,), (1383310790,), (1383310792,), (1383310794,), (1383310807,), (1383310808,), (1383310809,), (1383310811,), (1383310814,), (1383310823,), (1383310825,), (1383310827,), (1383310830,), (1383310835,), (1383310847,), (1383310849,), (1383310852,), (1383310855,), (1383310858,), (1383310859,), (1383310860,), (1383310861,), (1383310863,), (1383310873,), (1383310878,), (1383310882,), (1383310886,), (1383310897,), (1383310900,), (1383310903,), (1383310907,), (1383310911,), (1383310934,), (1383310936,), (1383310938,), (1383310940,), (1383310944,), (1383310948,), (1383310966,), (1383310967,), (1383310968,), (1383310970,), (1383310997,), (1383311000,), (1383311004,), (1383311008,), (1383311012,), (1383311040,), (1383311042,), (1383311045,), (1383311048,), (1383311052,), (1383311064,), (1383311066,), (1383311068,), (1383311071,), (1383311092,), (1383311094,), (1383311097,), (1383311108,), (1383311111,), (1383311114,), (1383311117,), (1383311153,), (1383311134,), (1383311137,), (1383311141,), (1383311146,), (1383311150,), (1383311164,), (1383311167,), (1383311169,), (1383311172,), (1383311175,), (1383311185,), (1383311188,), (1383311200,), (1383311203,), (1383311206,), (1383311211,), (1383311216,), (1383311230,), (1383311236,), (1383311238,), (1383311240,), (1383311259,), (1383311263,), (1383311267,), (1383311271,), (1383311287,), (1383311289,), (1383311291,), (1383311384,), (1383311387,), (1383311417,), (1383311421,), (1383311426,), (1383311488,), (1383311642,), (1383311644,), (1383311646,), (1383311650,), (1383311655,), (1383311676,), (1383311679,), (1383311681,), (1383311683,), (1383311703,), (1383311705,), (1383311708,), (1383311711,), (1383311724,), (1383311726,), (1383311729,), (1383311733,), (1383311772,), (1383311774,), (1383311776,), (1383311779,), (1383311813,), (1383311802,), (1383311804,), (1383311806,), (1383311809,), (1383311823,), (1383311826,), (1383311829,), (1383311833,), (1383311845,), (1383311850,), (1383311853,), (1383311857,), (1383311860,), (1383311872,), (1383311873,), (1383311875,), (1383311878,), (1383311913,), (1383311944,), (1383311953,), (1383311956,), (1383311979,), (1383312006,), (1383312008,), (1383312010,), (1383312014,), (1383312031,), (1383312034,), (1383312036,), (1383312039,), (1383312050,), (1383312056,), (1383312062,), (1383312066,), (1383312159,), (1383312166,), (1383312235,), (1383312267,), (1383312300,), (1383312319,), (1383312323,), (1383312330,), (1383312385,), (1383312387,), (1383312398,), (1383312428,), (1383312430,), (1383312444,), (1383312446,), (1383312448,), (1383312453,), (1383312607,), (1383312611,), (1383312627,), (1383312631,), (1383312703,), (1383312691,), (1383312700,), (1383312721,), (1383312984,), (1383313135,), (1383313138,), (1383313140,), (1383313155,), (1383313157,), (1383313191,), (1383313194,), (1383313197,), (1383313213,), (1383313238,), (1383313240,), (1383313241,), (1383313244,), (1383313265,), (1383313268,), (1383313271,), (1383313276,), (1383313281,), (1383313285,), (1383313295,), (1383313296,), (1383313297,), (1383313298,), (1383313302,), (1383313321,), (1383313323,), (1383313325,), (1383313327,), (1383314188,), (1383314266,), (1383314344,), (1383314423,), (1383314426,), (1383314466,), (1383314564,), (1383314549,), (1383314553,), (1383314557,), (1383314561,), (1383314667,), (1383314747,), (1383314790,), (1383314792,), (1383314795,), (1383314901,), (1383314903,), (1383314905,), (1383314908,), (1383314927,), (1383314929,), (1383314930,), (1383314932,), (1383314936,), (1383314950,), (1383314952,), (1383314955,), (1383314979,), (1383314981,), (1383314982,), (1383314984,), (1383314987,), (1383315000,), (1383315003,), (1383315021,), (1383315024,), (1383315027,), (1383315031,), (1383315051,), (1383315054,), (1383315058,), (1383315061,), (1383315065,), (1383315080,), (1383315082,), (1383315083,), (1383315085,), (1383315111,), (1383315115,), (1383315117,), (1383315465,), (1383315467,), (1383315470,), (1383315472,), (1383315480,), (1383315483,), (1383315495,), (1383315497,), (1383315499,), (1383315502,), (1383315515,), (1383315516,), (1383315517,), (1383315519,), (1383315523,), (1383315528,), (1383315546,), (1383315548,), (1383315552,), (1383315555,), (1383315559,), (1383315579,), (1383315568,), (1383315572,), (1383315575,), (1383315591,), (1383315592,), (1383315593,), (1383315594,), (1383315619,), (1383315621,), (1383315626,), (1383315630,), (1383315804,), (1383315890,), (1383315981,), (1383316063,), (1383316143,), (1383316221,), (1383316527,), (1383316858,), (1383316897,), (1383316900,), (1383316905,), (1383316908,), (1383316917,), (1383316919,), (1383316921,), (1383316925,), (1383316931,), (1383317102,), (1383317178,), (1383317248,), (1383317539,), (1383317581,), (1383317597,), (1383317620,), (1383317634,), (1383317635,), (1383318273,), (1383318351,), (1383318443,), (1383318519,), (1383318618,), (1383318621,), (1383318624,), (1383318978,), (1383318997,), (1383319038,), (1383319041,), (1383319046,), (1383319139,), (1383319141,), (1383319193,), (1383319263,), (1383319344,), (1383319741,), (1383319743,), (1383319744,), (1383319756,), (1383319760,), (1383319765,), (1383319794,), (1383319784,), (1383319786,), (1383319788,), (1383319791,), (1383319811,), (1383319814,), (1383319816,), (1383319821,), (1383319824,), (1383319827,), (1383319835,), (1383319838,), (1383319841,), (1383319843,), (1383319847,), (1383319860,), (1383319863,), (1383319866,), (1383319892,), (1383319898,), (1383319899,), (1383319901,), (1383319924,), (1383319926,), (1383319928,), (1383319931,), (1383319934,), (1383319937,), (1383319946,), (1383319948,), (1383319949,), (1383319952,), (1383319956,), (1383319970,), (1383319974,), (1383319991,), (1383319993,), (1383319996,), (1383319999,), (1383320012,), (1383320015,), (1383320018,), (1383320022,), (1383320026,), (1383320031,), (1383320045,), (1383320051,), (1383320054,), (1383320058,), (1383320062,), (1383320075,), (1383320077,), (1383320079,), (1383320082,), (1383320101,), (1383320104,), (1383320108,), (1383320113,), (1383320116,), (1383320118,), (1383320327,), (1383320395,), (1383320484,), (1383320586,), (1383321407,), (1383321409,), (1383321410,), (1383321412,), (1383321437,), (1383321434,), (1383321913,), (1383321915,), (1383321933,), (1383321993,), (1383322114,), (1383322118,), (1383322122,), (1383322126,), (1383322129,), (1383322143,), (1383322145,), (1383322148,), (1383322151,), (1383322153,), (1383322165,), (1383322170,), (1383322173,), (1383322178,), (1383322198,), (1383322201,), (1383322203,), (1383322206,), (1383322209,), (1383322212,), (1383322226,), (1383322228,), (1383322251,), (1383322255,), (1383322257,), (1383322260,), (1383322265,), (1383322268,), (1383322281,), (1383322283,), (1383322285,), (1383322307,), (1383322310,), (1383322312,), (1383322315,), (1383322333,), (1383322336,), (1383322338,), (1383322341,), (1383322363,), (1383322366,), (1383322370,), (1383322374,), (1383322392,), (1383322395,), (1383324115,), (1383324149,), (1383324187,), (1383324203,), (1383324208,), (1383324220,), (1383324223,), (1383324226,), (1383324229,), (1383324232,), (1383324248,), (1383324235,), (1383324238,), (1383324245,), (1383324269,), (1383324299,), (1383324784,), (1383324788,), (1383324793,), (1383324797,), (1383324839,), (1383324879,), (1383324987,), (1383324990,), (1383324993,), (1383325022,), (1383325026,), (1383325028,), (1383325047,), (1383325050,), (1383325053,), (1383325058,), (1383325063,), (1383325088,), (1383325091,), (1383325093,), (1383325096,), (1383325120,), (1383325123,), (1383325148,), (1383326720,), (1383332759,), (1383332790,), (1383332794,), (1383333084,), (1383334155,), (1383334241,), (1383334244,), (1383334246,), (1383334533,), (1383334623,), (1383334689,), (1383334926,), (1383335355,), (1383335431,), (1383335501,), (1383335965,), (1383335978,), (1383335981,), (1383335998,), (1383336001,), (1383336003,), (1383336008,), (1383336023,), (1383336028,), (1383336033,), (1383336061,), (1383336064,), (1383336067,), (1383336071,), (1383336076,), (1383336081,), (1383336098,), (1383336102,), (1383336789,), (1383336745,), (1383336775,), (1383336777,), (1383336780,), (1383336784,), (1383336926,), (1383336995,), (1383337028,), (1383337031,), (1383337177,), (1383337181,), (1383337185,), (1383337188,), (1383337192,), (1383337207,), (1383337210,), (1383337213,), (1383337216,), (1383337239,), (1383337243,), (1383337246,), (1383337259,), (1383337261,), (1383337263,), (1383337266,), (1383337270,), (1383337275,), (1383337284,), (1383337286,), (1383337289,), (1383337292,), (1383337297,), (1383337300,), (1383337304,), (1383337305,), (1383337308,), (1383337311,), (1383337314,), (1383337318,), (1383337328,), (1383337332,), (1383337335,), (1383337338,), (1383337341,), (1383337348,), (1383337355,), (1383337356,), (1383337359,), (1383337360,), (1383337363,), (1383337364,), (1383337367,), (1383337368,), (1383337371,), (1383337372,), (1383337375,), (1383337376,), (1383337407,), (1383337411,), (1383337417,), (1383337423,), (1383337431,), (1383337439,), (1383337444,), (1383337447,), (1383337449,), (1383337457,), (1383337460,), (1383337462,), (1383337464,), (1383337469,), (1383337482,), (1383337484,), (1383337486,), (1383337489,), (1383338207,), (1383338275,), (1383338340,), (1383338403,), (1383338463,), (1383338665,), (1383338668,), (1383338670,), (1383338965,), (1383338996,), (1383339042,), (1383339166,), (1383339160,), (1383339163,), (1383339183,), (1383339186,), (1383339188,), (1383339191,), (1383339195,), (1383339198,), (1383339217,), (1383339219,), (1383339221,), (1383339224,), (1383339229,), (1383339249,), (1383339253,), (1383339256,), (1383339260,), (1383339285,), (1383339286,), (1383339287,), (1383339289,), (1383339293,), (1383339318,), (1383339323,), (1383339326,), (1383339396,), (1383339474,), (1383340171,), (1383340243,), (1383340313,), (1383340341,), (1383340346,), (1383340371,), (1383340375,), (1383340377,), (1383340402,), (1383340468,), (1383340542,), (1383340783,), (1383340788,), (1383340790,), (1383340793,), (1383340796,), (1383340797,), (1383340800,), (1383340801,), (1383340853,), (1383340919,), (1383340987,), (1383341240,), (1383341305,), (1383341356,), (1383341360,), (1383341517,), (1383341519,), (1383341550,), (1383341572,), (1383341576,), (1383341580,), (1383341598,), (1383341602,), (1383341603,), (1383341605,), (1383341608,), (1383341627,), (1383341630,), (1383341632,), (1383341635,), (1383341639,), (1383341713,), (1383341787,), (1383341871,), (1383342235,), (1383342237,), (1383342241,), (1383342285,), (1383342546,), (1383342533,), (1383342536,), (1383342538,), (1383342541,), (1383342570,), (1383342574,), (1383342577,), (1383342580,), (1383342583,), (1383342586,), (1383342596,), (1383342599,), (1383342603,), (1383342607,), (1383342612,), (1383342629,), (1383342632,), (1383342634,), (1383342635,), (1383342636,), (1383342638,), (1383342653,), (1383342658,), (1383342661,), (1383342665,), (1383342683,), (1383342685,), (1383342688,), (1383342693,), (1383342697,), (1383342700,), (1383342718,), (1383342721,), (1383342725,), (1383342727,), (1383342729,), (1383342731,), (1383342741,), (1383342743,), (1383342744,), (1383342746,), (1383342762,), (1383342764,), (1383342768,), (1383342771,), (1383342819,), (1383342876,), (1383343137,), (1383343139,), (1383343928,), (1383343932,), (1383343981,), (1383344005,), (1383344009,), (1383344060,), (1383344062,), (1383344064,), (1383344068,), (1383344072,), (1383344093,), (1383344097,), (1383344098,), (1383344100,), (1383344121,), (1383344126,), (1383344130,), (1383344134,), (1383344687,), (1383344685,), (1383344929,), (1383344932,), (1383344954,), (1383344956,), (1383344958,), (1383344962,), (1383344967,), (1383344984,), (1383344987,), (1383344989,), (1383344992,), (1383344996,), (1383345013,), (1383345014,), (1383345015,), (1383345018,), (1383345023,), (1383345045,), (1383345047,), (1383345048,), (1383345406,), (1383345484,), (1383345598,), (1383345698,), (1383345773,), (1383345853,), (1383345910,), (1383345989,), (1383346047,), (1383346053,), (1383346056,), (1383346076,), (1383346173,), (1383346176,), (1383346178,), (1383346181,), (1383346203,), (1383346206,), (1383346209,), (1383346212,), (1383346214,), (1383346218,), (1383346230,), (1383346233,), (1383346235,), (1383346239,), (1383346242,), (1383346245,), (1383346257,), (1383346260,), (1383346263,), (1383346266,), (1383346267,), (1383346268,), (1383346271,), (1383346274,), (1383346293,), (1383346294,), (1383346296,), (1383346300,), (1383346302,), (1383346305,), (1383346312,), (1383346313,), (1383346314,), (1383346315,), (1383346316,), (1383346318,), (1383346319,), (1383346321,), (1383346322,), (1383346324,), (1383346325,), (1383346327,), (1383346334,), (1383346336,), (1383346339,), (1383346343,), (1383346364,), (1383346358,), (1383346361,), (1383346381,), (1383346384,), (1383346387,), (1383346390,), (1383346403,), (1383346406,), (1383346409,), (1383346413,), (1383346417,), (1383346431,), (1383346432,), (1383346497,), (1383346564,), (1383346634,), (1383347358,), (1383347427,), (1383347454,), (1383347487,), (1383347490,), (1383347491,), (1383347493,), (1383347884,), (1383347916,), (1383347919,), (1383347926,), (1383347977,), (1383348015,), (1383348019,), (1383348020,), (1383348022,), (1383348025,), (1383348039,), (1383348041,), (1383348043,), (1383348046,), (1383348067,), (1383348070,), (1383348073,), (1383348077,), (1383348080,), (1383348104,), (1383348105,), (1383348106,), (1383348136,), (1383348140,), (1383348142,), (1383348211,), (1383348275,), (1383348337,), (1383348513,), (1383348514,), (1383348515,), (1383348517,), (1383348537,), (1383348542,), (1383348544,), (1383348547,), (1383348573,), (1383348575,), (1383348577,), (1383348579,), (1383348583,), (1383348587,), (1383348612,), (1383348603,), (1383348607,), (1383348609,), (1383348631,), (1383348633,), (1383348635,), (1383348638,), (1383348662,), (1383348666,), (1383348670,), (1383348674,), (1383348676,), (1383349122,), (1383349124,), (1383349126,), (1383349130,), (1383349185,), (1383349302,), (1383349305,), (1383349306,), (1383349308,), (1383349312,), (1383349317,), (1383349338,), (1383349341,), (1383349343,), (1383349346,), (1383349349,), (1383349352,), (1383349365,), (1383349368,), (1383349370,), (1383349372,), (1383349374,), (1383349386,), (1383349388,), (1383349391,), (1383349395,), (1383349398,), (1383349419,), (1383349421,), (1383349423,), (1383349425,), (1383349427,), (1383349437,), (1383349440,), (1383349441,), (1383349444,), (1383349459,), (1383349463,), (1383349467,), (1383349469,), (1383349472,), (1383349476,), (1383349485,), (1383349487,), (1383349489,), (1383349490,), (1383349493,), (1383349496,), (1383349508,), (1383349512,), (1383349516,), (1383349520,), (1383349535,), (1383349537,), (1383349539,), (1383349543,), (1383349548,), (1383349569,), (1383349575,), (1383349579,), (1383349584,), (1383349589,), (1383349595,), (1383349610,), (1383349603,), (1383349605,), (1383349607,), (1383349626,), (1383349629,), (1383349631,), (1383349634,), (1383349638,), (1383349641,), (1383349649,), (1383349650,), (1383349651,), (1383349653,), (1383349658,), (1383349676,), (1383349680,), (1383349683,), (1383349703,), (1383349706,), (1383349707,), (1383349709,), (1383349729,), (1383349731,), (1383350444,), (1383351228,), (1383351231,), (1383351234,), (1383351236,), (1383351238,), (1383351241,), (1383351246,), (1383351248,), (1383351251,), (1383351419,), (1383351483,), (1383351547,), (1383351711,), (1383351713,), (1383351715,), (1383351717,), (1383351720,), (1383351722,), (1383351738,), (1383351742,), (1383351744,), (1383351746,), (1383351764,), (1383351766,), (1383351767,), (1383351803,), (1383351807,), (1383351811,), (1383351815,), (1383351823,), (1383351825,), (1383351828,), (1383351830,), (1383351857,), (1383351844,), (1383351847,), (1383351849,), (1383351852,), (1383351869,), (1383351871,), (1383351873,), (1383351874,), (1383351884,), (1383351887,), (1383351890,), (1383351893,), (1383351905,), (1383351908,), (1383351909,), (1383351910,), (1383351912,), (1383351931,), (1383351934,), (1383351937,), (1383351938,), (1383351950,), (1383351955,), (1383351959,), (1383351962,), (1383351964,), (1383351976,), (1383351979,), (1383351982,), (1383351985,), (1383351990,), (1383351994,), (1383352011,), (1383352013,), (1383352015,), (1383352016,), (1383352017,), (1383352018,), (1383352030,), (1383352033,), (1383352035,), (1383352037,), (1383352055,), (1383352060,), (1383352065,), (1383352069,), (1383352072,), (1383352076,), (1383352088,), (1383352092,), (1383352095,), (1383352100,), (1383352104,), (1383352109,), (1383352128,), (1383352131,), (1383352134,), (1383352137,), (1383352155,), (1383352157,), (1383352159,), (1383352162,), (1383352187,), (1383352190,), (1383352191,), (1383352193,), (1383352196,), (1383352513,), (1383352583,), (1383352654,), (1383352722,), (1383352793,), (1383353432,), (1383353425,), (1383353429,), (1383353430,), (1383353736,), (1383353746,), (1383353750,), (1383353754,), (1383353757,), (1383353770,), (1383353774,), (1383353777,), (1383353780,), (1383353783,), (1383353787,), (1383353808,), (1383353810,), (1383353811,), (1383353832,), (1383353835,), (1383353836,), (1383353863,), (1383353866,), (1383353869,), (1383353872,), (1383353875,), (1383353894,), (1383353896,), (1383353897,), (1383353899,), (1383353903,), (1383353913,), (1383353915,), (1383353917,), (1383353920,), (1383353924,), (1383353939,), (1383353943,), (1383353945,), (1383353965,), (1383353967,), (1383353969,), (1383353971,), (1383353975,), (1383353998,), (1383354002,), (1383354004,), (1383354006,), (1383354028,), (1383354032,), (1383354036,), (1383354040,), (1383354044,), (1383354060,), (1383354063,), (1383354093,), (1383354095,), (1383354097,), (1383354100,), (1383354125,), (1383354129,), (1383354131,), (1383354134,), (1383354180,), (1383354166,), (1383354167,), (1383354168,), (1383354170,), (1383354175,), (1383354193,), (1383354196,), (1383354198,), (1383354216,), (1383354219,), (1383354221,), (1383354224,), (1383354988,), (1383355052,), (1383355124,), (1383355596,), (1383355600,), (1383355606,), (1383355622,), (1383355650,), (1383355691,), (1383355766,), (1383356140,), (1383356142,), (1383356144,), (1383356184,), (1383356188,), (1383356190,), (1383356757,), (1383356821,), (1383356888,), (1383357111,), (1383357115,), (1383357154,), (1383357158,), (1383357187,), (1383357210,), (1383357213,), (1383357215,), (1383357219,), (1383357223,), (1383357228,), (1383357245,), (1383357249,), (1383357252,), (1383357282,), (1383357286,), (1383357289,), (1383357292,), (1383357307,), (1383357312,), (1383357316,), (1383357345,), (1383357348,), (1383357350,), (1383357352,), (1383357358,), (1383357393,), (1383357386,), (1383357390,), (1383357391,), (1383357420,), (1383357422,), (1383357461,), (1383357467,), (1383357470,), (1383357473,), (1383357477,), (1383357481,), (1383357500,), (1383357503,), (1383357505,), (1383357508,), (1383357513,), (1383357516,), (1383357540,), (1383357547,), (1383357549,), (1383357552,), (1383357576,), (1383357579,), (1383357582,), (1383357586,), (1383357592,), (1383357597,), (1383357616,), (1383357619,), (1383357622,), (1383357627,), (1383357632,), (1383357635,), (1383357640,), (1383357643,), (1383357645,), (1383357682,), (1383357683,), (1383357685,), (1383357732,), (1383357736,), (1383357741,), (1383357746,), (1383357782,), (1383357786,), (1383357789,), (1383357811,), (1383357814,), (1383357817,), (1383357821,), (1383357825,), (1383357830,), (1383358162,), (1383358234,), (1383358318,), (1383358388,), (1383358462,), (1383359183,), (1383359185,), (1383359190,), (1383359195,), (1383359199,), (1383359205,), (1383359340,), (1383359406,), (1383359468,), (1383359528,), (1383359562,), (1383359699,), (1383359767,), (1383359855,), (1383359622,), (1383359627,), (1383359632,), (1383359684,), (1383359731,), (1383359734,), (1383359736,), (1383359740,), (1383359742,), (1383359745,), (1383359754,), (1383359757,), (1383359762,), (1383359765,), (1383359787,), (1383359791,), (1383359793,), (1383359795,), (1383359797,), (1383359802,), (1383359814,), (1383359818,), (1383359821,), (1383359822,), (1383359823,), (1383359824,), (1383359834,), (1383359838,), (1383359842,), (1383359848,), (1383359852,), (1383359871,), (1383359877,), (1383359879,), (1383359885,), (1383359890,), (1383360475,), (1383360543,), (1383360612,), (1383360674,), (1383360744,), (1383360985,), (1383361017,), (1383361027,), (1383361029,), (1383361060,), (1383361118,), (1383361119,), (1383361121,), (1383361124,), (1383361127,), (1383361130,), (1383361138,), (1383361141,), (1383361144,), (1383361147,), (1383361161,), (1383361166,), (1383361170,), (1383361173,), (1383361175,), (1383361177,), (1383361189,), (1383361194,), (1383361196,), (1383361219,), (1383361220,), (1383361221,), (1383361223,), (1383361244,), (1383361248,), (1383361251,), (1383361254,), (1383361258,), (1383361275,), (1383361277,), (1383361279,), (1383361281,), (1383361284,), (1383361288,), (1383361303,), (1383361309,), (1383361312,), (1383361318,), (1383361320,), (1383361326,), (1383361343,), (1383361335,), (1383361339,), (1383361367,), (1383361369,), (1383361370,), (1383361372,), (1383361375,), (1383361403,), (1383361407,), (1383361410,), (1383361414,), (1383361419,), (1383361444,), (1383361446,), (1383361456,), (1383361525,), (1383361593,), (1383362338,), (1383362404,), (1383362407,), (1383362411,), (1383362441,), (1383362443,), (1383362444,), (1383362451,), (1383362858,), (1383362865,), (1383362867,), (1383362870,), (1383362873,), (1383362877,), (1383362890,), (1383362894,), (1383362896,), (1383362899,), (1383362902,), (1383362915,), (1383362920,), (1383362922,), (1383362926,), (1383362930,), (1383362946,), (1383362949,), (1383362952,), (1383362956,), (1383362960,), (1383362962,), (1383362983,), (1383362984,), (1383362986,), (1383362989,), (1383362995,), (1383363021,), (1383363025,), (1383363031,), (1383363035,), (1383363042,), (1383363049,), (1383363053,), (1383363056,), (1383363077,), (1383363081,), (1383363106,), (1383363109,), (1383363110,), (1383363114,), (1383363121,), (1383363126,), (1383363168,), (1383363212,), (1383363337,), (1383363145,), (1383363149,), (1383363152,), (1383363161,), (1383363164,), (1383363181,), (1383363183,), (1383363185,), (1383363193,), (1383363194,), (1383363198,), (1383363202,), (1383363203,), (1383363205,), (1383363208,), (1383363231,), (1383363235,), (1383363238,), (1383363243,), (1383363248,), (1383363250,), (1383363261,), (1383363262,), (1383363265,), (1383363266,), (1383363269,), (1383363270,), (1383363273,), (1383363274,), (1383363275,), (1383363277,), (1383363278,), (1383363279,), (1383363285,), (1383363289,), (1383363291,), (1383363295,), (1383363302,), (1383363320,), (1383363330,), (1383363334,), (1383363342,), (1383363344,), (1383363346,), (1383363349,), (1383363353,), (1383363356,), (1383363374,), (1383363378,), (1383363380,), (1383363384,), (1383363388,), (1383363407,), (1383363410,), (1383363413,), (1383363415,), (1383363420,), (1383363439,), (1383363442,), (1383363445,), (1383363449,), (1383363453,), (1383363457,), (1383363478,), (1383363480,), (1383363481,), (1383363512,), (1383363517,), (1383363520,), (1383363524,), (1383363529,), (1383363555,), (1383363562,), (1383363572,), (1383363649,), (1383364372,), (1383364437,), (1383364510,), (1383364586,), (1383364653,), (1383364891,), (1383364894,), (1383364896,), (1383365030,), (1383365095,), (1383365167,), (1383365230,), (1383365424,), (1383365428,), (1383365430,), (1383365432,), (1383365434,), (1383365409,), (1383365412,), (1383365415,), (1383365419,), (1383365421,), (1383365443,), (1383365446,), (1383365450,), (1383365456,), (1383365481,), (1383365485,), (1383365489,), (1383365493,), (1383365544,), (1383365625,), (1383365694,), (1383365771,), (1383365843,), (1383366374,), (1383366377,), (1383366379,), (1383366382,), (1383366416,), (1383366494,), (1383366599,), (1383366602,), (1383366603,), (1383366631,), (1383366633,), (1383366635,), (1383366637,), (1383366640,), (1383366642,), (1383366666,), (1383366671,), (1383366672,), (1383366675,), (1383366679,), (1383366683,), (1383366709,), (1383366713,), (1383368033,), (1383368038,), (1383368086,), (1383368091,), (1383368096,), (1383368099,), (1383368103,), (1383368109,), (1383368134,), (1383368426,), (1383368427,), (1383368430,), (1383368431,), (1383368458,), (1383368463,), (1383368473,), (1383368477,), (1383368480,), (1383368482,), (1383368485,), (1383368490,), (1383368541,), (1383368544,), (1383367886,), (1383367891,), (1383367895,), (1383367899,), (1383367901,), (1383367903,), (1383367915,), (1383367916,), (1383367920,), (1383367922,), (1383367924,), (1383367926,), (1383367928,), (1383367929,), (1383367931,), (1383367932,), (1383367933,), (1383367934,), (1383367940,), (1383367943,), (1383367948,), (1383367953,), (1383367958,), (1383367963,), (1383367967,), (1383367969,), (1383367973,), (1383367977,), (1383367981,), (1383367984,), (1383367993,), (1383367995,), (1383367999,), (1383368002,), (1383368007,), (1383368010,), (1383368023,), (1383368026,), (1383368053,), (1383368056,), (1383368059,), (1383368063,), (1383368068,), (1383368072,), (1383368120,), (1383368123,), (1383368127,), (1383368130,), (1383368132,), (1383368168,), (1383368171,), (1383368177,), (1383368183,), (1383368187,), (1383368192,), (1383368245,), (1383368247,), (1383368250,), (1383368252,), (1383368255,), (1383368260,), (1383368298,), (1383368303,), (1383368317,), (1383368339,), (1383368344,), (1383368358,), (1383368370,), (1383368372,), (1383368379,), (1383368385,), (1383368391,), (1383368397,), (1383368410,), (1383368411,), (1383368413,), (1383368414,), (1383368417,), (1383368418,), (1383368421,), (1383368422,), (1383368454,), (1383368441,), (1383368446,), (1383368450,), (1383368514,), (1383368531,), (1383368535,), (1383368588,), (1383368591,), (1383368594,), (1383368597,), (1383368603,), (1383368606,), (1383368636,), (1383368641,), (1383368646,), (1383368650,), (1383368654,), (1383368657,), (1383368692,), (1383368695,), (1383368704,), (1383368811,), (1383368815,), (1383368817,), (1383368819,), (1383368821,), (1383368824,), (1383368840,), (1383368843,), (1383368846,), (1383368850,), (1383368880,), (1383368884,), (1383368888,), (1383368893,), (1383368897,), (1383368899,), (1383368908,), (1383368912,), (1383368916,), (1383368934,), (1383368939,), (1383368943,), (1383368947,), (1383368951,), (1383368954,), (1383368985,), (1383368992,), (1383368995,), (1383369081,), (1383369085,), (1383369088,), (1383369091,), (1383369095,), (1383369099,), (1383369119,), (1383369122,), (1383369125,), (1383369127,), (1383369174,), (1383369180,), (1383369186,), (1383369192,), (1383369195,), (1383369200,), (1383369258,), (1383369229,), (1383369234,), (1383369238,), (1383369243,), (1383369290,), (1383369294,), (1383369298,), (1383369300,), (1383369321,), (1383369326,), (1383369331,), (1383369336,), (1383369340,), (1383369344,), (1383369363,), (1383369365,), (1383369367,), (1383369371,), (1383369375,), (1383369378,), (1383369388,), (1383369391,), (1383369394,), (1383369396,), (1383369399,), (1383369409,), (1383369413,), (1383369420,), (1383369428,), (1383369432,), (1383369453,), (1383369456,), (1383369459,), (1383369462,), (1383369467,), (1383369504,), (1383369508,), (1383369511,), (1383369515,), (1383369543,), (1383369547,), (1383369551,), (1383369554,), (1383369559,), (1383369589,), (1383369593,), (1383369597,), (1383369600,), (1383369606,), (1383369612,), (1383369635,), (1383369638,), (1383369639,), (1383369665,), (1383369669,), (1383369672,), (1383369676,), (1383369681,), (1383369687,), (1383369750,), (1383369757,), (1383369764,), (1383369773,), (1383369780,), (1383369835,), (1383369841,), (1383369845,), (1383369849,), (1383369929,), (1383369931,), (1383369933,), (1383369937,), (1383369942,), (1383369947,), (1383369955,), (1383369958,), (1383369962,), (1383369974,), (1383369978,), (1383369981,), (1383369984,), (1383369989,), (1383370035,), (1383370023,), (1383370028,), (1383370033,), (1383370200,), (1383370209,), (1383370210,), (1383370223,), (1383370226,), (1383370254,), (1383370256,), (1383370259,), (1383370263,), (1383370269,), (1383370647,), (1383370651,), (1383370655,), (1383370659,), (1383370846,), (1383370849,), (1383370850,), (1383370852,), (1383370857,), (1383370890,), (1383370894,), (1383370897,), (1383370900,), (1383370905,), (1383370933,), (1383370936,), (1383370938,), (1383370943,), (1383370968,), (1383370971,), (1383370973,), (1383370975,), (1383370981,), (1383370986,), (1383371022,), (1383371025,), (1383371028,), (1383371033,), (1383371037,), (1383371040,), (1383371051,), (1383371054,), (1383371057,), (1383371060,), (1383371063,), (1383371068,), (1383371074,), (1383371080,), (1383371083,), (1383371103,), (1383371108,), (1383371111,), (1383371114,), (1383371119,), (1383371146,), (1383371151,), (1383371153,), (1383371156,), (1383371187,), (1383371190,), (1383371219,), (1383371223,), (1383371224,), (1383371226,), (1383371231,), (1383371236,), (1383371268,), (1383371271,), (1383371274,), (1383371277,), (1383371323,), (1383371310,), (1383371311,), (1383371312,), (1383371314,), (1383371319,), (1383371347,), (1383371358,), (1383371360,), (1383371366,), (1383371369,), (1383371371,), (1383371387,), (1383371389,), (1383371390,), (1383371438,), (1383371442,), (1383371446,), (1383371451,), (1383371455,), (1383371457,), (1383371466,), (1383371470,), (1383371474,), (1383371491,), (1383371502,), (1383371505,), (1383371540,), (1383371543,), (1383371546,), (1383371548,), (1383371551,), (1383371553,), (1383371582,), (1383371587,), (1383371589,), (1383371592,), (1383371595,), (1383372135,), (1383372219,), (1383372302,), (1383372381,), (1383372462,), (1383372937,), (1383372942,), (1383372947,), (1383372951,), (1383372954,), (1383372958,), (1383373244,), (1383373317,), (1383373320,), (1383373321,), (1383373456,), (1383373459,), (1383373461,), (1383373465,), (1383373470,), (1383373475,), (1383373504,), (1383373508,), (1383373510,), (1383373512,), (1383373517,), (1383373520,), (1383373696,), (1383373789,), (1383373884,), (1383374528,), (1383374532,), (1383374554,), (1383374576,), (1383374583,), (1383374593,), (1383374606,), (1383374607,), (1383374608,), (1383374622,), (1383374627,), (1383374632,), (1383374638,), (1383374643,), (1383374649,), (1383374680,), (1383374670,), (1383374674,), (1383374677,), (1383374724,), (1383374733,), (1383374735,), (1383374739,), (1383374744,), (1383374859,), (1383374872,), (1383374880,), (1383374891,), (1383374904,), (1383374934,), (1383374961,), (1383374966,), (1383374969,), (1383374972,), (1383374976,), (1383375008,), (1383375012,), (1383375017,), (1383375022,), (1383375031,), (1383375181,), (1383375184,), (1383375188,), (1383375193,), (1383375199,), (1383375240,), (1383375245,), (1383375274,), (1383375299,), (1383375559,), (1383375586,), (1383375614,), (1383375641,), (1383375675,), (1383375714,), (1383376150,), (1383376190,), (1383376206,), (1383376212,), (1383376215,), (1383376218,), (1383376265,), (1383376296,), (1383376325,), (1383376354,), (1383376392,), (1383376450,), (1383376460,), (1383376463,), (1383376467,), (1383376786,), (1383376815,), (1383376853,), (1383376882,), (1383377245,), (1383377270,), (1383377297,), (1383377356,), (1383377682,), (1383377691,), (1383377693,), (1383377719,), (1383377796,), (1383378353,), (1383378411,), (1383378994,), (1383378897,), (1383378901,), (1383378922,), (1383378959,), (1383379256,), (1383379289,), (1383379313,), (1383379338,), (1383379681,), (1383379819,), (1383379924,), (1383380037,), (1383380170,), (1383380296,), (1383381498,), (1383381544,), (1383381591,), (1383381641,), (1383381694,), (1383381743,), (1383381906,), (1383381961,), (1383382015,), (1383382072,), (1383382131,), (1383382181,), (1383382367,), (1383382419,), (1383382488,), (1383382589,), (1383383922,), (1383384077,), (1383384169,), (1383384271,), (1383384368,), (1383384984,), (1383385095,), (1383385135,), (1383386537,), (1383387034,), (1383387078,), (1383387113,), (1383387167,), (1383387850,), (1383387867,), (1383387892,), (1383387912,), (1383388126,), (1383388138,), (1383388207,), (1383388262,), (1383388297,), (1383388329,), (1383388367,), (1383388391,), (1383388431,), (1383388512,), (1383388517,), (1383388518,), (1383390810,), (1383391354,), (1383389044,), (1383390930,), (1383391099,), (1383391201,), (1383391263,), (1383391299,), (1383391736,), (1383391800,), (1383391839,), (1383391855,), (1383391885,), (1383392169,), (1383392183,), (1383392211,), (1383392244,), (1383392259,), (1383392264,), (1383392288,), (1383392291,), (1383392293,), (1383392577,), (1383392645,), (1383392736,), (1383392824,), (1383393211,), (1383393201,), (1383393206,), (1383393209,), (1383393237,), (1383393255,), (1383393278,), (1383393594,), (1383393598,), (1383393605,), (1383393610,), (1383393614,), (1383394492,), (1383394574,), (1383394654,), (1383394721,), (1383394725,), (1383394733,), (1383394747,), (1383394749,), (1383394756,), (1383394760,), (1383394789,), (1383394839,), (1383395038,), (1383395163,), (1383395225,), (1383395484,), (1383395527,), (1383395530,), (1383395553,), (1383395557,), (1383395559,), (1383395663,), (1383395676,), (1383395698,), (1383395722,), (1383396018,), (1383396041,), (1383396064,), (1383396083,), (1383396090,), (1383396093,), (1383396129,), (1383396133,), (1383396135,), (1383396137,), (1383396171,), (1383396175,), (1383396180,), (1383396185,), (1383396188,), (1383396230,), (1383396235,), (1383396238,), (1383396241,), (1383396245,), (1383396308,), (1383396312,), (1383396315,), (1383396317,), (1383396356,), (1383396359,), (1383396378,), (1383396409,), (1383396437,), (1383396464,), (1383396512,), (1383396550,), (1383396772,), (1383396687,), (1383396691,), (1383396717,), (1383396745,), (1383398323,), (1383398942,), (1383398969,), (1383399001,), (1383399032,), (1383399260,), (1383399285,), (1383399833,), (1383399886,), (1383400571,), (1383400642,), (1383400712,), (1383400962,), (1383400966,), (1383400970,), (1383400975,), (1383401000,), (1383401021,), (1383401113,), (1383401140,), (1383401186,), (1383401189,), (1383401193,), (1383401199,), (1383401202,), (1383401319,), (1383401344,), (1383401375,), (1383401401,), (1383401417,), (1383401420,), (1383401428,), (1383401432,), (1383401445,), (1383401570,), (1383401577,), (1383401601,), (1383401645,), (1383401670,), (1383401702,), (1383402588,), (1383402640,), (1383402695,), (1383402746,), (1383402795,), (1383403752,), (1383403676,), (1383404561,), (1383404640,), (1383404722,), (1383404801,), (1383404877,), (1383405633,), (1383405702,), (1383405771,), (1383406485,), (1383406538,), (1383406587,), (1383406639,), (1383406669,), (1383407234,), (1383407260,), (1383407302,), (1383407334,), (1383407360,), (1383407736,), (1383407762,), (1383407791,), (1383407822,), (1383407849,), (1383407891,), (1383408043,), (1383408046,), (1383408055,), (1383408222,), (1383408254,), (1383408278,), (1383408479,), (1383408487,), (1383408495,), (1383409429,), (1383456239,), (1383456266,), (1383456289,), (1383456625,), (1383456630,), (1383456632,), (1383456635,), (1383456639,), (1383456688,), (1383456718,), (1383456723,), (1383456726,), (1383456746,), (1383456782,), (1383456786,), (1383456790,), (1383456794,), (1383456798,), (1383456818,), (1383456822,), (1383456824,), (1383456827,), (1383456886,), (1383456912,), (1383456936,), (1383456961,), (1383456984,), (1383457766,), (1383458576,), (1383458526,), (1383458551,), (1383458797,), (1383458800,), (1383458811,), (1383458837,), (1383459347,), (1383459398,), (1383459442,), (1383459467,), (1383459490,), (1383459895,), (1383459935,), (1383459963,), (1383459992,), (1383460021,), (1383460298,), (1383460327,), (1383460342,), (1383460344,), (1383460351,), (1383460469,), (1383460500,), (1383460526,), (1383460556,), (1383460581,), (1383460681,), (1383460686,), (1383460692,), (1383460697,), (1383460714,), (1383460718,), (1383460746,), (1383460748,), (1383460753,), (1383460759,), (1383460763,), (1383460767,), (1383460771,), (1383460775,), (1383460777,), (1383460781,), (1383460788,), (1383460798,), (1383460802,), (1383460806,), (1383460811,), (1383460815,), (1383460818,), (1383460844,), (1383460848,), (1383460850,), (1383460854,), (1383460862,), (1383460921,), (1383460923,), (1383460925,), (1383460928,), (1383460934,), (1383460939,), (1383460974,), (1383460979,), (1383460981,), (1383460985,), (1383461001,), (1383461017,), (1383461019,), (1383461026,), (1383461030,), (1383461038,), (1383461117,), (1383461121,), (1383461125,), (1383461127,), (1383461130,), (1383461132,), (1383461137,), (1383461140,), (1383461145,), (1383461147,), (1383461163,), (1383461166,), (1383461170,), (1383461174,), (1383461186,), (1383461194,), (1383461229,), (1383461207,), (1383461210,), (1383461216,), (1383461223,), (1383461273,), (1383461277,), (1383461279,), (1383461283,), (1383461289,), (1383461293,), (1383461342,), (1383461345,), (1383461347,), (1383461349,), (1383461355,), (1383461379,), (1383461382,), (1383461384,), (1383461388,), (1383461394,), (1383461405,), (1383461447,), (1383461452,), (1383461453,), (1383461456,), (1383461464,), (1383461515,), (1383461519,), (1383461532,), (1383461540,), (1383461545,), (1383461548,), (1383461609,), (1383461618,), (1383461620,), (1383461625,), (1383461628,), (1383461646,), (1383461649,), (1383461651,), (1383461654,), (1383461660,), (1383461728,), (1383461731,), (1383461735,), (1383461738,), (1383461742,), (1383462841,), (1383462849,), (1383462851,), (1383462854,), (1383462921,), (1383462923,), (1383462926,), (1383462929,), (1383462933,), (1383462936,), (1383463167,), (1383463198,), (1383463225,), (1383463588,), (1383463573,), (1383463576,), (1383463577,), (1383463579,), (1383463584,), (1383463748,), (1383463781,), (1383463821,), (1383463841,), (1383463852,), (1383463897,), (1383463899,), (1383463900,), (1383463902,), (1383463905,), (1383464117,), (1383464142,), (1383464167,), (1383464196,), (1383464223,), (1383464248,), (1383464379,), (1383464391,), (1383464394,), (1383464398,), (1383464401,), (1383464406,), (1383464437,), (1383464440,), (1383464442,), (1383464445,), (1383464468,), (1383464470,), (1383464471,), (1383464473,), (1383464476,), (1383464479,), (1383464545,), (1383464546,), (1383464548,), (1383464551,), (1383464554,), (1383464557,), (1383464567,), (1383464570,), (1383464574,), (1383464578,), (1383464584,), (1383464587,), (1383464590,), (1383464596,), (1383464600,), (1383464631,), (1383464640,), (1383464645,), (1383464648,), (1383464653,), (1383464654,), (1383464666,), (1383464674,), (1383464679,), (1383464692,), (1383464695,), (1383464710,), (1383464716,), (1383464718,), (1383464723,), (1383464725,), (1383464726,), (1383464727,), (1383464732,), (1383464733,), (1383464734,), (1383464740,), (1383464741,), (1383464742,), (1383464745,), (1383464746,), (1383464748,), (1383464749,), (1383464774,), (1383464778,), (1383464783,), (1383464788,), (1383464794,), (1383464798,), (1383464866,), (1383464871,), (1383464876,), (1383464880,), (1383464882,), (1383464885,), (1383464896,), (1383464898,), (1383464900,), (1383464902,), (1383464904,), (1383464905,), (1383464920,), (1383464925,), (1383464927,), (1383464930,), (1383464933,), (1383464935,), (1383464943,), (1383464949,), (1383464992,), (1383464973,), (1383464980,), (1383464985,), (1383464988,), (1383465005,), (1383465007,), (1383465009,), (1383465012,), (1383465016,), (1383465021,), (1383465043,), (1383465056,), (1383465062,), (1383465077,), (1383465147,), (1383465150,), (1383465153,), (1383465157,), (1383465161,), (1383465188,), (1383465190,), (1383465197,), (1383465203,), (1383465219,), (1383465229,), (1383465249,), (1383465267,), (1383465269,), (1383465270,), (1383465273,), (1383465512,), (1383465517,), (1383465519,), (1383465522,), (1383465525,), (1383465545,), (1383465549,), (1383465553,), (1383465558,), (1383465563,), (1383465570,), (1383465971,), (1383466023,), (1383466075,), (1383466103,), (1383466151,), (1383466182,), (1383466279,), (1383466312,), (1383466334,), (1383466359,), (1383466364,), (1383466371,), (1383466375,), (1383466379,), (1383466383,), (1383466387,), (1383466539,), (1383466566,), (1383466584,), (1383466586,), (1383466589,), (1383466691,), (1383466712,), (1383466737,), (1383466769,), (1383466798,), (1383466939,), (1383466967,), (1383466992,), (1383467018,), (1383467047,), (1383467076,), (1383467887,), (1383467920,), (1383467946,), (1383467975,), (1383468009,), (1383468037,), (1383468127,), (1383468157,), (1383468200,), (1383468441,), (1383468352,), (1383468384,), (1383468411,), (1383468429,), (1383468435,), (1383468465,), (1383468469,), (1383468472,), (1383468478,), (1383468782,), (1383468814,), (1383468830,), (1383468840,), (1383468844,), (1383468858,), (1383468940,), (1383468943,), (1383468948,), (1383468973,), (1383469001,), (1383469028,), (1383469112,), (1383469115,), (1383469125,), (1383469152,), (1383469214,), (1383469264,), (1383469301,), (1383469329,), (1383469353,), (1383469382,), (1383469652,), (1383469701,), (1383469754,), (1383469799,), (1383470312,), (1383470464,), (1383470531,), (1383470633,), (1383470688,), (1383470768,), (1383470906,), (1383470935,), (1383470959,), (1383470987,), (1383471013,), (1383471043,), (1383471203,), (1383471250,), (1383471298,), (1383471343,), (1383471442,), (1383471459,), (1383471466,), (1383471488,), (1383471492,), (1383471511,), (1383471617,), (1383471648,), (1383471686,), (1383471714,), (1383471763,), (1383471993,), (1383471995,), (1383472015,), (1383472034,), (1383472082,), (1383472281,), (1383472298,), (1383472300,), (1383472304,), (1383472316,), (1383472342,), (1383472399,), (1383472423,), (1383472447,), (1383472473,), (1383472774,), (1383472775,), (1383472776,), (1383472778,), (1383472781,), (1383472805,), (1383472906,), (1383472934,), (1383472965,), (1383472994,), (1383473015,), (1383473262,), (1383473157,), (1383473183,), (1383473211,), (1383473235,), (1383473502,), (1383473524,), (1383473578,), (1383473605,), (1383473645,), (1383473948,), (1383473971,), (1383474018,), (1383474078,), (1383474135,), (1383474190,), (1383474357,), (1383474405,), (1383474432,), (1383474442,), (1383474446,), (1383474601,), (1383474603,), (1383474604,), (1383474606,), (1383474618,), (1383474853,), (1383474873,), (1383474886,), (1383474906,), (1383474909,), (1383474912,), (1383474986,), (1383474994,), (1383474996,), (1383474998,), (1383475001,), (1383475013,), (1383475018,), (1383475031,), (1383475055,), (1383475083,), (1383475110,), (1383475334,), (1383475335,), (1383475337,), (1383475348,), (1383475396,), (1383475443,), (1383475515,), (1383475518,), (1383475520,), (1383475521,), (1383475522,), (1383475532,), (1383475537,), (1383475539,), (1383475543,), (1383475545,), (1383475580,), (1383475587,), (1383475594,), (1383475620,), (1383475648,), (1383475677,), (1383475801,), (1383475816,), (1383475823,), (1383475844,), (1383475849,), (1383475928,), (1383475930,), (1383475932,), (1383475934,), (1383475938,), (1383475987,), (1383476006,), (1383476031,), (1383476053,), (1383476080,), (1383476107,), (1383476260,), (1383476263,), (1383476269,), (1383476297,), (1383476313,), (1383476362,), (1383476351,), (1383476354,), (1383476355,), (1383476357,), (1383476359,), (1383476432,), (1383476457,), (1383476483,), (1383476510,), (1383476640,), (1383476642,), (1383476685,), (1383476687,), (1383476710,), (1383476713,), (1383476717,), (1383477006,), (1383477260,), (1383477286,), (1383477313,), (1383477340,), (1383477584,), (1383477593,), (1383477596,), (1383477900,), (1383477963,), (1383478011,), (1383478052,), (1383478485,), (1383478508,), (1383478546,), (1383478596,), (1383478655,), (1383478699,), (1383478788,), (1383478821,), (1383478845,), (1383478870,), (1383478895,), (1383479298,), (1383479324,), (1383479355,), (1383479384,), (1383479411,), (1383479699,), (1383479703,), (1383479719,), (1383479746,), (1383480117,), (1383480140,), (1383480162,), (1383480205,), (1383480233,), (1383480373,), (1383480380,), (1383480382,), (1383480385,), (1383480409,), (1383480412,), (1383480443,), (1383480444,), (1383480446,), (1383480449,), (1383480453,), (1383480456,), (1383480467,), (1383480469,), (1383480478,), (1383480502,), (1383480533,), (1383480625,), (1383480652,), (1383480680,), (1383480708,), (1383480794,), (1383480891,), (1383481191,), (1383481138,), (1383481139,), (1383481173,), (1383481405,), (1383481409,), (1383481412,), (1383481419,), (1383481473,), (1383481720,), (1383481742,), (1383481768,), (1383481796,), (1383481822,), (1383481927,), (1383481929,), (1383481930,), (1383481960,), (1383481962,), (1383481963,), (1383481965,), (1383481967,), (1383481975,), (1383482005,), (1383482007,), (1383482010,), (1383482013,), (1383482015,), (1383482018,), (1383482026,), (1383482029,), (1383482041,), (1383482043,), (1383482046,), (1383482072,), (1383482075,), (1383482077,), (1383482083,), (1383482088,), (1383482090,), (1383482171,), (1383482196,), (1383482219,), (1383482249,), (1383482276,), (1383482306,), (1383482637,), (1383482639,), (1383482713,), (1383482715,), (1383482751,), (1383482758,), (1383482776,), (1383482783,), (1383482803,), (1383482814,), (1383482828,), (1383482841,), (1383482930,), (1383482956,), (1383482981,), (1383483004,), (1383483010,), (1383483014,), (1383483027,), (1383483030,), (1383483032,), (1383483034,), (1383483038,), (1383483139,), (1383483196,), (1383483245,), (1383483298,), (1383483330,), (1383483377,), (1383483816,), (1383483906,), (1383483960,), (1383484009,), (1383484057,), (1383484437,), (1383484482,), (1383484529,), (1383485561,), (1383485614,), (1383485637,), (1383485665,), (1383485692,), (1383485796,), (1383485797,), (1383485826,), (1383485827,), (1383485832,), (1383485833,), (1383485847,), (1383485849,), (1383485881,), (1383485883,), (1383485988,), (1383485929,), (1383485955,), (1383486572,), (1383486597,), (1383486974,), (1383487003,), (1383487016,), (1383487047,), (1383487072,), (1383487113,), (1383487210,), (1383487211,), (1383487212,), (1383487213,), (1383487214,), (1383487216,), (1383487234,), (1383487269,), (1383487271,), (1383487272,), (1383487296,), (1383487299,), (1383487302,), (1383487343,), (1383487345,), (1383487347,), (1383487386,), (1383487389,), (1383487392,), (1383487442,), (1383487445,), (1383487448,), (1383487450,), (1383487451,), (1383487452,), (1383487495,), (1383487498,), (1383487501,), (1383487504,), (1383487505,), (1383487546,), (1383487549,), (1383487553,), (1383487557,), (1383487559,), (1383487561,), (1383487595,), (1383487597,), (1383487599,), (1383487601,), (1383487602,), (1383487626,), (1383487628,), (1383487630,), (1383487632,), (1383487633,), (1383487634,), (1383487669,), (1383487671,), (1383487673,), (1383487675,), (1383487676,), (1383487704,), (1383487707,), (1383487710,), (1383487713,), (1383487715,), (1383487716,), (1383487773,), (1383487762,), (1383487765,), (1383487768,), (1383487772,), (1383487808,), (1383487811,), (1383487814,), (1383487816,), (1383487818,), (1383487858,), (1383487861,), (1383487863,), (1383487867,), (1383487868,), (1383487869,), (1383487906,), (1383487909,), (1383487912,), (1383487919,), (1383487923,), (1383487951,), (1383487954,), (1383487955,), (1383487962,), (1383487966,), (1383487987,), (1383487988,), (1383487990,), (1383487993,), (1383487995,), (1383487997,), (1383488017,), (1383488020,), (1383488021,), (1383488024,), (1383488041,), (1383488042,), (1383488043,), (1383488044,), (1383488046,), (1383488050,), (1383488080,), (1383488082,), (1383488085,), (1383488091,), (1383488093,), (1383488095,), (1383488100,), (1383488102,), (1383488104,), (1383488112,), (1383488115,), (1383488119,), (1383488123,), (1383488126,), (1383488155,), (1383488159,), (1383488163,), (1383488166,), (1383488169,), (1383488300,), (1383488324,), (1383488348,), (1383488373,), (1383488404,), (1383488553,), (1383488555,), (1383488557,), (1383488577,), (1383488610,), (1383488716,), (1383488718,), (1383488719,), (1383488721,), (1383488760,), (1383488763,), (1383488765,), (1383488768,), (1383488771,), (1383488777,), (1383488898,), (1383488848,), (1383488874,), (1383489406,), (1383489460,), (1383489516,), (1383489565,), (1383489589,), (1383489602,), (1383489794,), (1383489818,), (1383489843,), (1383489873,), (1383489994,), (1383489996,), (1383489998,), (1383490000,), (1383490004,), (1383490014,), (1383490212,), (1383490244,), (1383490276,), (1383490283,), (1383490287,), (1383490312,), (1383490418,), (1383490421,), (1383490424,), (1383490428,), (1383490455,), (1383490458,), (1383490460,), (1383490462,), (1383490466,), (1383490470,), (1383490490,), (1383490492,), (1383490520,), (1383490553,), (1383490582,), (1383490727,), (1383490738,), (1383490767,), (1383490777,), (1383490781,), (1383490784,), (1383490795,), (1383490797,), (1383490800,), (1383490803,), (1383490805,), (1383490814,), (1383490818,), (1383490823,), (1383490827,), (1383490831,), (1383490834,), (1383490848,), (1383490874,), (1383490879,), (1383490881,), (1383490928,), (1383490931,), (1383490932,), (1383490935,), (1383490938,), (1383490940,), (1383491024,), (1383491025,), (1383491026,), (1383491028,), (1383491033,), (1383491039,), (1383491232,), (1383491233,), (1383491235,), (1383491255,), (1383491278,), (1383491284,), (1383491307,), (1383491308,), (1383491309,), (1383491310,), (1383491340,), (1383491365,), (1383491390,), (1383491407,), (1383491412,), (1383491464,), (1383491456,), (1383491457,), (1383491458,), (1383491460,), (1383491492,), (1383491520,), (1383491545,), (1383491578,), (1383491606,), (1383491844,), (1383491934,), (1383491975,), (1383492004,), (1383492032,), (1383492075,), (1383492280,), (1383492283,), (1383492284,), (1383492286,), (1383492351,), (1383492376,), (1383492398,), (1383492422,), (1383492446,), (1383492490,), (1383492651,), (1383492678,), (1383492701,), (1383492742,), (1383492794,), (1383492843,), (1383492935,), (1383492937,), (1383492938,), (1383492940,), (1383493145,), (1383493171,), (1383493197,), (1383493222,), (1383493236,), (1383493242,), (1383493272,), (1383493273,), (1383493276,), (1383493279,), (1383493282,), (1383493286,), (1383493292,), (1383493293,), (1383493294,), (1383493295,), (1383493301,), (1383493303,), (1383493307,), (1383493312,), (1383493317,), (1383493320,), (1383493340,), (1383493348,), (1383493350,), (1383493352,), (1383493357,), (1383493435,), (1383493441,), (1383493444,), (1383493448,), (1383493453,), (1383493469,), (1383493470,), (1383493471,), (1383493473,), (1383493502,), (1383494044,), (1383494096,), (1383494147,), (1383494353,), (1383494402,), (1383494458,), (1383494502,), (1383494534,), (1383494714,), (1383494646,), (1383494649,), (1383494681,), (1383495386,), (1383495467,), (1383495535,), (1383495582,), (1383495640,), (1383495696,), (1383496229,), (1383496298,), (1383496354,), (1383496405,), (1383496834,), (1383496879,), (1383496912,), (1383496938,), (1383496976,), (1383497308,), (1383497348,), (1383497403,), (1383497448,), (1383497495,), (1383498024,), (1383498180,), (1383498205,), (1383498238,), (1383498268,), (1383498870,), (1383498914,), (1383498974,), (1383499032,), (1383499056,), (1383499087,), (1383499347,), (1383499396,), (1383499449,), (1383499490,), (1383499722,), (1383499752,), (1383499755,), (1383499757,), (1383499762,), (1383499765,), (1383499845,), (1383499873,), (1383499888,), (1383499892,), (1383499897,), (1383500168,), (1383500211,), (1383500249,), (1383500275,), (1383500302,), (1383500538,), (1383500545,), (1383500549,), (1383500551,), (1383500554,), (1383500740,), (1383500792,), (1383500842,), (1383500890,), (1383500933,), (1383501348,), (1383501397,), (1383501445,), (1383501468,), (1383501472,), (1383501477,), (1383501536,), (1383501642,), (1383501695,), (1383501753,), (1383501804,), (1383502061,), (1383502006,), (1383502010,), (1383502011,), (1383502012,), (1383502033,), (1383502130,), (1383502132,), (1383502175,), (1383502203,), (1383502228,), (1383502360,), (1383502364,), (1383502366,), (1383502369,), (1383502372,), (1383502378,), (1383502391,), (1383502392,), (1383502393,), (1383502400,), (1383502429,), (1383502718,), (1383502742,), (1383502781,), (1383502807,), (1383502835,), (1383503260,), (1383503320,), (1383503365,), (1383503416,), (1383503490,), (1383503546,), (1383503910,), (1383503934,), (1383503959,), (1383503998,), (1383504173,), (1383504175,), (1383504177,), (1383504180,), (1383504205,), (1383504534,), (1383504559,), (1383504584,), (1383504601,), (1383504630,), (1383504656,), (1383504792,), (1383504847,), (1383504890,), (1383504935,), (1383504963,), (1383505069,), (1383505095,), (1383505124,), (1383505159,), (1383505211,), (1383505489,), (1383505522,), (1383505548,), (1383505570,), (1383505575,), (1383505579,), (1383505794,), (1383505821,), (1383505846,), (1383505875,), (1383505901,), (1383505969,), (1383505972,), (1383505973,), (1383505975,), (1383505979,), (1383508996,), (1383515278,), (1383517410,), (1383517460,), (1383517510,), (1383517559,), (1383517807,), (1383517828,), (1383517844,), (1383517847,), (1383518049,), (1383518075,), (1383518078,), (1383518096,), (1383518135,), (1383518138,), (1383518140,), (1383518144,), (1383518153,), (1383518231,), (1383518232,), (1383518233,), (1383518236,), (1383518239,), (1383518297,), (1383518321,), (1383518351,), (1383518380,), (1383518409,), (1383518418,), (1383518501,), (1383518503,), (1383518505,), (1383518508,), (1383518513,), (1383518662,), (1383518679,), (1383518683,), (1383518686,), (1383518691,), (1383518977,), (1383519003,), (1383519010,), (1383519012,), (1383519018,), (1383519023,), (1383519040,), (1383519042,), (1383519043,), (1383519045,), (1383519048,), (1383519080,), (1383519082,), (1383519083,), (1383519085,), (1383519088,), (1383519091,), (1383519103,), (1383519104,), (1383519108,), (1383519158,), (1383519142,), (1383519145,), (1383519148,), (1383519151,), (1383519154,), (1383519170,), (1383519171,), (1383519172,), (1383519174,), (1383519215,), (1383519219,), (1383519220,), (1383519222,), (1383519226,), (1383519230,), (1383519243,), (1383519244,), (1383519249,), (1383519255,), (1383519262,), (1383519281,), (1383519284,), (1383519287,), (1383519290,), (1383519293,), (1383519378,), (1383519392,), (1383519393,), (1383519396,), (1383519401,), (1383519405,), (1383519429,), (1383519431,), (1383519432,), (1383519434,), (1383519438,), (1383519453,), (1383519455,), (1383519462,), (1383519467,), (1383519472,), (1383519478,), (1383519501,), (1383519506,), (1383519510,), (1383519512,), (1383519530,), (1383519552,), (1383519556,), (1383519564,), (1383519568,), (1383519571,), (1383519582,), (1383519586,), (1383519588,), (1383519592,), (1383519597,), (1383519629,), (1383519630,), (1383519631,), (1383519634,), (1383519640,), (1383519660,), (1383519661,), (1383519662,), (1383519664,), (1383519670,), (1383519696,), (1383519699,), (1383519706,), (1383519711,), (1383519717,), (1383519722,), (1383519765,), (1383519768,), (1383519769,), (1383519771,), (1383519775,), (1383519779,), (1383519953,), (1383519984,), (1383520009,), (1383520034,), (1383520259,), (1383520207,), (1383520211,), (1383520226,), (1383520252,), (1383520256,), (1383520368,), (1383520369,), (1383520370,), (1383520372,), (1383520449,), (1383520450,), (1383520453,), (1383520458,), (1383520462,), (1383520466,), (1383520480,), (1383520483,), (1383520488,), (1383520489,), (1383520494,), (1383520495,), (1383520497,), (1383520501,), (1383520505,), (1383520524,), (1383520526,), (1383520530,), (1383520534,), (1383520538,), (1383520542,), (1383520548,), (1383520550,), (1383520552,), (1383520563,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'12092025': {'nb_upload': 34, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26802977]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1383520563, 1383520552, 1383520550, 1383520548, 1383520542, 1383520538, 1383520534, 1383520530, 1383520526, 1383520524, 1383520505, 1383520501, 1383520497, 1383520495, 1383520494] map_info['map_portfolio_photo'] : {26802977: [1383520563, 1383520552, 1383520550, 1383520548, 1383520542, 1383520538, 1383520534, 1383520530, 1383520526, 1383520524, 1383520505, 1383520501, 1383520497, 1383520495, 1383520494, 1383520489, 1383520488, 1383520483, 1383520480, 1383520466, 1383520462, 1383520458, 1383520453, 1383520450, 1383520449, 1383520372, 1383520370, 1383520369, 1383520368, 1383520256, 1383520252, 1383520226, 1383520211, 1383520207]} final : True mtd_id 4302 list_pids : [1383520563, 1383520552, 1383520550, 1383520548, 1383520542, 1383520538, 1383520534, 1383520530, 1383520526, 1383520524, 1383520505, 1383520501, 1383520497, 1383520495, 1383520494] Looping around the photos to save general results len do output : 1 /26802977Didn'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, '3713887') ('4302', '26802977', '1383520563', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520552', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520550', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520548', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520542', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520538', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520534', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520530', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520526', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520524', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520505', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520501', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520497', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520495', None, None, None, None, None, '3713887') ('4302', None, None, None, None, None, None, None, '3713887') ('4302', '26802977', '1383520494', None, None, None, None, None, '3713887') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 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, '26802977', 'None', None, None, None, None, '3713887'), ('4302', '26802977', '1383520563', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520552', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520550', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520548', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520542', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520538', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520534', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520530', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520526', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520524', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520505', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520501', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520497', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520495', None, None, None, None, None, '3713887'), ('4302', '26802977', '1383520494', None, None, None, None, None, '3713887')] time used for this insertion : 0.013866662979125977 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.8897910118103027 time spend to save output : 0.014083385467529297 total time spend for step 5 : 3.903874397277832 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 (3713887) 2.78user 1.98system 0:14.07elapsed 33%CPU (0avgtext+0avgdata 160820maxresident)k 1448inputs+10712outputs (28major+75040minor)pagefaults 0swaps