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 : 312954 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 (3662797) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3662797) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26509771 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3662797'] with mtr_portfolio_ids : ['26509771'] and first list_photo_ids : [] new path : /proc/312954/ Name: python3 Umask: 0002 State: R (running) Tgid: 312954 Ngid: 0 Pid: 312954 PPid: 312953 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 312954 NSpid: 312954 NSpgid: 312647 NSsid: 312647 VmPeak: 1107252 kB VmSize: 1107252 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98616 kB VmRSS: 98616 kB RssAnon: 60172 kB RssFile: 38444 kB RssShmem: 0 kB VmData: 866004 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 568 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 47 nonvoluntary_ctxt_switches: 103 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '312954', 'Ngid': '0', 'Pid': '312954', 'PPid': '312953', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '312954', 'NSpid': '312954', 'NSpgid': '312647', 'NSsid': '312647', 'VmPeak': '1107252 kB', 'VmSize': '1107252 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98616 kB', 'VmRSS': '98616 kB', 'RssAnon': '60172 kB', 'RssFile': '38444 kB', 'RssShmem': '0 kB', 'VmData': '866004 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '568 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '47', 'nonvoluntary_ctxt_switches': '103'} ('datou_batch_current', '312954', '1107252', '0', '1107252', '866004', '98616', b'', 'marlene', '3662797') 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 (26509771) 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 (3662797 ) ) 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 (26509771) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1381306312, 'portfolio_id': 26509771}, {'photo_id': 1381305788, 'portfolio_id': 26509771}, {'photo_id': 1381305787, 'portfolio_id': 26509771}, {'photo_id': 1381304798, 'portfolio_id': 26509771}, {'photo_id': 1381304794, 'portfolio_id': 26509771}, {'photo_id': 1381304790, 'portfolio_id': 26509771}, {'photo_id': 1381304786, 'portfolio_id': 26509771}, {'photo_id': 1381304413, 'portfolio_id': 26509771}, {'photo_id': 1381304412, 'portfolio_id': 26509771}, {'photo_id': 1381304411, 'portfolio_id': 26509771}, {'photo_id': 1381304410, 'portfolio_id': 26509771}, {'photo_id': 1381304173, 'portfolio_id': 26509771}, {'photo_id': 1381304172, 'portfolio_id': 26509771}, {'photo_id': 1381304171, 'portfolio_id': 26509771}, {'photo_id': 1381304170, 'portfolio_id': 26509771}, {'photo_id': 1381303906, 'portfolio_id': 26509771}, {'photo_id': 1381303904, 'portfolio_id': 26509771}, {'photo_id': 1381303902, 'portfolio_id': 26509771}, {'photo_id': 1381303899, 'portfolio_id': 26509771}, {'photo_id': 1381303897, 'portfolio_id': 26509771}, {'photo_id': 1381303717, 'portfolio_id': 26509771}, {'photo_id': 1381303715, 'portfolio_id': 26509771}, {'photo_id': 1381303713, 'portfolio_id': 26509771}, {'photo_id': 1381303711, 'portfolio_id': 26509771}, {'photo_id': 1381303239, 'portfolio_id': 26509771}, {'photo_id': 1381303236, 'portfolio_id': 26509771}, {'photo_id': 1381303233, 'portfolio_id': 26509771}, {'photo_id': 1381303230, 'portfolio_id': 26509771}, {'photo_id': 1381302514, 'portfolio_id': 26509771}, {'photo_id': 1381302513, 'portfolio_id': 26509771}, {'photo_id': 1381302512, 'portfolio_id': 26509771}, {'photo_id': 1381302511, 'portfolio_id': 26509771}, {'photo_id': 1381302189, 'portfolio_id': 26509771}, {'photo_id': 1381302188, 'portfolio_id': 26509771}, {'photo_id': 1381302187, 'portfolio_id': 26509771}, {'photo_id': 1381301123, 'portfolio_id': 26509771}, {'photo_id': 1381301118, 'portfolio_id': 26509771}, {'photo_id': 1381301113, 'portfolio_id': 26509771}, {'photo_id': 1381300433, 'portfolio_id': 26509771}, {'photo_id': 1381300431, 'portfolio_id': 26509771}, {'photo_id': 1381300429, 'portfolio_id': 26509771}, {'photo_id': 1381300427, 'portfolio_id': 26509771}, {'photo_id': 1381300299, 'portfolio_id': 26509771}, {'photo_id': 1381300289, 'portfolio_id': 26509771}] map_portfolio_id_photo_id: {26509771: [1381306312, 1381305788, 1381305787, 1381304798, 1381304794, 1381304790, 1381304786, 1381304413, 1381304412, 1381304411, 1381304410, 1381304173, 1381304172, 1381304171, 1381304170, 1381303906, 1381303904, 1381303902, 1381303899, 1381303897, 1381303717, 1381303715, 1381303713, 1381303711, 1381303239, 1381303236, 1381303233, 1381303230, 1381302514, 1381302513, 1381302512, 1381302511, 1381302189, 1381302188, 1381302187, 1381301123, 1381301118, 1381301113, 1381300433, 1381300431, 1381300429, 1381300427, 1381300299, 1381300289]} ##### 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.02097153663635254 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu Sep 4 06:13:29 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 (26509771) 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 : 26509771 get user id for portfolio 26509771 get sub ptf for main ptf 26509771, type 3726 and hashtags ['autre_refus', 'Carton_brun', 'environnement', 'mal_croppe', 'cartonnette', 'plastique', 'kraft', 'papier', 'metal', 'Teint_Dans_La_Masse', 'flou', 'Carton_gris'] 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`=26509771 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_brun','environnement','mal_croppe','cartonnette','plastique','kraft','papier','metal','Teint_Dans_La_Masse','flou','Carton_gris')) 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`=26509771 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_brun','environnement','mal_croppe','cartonnette','plastique','kraft','papier','metal','Teint_Dans_La_Masse','flou','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 26509771, 'sub_port_id': 26509947, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17847287, 'last_updated_at': datetime.datetime(2025, 9, 3, 23, 49, 9), 'last_updated_at_desc': datetime.datetime(2025, 9, 3, 23, 49, 9), 'last_updated_at_asc': datetime.datetime(2025, 9, 3, 23, 36, 58)}, 'kraft': {'main_port_id': 26509771, 'sub_port_id': 26509948, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17847288, 'last_updated_at': datetime.datetime(2025, 9, 3, 23, 49, 9), 'last_updated_at_desc': datetime.datetime(2025, 9, 3, 23, 49, 9), 'last_updated_at_asc': datetime.datetime(2025, 9, 3, 23, 36, 58)}, 'flou': {'main_port_id': 26509771, 'sub_port_id': 26509949, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17847289, 'last_updated_at': datetime.datetime(2025, 9, 3, 23, 49, 9), 'last_updated_at_desc': datetime.datetime(2025, 9, 3, 23, 49, 9), 'last_updated_at_asc': datetime.datetime(2025, 9, 3, 23, 36, 58)}, 'Carton_brun': {'main_port_id': 26509771, 'sub_port_id': 26509950, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17847290, 'last_updated_at': datetime.datetime(2025, 9, 3, 23, 49, 9), 'last_updated_at_desc': datetime.datetime(2025, 9, 3, 23, 49, 9), 'last_updated_at_asc': datetime.datetime(2025, 9, 3, 23, 36, 58)}, 'papier': {'main_port_id': 26509771, 'sub_port_id': 26509951, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17847291, 'last_updated_at': datetime.datetime(2025, 9, 3, 23, 49, 9), 'last_updated_at_desc': datetime.datetime(2025, 9, 3, 23, 49, 9), 'last_updated_at_asc': datetime.datetime(2025, 9, 3, 23, 36, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 26509771, 'sub_port_id': 26509952, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17847292, 'last_updated_at': datetime.datetime(2025, 9, 3, 23, 49, 9), 'last_updated_at_desc': datetime.datetime(2025, 9, 3, 23, 49, 9), 'last_updated_at_asc': datetime.datetime(2025, 9, 3, 23, 36, 58)}, 'cartonnette': {'main_port_id': 26509771, 'sub_port_id': 26509953, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17847293, 'last_updated_at': datetime.datetime(2025, 9, 3, 23, 49, 9), 'last_updated_at_desc': datetime.datetime(2025, 9, 3, 23, 49, 9), 'last_updated_at_asc': datetime.datetime(2025, 9, 3, 23, 36, 58)}, 'plastique': {'main_port_id': 26509771, 'sub_port_id': 26509954, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17847294, 'last_updated_at': datetime.datetime(2025, 9, 3, 23, 49, 9), 'last_updated_at_desc': datetime.datetime(2025, 9, 3, 23, 49, 9), 'last_updated_at_asc': datetime.datetime(2025, 9, 3, 23, 36, 58)}, 'autre_refus': {'main_port_id': 26509771, 'sub_port_id': 26509955, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17847295, 'last_updated_at': datetime.datetime(2025, 9, 3, 23, 49, 9), 'last_updated_at_desc': datetime.datetime(2025, 9, 3, 23, 49, 9), 'last_updated_at_asc': datetime.datetime(2025, 9, 3, 23, 36, 58)}, 'metal': {'main_port_id': 26509771, 'sub_port_id': 26509956, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17847296, 'last_updated_at': datetime.datetime(2025, 9, 3, 23, 49, 9), 'last_updated_at_desc': datetime.datetime(2025, 9, 3, 23, 49, 9), 'last_updated_at_asc': datetime.datetime(2025, 9, 3, 23, 36, 58)}, 'mal_croppe': {'main_port_id': 26509771, 'sub_port_id': 26509957, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17847297, 'last_updated_at': datetime.datetime(2025, 9, 3, 23, 49, 9), 'last_updated_at_desc': datetime.datetime(2025, 9, 3, 23, 49, 9), 'last_updated_at_asc': datetime.datetime(2025, 9, 3, 23, 36, 58)}, 'Carton_gris': {'main_port_id': 26509771, 'sub_port_id': 26509958, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17847298, 'last_updated_at': datetime.datetime(2025, 9, 3, 23, 49, 9), 'last_updated_at_desc': datetime.datetime(2025, 9, 3, 23, 49, 9), 'last_updated_at_asc': datetime.datetime(2025, 9, 3, 23, 36, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26509947 , 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=26509771 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 (26509947) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26509771) result : ((1381300289,), (1381300299,), (1381300427,), (1381300429,), (1381300431,), (1381300433,), (1381301113,), (1381301118,), (1381301123,), (1381302187,), (1381302188,), (1381302189,), (1381302511,), (1381302512,), (1381302513,), (1381302514,), (1381303230,), (1381303233,), (1381303236,), (1381303239,), (1381303711,), (1381303713,), (1381303715,), (1381303717,), (1381303897,), (1381303899,), (1381303902,), (1381303904,), (1381303906,), (1381304170,), (1381304171,), (1381304172,), (1381304173,), (1381304410,), (1381304411,), (1381304412,), (1381304413,), (1381304786,), (1381304790,), (1381304794,), (1381304798,), (1381305787,), (1381305788,), (1381306312,)) 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 26509948 , 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=26509771 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 (26509948) result : ((1381305361,), (1381373987,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26509771) result : ((1381300289,), (1381300299,), (1381300427,), (1381300429,), (1381300431,), (1381300433,), (1381301113,), (1381301118,), (1381301123,), (1381302187,), (1381302188,), (1381302189,), (1381302511,), (1381302512,), (1381302513,), (1381302514,), (1381303230,), (1381303233,), (1381303236,), (1381303239,), (1381303711,), (1381303713,), (1381303715,), (1381303717,), (1381303897,), (1381303899,), (1381303902,), (1381303904,), (1381303906,), (1381304170,), (1381304171,), (1381304172,), (1381304173,), (1381304410,), (1381304411,), (1381304412,), (1381304413,), (1381304786,), (1381304790,), (1381304794,), (1381304798,), (1381305787,), (1381305788,), (1381306312,)) 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 26509949 , 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=26509771 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 (26509949) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26509771) result : ((1381300289,), (1381300299,), (1381300427,), (1381300429,), (1381300431,), (1381300433,), (1381301113,), (1381301118,), (1381301123,), (1381302187,), (1381302188,), (1381302189,), (1381302511,), (1381302512,), (1381302513,), (1381302514,), (1381303230,), (1381303233,), (1381303236,), (1381303239,), (1381303711,), (1381303713,), (1381303715,), (1381303717,), (1381303897,), (1381303899,), (1381303902,), (1381303904,), (1381303906,), (1381304170,), (1381304171,), (1381304172,), (1381304173,), (1381304410,), (1381304411,), (1381304412,), (1381304413,), (1381304786,), (1381304790,), (1381304794,), (1381304798,), (1381305787,), (1381305788,), (1381306312,)) 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 26509950 , 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=26509771 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 (26509950) result : ((1381304459,), (1381305342,), (1381305671,), (1381306205,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26509771) result : ((1381300289,), (1381300299,), (1381300427,), (1381300429,), (1381300431,), (1381300433,), (1381301113,), (1381301118,), (1381301123,), (1381302187,), (1381302188,), (1381302189,), (1381302511,), (1381302512,), (1381302513,), (1381302514,), (1381303230,), (1381303233,), (1381303236,), (1381303239,), (1381303711,), (1381303713,), (1381303715,), (1381303717,), (1381303897,), (1381303899,), (1381303902,), (1381303904,), (1381303906,), (1381304170,), (1381304171,), (1381304172,), (1381304173,), (1381304410,), (1381304411,), (1381304412,), (1381304413,), (1381304786,), (1381304790,), (1381304794,), (1381304798,), (1381305787,), (1381305788,), (1381306312,)) 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 26509951 , 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=26509771 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 (26509951) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26509771) result : ((1381300289,), (1381300299,), (1381300427,), (1381300429,), (1381300431,), (1381300433,), (1381301113,), (1381301118,), (1381301123,), (1381302187,), (1381302188,), (1381302189,), (1381302511,), (1381302512,), (1381302513,), (1381302514,), (1381303230,), (1381303233,), (1381303236,), (1381303239,), (1381303711,), (1381303713,), (1381303715,), (1381303717,), (1381303897,), (1381303899,), (1381303902,), (1381303904,), (1381303906,), (1381304170,), (1381304171,), (1381304172,), (1381304173,), (1381304410,), (1381304411,), (1381304412,), (1381304413,), (1381304786,), (1381304790,), (1381304794,), (1381304798,), (1381305787,), (1381305788,), (1381306312,)) 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 26509952 , 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=26509771 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 (26509952) result : ((1381304458,), (1381305261,), (1381305265,), (1381305605,), (1381306146,), (1381306147,), (1381306201,), (1381306877,), (1381306933,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26509771) result : ((1381300289,), (1381300299,), (1381300427,), (1381300429,), (1381300431,), (1381300433,), (1381301113,), (1381301118,), (1381301123,), (1381302187,), (1381302188,), (1381302189,), (1381302511,), (1381302512,), (1381302513,), (1381302514,), (1381303230,), (1381303233,), (1381303236,), (1381303239,), (1381303711,), (1381303713,), (1381303715,), (1381303717,), (1381303897,), (1381303899,), (1381303902,), (1381303904,), (1381303906,), (1381304170,), (1381304171,), (1381304172,), (1381304173,), (1381304410,), (1381304411,), (1381304412,), (1381304413,), (1381304786,), (1381304790,), (1381304794,), (1381304798,), (1381305787,), (1381305788,), (1381306312,)) 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 26509953 , 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=26509771 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 (26509953) result : ((1381305635,), (1381305640,), (1381305644,), (1381306105,), (1381306898,), (1381306899,), (1381306940,), (1381306941,), (1381306942,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26509771) result : ((1381300289,), (1381300299,), (1381300427,), (1381300429,), (1381300431,), (1381300433,), (1381301113,), (1381301118,), (1381301123,), (1381302187,), (1381302188,), (1381302189,), (1381302511,), (1381302512,), (1381302513,), (1381302514,), (1381303230,), (1381303233,), (1381303236,), (1381303239,), (1381303711,), (1381303713,), (1381303715,), (1381303717,), (1381303897,), (1381303899,), (1381303902,), (1381303904,), (1381303906,), (1381304170,), (1381304171,), (1381304172,), (1381304173,), (1381304410,), (1381304411,), (1381304412,), (1381304413,), (1381304786,), (1381304790,), (1381304794,), (1381304798,), (1381305787,), (1381305788,), (1381306312,)) 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 26509954 , 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=26509771 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 (26509954) result : ((1381305692,), (1381306106,), (1381306107,), (1381306206,), (1381306207,), (1381306319,), (1381306943,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26509771) result : ((1381300289,), (1381300299,), (1381300427,), (1381300429,), (1381300431,), (1381300433,), (1381301113,), (1381301118,), (1381301123,), (1381302187,), (1381302188,), (1381302189,), (1381302511,), (1381302512,), (1381302513,), (1381302514,), (1381303230,), (1381303233,), (1381303236,), (1381303239,), (1381303711,), (1381303713,), (1381303715,), (1381303717,), (1381303897,), (1381303899,), (1381303902,), (1381303904,), (1381303906,), (1381304170,), (1381304171,), (1381304172,), (1381304173,), (1381304410,), (1381304411,), (1381304412,), (1381304413,), (1381304786,), (1381304790,), (1381304794,), (1381304798,), (1381305787,), (1381305788,), (1381306312,)) 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 26509955 , 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=26509771 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 (26509955) result : ((1381304315,), (1381304362,), (1381304364,), (1381305295,), (1381305299,), (1381305303,), (1381306085,), (1381306086,), (1381306181,), (1381306182,), (1381306202,), (1381306886,), (1381306888,), (1381306890,), (1381306935,), (1381373981,), (1381373982,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26509771) result : ((1381300289,), (1381300299,), (1381300427,), (1381300429,), (1381300431,), (1381300433,), (1381301113,), (1381301118,), (1381301123,), (1381302187,), (1381302188,), (1381302189,), (1381302511,), (1381302512,), (1381302513,), (1381302514,), (1381303230,), (1381303233,), (1381303236,), (1381303239,), (1381303711,), (1381303713,), (1381303715,), (1381303717,), (1381303897,), (1381303899,), (1381303902,), (1381303904,), (1381303906,), (1381304170,), (1381304171,), (1381304172,), (1381304173,), (1381304410,), (1381304411,), (1381304412,), (1381304413,), (1381304786,), (1381304790,), (1381304794,), (1381304798,), (1381305787,), (1381305788,), (1381306312,)) 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 26509956 , 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=26509771 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 (26509956) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26509771) result : ((1381300289,), (1381300299,), (1381300427,), (1381300429,), (1381300431,), (1381300433,), (1381301113,), (1381301118,), (1381301123,), (1381302187,), (1381302188,), (1381302189,), (1381302511,), (1381302512,), (1381302513,), (1381302514,), (1381303230,), (1381303233,), (1381303236,), (1381303239,), (1381303711,), (1381303713,), (1381303715,), (1381303717,), (1381303897,), (1381303899,), (1381303902,), (1381303904,), (1381303906,), (1381304170,), (1381304171,), (1381304172,), (1381304173,), (1381304410,), (1381304411,), (1381304412,), (1381304413,), (1381304786,), (1381304790,), (1381304794,), (1381304798,), (1381305787,), (1381305788,), (1381306312,)) 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 26509957 , 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=26509771 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 (26509957) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26509771) result : ((1381300289,), (1381300299,), (1381300427,), (1381300429,), (1381300431,), (1381300433,), (1381301113,), (1381301118,), (1381301123,), (1381302187,), (1381302188,), (1381302189,), (1381302511,), (1381302512,), (1381302513,), (1381302514,), (1381303230,), (1381303233,), (1381303236,), (1381303239,), (1381303711,), (1381303713,), (1381303715,), (1381303717,), (1381303897,), (1381303899,), (1381303902,), (1381303904,), (1381303906,), (1381304170,), (1381304171,), (1381304172,), (1381304173,), (1381304410,), (1381304411,), (1381304412,), (1381304413,), (1381304786,), (1381304790,), (1381304794,), (1381304798,), (1381305787,), (1381305788,), (1381306312,)) 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 26509958 , 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=26509771 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 (26509958) result : ((1381304318,), (1381304371,), (1381305323,), (1381306088,), (1381306103,), (1381306183,), (1381306203,), (1381306936,), (1381306937,), (1381306938,), (1381373985,), (1381373986,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26509771) result : ((1381300289,), (1381300299,), (1381300427,), (1381300429,), (1381300431,), (1381300433,), (1381301113,), (1381301118,), (1381301123,), (1381302187,), (1381302188,), (1381302189,), (1381302511,), (1381302512,), (1381302513,), (1381302514,), (1381303230,), (1381303233,), (1381303236,), (1381303239,), (1381303711,), (1381303713,), (1381303715,), (1381303717,), (1381303897,), (1381303899,), (1381303902,), (1381303904,), (1381303906,), (1381304170,), (1381304171,), (1381304172,), (1381304173,), (1381304410,), (1381304411,), (1381304412,), (1381304413,), (1381304786,), (1381304790,), (1381304794,), (1381304798,), (1381305787,), (1381305788,), (1381306312,)) 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`=26509771 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_brun','environnement','mal_croppe','cartonnette','plastique','kraft','papier','metal','Teint_Dans_La_Masse','flou','Carton_gris')) 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`=26509771 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_brun','environnement','mal_croppe','cartonnette','plastique','kraft','papier','metal','Teint_Dans_La_Masse','flou','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 26509771, 'sub_port_id': 26509959, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17847299, 'last_updated_at': datetime.datetime(2025, 9, 3, 23, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 3, 23, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 3, 23, 36, 59)}, 'kraft': {'main_port_id': 26509771, 'sub_port_id': 26509960, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17847300, 'last_updated_at': datetime.datetime(2025, 9, 3, 23, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 3, 23, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 3, 23, 36, 59)}, 'flou': {'main_port_id': 26509771, 'sub_port_id': 26509961, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17847301, 'last_updated_at': datetime.datetime(2025, 9, 3, 23, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 3, 23, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 3, 23, 36, 59)}, 'Carton_brun': {'main_port_id': 26509771, 'sub_port_id': 26509962, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17847302, 'last_updated_at': datetime.datetime(2025, 9, 3, 23, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 3, 23, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 3, 23, 36, 59)}, 'papier': {'main_port_id': 26509771, 'sub_port_id': 26509963, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17847303, 'last_updated_at': datetime.datetime(2025, 9, 3, 23, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 3, 23, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 3, 23, 36, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 26509771, 'sub_port_id': 26509964, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17847304, 'last_updated_at': datetime.datetime(2025, 9, 3, 23, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 3, 23, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 3, 23, 36, 59)}, 'cartonnette': {'main_port_id': 26509771, 'sub_port_id': 26509965, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17847305, 'last_updated_at': datetime.datetime(2025, 9, 3, 23, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 3, 23, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 3, 23, 36, 59)}, 'plastique': {'main_port_id': 26509771, 'sub_port_id': 26509966, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17847306, 'last_updated_at': datetime.datetime(2025, 9, 3, 23, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 3, 23, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 3, 23, 36, 59)}, 'autre_refus': {'main_port_id': 26509771, 'sub_port_id': 26509967, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17847307, 'last_updated_at': datetime.datetime(2025, 9, 3, 23, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 3, 23, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 3, 23, 36, 59)}, 'metal': {'main_port_id': 26509771, 'sub_port_id': 26509968, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17847308, 'last_updated_at': datetime.datetime(2025, 9, 3, 23, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 3, 23, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 3, 23, 36, 59)}, 'mal_croppe': {'main_port_id': 26509771, 'sub_port_id': 26509969, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17847309, 'last_updated_at': datetime.datetime(2025, 9, 3, 23, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 3, 23, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 3, 23, 36, 59)}, 'Carton_gris': {'main_port_id': 26509771, 'sub_port_id': 26509970, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17847310, 'last_updated_at': datetime.datetime(2025, 9, 3, 23, 49, 9), 'last_updated_at_desc': datetime.datetime(2025, 9, 3, 23, 49, 9), 'last_updated_at_asc': datetime.datetime(2025, 9, 3, 23, 36, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26509959,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26509947 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26509960,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26509948 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26509961,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26509949 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26509962,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26509950 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26509963,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26509951 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26509964,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26509952 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26509965,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26509953 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26509966,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26509954 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26509967,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26509955 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26509968,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26509956 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26509969,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26509957 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26509970,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26509958 lien utilise dans velours : https://marlene.fotonower.com/velours/26509959,26509960,26509961,26509962,26509963,26509964,26509965,26509966,26509967,26509968,26509969,26509970?tags=environnement,kraft,flou,Carton_brun,papier,Teint_Dans_La_Masse,cartonnette,plastique,autre_refus,metal,mal_croppe,Carton_gris After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26509771]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1381306312, 1381305788, 1381305787, 1381304798, 1381304794, 1381304790, 1381304786, 1381304413, 1381304412, 1381304411, 1381304410, 1381304173, 1381304172, 1381304171, 1381304170, 1381303906, 1381303904, 1381303902, 1381303899, 1381303897, 1381303717, 1381303715, 1381303713, 1381303711, 1381303239, 1381303236, 1381303233, 1381303230, 1381302514, 1381302513, 1381302512, 1381302511, 1381302189, 1381302188, 1381302187, 1381301123, 1381301118, 1381301113, 1381300433, 1381300431, 1381300429, 1381300427, 1381300299, 1381300289] map_info['map_portfolio_photo'] : {26509771: [1381306312, 1381305788, 1381305787, 1381304798, 1381304794, 1381304790, 1381304786, 1381304413, 1381304412, 1381304411, 1381304410, 1381304173, 1381304172, 1381304171, 1381304170, 1381303906, 1381303904, 1381303902, 1381303899, 1381303897, 1381303717, 1381303715, 1381303713, 1381303711, 1381303239, 1381303236, 1381303233, 1381303230, 1381302514, 1381302513, 1381302512, 1381302511, 1381302189, 1381302188, 1381302187, 1381301123, 1381301118, 1381301113, 1381300433, 1381300431, 1381300429, 1381300427, 1381300299, 1381300289]} final : False mtd_id 4302 list_pids : [1381306312, 1381305788, 1381305787, 1381304798, 1381304794, 1381304790, 1381304786, 1381304413, 1381304412, 1381304411, 1381304410, 1381304173, 1381304172, 1381304171, 1381304170, 1381303906, 1381303904, 1381303902, 1381303899, 1381303897, 1381303717, 1381303715, 1381303713, 1381303711, 1381303239, 1381303236, 1381303233, 1381303230, 1381302514, 1381302513, 1381302512, 1381302511, 1381302189, 1381302188, 1381302187, 1381301123, 1381301118, 1381301113, 1381300433, 1381300431, 1381300429, 1381300427, 1381300299, 1381300289] Looping around the photos to save general results len do output : 1 /26509771. 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, '3662797') ('4302', '26509771', '1381306312', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381305788', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381305787', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304798', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304794', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304790', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304786', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304413', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304412', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304411', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304410', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304173', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304172', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304171', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304170', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303906', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303904', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303902', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303899', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303897', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303717', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303715', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303713', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303711', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303239', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303236', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303233', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303230', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302514', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302513', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302512', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302511', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302189', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302188', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302187', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381301123', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381301118', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381301113', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381300433', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381300431', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381300429', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381300427', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381300299', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381300289', None, None, None, None, None, '3662797') 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', None, '26509771', "{'environnement': 26509947, 'kraft': 26509948, 'flou': 26509949, 'Carton_brun': 26509950, 'papier': 26509951, 'Teint_Dans_La_Masse': 26509952, 'cartonnette': 26509953, 'plastique': 26509954, 'autre_refus': 26509955, 'metal': 26509956, 'mal_croppe': 26509957, 'Carton_gris': 26509958}", None, None, None, None, '3662797'), ('4302', '26509771', '1381306312', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381305788', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381305787', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304798', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304794', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304790', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304786', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304413', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304412', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304411', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304410', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304173', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304172', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304171', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304170', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303906', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303904', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303902', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303899', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303897', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303717', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303715', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303713', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303711', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303239', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303236', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303233', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303230', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381302514', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381302513', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381302512', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381302511', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381302189', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381302188', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381302187', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381301123', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381301118', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381301113', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381300433', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381300431', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381300429', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381300427', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381300299', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381300289', None, None, None, None, None, '3662797')] time used for this insertion : 0.1132955551147461 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7200744152069092 time spend to save output : 0.11379647254943848 total time spend for step 1 : 1.8338708877563477 step2:final Thu Sep 4 06:13:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26509771) 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 26509771 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1381300299,1381300433,1381300289,1381300431,1381300429,1381300427,1381301123,1381301118,1381301113,1381302189,1381302188,1381302187,1381302514,1381302513,1381302512,1381302511,1381303239,1381303236,1381303233,1381303230,1381303717,1381303715,1381303713,1381303711,1381303906,1381303904,1381303902,1381303899,1381303897,1381304173,1381304172,1381304171,1381304170,1381304413,1381304412,1381304411,1381304410,1381304798,1381304794,1381304790,1381304786,1381305788,1381305787,1381306312); 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([26509771]) Inside saveOutput : final : False verbose : True original output for save of step final : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} new output for save of step final : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} [1381306312, 1381305788, 1381305787, 1381304798, 1381304794, 1381304790, 1381304786, 1381304413, 1381304412, 1381304411, 1381304410, 1381304173, 1381304172, 1381304171, 1381304170, 1381303906, 1381303904, 1381303902, 1381303899, 1381303897, 1381303717, 1381303715, 1381303713, 1381303711, 1381303239, 1381303236, 1381303233, 1381303230, 1381302514, 1381302513, 1381302512, 1381302511, 1381302189, 1381302188, 1381302187, 1381301123, 1381301118, 1381301113, 1381300433, 1381300431, 1381300429, 1381300427, 1381300299, 1381300289] map_info['map_portfolio_photo'] : {26509771: [1381306312, 1381305788, 1381305787, 1381304798, 1381304794, 1381304790, 1381304786, 1381304413, 1381304412, 1381304411, 1381304410, 1381304173, 1381304172, 1381304171, 1381304170, 1381303906, 1381303904, 1381303902, 1381303899, 1381303897, 1381303717, 1381303715, 1381303713, 1381303711, 1381303239, 1381303236, 1381303233, 1381303230, 1381302514, 1381302513, 1381302512, 1381302511, 1381302189, 1381302188, 1381302187, 1381301123, 1381301118, 1381301113, 1381300433, 1381300431, 1381300429, 1381300427, 1381300299, 1381300289]} final : False mtd_id 4302 list_pids : [1381306312, 1381305788, 1381305787, 1381304798, 1381304794, 1381304790, 1381304786, 1381304413, 1381304412, 1381304411, 1381304410, 1381304173, 1381304172, 1381304171, 1381304170, 1381303906, 1381303904, 1381303902, 1381303899, 1381303897, 1381303717, 1381303715, 1381303713, 1381303711, 1381303239, 1381303236, 1381303233, 1381303230, 1381302514, 1381302513, 1381302512, 1381302511, 1381302189, 1381302188, 1381302187, 1381301123, 1381301118, 1381301113, 1381300433, 1381300431, 1381300429, 1381300427, 1381300299, 1381300289] Looping around the photos to save general results len do output : 44 /1381306312.Didn't retrieve data . /1381305788.Didn't retrieve data . /1381305787.Didn't retrieve data . /1381304798.Didn't retrieve data . /1381304794.Didn't retrieve data . /1381304790.Didn't retrieve data . /1381304786.Didn't retrieve data . /1381304413.Didn't retrieve data . /1381304412.Didn't retrieve data . /1381304411.Didn't retrieve data . /1381304410.Didn't retrieve data . /1381304173.Didn't retrieve data . /1381304172.Didn't retrieve data . /1381304171.Didn't retrieve data . /1381304170.Didn't retrieve data . /1381303906.Didn't retrieve data . /1381303904.Didn't retrieve data . /1381303902.Didn't retrieve data . /1381303899.Didn't retrieve data . /1381303897.Didn't retrieve data . /1381303717.Didn't retrieve data . /1381303715.Didn't retrieve data . /1381303713.Didn't retrieve data . /1381303711.Didn't retrieve data . /1381303239.Didn't retrieve data . /1381303236.Didn't retrieve data . /1381303233.Didn't retrieve data . /1381303230.Didn't retrieve data . /1381302514.Didn't retrieve data . /1381302513.Didn't retrieve data . /1381302512.Didn't retrieve data . /1381302511.Didn't retrieve data . /1381302189.Didn't retrieve data . /1381302188.Didn't retrieve data . /1381302187.Didn't retrieve data . /1381301123.Didn't retrieve data . /1381301118.Didn't retrieve data . /1381301113.Didn't retrieve data . /1381300433.Didn't retrieve data . /1381300431.Didn't retrieve data . /1381300429.Didn't retrieve data . /1381300427.Didn't retrieve data . /1381300299.Didn't retrieve data . /1381300289.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, '3662797') ('4302', '26509771', '1381306312', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381305788', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381305787', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304798', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304794', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304790', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304786', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304413', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304412', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304411', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304410', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304173', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304172', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304171', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304170', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303906', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303904', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303902', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303899', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303897', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303717', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303715', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303713', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303711', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303239', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303236', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303233', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303230', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302514', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302513', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302512', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302511', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302189', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302188', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302187', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381301123', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381301118', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381301113', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381300433', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381300431', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381300429', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381300427', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381300299', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381300289', None, None, None, None, None, '3662797') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 132 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', '26509771', '1381306312', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381305788', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381305787', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381304798', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381304794', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381304790', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381304786', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381304413', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381304412', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381304411', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381304410', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381304173', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381304172', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381304171', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381304170', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381303906', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381303904', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381303902', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381303899', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381303897', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381303717', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381303715', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381303713', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381303711', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381303239', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381303236', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381303233', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381303230', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381302514', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381302513', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381302512', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381302511', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381302189', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381302188', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381302187', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381301123', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381301118', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381301113', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381300433', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381300431', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381300429', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381300427', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381300299', '0.06594043718418545', None, None, None, None, '3662797'), ('4302', '26509771', '1381300289', '0.06594043718418545', None, None, None, None, '3662797')] time used for this insertion : 0.12235665321350098 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.14620733261108398 time spend to save output : 0.12408638000488281 total time spend for step 2 : 0.2702937126159668 step3:velours_tree Thu Sep 4 06:13:31 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 : {26509771: [{'environnement': 26509947, 'kraft': 26509948, 'flou': 26509949, 'Carton_brun': 26509950, 'papier': 26509951, 'Teint_Dans_La_Masse': 26509952, 'cartonnette': 26509953, 'plastique': 26509954, 'autre_refus': 26509955, 'metal': 26509956, 'mal_croppe': 26509957, 'Carton_gris': 26509958}]} input_args_next_step : {26509771: ()} output_args : {26509771: [{'environnement': 26509947, 'kraft': 26509948, 'flou': 26509949, 'Carton_brun': 26509950, 'papier': 26509951, 'Teint_Dans_La_Masse': 26509952, 'cartonnette': 26509953, 'plastique': 26509954, 'autre_refus': 26509955, 'metal': 26509956, 'mal_croppe': 26509957, 'Carton_gris': 26509958}]} args : 26509771 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 : ({'environnement': 26509947, 'kraft': 26509948, 'flou': 26509949, 'Carton_brun': 26509950, 'papier': 26509951, 'Teint_Dans_La_Masse': 26509952, 'cartonnette': 26509953, 'plastique': 26509954, 'autre_refus': 26509955, 'metal': 26509956, 'mal_croppe': 26509957, 'Carton_gris': 26509958},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26509771) 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([26509771]) 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.30270957946777344 time spend to save output : 6.079673767089844e-05 total time spend for step 3 : 0.30277037620544434 step4:send_mail_cod Thu Sep 4 06:13:31 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 : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} input_args_next_step : {1381306312: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381306312 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381305788 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381305787 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381304798 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381304794 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381304790 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381304786 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381304413 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381304412 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381304411 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381304410 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381304173 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381304172 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381304171 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381304170 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381303906 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381303904 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381303902 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381303899 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381303897 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381303717 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381303715 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381303713 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381303711 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381303239 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381303236 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381303233 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381303230 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381302514 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381302513 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381302512 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381302511 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381302189 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381302188 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381302187 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381301123 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381301118 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381301113 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381300433 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381300431 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381300429 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381300427 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381300299 depend.output_id : 0 input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ()} output_args : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',)} args : 1381300289 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 : {26509771: [{'environnement': 26509947, 'kraft': 26509948, 'flou': 26509949, 'Carton_brun': 26509950, 'papier': 26509951, 'Teint_Dans_La_Masse': 26509952, 'cartonnette': 26509953, 'plastique': 26509954, 'autre_refus': 26509955, 'metal': 26509956, 'mal_croppe': 26509957, 'Carton_gris': 26509958}]} input_args_next_step : {1381306312: ('0.06594043718418545',), 1381305788: ('0.06594043718418545',), 1381305787: ('0.06594043718418545',), 1381304798: ('0.06594043718418545',), 1381304794: ('0.06594043718418545',), 1381304790: ('0.06594043718418545',), 1381304786: ('0.06594043718418545',), 1381304413: ('0.06594043718418545',), 1381304412: ('0.06594043718418545',), 1381304411: ('0.06594043718418545',), 1381304410: ('0.06594043718418545',), 1381304173: ('0.06594043718418545',), 1381304172: ('0.06594043718418545',), 1381304171: ('0.06594043718418545',), 1381304170: ('0.06594043718418545',), 1381303906: ('0.06594043718418545',), 1381303904: ('0.06594043718418545',), 1381303902: ('0.06594043718418545',), 1381303899: ('0.06594043718418545',), 1381303897: ('0.06594043718418545',), 1381303717: ('0.06594043718418545',), 1381303715: ('0.06594043718418545',), 1381303713: ('0.06594043718418545',), 1381303711: ('0.06594043718418545',), 1381303239: ('0.06594043718418545',), 1381303236: ('0.06594043718418545',), 1381303233: ('0.06594043718418545',), 1381303230: ('0.06594043718418545',), 1381302514: ('0.06594043718418545',), 1381302513: ('0.06594043718418545',), 1381302512: ('0.06594043718418545',), 1381302511: ('0.06594043718418545',), 1381302189: ('0.06594043718418545',), 1381302188: ('0.06594043718418545',), 1381302187: ('0.06594043718418545',), 1381301123: ('0.06594043718418545',), 1381301118: ('0.06594043718418545',), 1381301113: ('0.06594043718418545',), 1381300433: ('0.06594043718418545',), 1381300431: ('0.06594043718418545',), 1381300429: ('0.06594043718418545',), 1381300427: ('0.06594043718418545',), 1381300299: ('0.06594043718418545',), 1381300289: ('0.06594043718418545',), 26509771: ()} output_args : {26509771: [{'environnement': 26509947, 'kraft': 26509948, 'flou': 26509949, 'Carton_brun': 26509950, 'papier': 26509951, 'Teint_Dans_La_Masse': 26509952, 'cartonnette': 26509953, 'plastique': 26509954, 'autre_refus': 26509955, 'metal': 26509956, 'mal_croppe': 26509957, 'Carton_gris': 26509958}]} args : 26509771 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 :45, first value : ('0.06594043718418545',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26509771) 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 (1381306312,1381305788,1381305787,1381304798,1381304794,1381304790,1381304786,1381304413,1381304412,1381304411,1381304410,1381304173,1381304172,1381304171,1381304170,1381303906,1381303904,1381303902,1381303899,1381303897,1381303717,1381303715,1381303713,1381303711,1381303239,1381303236,1381303233,1381303230,1381302514,1381302513,1381302512,1381302511,1381302189,1381302188,1381302187,1381301123,1381301118,1381301113,1381300433,1381300431,1381300429,1381300427,1381300299,1381300289) Found this number of photos: 44 ##### Call download_photos : nb_thread : 5 begin to download photo : 1381300289 begin to download photo : 1381302187 begin to download photo : 1381303236 begin to download photo : 1381303904 begin to download photo : 1381304413 download finish for photo 1381304413 begin to download photo : 1381304786 download finish for photo 1381303236 begin to download photo : 1381303239 download finish for photo 1381300289 begin to download photo : 1381300299 download finish for photo 1381303904 begin to download photo : 1381303906 download finish for photo 1381302187 begin to download photo : 1381302188 download finish for photo 1381303906 begin to download photo : 1381304170 download finish for photo 1381303239 begin to download photo : 1381303711 download finish for photo 1381304786 begin to download photo : 1381304790 download finish for photo 1381302188 begin to download photo : 1381302189 download finish for photo 1381300299 begin to download photo : 1381300427 download finish for photo 1381303711 begin to download photo : 1381303713 download finish for photo 1381304170 begin to download photo : 1381304171 download finish for photo 1381304790 begin to download photo : 1381304794 download finish for photo 1381302189 begin to download photo : 1381302511 download finish for photo 1381300427 begin to download photo : 1381300429 download finish for photo 1381304171 begin to download photo : 1381304172 download finish for photo 1381304794 begin to download photo : 1381304798 download finish for photo 1381302511 begin to download photo : 1381302512 download finish for photo 1381300429 begin to download photo : 1381300431 download finish for photo 1381303713 begin to download photo : 1381303715 download finish for photo 1381304172 begin to download photo : 1381304173 download finish for photo 1381302512 begin to download photo : 1381302513 download finish for photo 1381304798 begin to download photo : 1381305787 download finish for photo 1381300431 begin to download photo : 1381300433 download finish for photo 1381303715 begin to download photo : 1381303717 download finish for photo 1381304173 begin to download photo : 1381304410 download finish for photo 1381305787 begin to download photo : 1381305788 download finish for photo 1381302513 begin to download photo : 1381302514 download finish for photo 1381303717 begin to download photo : 1381303897 download finish for photo 1381300433 begin to download photo : 1381301113 download finish for photo 1381304410 begin to download photo : 1381304411 download finish for photo 1381305788 begin to download photo : 1381306312 download finish for photo 1381302514 begin to download photo : 1381303230 download finish for photo 1381303897 begin to download photo : 1381303899 download finish for photo 1381301113 begin to download photo : 1381301118 download finish for photo 1381306312 download finish for photo 1381304411 begin to download photo : 1381304412 download finish for photo 1381301118 begin to download photo : 1381301123 download finish for photo 1381303899 begin to download photo : 1381303902 download finish for photo 1381303230 begin to download photo : 1381303233 download finish for photo 1381304412 download finish for photo 1381301123 download finish for photo 1381303233 download finish for photo 1381303902 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 : 44 ; length of list_pids : 44 ; length of list_args : 44 results_Auto_P26509771_04-09-2025_06_13_32.pdf 26509948 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=26509948 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1381305361: '1756935667_774229_1381303899_e1449829c43a69a20ac97a878b700438_10120450_rle_crop_3943436168_0.png', 1381373987: '1756953786_1827576_1381303239_236a0db6a9446bdfd112258ac4a297dd_9313392_rle_crop_3943846225_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/f0b1f3e2b7300e357b8a72519718b450_72206211.png change filename to text .imagette265099481756959212/ imagette265099481756959212/1756953786_1827576_1381303239_236a0db6a9446bdfd112258ac4a297dd_9313392_rle_crop_3943846225_0.png.png imagette265099481756959212/1756935667_774229_1381303899_e1449829c43a69a20ac97a878b700438_10120450_rle_crop_3943436168_0.png.png imagette265099491756959213/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/4/b6af3a7ff06e3c57ac2ff96404c87237_8107536.png imagette265099481756959212 26509949 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=26509949 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette265099491756959213 26509953 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=26509953 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1381305635: '1756935686_777390_1381303236_0af2698e457067ce98888c891790f8b7_10762306_rle_crop_3943436293_0.png', 1381305640: '1756935686_777390_1381303233_3a3a9e37a40b094a8a3b3f153cb90ec9_30410745_rle_crop_3943436307_0.png', 1381305644: '1756935686_777390_1381303230_c461c4f5a91f268e7013b7b79b5be46d_52187208_rle_crop_3943436318_0.png', 1381306105: '1756935806_783577_1381301113_94790c511de8174521a41dc1fce47304_85212214_rle_crop_3943438333_0.png', 1381306898: '1756936385_815998_1381300431_04898ee78d3bbc290bb58d8cd61754d0_73753493_rle_crop_3943442001_0.png', 1381306899: '1756936385_815998_1381300429_298b9db537546d665fb40ae5b2a93435_50022483_rle_crop_3943442274_0.png', 1381306940: '1756936407_816383_1381300433_a8d3bebfe987dde18e1f3d35924b5780_56353614_rle_crop_3943455390_0.png', 1381306941: '1756936407_816383_1381300289_72c7305bc203c0c84c14c7a15b56b84c_11804346_rle_crop_3943455418_0.png', 1381306942: '1756936407_816383_1381300289_72c7305bc203c0c84c14c7a15b56b84c_11804346_rle_crop_3943455414_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/2c3ae5309ea41f060646f888a5364490_77275054.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/fc6be7696b1cc69d2bbb286ebef26e94_52042462.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/974e8a37ba6ea0467ba9637988b8a7b9_9725329.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/32bda71e0ea393d4f31c0465202dae85_25789860.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/cc43a5465c5cc7413bde46c6938cfcf9_17762348.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/21838654d2d1c853bdf06c098fe1d5c4_12592179.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/cf3740e9a855f3b6c155ad384265a4ca_68283268.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/c76934ae5b06ca45783afdc1e46ff8ad_56084918.png change filename to text .imagette265099531756959213/ imagette265099531756959213/1756935686_777390_1381303233_3a3a9e37a40b094a8a3b3f153cb90ec9_30410745_rle_crop_3943436307_0.png.png imagette265099531756959213/1756936385_815998_1381300431_04898ee78d3bbc290bb58d8cd61754d0_73753493_rle_crop_3943442001_0.png.png imagette265099531756959213/1756936407_816383_1381300433_a8d3bebfe987dde18e1f3d35924b5780_56353614_rle_crop_3943455390_0.png.png imagette265099531756959213/1756935686_777390_1381303230_c461c4f5a91f268e7013b7b79b5be46d_52187208_rle_crop_3943436318_0.png.png imagette265099531756959213/1756936385_815998_1381300429_298b9db537546d665fb40ae5b2a93435_50022483_rle_crop_3943442274_0.png.png imagette265099531756959213/1756936407_816383_1381300289_72c7305bc203c0c84c14c7a15b56b84c_11804346_rle_crop_3943455414_0.png.png imagette265099531756959213/1756936407_816383_1381300289_72c7305bc203c0c84c14c7a15b56b84c_11804346_rle_crop_3943455418_0.png.png imagette265099531756959213/1756935686_777390_1381303236_0af2698e457067ce98888c891790f8b7_10762306_rle_crop_3943436293_0.png.png imagette265099531756959213/1756935806_783577_1381301113_94790c511de8174521a41dc1fce47304_85212214_rle_crop_3943438333_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/2f3554174186a112c7656667ab92fac7_33946626.png imagette265099531756959213 26509954 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=26509954 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1381305692: '1756935686_777390_1381303236_0af2698e457067ce98888c891790f8b7_10762306_rle_crop_3943436295_0.png', 1381306106: '1756935806_783577_1381301118_219e6958df84cec7abfd251417867c46_79795506_rle_crop_3943438325_0.png', 1381306107: '1756935806_783577_1381301113_94790c511de8174521a41dc1fce47304_85212214_rle_crop_3943438339_0.png', 1381306206: '1756935925_791321_1381304172_49a06434a7846bda9a1e98eeae95b400_2771825_rle_crop_3943438713_0.png', 1381306207: '1756935925_791321_1381304171_ec89b24c9b95789ceeb108eedc3a76c1_8784936_rle_crop_3943438739_0.png', 1381306319: '1756936027_797907_1381304173_1d25338c244881c84d0c8244703935a4_20086226_rle_crop_3943440477_0.png', 1381306943: '1756936407_816383_1381300433_a8d3bebfe987dde18e1f3d35924b5780_56353614_rle_crop_3943455387_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/4dac82279956627e4014366b6b284698_2867171.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/fbefb685d873a7cf4d8944d5accac52f_81238335.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/88b26b831d9bd8f93e91bc52e11229bf_34102081.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/ed6901880d8fc0708d7f1557f80782f4_66458179.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/e49be8c1c9d09265e9e95d7f67fd3635_30733181.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/c3dac9bdeb5032442b604b3d38734695_7649250.png change filename to text .imagette265099541756959213/ imagette265099541756959213/1756935806_783577_1381301113_94790c511de8174521a41dc1fce47304_85212214_rle_crop_3943438339_0.png.png imagette265099541756959213/1756935925_791321_1381304171_ec89b24c9b95789ceeb108eedc3a76c1_8784936_rle_crop_3943438739_0.png.png imagette265099541756959213/1756935925_791321_1381304172_49a06434a7846bda9a1e98eeae95b400_2771825_rle_crop_3943438713_0.png.png imagette265099541756959213/1756935686_777390_1381303236_0af2698e457067ce98888c891790f8b7_10762306_rle_crop_3943436295_0.png.png imagette265099541756959213/1756935806_783577_1381301118_219e6958df84cec7abfd251417867c46_79795506_rle_crop_3943438325_0.png.png imagette265099541756959213/1756936407_816383_1381300433_a8d3bebfe987dde18e1f3d35924b5780_56353614_rle_crop_3943455387_0.png.png imagette265099541756959213/1756936027_797907_1381304173_1d25338c244881c84d0c8244703935a4_20086226_rle_crop_3943440477_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/315d7c6c30442b2f5da4c00ac41dc6ce_47036764.png imagette265099541756959213 26509955 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=26509955 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1381306181: '1756935907_789060_1381304411_2c5a94e4e59bf152b024d6fbe5a5d46e_58012115_rle_crop_3943438546_0.png', 1381373982: '1756953786_1827576_1381302512_6c88f186a806b54c58ae4a47f2a664bf_75828984_rle_crop_3943433482_0.png', 1381373981: '1756953786_1827576_1381303239_236a0db6a9446bdfd112258ac4a297dd_9313392_rle_crop_3943846227_0.png', 1381306935: '1756936407_816383_1381300289_72c7305bc203c0c84c14c7a15b56b84c_11804346_rle_crop_3943455412_0.png', 1381306890: '1756936385_815998_1381300427_650163a9511d1324277f4b9fb876ba39_42346586_rle_crop_3943442552_0.png', 1381306888: '1756936385_815998_1381300427_650163a9511d1324277f4b9fb876ba39_42346586_rle_crop_3943442542_0.png', 1381306886: '1756936385_815998_1381300431_04898ee78d3bbc290bb58d8cd61754d0_73753493_rle_crop_3943441998_0.png', 1381306202: '1756935925_791321_1381304172_49a06434a7846bda9a1e98eeae95b400_2771825_rle_crop_3943438719_0.png', 1381306182: '1756935907_789060_1381304410_96c2d51ccff1bb817e2ba3d97a47b388_50713403_rle_crop_3943438553_0.png', 1381304315: '1756935545_769771_1381302512_6c88f186a806b54c58ae4a47f2a664bf_75828984_rle_crop_3943433482_0.png', 1381306086: '1756935786_782924_1381302187_10d6753dbd9c2273a4e46e931cb2410c_95276217_rle_crop_3943433611_0.png', 1381306085: '1756935786_782924_1381302188_4d43b46486b66e5ad3f11b46fa0e1ebf_50558047_rle_crop_3943433593_0.png', 1381305303: '1756935667_774229_1381303897_d2461cb847339a8494db4bf3804b4967_83612990_rle_crop_3943436184_0.png', 1381305299: '1756935667_774229_1381303899_e1449829c43a69a20ac97a878b700438_10120450_rle_crop_3943436167_0.png', 1381305295: '1756935667_774229_1381303899_e1449829c43a69a20ac97a878b700438_10120450_rle_crop_3943436165_0.png', 1381304364: '1756935565_770173_1381302187_10d6753dbd9c2273a4e46e931cb2410c_95276217_rle_crop_3943433611_0.png', 1381304362: '1756935565_770173_1381302188_4d43b46486b66e5ad3f11b46fa0e1ebf_50558047_rle_crop_3943433593_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/35f1987defb82185b010a397435aa76c_2016441.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/4/213ba95828e655196d9233770fd0db1f_73093013.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/4/97abcd8f8f722a26074632c90291c203_84358639.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/864fd3dca081fed20ae1a6daaf266522_98585351.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/d303fd16f3408aaecd23beffb8567c11_43901543.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/50eafa2c0fa5fc61727a816aa5ccc591_14896391.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/f2777e536b1cd2de1840c7a8a5510875_59828311.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/9a9bde73ced3342922ea1ae4ff1acc2f_73586118.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/4981c9336dc4b5d04e4954f69daa23b9_93596740.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/213ba95828e655196d9233770fd0db1f_83193900.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/c72383d7f69fb06b55bf6fa6b8d18ae9_93305455.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/f5ec9f69f125e6ecd593909b78f9c9ae_31643262.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/dafd8e021bf70b15a25055e6be12983a_23333790.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/324881b433ea5f0e20f749f5846f3165_56278793.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/38e46c5d55f31ab3b91e23886786c8e6_19861118.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/c72383d7f69fb06b55bf6fa6b8d18ae9_63519379.png change filename to text .imagette265099551756959214/ imagette265099551756959214/1756936385_815998_1381300427_650163a9511d1324277f4b9fb876ba39_42346586_rle_crop_3943442542_0.png.png imagette265099551756959214/1756935545_769771_1381302512_6c88f186a806b54c58ae4a47f2a664bf_75828984_rle_crop_3943433482_0.png.png imagette265099551756959214/1756936385_815998_1381300431_04898ee78d3bbc290bb58d8cd61754d0_73753493_rle_crop_3943441998_0.png.png imagette265099551756959214/1756935565_770173_1381302188_4d43b46486b66e5ad3f11b46fa0e1ebf_50558047_rle_crop_3943433593_0.png.png imagette265099551756959214/1756935667_774229_1381303897_d2461cb847339a8494db4bf3804b4967_83612990_rle_crop_3943436184_0.png.png imagette265099551756959214/1756935786_782924_1381302187_10d6753dbd9c2273a4e46e931cb2410c_95276217_rle_crop_3943433611_0.png.png imagette265099551756959214/1756936407_816383_1381300289_72c7305bc203c0c84c14c7a15b56b84c_11804346_rle_crop_3943455412_0.png.png imagette265099551756959214/1756935907_789060_1381304410_96c2d51ccff1bb817e2ba3d97a47b388_50713403_rle_crop_3943438553_0.png.png imagette265099551756959214/1756935786_782924_1381302188_4d43b46486b66e5ad3f11b46fa0e1ebf_50558047_rle_crop_3943433593_0.png.png imagette265099551756959214/1756935565_770173_1381302187_10d6753dbd9c2273a4e46e931cb2410c_95276217_rle_crop_3943433611_0.png.png imagette265099551756959214/1756953786_1827576_1381303239_236a0db6a9446bdfd112258ac4a297dd_9313392_rle_crop_3943846227_0.png.png imagette265099551756959214/1756936385_815998_1381300427_650163a9511d1324277f4b9fb876ba39_42346586_rle_crop_3943442552_0.png.png imagette265099551756959214/1756935667_774229_1381303899_e1449829c43a69a20ac97a878b700438_10120450_rle_crop_3943436167_0.png.png imagette265099551756959214/1756935667_774229_1381303899_e1449829c43a69a20ac97a878b700438_10120450_rle_crop_3943436165_0.png.png imagette265099551756959214/1756935925_791321_1381304172_49a06434a7846bda9a1e98eeae95b400_2771825_rle_crop_3943438719_0.png.png imagette265099551756959214/1756935907_789060_1381304411_2c5a94e4e59bf152b024d6fbe5a5d46e_58012115_rle_crop_3943438546_0.png.png imagette265099551756959214/1756953786_1827576_1381302512_6c88f186a806b54c58ae4a47f2a664bf_75828984_rle_crop_3943433482_0.png.png imagette265099561756959216/ imagette265099571756959216/ wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/f5ec9f69f125e6ecd593909b78f9c9ae_8375789.png imagette265099551756959214 26509956 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=26509956 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette265099561756959216 26509957 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=26509957 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette265099571756959216 26509950 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=26509950 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1381304459: '1756935626_773282_1381303715_dd1cd9763a6394899ea4fb8bb0709b92_35566611_rle_crop_3943436023_0.png', 1381305342: '1756935667_774229_1381303897_d2461cb847339a8494db4bf3804b4967_83612990_rle_crop_3943436185_0.png', 1381305671: '1756935686_777390_1381303717_6a3d6c727654d2b8dc835f03b5b3dbf1_33413959_rle_crop_3943436281_0.png', 1381306205: '1756935925_791321_1381304172_49a06434a7846bda9a1e98eeae95b400_2771825_rle_crop_3943438716_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/77f2377870a13e9a7e863a3ecc532937_9425685.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/b34fbd02c49c0e01f6c712a552474bda_4138857.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/57bcc156ce13972b5c75b75145ac8fb5_97004139.png change filename to text .imagette265099501756959216/ imagette265099501756959216/1756935686_777390_1381303717_6a3d6c727654d2b8dc835f03b5b3dbf1_33413959_rle_crop_3943436281_0.png.png imagette265099501756959216/1756935626_773282_1381303715_dd1cd9763a6394899ea4fb8bb0709b92_35566611_rle_crop_3943436023_0.png.png imagette265099501756959216/1756935667_774229_1381303897_d2461cb847339a8494db4bf3804b4967_83612990_rle_crop_3943436185_0.png.png imagette265099501756959216/1756935925_791321_1381304172_49a06434a7846bda9a1e98eeae95b400_2771825_rle_crop_3943438716_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/4f44ed7b0de304573abc30624913fb0c_76123119.png imagette265099501756959216 26509952 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=26509952 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1381304458: '1756935626_773282_1381303715_dd1cd9763a6394899ea4fb8bb0709b92_35566611_rle_crop_3943436025_0.png', 1381305261: '1756935667_774229_1381303902_be16ff28985911ef4de4b8819e14f5fe_59472036_rle_crop_3943436151_0.png', 1381305265: '1756935667_774229_1381303899_e1449829c43a69a20ac97a878b700438_10120450_rle_crop_3943436169_0.png', 1381305605: '1756935686_777390_1381303230_c461c4f5a91f268e7013b7b79b5be46d_52187208_rle_crop_3943436317_0.png', 1381306146: '1756935865_788361_1381304794_18fae59e7f28873d0ed753f4798fe0f1_23048954_rle_crop_3943438417_0.png', 1381306147: '1756935865_788361_1381304790_dba6cd7f1ca1cb9c128c1930fb6451b1_12850212_rle_crop_3943438428_0.png', 1381306201: '1756935925_791321_1381304172_49a06434a7846bda9a1e98eeae95b400_2771825_rle_crop_3943438712_0.png', 1381306877: '1756936385_815998_1381300429_298b9db537546d665fb40ae5b2a93435_50022483_rle_crop_3943442272_0.png', 1381306933: '1756936407_816383_1381300433_a8d3bebfe987dde18e1f3d35924b5780_56353614_rle_crop_3943455381_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/64a0965140116a1bb6fa5d74320ab987_29048211.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/26606e990b0a4d450a37a0929cc14aaa_24022093.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/06f4f9801e9c5ab267a146d6567bbd89_85980144.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/33766fd1b4caaacaedd2620c9fa9a75c_81087787.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/fea2da2777147929dca113de1065620a_1180671.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/be36f1767d93e276de01f91c2d808ae2_3268923.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/b11ddc268692725e43548d4ca8dcc6f0_39274496.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/683f3dc3f833fad9da7beca811283255_22229940.png change filename to text .imagette265099521756959216/ imagette265099521756959216/1756935686_777390_1381303230_c461c4f5a91f268e7013b7b79b5be46d_52187208_rle_crop_3943436317_0.png.png imagette265099521756959216/1756936385_815998_1381300429_298b9db537546d665fb40ae5b2a93435_50022483_rle_crop_3943442272_0.png.png imagette265099521756959216/1756935667_774229_1381303899_e1449829c43a69a20ac97a878b700438_10120450_rle_crop_3943436169_0.png.png imagette265099521756959216/1756935626_773282_1381303715_dd1cd9763a6394899ea4fb8bb0709b92_35566611_rle_crop_3943436025_0.png.png imagette265099521756959216/1756935925_791321_1381304172_49a06434a7846bda9a1e98eeae95b400_2771825_rle_crop_3943438712_0.png.png imagette265099521756959216/1756935865_788361_1381304790_dba6cd7f1ca1cb9c128c1930fb6451b1_12850212_rle_crop_3943438428_0.png.png imagette265099521756959216/1756936407_816383_1381300433_a8d3bebfe987dde18e1f3d35924b5780_56353614_rle_crop_3943455381_0.png.png imagette265099521756959216/1756935865_788361_1381304794_18fae59e7f28873d0ed753f4798fe0f1_23048954_rle_crop_3943438417_0.png.png imagette265099521756959216/1756935667_774229_1381303902_be16ff28985911ef4de4b8819e14f5fe_59472036_rle_crop_3943436151_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/2a2765f593f4d980ff17826896190ce7_69080834.png imagette265099521756959216 26509958 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=26509958 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1381304318: '1756935545_769771_1381302512_6c88f186a806b54c58ae4a47f2a664bf_75828984_rle_crop_3943433481_0.png', 1381304371: '1756935565_770173_1381302187_10d6753dbd9c2273a4e46e931cb2410c_95276217_rle_crop_3943433606_0.png', 1381305323: '1756935667_774229_1381303899_e1449829c43a69a20ac97a878b700438_10120450_rle_crop_3943436166_0.png', 1381306088: '1756935786_782924_1381302187_10d6753dbd9c2273a4e46e931cb2410c_95276217_rle_crop_3943433606_0.png', 1381306103: '1756935806_783577_1381302189_5e390a0af23b59de58c1840b724ea853_30995524_rle_crop_3943438313_0.png', 1381306183: '1756935907_789060_1381304412_4441a8508ca79cc74a800675f5909b18_86720481_rle_crop_3943438538_0.png', 1381306203: '1756935925_791321_1381304413_c83c64f8319e137506c53019602fb9d9_96369385_rle_crop_3943438699_0.png', 1381306936: '1756936407_816383_1381300433_a8d3bebfe987dde18e1f3d35924b5780_56353614_rle_crop_3943455380_0.png', 1381306937: '1756936407_816383_1381300299_8e0285a6879d5d2a3c28e7625ca7aee7_47848899_rle_crop_3943455398_0.png', 1381306938: '1756936407_816383_1381300289_72c7305bc203c0c84c14c7a15b56b84c_11804346_rle_crop_3943455417_0.png', 1381373985: '1756953786_1827576_1381303239_236a0db6a9446bdfd112258ac4a297dd_9313392_rle_crop_3943846224_0.png', 1381373986: '1756953786_1827576_1381302512_6c88f186a806b54c58ae4a47f2a664bf_75828984_rle_crop_3943433481_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/9dec931be85d607650a5dea978883506_73722900.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/48cbc59dd823ae18e6f81ab030610ab2_69934201.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/36c802dc8539e6cebe968482c26ca007_22964255.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/48cbc59dd823ae18e6f81ab030610ab2_51675556.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/938d3edb306614d38070501f9c0706dd_45240763.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/0efc58722a8e213426011986ee82a4b3_72636026.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/f8fe2693f76a25f2bc5ffc542dc93be3_29321418.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/456d4bacfd1d56660b74286297492016_3861791.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/523e147984c008567830f25181825aba_80981155.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/28d36d6d5ce8d689d195ba228415066a_30139447.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/4/b9cba4b919eea139430376cfe141c703_75589761.png change filename to text .imagette265099581756959217/ imagette265099581756959217/1756953786_1827576_1381303239_236a0db6a9446bdfd112258ac4a297dd_9313392_rle_crop_3943846224_0.png.png imagette265099581756959217/1756935786_782924_1381302187_10d6753dbd9c2273a4e46e931cb2410c_95276217_rle_crop_3943433606_0.png.png imagette265099581756959217/1756935565_770173_1381302187_10d6753dbd9c2273a4e46e931cb2410c_95276217_rle_crop_3943433606_0.png.png imagette265099581756959217/1756935667_774229_1381303899_e1449829c43a69a20ac97a878b700438_10120450_rle_crop_3943436166_0.png.png imagette265099581756959217/1756936407_816383_1381300289_72c7305bc203c0c84c14c7a15b56b84c_11804346_rle_crop_3943455417_0.png.png imagette265099581756959217/1756936407_816383_1381300433_a8d3bebfe987dde18e1f3d35924b5780_56353614_rle_crop_3943455380_0.png.png imagette265099581756959217/1756953786_1827576_1381302512_6c88f186a806b54c58ae4a47f2a664bf_75828984_rle_crop_3943433481_0.png.png imagette265099581756959217/1756935907_789060_1381304412_4441a8508ca79cc74a800675f5909b18_86720481_rle_crop_3943438538_0.png.png imagette265099581756959217/1756936407_816383_1381300299_8e0285a6879d5d2a3c28e7625ca7aee7_47848899_rle_crop_3943455398_0.png.png imagette265099581756959217/1756935925_791321_1381304413_c83c64f8319e137506c53019602fb9d9_96369385_rle_crop_3943438699_0.png.png imagette265099581756959217/1756935545_769771_1381302512_6c88f186a806b54c58ae4a47f2a664bf_75828984_rle_crop_3943433481_0.png.png imagette265099581756959217/1756935806_783577_1381302189_5e390a0af23b59de58c1840b724ea853_30995524_rle_crop_3943438313_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/4/9dec931be85d607650a5dea978883506_21658090.png imagette265099581756959217 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26509771 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26509959,26509960,26509961,26509962,26509963,26509964,26509965,26509966,26509967,26509968,26509969,26509970?tags=environnement,kraft,flou,Carton_brun,papier,Teint_Dans_La_Masse,cartonnette,plastique,autre_refus,metal,mal_croppe,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1381306312] : ('0.06594043718418545',) no score found for photo 1381306312 We are sending mail with results at report@fotonower.com args[1381305788] : ('0.06594043718418545',) no score found for photo 1381305788 We are sending mail with results at report@fotonower.com args[1381305787] : ('0.06594043718418545',) no score found for photo 1381305787 We are sending mail with results at report@fotonower.com args[1381304798] : ('0.06594043718418545',) no score found for photo 1381304798 We are sending mail with results at report@fotonower.com args[1381304794] : ('0.06594043718418545',) no score found for photo 1381304794 We are sending mail with results at report@fotonower.com args[1381304790] : ('0.06594043718418545',) no score found for photo 1381304790 We are sending mail with results at report@fotonower.com args[1381304786] : ('0.06594043718418545',) no score found for photo 1381304786 We are sending mail with results at report@fotonower.com args[1381304413] : ('0.06594043718418545',) no score found for photo 1381304413 We are sending mail with results at report@fotonower.com args[1381304412] : ('0.06594043718418545',) no score found for photo 1381304412 We are sending mail with results at report@fotonower.com args[1381304411] : ('0.06594043718418545',) no score found for photo 1381304411 We are sending mail with results at report@fotonower.com args[1381304410] : ('0.06594043718418545',) no score found for photo 1381304410 We are sending mail with results at report@fotonower.com args[1381304173] : ('0.06594043718418545',) no score found for photo 1381304173 We are sending mail with results at report@fotonower.com args[1381304172] : ('0.06594043718418545',) no score found for photo 1381304172 We are sending mail with results at report@fotonower.com args[1381304171] : ('0.06594043718418545',) no score found for photo 1381304171 We are sending mail with results at report@fotonower.com args[1381304170] : ('0.06594043718418545',) no score found for photo 1381304170 We are sending mail with results at report@fotonower.com args[1381303906] : ('0.06594043718418545',) no score found for photo 1381303906 We are sending mail with results at report@fotonower.com args[1381303904] : ('0.06594043718418545',) no score found for photo 1381303904 We are sending mail with results at report@fotonower.com args[1381303902] : ('0.06594043718418545',) no score found for photo 1381303902 We are sending mail with results at report@fotonower.com args[1381303899] : ('0.06594043718418545',) no score found for photo 1381303899 We are sending mail with results at report@fotonower.com args[1381303897] : ('0.06594043718418545',) no score found for photo 1381303897 We are sending mail with results at report@fotonower.com args[1381303717] : ('0.06594043718418545',) no score found for photo 1381303717 We are sending mail with results at report@fotonower.com args[1381303715] : ('0.06594043718418545',) no score found for photo 1381303715 We are sending mail with results at report@fotonower.com args[1381303713] : ('0.06594043718418545',) no score found for photo 1381303713 We are sending mail with results at report@fotonower.com args[1381303711] : ('0.06594043718418545',) no score found for photo 1381303711 We are sending mail with results at report@fotonower.com args[1381303239] : ('0.06594043718418545',) no score found for photo 1381303239 We are sending mail with results at report@fotonower.com args[1381303236] : ('0.06594043718418545',) no score found for photo 1381303236 We are sending mail with results at report@fotonower.com args[1381303233] : ('0.06594043718418545',) no score found for photo 1381303233 We are sending mail with results at report@fotonower.com args[1381303230] : ('0.06594043718418545',) no score found for photo 1381303230 We are sending mail with results at report@fotonower.com args[1381302514] : ('0.06594043718418545',) no score found for photo 1381302514 We are sending mail with results at report@fotonower.com args[1381302513] : ('0.06594043718418545',) no score found for photo 1381302513 We are sending mail with results at report@fotonower.com args[1381302512] : ('0.06594043718418545',) no score found for photo 1381302512 We are sending mail with results at report@fotonower.com args[1381302511] : ('0.06594043718418545',) no score found for photo 1381302511 We are sending mail with results at report@fotonower.com args[1381302189] : ('0.06594043718418545',) no score found for photo 1381302189 We are sending mail with results at report@fotonower.com args[1381302188] : ('0.06594043718418545',) no score found for photo 1381302188 We are sending mail with results at report@fotonower.com args[1381302187] : ('0.06594043718418545',) no score found for photo 1381302187 We are sending mail with results at report@fotonower.com args[1381301123] : ('0.06594043718418545',) no score found for photo 1381301123 We are sending mail with results at report@fotonower.com args[1381301118] : ('0.06594043718418545',) no score found for photo 1381301118 We are sending mail with results at report@fotonower.com args[1381301113] : ('0.06594043718418545',) no score found for photo 1381301113 We are sending mail with results at report@fotonower.com args[1381300433] : ('0.06594043718418545',) no score found for photo 1381300433 We are sending mail with results at report@fotonower.com args[1381300431] : ('0.06594043718418545',) no score found for photo 1381300431 We are sending mail with results at report@fotonower.com args[1381300429] : ('0.06594043718418545',) no score found for photo 1381300429 We are sending mail with results at report@fotonower.com args[1381300427] : ('0.06594043718418545',) no score found for photo 1381300427 We are sending mail with results at report@fotonower.com args[1381300299] : ('0.06594043718418545',) no score found for photo 1381300299 We are sending mail with results at report@fotonower.com args[1381300289] : ('0.06594043718418545',) no score found for photo 1381300289 We are sending mail with results at report@fotonower.com refus_total : 0.06594043718418545 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=26509771 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_P26509771_04-09-2025_06_13_32.pdf results_Auto_P26509771_04-09-2025_06_13_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26509771_04-09-2025_06_13_32.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','26509771','results_Auto_P26509771_04-09-2025_06_13_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26509771_04-09-2025_06_13_32.pdf','pdf','','0.45','0.06594043718418545') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26509771]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1381306312, 1381305788, 1381305787, 1381304798, 1381304794, 1381304790, 1381304786, 1381304413, 1381304412, 1381304411, 1381304410, 1381304173, 1381304172, 1381304171, 1381304170, 1381303906, 1381303904, 1381303902, 1381303899, 1381303897, 1381303717, 1381303715, 1381303713, 1381303711, 1381303239, 1381303236, 1381303233, 1381303230, 1381302514, 1381302513, 1381302512, 1381302511, 1381302189, 1381302188, 1381302187, 1381301123, 1381301118, 1381301113, 1381300433, 1381300431, 1381300429, 1381300427, 1381300299, 1381300289] map_info['map_portfolio_photo'] : {26509771: [1381306312, 1381305788, 1381305787, 1381304798, 1381304794, 1381304790, 1381304786, 1381304413, 1381304412, 1381304411, 1381304410, 1381304173, 1381304172, 1381304171, 1381304170, 1381303906, 1381303904, 1381303902, 1381303899, 1381303897, 1381303717, 1381303715, 1381303713, 1381303711, 1381303239, 1381303236, 1381303233, 1381303230, 1381302514, 1381302513, 1381302512, 1381302511, 1381302189, 1381302188, 1381302187, 1381301123, 1381301118, 1381301113, 1381300433, 1381300431, 1381300429, 1381300427, 1381300299, 1381300289]} final : False mtd_id 4302 list_pids : [1381306312, 1381305788, 1381305787, 1381304798, 1381304794, 1381304790, 1381304786, 1381304413, 1381304412, 1381304411, 1381304410, 1381304173, 1381304172, 1381304171, 1381304170, 1381303906, 1381303904, 1381303902, 1381303899, 1381303897, 1381303717, 1381303715, 1381303713, 1381303711, 1381303239, 1381303236, 1381303233, 1381303230, 1381302514, 1381302513, 1381302512, 1381302511, 1381302189, 1381302188, 1381302187, 1381301123, 1381301118, 1381301113, 1381300433, 1381300431, 1381300429, 1381300427, 1381300299, 1381300289] 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, '3662797') ('4302', '26509771', '1381306312', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381305788', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381305787', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304798', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304794', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304790', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304786', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304413', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304412', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304411', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304410', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304173', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304172', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304171', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304170', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303906', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303904', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303902', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303899', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303897', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303717', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303715', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303713', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303711', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303239', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303236', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303233', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303230', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302514', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302513', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302512', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302511', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302189', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302188', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302187', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381301123', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381301118', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381301113', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381300433', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381300431', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381300429', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381300427', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381300299', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381300289', None, None, None, None, None, '3662797') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 44 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', '26509771', '1381306312', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381305788', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381305787', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304798', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304794', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304790', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304786', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304413', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304412', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304411', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304410', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304173', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304172', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304171', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304170', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303906', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303904', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303902', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303899', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303897', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303717', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303715', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303713', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303711', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303239', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303236', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303233', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303230', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381302514', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381302513', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381302512', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381302511', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381302189', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381302188', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381302187', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381301123', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381301118', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381301113', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381300433', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381300431', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381300429', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381300427', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381300299', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381300289', None, None, None, None, None, '3662797')] time used for this insertion : 0.1734769344329834 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.357804298400879 time spend to save output : 0.17402338981628418 total time spend for step 4 : 9.531827688217163 step5:split_time_score Thu Sep 4 06:13:41 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 : ['26509771'] 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 : [('26509771',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26509771) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1381304413: {'path': 'temp/1756959211_312954_1381304413_c83c64f8319e137506c53019602fb9d9_96369385.jpg', 'extension': 'jpg'}, 1381304786: {'path': 'temp/1756959211_312954_1381304786_968fdee26f8e94e215ed1c60c641d8a4_57084757.jpg', 'extension': 'jpg'}, 1381304790: {'path': 'temp/1756959211_312954_1381304790_dba6cd7f1ca1cb9c128c1930fb6451b1_12850212.jpg', 'extension': 'jpg'}, 1381304794: {'path': 'temp/1756959211_312954_1381304794_18fae59e7f28873d0ed753f4798fe0f1_23048954.jpg', 'extension': 'jpg'}, 1381304798: {'path': 'temp/1756959211_312954_1381304798_fe40324507dce21a37d5a726c7893858_37255065.jpg', 'extension': 'jpg'}, 1381305787: {'path': 'temp/1756959211_312954_1381305787_7e20146da3ce8c5d0783b1e0160b4d30_2680768.jpg', 'extension': 'jpg'}, 1381305788: {'path': 'temp/1756959211_312954_1381305788_d5a893785fb128faba68727a7932efd6_49822156.jpg', 'extension': 'jpg'}, 1381306312: {'path': 'temp/1756959211_312954_1381306312_8c7aa1c6747d4aa18ae31ee7a97e2707_9608919.jpg', 'extension': 'jpg'}, 1381303904: {'path': 'temp/1756959211_312954_1381303904_380314d97b813a23ff009e2707994cfd_65983771.jpg', 'extension': 'jpg'}, 1381303906: {'path': 'temp/1756959211_312954_1381303906_d009106e161e7be9b1a27223a49846e4_31322421.jpg', 'extension': 'jpg'}, 1381304170: {'path': 'temp/1756959211_312954_1381304170_20cfb431ac933cfb67a6d9cdf0c4caaf_86770369.jpg', 'extension': 'jpg'}, 1381304171: {'path': 'temp/1756959211_312954_1381304171_ec89b24c9b95789ceeb108eedc3a76c1_8784936.jpg', 'extension': 'jpg'}, 1381304172: {'path': 'temp/1756959211_312954_1381304172_49a06434a7846bda9a1e98eeae95b400_2771825.jpg', 'extension': 'jpg'}, 1381304173: {'path': 'temp/1756959211_312954_1381304173_1d25338c244881c84d0c8244703935a4_20086226.jpg', 'extension': 'jpg'}, 1381304410: {'path': 'temp/1756959211_312954_1381304410_96c2d51ccff1bb817e2ba3d97a47b388_50713403.jpg', 'extension': 'jpg'}, 1381304411: {'path': 'temp/1756959211_312954_1381304411_2c5a94e4e59bf152b024d6fbe5a5d46e_58012115.jpg', 'extension': 'jpg'}, 1381304412: {'path': 'temp/1756959211_312954_1381304412_4441a8508ca79cc74a800675f5909b18_86720481.jpg', 'extension': 'jpg'}, 1381300289: {'path': 'temp/1756959211_312954_1381300289_72c7305bc203c0c84c14c7a15b56b84c_11804346.jpg', 'extension': 'jpg'}, 1381300299: {'path': 'temp/1756959211_312954_1381300299_8e0285a6879d5d2a3c28e7625ca7aee7_47848899.jpg', 'extension': 'jpg'}, 1381300427: {'path': 'temp/1756959211_312954_1381300427_650163a9511d1324277f4b9fb876ba39_42346586.jpg', 'extension': 'jpg'}, 1381300429: {'path': 'temp/1756959211_312954_1381300429_298b9db537546d665fb40ae5b2a93435_50022483.jpg', 'extension': 'jpg'}, 1381300431: {'path': 'temp/1756959211_312954_1381300431_04898ee78d3bbc290bb58d8cd61754d0_73753493.jpg', 'extension': 'jpg'}, 1381300433: {'path': 'temp/1756959211_312954_1381300433_a8d3bebfe987dde18e1f3d35924b5780_56353614.jpg', 'extension': 'jpg'}, 1381301113: {'path': 'temp/1756959211_312954_1381301113_94790c511de8174521a41dc1fce47304_85212214.jpg', 'extension': 'jpg'}, 1381301118: {'path': 'temp/1756959211_312954_1381301118_219e6958df84cec7abfd251417867c46_79795506.jpg', 'extension': 'jpg'}, 1381301123: {'path': 'temp/1756959211_312954_1381301123_b3e2c2d4be2c7fd28afd994d601567b0_97372317.jpg', 'extension': 'jpg'}, 1381302187: {'path': 'temp/1756959211_312954_1381302187_10d6753dbd9c2273a4e46e931cb2410c_95276217.jpg', 'extension': 'jpg'}, 1381302188: {'path': 'temp/1756959211_312954_1381302188_4d43b46486b66e5ad3f11b46fa0e1ebf_50558047.jpg', 'extension': 'jpg'}, 1381302189: {'path': 'temp/1756959211_312954_1381302189_5e390a0af23b59de58c1840b724ea853_30995524.jpg', 'extension': 'jpg'}, 1381302511: {'path': 'temp/1756959211_312954_1381302511_6548d3a35fb4bddb024949690bc0566d_44331726.jpg', 'extension': 'jpg'}, 1381302512: {'path': 'temp/1756959211_312954_1381302512_6c88f186a806b54c58ae4a47f2a664bf_75828984.jpg', 'extension': 'jpg'}, 1381302513: {'path': 'temp/1756959211_312954_1381302513_1fb79944e92be04f1ffeed198c7d8021_51074296.jpg', 'extension': 'jpg'}, 1381302514: {'path': 'temp/1756959211_312954_1381302514_1ebbc45bf98b33ff5f9ee972d7678be9_5711126.jpg', 'extension': 'jpg'}, 1381303230: {'path': 'temp/1756959211_312954_1381303230_c461c4f5a91f268e7013b7b79b5be46d_52187208.jpg', 'extension': 'jpg'}, 1381303233: {'path': 'temp/1756959211_312954_1381303233_3a3a9e37a40b094a8a3b3f153cb90ec9_30410745.jpg', 'extension': 'jpg'}, 1381303236: {'path': 'temp/1756959211_312954_1381303236_0af2698e457067ce98888c891790f8b7_10762306.jpg', 'extension': 'jpg'}, 1381303239: {'path': 'temp/1756959211_312954_1381303239_236a0db6a9446bdfd112258ac4a297dd_9313392.jpg', 'extension': 'jpg'}, 1381303711: {'path': 'temp/1756959211_312954_1381303711_26be39d61d0e33cc09053507b93cefab_30843071.jpg', 'extension': 'jpg'}, 1381303713: {'path': 'temp/1756959211_312954_1381303713_26d8fc3c3bc047638f5eca464234ebb2_72188690.jpg', 'extension': 'jpg'}, 1381303715: {'path': 'temp/1756959211_312954_1381303715_dd1cd9763a6394899ea4fb8bb0709b92_35566611.jpg', 'extension': 'jpg'}, 1381303717: {'path': 'temp/1756959211_312954_1381303717_6a3d6c727654d2b8dc835f03b5b3dbf1_33413959.jpg', 'extension': 'jpg'}, 1381303897: {'path': 'temp/1756959211_312954_1381303897_d2461cb847339a8494db4bf3804b4967_83612990.jpg', 'extension': 'jpg'}, 1381303899: {'path': 'temp/1756959211_312954_1381303899_e1449829c43a69a20ac97a878b700438_10120450.jpg', 'extension': 'jpg'}, 1381303902: {'path': 'temp/1756959211_312954_1381303902_be16ff28985911ef4de4b8819e14f5fe_59472036.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 = 26509771; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm_bis',), ('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 = 26509771 group by h (('23', 44),) 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=26509771 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 (26509771) 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 (26509771) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 03092025 26509771 Nombre de photos uploadées : 44 / 23040 (0%) 03092025 26509771 Nombre de photos taguées (types de déchets): 0 / 44 (0%) 03092025 26509771 Nombre de photos taguées (volume) : 0 / 44 (0%) [{'photo_id': 1381300299, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/8e0285a6879d5d2a3c28e7625ca7aee7_47848899.jpg', 'username': None, 'uploaded_at': 1756935076, 'text': 'image_03092025_23_30_24_010137m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1381300433, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/a8d3bebfe987dde18e1f3d35924b5780_56353614.jpg', 'username': None, 'uploaded_at': 1756935133, 'text': 'image_03092025_23_30_45_010138m0.jpg 2e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1381300289, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/72c7305bc203c0c84c14c7a15b56b84c_11804346.jpg', 'username': None, 'uploaded_at': 1756935067, 'text': 'image_03092025_23_30_54_009130m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1381300431, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/3/04898ee78d3bbc290bb58d8cd61754d0_73753493.jpg', 'username': None, 'uploaded_at': 1756935133, 'text': 'image_03092025_23_31_04_010178m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ???????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002011537551879883 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26509771, '2025-09-03' ) 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-03' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2220819,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2073376178741455 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= 2220819 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26464090, 'dashboard_result_id': 14730515, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26464090_04-09-2025_05_34_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26464093, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26464094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26464095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26464096, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26464097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26464098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26464099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26464100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26464101, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26464102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26464103, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26464104, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26464620, 'dashboard_result_id': 14730516, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26464620_04-09-2025_05_35_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26464624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26464625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26464626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26464627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26464628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26464629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26464630, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26464631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26464632, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26464633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26464634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26464635, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26465056, 'dashboard_result_id': 14730517, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26465056_04-09-2025_05_35_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26465061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26465062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26465063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26465064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26465065, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26465066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26465067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26465068, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26465069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26465070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26465071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26465072, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26465555, 'dashboard_result_id': 14730518, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26465555_04-09-2025_05_36_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26465561, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26465562, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26465563, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26465564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26465565, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26465566, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26465567, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26465568, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26465569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26465570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26465571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26465572, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26466677, 'dashboard_result_id': 14730519, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26466677_04-09-2025_05_36_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26466679, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26466680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26466681, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26466682, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26466683, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26466684, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26466685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26466686, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26466687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26466688, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26466689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26466690, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26467330, 'dashboard_result_id': 14730520, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26467330_04-09-2025_05_37_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26467336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26467337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26467338, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26467339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26467340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26467341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26467342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26467343, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26467344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26467345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26467346, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26467347, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26468904, 'dashboard_result_id': 14730521, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26468904_04-09-2025_05_37_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26469016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26469017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26469018, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26469019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26469020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26469021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26469022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26469023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26469024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26469025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26469026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26469027, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26468907, 'dashboard_result_id': 14730522, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26468907_04-09-2025_05_38_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26468955, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26468956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26468957, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26468958, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26468959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26468960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26468961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26468962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26468963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26468964, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26468965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26468966, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26468909, 'dashboard_result_id': 14730523, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26468909_04-09-2025_05_38_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26468943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26468944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26468945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26468946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26468947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26468948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26468949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26468950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26468951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26468952, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26468953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26468954, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26468911, 'dashboard_result_id': 14730524, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26468911_04-09-2025_05_39_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26468913, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26468914, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26468915, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26468916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26468917, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26468918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26468919, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26468920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26468921, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26468922, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26468923, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26468924, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26469413, 'dashboard_result_id': 14730525, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26469413_04-09-2025_05_39_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26469440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26469441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26469442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26469443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26469444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26469445, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26469446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26469447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26469448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26469449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26469450, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26469451, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26469960, 'dashboard_result_id': 14730526, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26469960_04-09-2025_05_40_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26469971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26469972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26469973, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26469974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26469975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26469976, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26469977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26469978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26469979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26469980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26469981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26469982, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26470390, 'dashboard_result_id': 14730527, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26470390_04-09-2025_05_40_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26470416, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26470417, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26470418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26470419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26470420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26470421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26470422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26470423, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26470424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26470425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26470426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26470427, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26470805, 'dashboard_result_id': 14730528, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26470805_04-09-2025_05_41_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26470830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26470831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26470832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26470833, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26470834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26470835, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26470836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26470837, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26470838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26470839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26470840, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26470841, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26471195, 'dashboard_result_id': 14730529, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26471195_04-09-2025_05_41_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26471210, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26471211, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26471212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26471213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26471214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26471215, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26471216, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26471217, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26471218, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26471219, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26471220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26471221, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26472646, 'dashboard_result_id': 14730530, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26472646_04-09-2025_05_41_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26472649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26472650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26472651, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26472652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26472653, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26472654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26472655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26472656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26472657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26472658, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26472659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26472660, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26472774, 'dashboard_result_id': 14730531, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26472774_04-09-2025_05_42_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26472776, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26472777, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26472778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26472779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26472780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26472781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26472782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26472783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26472784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26472785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26472786, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26472787, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26473061, 'dashboard_result_id': 14730532, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26473061_04-09-2025_05_42_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26473067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26473068, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26473069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26473070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26473071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26473072, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26473073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26473074, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26473075, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26473076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26473077, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26473078, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26473432, 'dashboard_result_id': 14730533, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26473432_04-09-2025_05_43_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26473438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26473439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26473440, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26473441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26473442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26473443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26473444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26473445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26473446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26473447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26473448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26473449, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26473783, 'dashboard_result_id': 14730534, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26473783_04-09-2025_05_43_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26473789, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26473790, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26473791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26473792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26473793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26473794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26473795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26473796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26473797, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26473798, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26473799, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26473800, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26474140, 'dashboard_result_id': 14730535, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26474140_04-09-2025_05_43_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26474141, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26474142, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26474143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26474144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26474145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26474146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26474147, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26474148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26474149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26474150, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26474151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26474152, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26474172, 'dashboard_result_id': 14730536, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26474172_04-09-2025_05_43_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26474174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26474175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26474176, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26474177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26474178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26474179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26474180, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26474181, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26474182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26474183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26474184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26474185, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26474226, 'dashboard_result_id': 14730537, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26474226_04-09-2025_05_44_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26474227, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26474228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26474229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26474230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26474231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26474232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26474233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26474234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26474235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26474236, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26474237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26474238, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26474338, 'dashboard_result_id': 14730538, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26474338_04-09-2025_05_45_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26474367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26474368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26474369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26474370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26474371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26474372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26474373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26474374, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26474375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26474376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26474377, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26474378, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26474755, 'dashboard_result_id': 14730539, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26474755_04-09-2025_05_45_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26474823, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26474824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26474825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26474826, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26474827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26474828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26474829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26474830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26474831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26474832, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26474834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26474835, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26475537, 'dashboard_result_id': 14730540, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26475537_04-09-2025_05_45_41.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26475575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26475576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26475577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26475578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26475579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26475580, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26475581, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26475582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26475583, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26475584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26475585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26475586, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26476200, 'dashboard_result_id': 14730541, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26476200_04-09-2025_05_46_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26476289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26476290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26476291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26476292, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26476293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26476294, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26476295, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26476296, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26476297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26476298, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26476299, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26476300, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26476938, 'dashboard_result_id': 14730542, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26476938_04-09-2025_05_46_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26476943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26476944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26476945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26476946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26476947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26476948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26476949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26476950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26476951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26476952, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26476953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26476954, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26477759, 'dashboard_result_id': 14730543, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26477759_04-09-2025_05_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26477786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26477787, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26477788, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26477789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26477790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26477791, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26477792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26477793, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26477794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26477795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26477796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26477797, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26478054, 'dashboard_result_id': 14730544, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26478054_04-09-2025_05_47_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26478060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26478061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26478062, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26478063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26478064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26478065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26478066, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26478067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26478068, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26478069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26478070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26478071, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26478242, 'dashboard_result_id': 14730545, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26478242_04-09-2025_05_47_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26478408, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26478409, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26478410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26478411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26478412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26478413, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26478414, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26478415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26478416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26478417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26478418, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26478419, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26478249, 'dashboard_result_id': 14730546, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26478249_04-09-2025_05_48_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26478305, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26478306, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26478308, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26478309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26478310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26478311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26478312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26478313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26478314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26478315, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26478316, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26478317, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26478694, 'dashboard_result_id': 14730547, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26478694_04-09-2025_05_48_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26478710, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26478711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26478712, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26478713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26478714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26478715, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26478716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26478717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26478718, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26478719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26478720, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26478721, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26479545, 'dashboard_result_id': 14730548, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26479545_04-09-2025_05_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26479584, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26479585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26479586, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26479587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26479589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26479590, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26479591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26479592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26479593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26479594, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26479595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26479596, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26480157, 'dashboard_result_id': 14730549, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26480157_04-09-2025_05_49_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26480166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26480167, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26480168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26480169, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26480170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26480171, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26480172, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26480173, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26480174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26480175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26480176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26480177, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26480939, 'dashboard_result_id': 14730550, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26480939_04-09-2025_05_50_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26480959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26480960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26480961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26480962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26480963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26480964, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26480965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26480966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26480967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26480968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26480969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26480970, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26481464, 'dashboard_result_id': 14730551, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26481464_04-09-2025_05_50_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26481475, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26481476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26481477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26481478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26481479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26481480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26481481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26481482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26481483, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26481484, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26481485, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26481486, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26482126, 'dashboard_result_id': 14730552, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26482126_04-09-2025_05_51_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26482175, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26482176, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26482177, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26482178, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26482179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26482180, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26482181, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26482182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26482183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26482184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26482185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26482186, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26482829, 'dashboard_result_id': 14730553, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26482829_04-09-2025_05_51_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26482882, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26482883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26482884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26482885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26482886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26482887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26482888, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26482889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26482890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26482891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26482892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26482893, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26483614, 'dashboard_result_id': 14730554, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26483614_04-09-2025_05_52_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26483629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26483630, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26483631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26483632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26483633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26483634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26483635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26483636, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26483637, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26483638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26483639, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26483640, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26484362, 'dashboard_result_id': 14730555, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26484362_04-09-2025_05_52_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26484432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26484433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26484434, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26484435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26484436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26484437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26484438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26484439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26484440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26484441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26484442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26484443, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26485112, 'dashboard_result_id': 14730556, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26485112_04-09-2025_05_52_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26485132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26485133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26485134, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26485135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26485136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26485137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26485138, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26485139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26485140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26485141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26485142, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26485143, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26487639, 'dashboard_result_id': 14730557, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26487639_04-09-2025_05_53_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26487644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26487645, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26487646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26487647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26487648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26487649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26487650, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26487651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26487652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26487653, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26487654, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26487655, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26488226, 'dashboard_result_id': 14730558, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26488226_04-09-2025_05_54_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26488232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26488233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26488234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26488235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26488236, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26488237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26488238, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26488239, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26488240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26488241, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26488242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26488243, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26491216, 'dashboard_result_id': 14730559, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26491216_04-09-2025_05_54_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26491368, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26491369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26491370, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26491371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26491372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26491373, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26491374, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26491375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26491376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26491377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26491378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26491379, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26491219, 'dashboard_result_id': 14730560, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26491219_04-09-2025_05_55_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26491270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26491271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26491272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26491273, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26491274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26491275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26491276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26491277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26491278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26491279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26491280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26491281, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26491224, 'dashboard_result_id': 14730561, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26491224_04-09-2025_05_55_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26491241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26491243, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26491246, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26491248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26491250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26491252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26491253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26491254, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26491255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26491256, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26491257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26491258, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26491227, 'dashboard_result_id': 14730562, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26491227_04-09-2025_05_56_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26491234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26491235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26491236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26491237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26491238, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26491239, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26491240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26491242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26491244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26491247, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26491249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26491251, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26491394, 'dashboard_result_id': 14730563, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26491394_04-09-2025_05_56_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26491412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26491414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26491415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26491416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26491417, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26491418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26491419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26491420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26491421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26491422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26491423, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26491424, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26491839, 'dashboard_result_id': 14730564, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26491839_04-09-2025_05_57_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26491849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26491850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26491851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26491852, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26491853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26491854, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26491855, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26491856, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26491857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26491858, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26491859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26491860, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26492686, 'dashboard_result_id': 14730565, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26492686_04-09-2025_05_57_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26492688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26492689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26492690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26492692, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26492693, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26492694, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26492695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26492696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26492697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26492698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26492699, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26492700, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26493131, 'dashboard_result_id': 14730566, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26493131_04-09-2025_05_58_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26493207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26493208, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26493209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26493210, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26493211, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26493212, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26493213, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26493214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26493215, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26493216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26493217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26493218, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26493584, 'dashboard_result_id': 14730567, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26493584_04-09-2025_05_58_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26493600, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26493601, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26493602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26493603, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26493604, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26493605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26493606, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26493607, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26493608, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26493609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26493610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26493611, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26494118, 'dashboard_result_id': 14730568, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26494118_04-09-2025_05_59_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26494134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26494135, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26494136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26494137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26494138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26494139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26494140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26494141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26494142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26494143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26494144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26494145, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26494629, 'dashboard_result_id': 14730569, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26494629_04-09-2025_05_59_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26494693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26494694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26494695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26494696, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26494697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26494698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26494699, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26494700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26494701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26494702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26494703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26494704, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26495250, 'dashboard_result_id': 14730570, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26495250_04-09-2025_06_00_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26495273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26495274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26495275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26495276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26495277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26495278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26495279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26495280, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26495281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26495282, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26495283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26495284, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26495871, 'dashboard_result_id': 14730571, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26495871_04-09-2025_06_00_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26495886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26495887, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26495888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26495889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26495890, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26495891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26495893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26495894, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26495895, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26495896, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26495898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26495899, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26497177, 'dashboard_result_id': 14730572, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26497177_04-09-2025_06_00_40.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26497185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26497187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26497188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26497189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26497190, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26497191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26497192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26497193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26497194, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26497195, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26497196, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26497197, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26497453, 'dashboard_result_id': 14730573, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26497453_04-09-2025_06_00_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26497459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26497460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26497461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26497462, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26497463, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26497464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26497465, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26497466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26497467, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26497468, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26497469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26497470, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26497756, 'dashboard_result_id': 14730574, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26497756_04-09-2025_06_04_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26497772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26497773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26497774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26497775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26497776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26497777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26497778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26497779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26497780, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26497781, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26497782, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26497783, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26498045, 'dashboard_result_id': 14730575, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26498045_04-09-2025_06_05_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26498050, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26498051, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26498052, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26498053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26498054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26498055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26498056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26498057, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26498058, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26498059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26498060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26498061, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26498452, 'dashboard_result_id': 14730576, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26498452_04-09-2025_06_05_40.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26498478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26498479, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26498480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26498481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26498482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26498483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26498484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26498485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26498486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26498487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26498489, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26498490, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26499140, 'dashboard_result_id': 14730577, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26499140_04-09-2025_06_06_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26499150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26499151, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26499152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26499153, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26499154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26499155, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26499156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26499157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26499158, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26499159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26499160, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26499161, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26499848, 'dashboard_result_id': 14730578, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26499848_04-09-2025_06_06_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26499875, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26499876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26499877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26499878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26499879, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26499880, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26499881, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26499882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26499883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26499884, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26499885, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26499886, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26500500, 'dashboard_result_id': 14730579, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26500500_04-09-2025_06_07_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26500515, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26500516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26500517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26500518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26500519, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26500520, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26500521, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26500522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26500523, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26500524, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26500525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26500526, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26500993, 'dashboard_result_id': 14730580, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26500993_04-09-2025_06_07_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26501016, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26501017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26501019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26501020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26501021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26501022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26501023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26501024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26501025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26501026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26501027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26501028, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26501575, 'dashboard_result_id': 14730581, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26501575_04-09-2025_06_08_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26501586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26501587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26501588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26501589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26501590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26501591, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26501592, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26501593, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26501594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26501595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26501596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26501597, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26502078, 'dashboard_result_id': 14730582, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26502078_04-09-2025_06_08_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26502115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26502116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26502117, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26502118, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26502119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26502120, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26502121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26502122, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26502123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26502124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26502125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26502126, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26503031, 'dashboard_result_id': 14730583, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26503031_04-09-2025_06_09_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26503087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26503088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26503089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26503090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26503091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26503092, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26503093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26503094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26503095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26503096, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26503097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26503098, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26503678, 'dashboard_result_id': 14730584, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26503678_04-09-2025_06_09_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26503728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26503729, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26503730, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26503731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26503732, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26503733, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26503734, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26503735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26503736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26503737, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26503738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26503739, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26504239, 'dashboard_result_id': 14730585, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26504239_04-09-2025_06_10_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26504294, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26504295, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26504296, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26504297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26504298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26504299, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26504300, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26504301, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26504302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26504303, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26504304, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26504305, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26504854, 'dashboard_result_id': 14730586, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26504854_04-09-2025_06_10_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26504891, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26504892, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26504893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26504894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26504895, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26504896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26504897, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26504898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26504899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26504900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26504901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26504902, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26505355, 'dashboard_result_id': 14730587, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26505355_04-09-2025_06_10_40.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26505361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26505362, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26505363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26505364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26505365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26505366, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26505367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26505368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26505369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26505370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26505371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26505372, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26506036, 'dashboard_result_id': 14730588, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26506036_04-09-2025_06_11_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26506092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26506093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26506094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26506095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26506096, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26506097, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26506099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26506100, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26506101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26506102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26506103, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26506104, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26506860, 'dashboard_result_id': 14730589, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26506860_04-09-2025_06_11_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26506945, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26506946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26506947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26506948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26506949, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26506950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26506951, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26506952, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26506953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26506954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26506955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26506956, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26507631, 'dashboard_result_id': 14730590, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26507631_04-09-2025_06_11_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26507701, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26507702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26507703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26507704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26507705, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26507706, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26507707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26507708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26507709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26507710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26507711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26507712, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26508380, 'dashboard_result_id': 14730591, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26508380_04-09-2025_06_12_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26508423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26508424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26508425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26508426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26508427, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26508428, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26508429, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26508430, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26508431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26508432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26508433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26508434, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26509063, 'dashboard_result_id': 14730592, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26509063_04-09-2025_06_13_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26509088, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26509089, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26509090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26509091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26509092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26509093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26509094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26509095, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26509096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26509097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26509098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26509099, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26509771, 'dashboard_result_id': 14730593, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26509771_03-09-2025_23_49_10.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26509947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26509948, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26509949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26509950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26509951, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26509952, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26509953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26509954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26509955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26509956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26509957, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26509958, 'pht': 3726}}"}, {'dashboat_entry_day': 2220819, 'dashboard_run_id': 2236935, 'mtr_portfolio_id': 26510656, 'dashboard_result_id': 14730594, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26510656_04-09-2025_01_25_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26510680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26510681, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26510682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26510683, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26510684, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26510685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26510686, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26510687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26510689, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26510690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26510691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26510692, '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 = 26464090 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': 3662719, 'mtr_portfolio_id': 26464090, 'created_at': datetime.datetime(2025, 9, 4, 5, 34, 29), 'result': '0.03830274933484876', 'result_long': None, 'result_double': None}] Qualite : 0.03830274933484876 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26464090 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26464090_04-09-2025_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26464090 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26464090_04-09-2025_05_34_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26464093, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26464094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26464095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26464096, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26464097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26464098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26464099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26464100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26464101, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26464102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26464103, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26464104, 'pht': 3726}}" where mtr_portfolio_id = 26464090 and dashboard_run_id = 2236935 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`=26464090 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730515, 0.03830274933484876, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26464090_04-09-2025_05_34_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26464093, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26464094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26464095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26464096, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26464097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26464098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26464099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26464100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26464101, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26464102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26464103, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26464104, '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 = 26464620 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': 3662720, 'mtr_portfolio_id': 26464620, 'created_at': datetime.datetime(2025, 9, 4, 5, 34, 59), 'result': '0.07152545559957264', 'result_long': None, 'result_double': None}] Qualite : 0.07152545559957264 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26464620 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26464620_04-09-2025_05_35_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26464620 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26464620_04-09-2025_05_35_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26464624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26464625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26464626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26464627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26464628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26464629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26464630, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26464631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26464632, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26464633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26464634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26464635, 'pht': 3726}}" where mtr_portfolio_id = 26464620 and dashboard_run_id = 2236935 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`=26464620 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730516, 0.07152545559957264, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26464620_04-09-2025_05_35_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26464624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26464625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26464626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26464627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26464628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26464629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26464630, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26464631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26464632, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26464633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26464634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26464635, '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 = 26465056 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': 3662721, 'mtr_portfolio_id': 26465056, 'created_at': datetime.datetime(2025, 9, 4, 5, 35, 28), 'result': '0.05136129698869654', 'result_long': None, 'result_double': None}] Qualite : 0.05136129698869654 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26465056 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26465056_04-09-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26465056 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26465056_04-09-2025_05_35_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26465061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26465062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26465063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26465064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26465065, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26465066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26465067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26465068, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26465069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26465070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26465071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26465072, 'pht': 3726}}" where mtr_portfolio_id = 26465056 and dashboard_run_id = 2236935 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`=26465056 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730517, 0.05136129698869654, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26465056_04-09-2025_05_35_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26465061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26465062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26465063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26465064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26465065, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26465066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26465067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26465068, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26465069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26465070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26465071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26465072, '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 = 26465555 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': 3662722, 'mtr_portfolio_id': 26465555, 'created_at': datetime.datetime(2025, 9, 4, 5, 35, 59), 'result': '0.03417586677489316', 'result_long': None, 'result_double': None}] Qualite : 0.03417586677489316 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26465555 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26465555_04-09-2025_05_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26465555 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26465555_04-09-2025_05_36_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26465561, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26465562, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26465563, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26465564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26465565, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26465566, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26465567, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26465568, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26465569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26465570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26465571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26465572, 'pht': 3726}}" where mtr_portfolio_id = 26465555 and dashboard_run_id = 2236935 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`=26465555 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730518, 0.03417586677489316, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26465555_04-09-2025_05_36_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26465561, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26465562, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26465563, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26465564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26465565, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26465566, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26465567, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26465568, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26465569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26465570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26465571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26465572, '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 = 26466677 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': 3662723, 'mtr_portfolio_id': 26466677, 'created_at': datetime.datetime(2025, 9, 4, 5, 36, 27), 'result': '0.04661632280113114', 'result_long': None, 'result_double': None}] Qualite : 0.04661632280113114 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26466677 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26466677_04-09-2025_05_36_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26466677 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26466677_04-09-2025_05_36_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26466679, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26466680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26466681, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26466682, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26466683, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26466684, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26466685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26466686, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26466687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26466688, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26466689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26466690, 'pht': 3726}}" where mtr_portfolio_id = 26466677 and dashboard_run_id = 2236935 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`=26466677 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730519, 0.04661632280113114, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26466677_04-09-2025_05_36_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26466679, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26466680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26466681, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26466682, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26466683, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26466684, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26466685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26466686, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26466687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26466688, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26466689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26466690, '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 = 26467330 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': 3662724, 'mtr_portfolio_id': 26467330, 'created_at': datetime.datetime(2025, 9, 4, 5, 36, 57), 'result': '0.056438332049679574', 'result_long': None, 'result_double': None}] Qualite : 0.056438332049679574 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26467330 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26467330_04-09-2025_05_37_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26467330 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26467330_04-09-2025_05_37_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26467336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26467337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26467338, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26467339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26467340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26467341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26467342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26467343, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26467344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26467345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26467346, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26467347, 'pht': 3726}}" where mtr_portfolio_id = 26467330 and dashboard_run_id = 2236935 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`=26467330 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730520, 0.056438332049679574, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26467330_04-09-2025_05_37_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26467336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26467337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26467338, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26467339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26467340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26467341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26467342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26467343, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26467344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26467345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26467346, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26467347, '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 = 26468904 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': 3662725, 'mtr_portfolio_id': 26468904, 'created_at': datetime.datetime(2025, 9, 4, 5, 37, 26), 'result': '0.0400454116312662', 'result_long': None, 'result_double': None}] Qualite : 0.0400454116312662 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26468904 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26468904_04-09-2025_05_37_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26468904 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26468904_04-09-2025_05_37_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26469016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26469017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26469018, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26469019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26469020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26469021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26469022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26469023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26469024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26469025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26469026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26469027, 'pht': 3726}}" where mtr_portfolio_id = 26468904 and dashboard_run_id = 2236935 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`=26468904 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730521, 0.0400454116312662, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26468904_04-09-2025_05_37_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26469016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26469017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26469018, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26469019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26469020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26469021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26469022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26469023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26469024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26469025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26469026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26469027, '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 = 26468907 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': 3662726, 'mtr_portfolio_id': 26468907, 'created_at': datetime.datetime(2025, 9, 4, 5, 37, 56), 'result': '0.05576681411569979', 'result_long': None, 'result_double': None}] Qualite : 0.05576681411569979 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26468907 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26468907_04-09-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26468907 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26468907_04-09-2025_05_38_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26468955, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26468956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26468957, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26468958, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26468959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26468960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26468961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26468962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26468963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26468964, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26468965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26468966, 'pht': 3726}}" where mtr_portfolio_id = 26468907 and dashboard_run_id = 2236935 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`=26468907 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730522, 0.05576681411569979, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26468907_04-09-2025_05_38_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26468955, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26468956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26468957, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26468958, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26468959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26468960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26468961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26468962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26468963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26468964, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26468965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26468966, '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 = 26468909 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': 3662727, 'mtr_portfolio_id': 26468909, 'created_at': datetime.datetime(2025, 9, 4, 5, 38, 30), 'result': '0.06844695869233522', 'result_long': None, 'result_double': None}] Qualite : 0.06844695869233522 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26468909 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26468909_04-09-2025_05_38_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26468909 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26468909_04-09-2025_05_38_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26468943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26468944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26468945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26468946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26468947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26468948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26468949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26468950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26468951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26468952, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26468953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26468954, 'pht': 3726}}" where mtr_portfolio_id = 26468909 and dashboard_run_id = 2236935 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`=26468909 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730523, 0.06844695869233522, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26468909_04-09-2025_05_38_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26468943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26468944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26468945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26468946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26468947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26468948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26468949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26468950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26468951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26468952, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26468953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26468954, '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 = 26468911 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': 3662728, 'mtr_portfolio_id': 26468911, 'created_at': datetime.datetime(2025, 9, 4, 5, 38, 59), 'result': '0.06576183763277058', 'result_long': None, 'result_double': None}] Qualite : 0.06576183763277058 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26468911 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26468911_04-09-2025_05_39_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26468911 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26468911_04-09-2025_05_39_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26468913, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26468914, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26468915, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26468916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26468917, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26468918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26468919, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26468920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26468921, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26468922, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26468923, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26468924, 'pht': 3726}}" where mtr_portfolio_id = 26468911 and dashboard_run_id = 2236935 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`=26468911 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730524, 0.06576183763277058, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26468911_04-09-2025_05_39_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26468913, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26468914, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26468915, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26468916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26468917, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26468918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26468919, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26468920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26468921, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26468922, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26468923, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26468924, '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 = 26469413 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': 3662729, 'mtr_portfolio_id': 26469413, 'created_at': datetime.datetime(2025, 9, 4, 5, 39, 31), 'result': '0.04440034741788337', 'result_long': None, 'result_double': None}] Qualite : 0.04440034741788337 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26469413 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26469413_04-09-2025_05_39_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26469413 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26469413_04-09-2025_05_39_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26469440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26469441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26469442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26469443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26469444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26469445, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26469446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26469447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26469448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26469449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26469450, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26469451, 'pht': 3726}}" where mtr_portfolio_id = 26469413 and dashboard_run_id = 2236935 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`=26469413 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730525, 0.04440034741788337, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26469413_04-09-2025_05_39_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26469440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26469441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26469442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26469443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26469444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26469445, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26469446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26469447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26469448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26469449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26469450, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26469451, '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 = 26469960 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': 3662730, 'mtr_portfolio_id': 26469960, 'created_at': datetime.datetime(2025, 9, 4, 5, 39, 59), 'result': '0.07036631293278209', 'result_long': None, 'result_double': None}] Qualite : 0.07036631293278209 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26469960 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26469960_04-09-2025_05_40_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26469960 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26469960_04-09-2025_05_40_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26469971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26469972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26469973, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26469974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26469975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26469976, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26469977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26469978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26469979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26469980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26469981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26469982, 'pht': 3726}}" where mtr_portfolio_id = 26469960 and dashboard_run_id = 2236935 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`=26469960 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730526, 0.07036631293278209, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26469960_04-09-2025_05_40_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26469971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26469972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26469973, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26469974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26469975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26469976, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26469977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26469978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26469979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26469980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26469981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26469982, '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 = 26470390 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': 3662731, 'mtr_portfolio_id': 26470390, 'created_at': datetime.datetime(2025, 9, 4, 5, 40, 29), 'result': '0.05552789214373496', 'result_long': None, 'result_double': None}] Qualite : 0.05552789214373496 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26470390 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26470390_04-09-2025_05_40_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26470390 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26470390_04-09-2025_05_40_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26470416, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26470417, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26470418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26470419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26470420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26470421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26470422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26470423, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26470424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26470425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26470426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26470427, 'pht': 3726}}" where mtr_portfolio_id = 26470390 and dashboard_run_id = 2236935 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`=26470390 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730527, 0.05552789214373496, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26470390_04-09-2025_05_40_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26470416, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26470417, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26470418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26470419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26470420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26470421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26470422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26470423, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26470424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26470425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26470426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26470427, '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 = 26470805 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': 3662732, 'mtr_portfolio_id': 26470805, 'created_at': datetime.datetime(2025, 9, 4, 5, 40, 58), 'result': '0.07252814934242342', 'result_long': None, 'result_double': None}] Qualite : 0.07252814934242342 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26470805 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26470805_04-09-2025_05_41_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26470805 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26470805_04-09-2025_05_41_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26470830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26470831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26470832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26470833, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26470834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26470835, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26470836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26470837, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26470838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26470839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26470840, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26470841, 'pht': 3726}}" where mtr_portfolio_id = 26470805 and dashboard_run_id = 2236935 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`=26470805 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730528, 0.07252814934242342, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26470805_04-09-2025_05_41_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26470830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26470831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26470832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26470833, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26470834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26470835, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26470836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26470837, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26470838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26470839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26470840, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26470841, '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 = 26471195 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': 3662733, 'mtr_portfolio_id': 26471195, 'created_at': datetime.datetime(2025, 9, 4, 5, 41, 28), 'result': '0.06687623774346714', 'result_long': None, 'result_double': None}] Qualite : 0.06687623774346714 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26471195 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26471195_04-09-2025_05_41_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26471195 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26471195_04-09-2025_05_41_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26471210, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26471211, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26471212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26471213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26471214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26471215, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26471216, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26471217, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26471218, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26471219, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26471220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26471221, 'pht': 3726}}" where mtr_portfolio_id = 26471195 and dashboard_run_id = 2236935 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`=26471195 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730529, 0.06687623774346714, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26471195_04-09-2025_05_41_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26471210, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26471211, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26471212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26471213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26471214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26471215, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26471216, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26471217, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26471218, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26471219, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26471220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26471221, '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 = 26472646 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': 3662734, 'mtr_portfolio_id': 26472646, 'created_at': datetime.datetime(2025, 9, 4, 5, 41, 29), 'result': '0.03724040373441405', 'result_long': None, 'result_double': None}] Qualite : 0.03724040373441405 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26472646 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26472646_04-09-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26472646 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26472646_04-09-2025_05_41_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26472649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26472650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26472651, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26472652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26472653, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26472654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26472655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26472656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26472657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26472658, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26472659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26472660, 'pht': 3726}}" where mtr_portfolio_id = 26472646 and dashboard_run_id = 2236935 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`=26472646 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730530, 0.03724040373441405, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26472646_04-09-2025_05_41_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26472649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26472650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26472651, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26472652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26472653, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26472654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26472655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26472656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26472657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26472658, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26472659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26472660, '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 = 26472774 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': 3662735, 'mtr_portfolio_id': 26472774, 'created_at': datetime.datetime(2025, 9, 4, 5, 41, 58), 'result': '0.06156706720185337', 'result_long': None, 'result_double': None}] Qualite : 0.06156706720185337 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26472774 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26472774_04-09-2025_05_42_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26472774 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26472774_04-09-2025_05_42_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26472776, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26472777, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26472778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26472779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26472780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26472781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26472782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26472783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26472784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26472785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26472786, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26472787, 'pht': 3726}}" where mtr_portfolio_id = 26472774 and dashboard_run_id = 2236935 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`=26472774 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730531, 0.06156706720185337, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26472774_04-09-2025_05_42_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26472776, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26472777, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26472778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26472779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26472780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26472781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26472782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26472783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26472784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26472785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26472786, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26472787, '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 = 26473061 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': 3662736, 'mtr_portfolio_id': 26473061, 'created_at': datetime.datetime(2025, 9, 4, 5, 42, 31), 'result': '0.054020748619919116', 'result_long': None, 'result_double': None}] Qualite : 0.054020748619919116 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26473061 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26473061_04-09-2025_05_42_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26473061 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26473061_04-09-2025_05_42_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26473067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26473068, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26473069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26473070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26473071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26473072, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26473073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26473074, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26473075, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26473076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26473077, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26473078, 'pht': 3726}}" where mtr_portfolio_id = 26473061 and dashboard_run_id = 2236935 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`=26473061 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730532, 0.054020748619919116, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26473061_04-09-2025_05_42_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26473067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26473068, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26473069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26473070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26473071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26473072, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26473073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26473074, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26473075, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26473076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26473077, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26473078, '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 = 26473432 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': 3662737, 'mtr_portfolio_id': 26473432, 'created_at': datetime.datetime(2025, 9, 4, 5, 42, 58), 'result': '0.0792970916880485', 'result_long': None, 'result_double': None}] Qualite : 0.0792970916880485 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26473432 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26473432_04-09-2025_05_43_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26473432 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26473432_04-09-2025_05_43_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26473438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26473439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26473440, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26473441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26473442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26473443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26473444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26473445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26473446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26473447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26473448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26473449, 'pht': 3726}}" where mtr_portfolio_id = 26473432 and dashboard_run_id = 2236935 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`=26473432 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730533, 0.0792970916880485, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26473432_04-09-2025_05_43_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26473438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26473439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26473440, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26473441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26473442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26473443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26473444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26473445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26473446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26473447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26473448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26473449, '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 = 26473783 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 = 26473783 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 = 26473783 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26473783 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 = 26473783 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 = 26473783 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26473783_04-09-2025_05_43_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26473783 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26473783_04-09-2025_05_43_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26473789, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26473790, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26473791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26473792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26473793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26473794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26473795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26473796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26473797, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26473798, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26473799, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26473800, 'pht': 3726}}" where mtr_portfolio_id = 26473783 and dashboard_run_id = 2236935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26474140 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': 3662739, 'mtr_portfolio_id': 26474140, 'created_at': datetime.datetime(2025, 9, 4, 5, 43, 29), 'result': '0.048307867967105865', 'result_long': None, 'result_double': None}] Qualite : 0.048307867967105865 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26474140 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26474140_04-09-2025_05_43_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26474140 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26474140_04-09-2025_05_43_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26474141, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26474142, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26474143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26474144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26474145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26474146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26474147, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26474148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26474149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26474150, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26474151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26474152, 'pht': 3726}}" where mtr_portfolio_id = 26474140 and dashboard_run_id = 2236935 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`=26474140 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730535, 0.048307867967105865, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26474140_04-09-2025_05_43_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26474141, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26474142, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26474143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26474144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26474145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26474146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26474147, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26474148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26474149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26474150, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26474151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26474152, '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 = 26474172 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 = 26474172 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 = 26474172 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26474172 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 = 26474172 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 = 26474172 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26474172_04-09-2025_05_43_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26474172 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26474172_04-09-2025_05_43_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26474174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26474175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26474176, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26474177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26474178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26474179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26474180, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26474181, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26474182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26474183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26474184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26474185, 'pht': 3726}}" where mtr_portfolio_id = 26474172 and dashboard_run_id = 2236935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26474226 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': 3662741, 'mtr_portfolio_id': 26474226, 'created_at': datetime.datetime(2025, 9, 4, 5, 44, 31), 'result': '0.09199072430485036', 'result_long': None, 'result_double': None}] Qualite : 0.09199072430485036 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26474226 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26474226_04-09-2025_05_44_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26474226 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26474226_04-09-2025_05_44_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26474227, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26474228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26474229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26474230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26474231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26474232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26474233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26474234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26474235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26474236, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26474237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26474238, 'pht': 3726}}" where mtr_portfolio_id = 26474226 and dashboard_run_id = 2236935 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`=26474226 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730537, 0.09199072430485036, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26474226_04-09-2025_05_44_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26474227, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26474228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26474229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26474230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26474231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26474232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26474233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26474234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26474235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26474236, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26474237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26474238, '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 = 26474338 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': 3662742, 'mtr_portfolio_id': 26474338, 'created_at': datetime.datetime(2025, 9, 4, 5, 44, 59), 'result': '0.05440824550609011', 'result_long': None, 'result_double': None}] Qualite : 0.05440824550609011 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26474338 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26474338_04-09-2025_05_45_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26474338 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26474338_04-09-2025_05_45_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26474367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26474368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26474369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26474370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26474371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26474372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26474373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26474374, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26474375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26474376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26474377, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26474378, 'pht': 3726}}" where mtr_portfolio_id = 26474338 and dashboard_run_id = 2236935 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`=26474338 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730538, 0.05440824550609011, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26474338_04-09-2025_05_45_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26474367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26474368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26474369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26474370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26474371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26474372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26474373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26474374, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26474375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26474376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26474377, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26474378, '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 = 26474755 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': 3662743, 'mtr_portfolio_id': 26474755, 'created_at': datetime.datetime(2025, 9, 4, 5, 45, 35), 'result': '0.04145154434697078', 'result_long': None, 'result_double': None}] Qualite : 0.04145154434697078 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26474755 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26474755_04-09-2025_05_45_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26474755 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26474755_04-09-2025_05_45_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26474823, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26474824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26474825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26474826, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26474827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26474828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26474829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26474830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26474831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26474832, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26474834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26474835, 'pht': 3726}}" where mtr_portfolio_id = 26474755 and dashboard_run_id = 2236935 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`=26474755 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730539, 0.04145154434697078, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26474755_04-09-2025_05_45_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26474823, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26474824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26474825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26474826, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26474827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26474828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26474829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26474830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26474831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26474832, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26474834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26474835, '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 = 26475537 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': 3662744, 'mtr_portfolio_id': 26475537, 'created_at': datetime.datetime(2025, 9, 4, 5, 45, 39), 'result': '0.07371881034440318', 'result_long': None, 'result_double': None}] Qualite : 0.07371881034440318 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26475537 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26475537_04-09-2025_05_45_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26475537 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26475537_04-09-2025_05_45_41.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26475575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26475576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26475577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26475578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26475579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26475580, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26475581, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26475582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26475583, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26475584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26475585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26475586, 'pht': 3726}}" where mtr_portfolio_id = 26475537 and dashboard_run_id = 2236935 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`=26475537 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730540, 0.07371881034440318, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26475537_04-09-2025_05_45_41.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26475575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26475576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26475577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26475578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26475579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26475580, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26475581, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26475582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26475583, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26475584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26475585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26475586, '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 = 26476200 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': 3662745, 'mtr_portfolio_id': 26476200, 'created_at': datetime.datetime(2025, 9, 4, 5, 46), 'result': '0.0703954047473432', 'result_long': None, 'result_double': None}] Qualite : 0.0703954047473432 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26476200 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26476200_04-09-2025_05_46_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26476200 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26476200_04-09-2025_05_46_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26476289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26476290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26476291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26476292, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26476293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26476294, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26476295, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26476296, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26476297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26476298, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26476299, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26476300, 'pht': 3726}}" where mtr_portfolio_id = 26476200 and dashboard_run_id = 2236935 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`=26476200 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730541, 0.0703954047473432, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26476200_04-09-2025_05_46_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26476289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26476290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26476291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26476292, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26476293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26476294, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26476295, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26476296, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26476297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26476298, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26476299, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26476300, '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 = 26476938 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': 3662746, 'mtr_portfolio_id': 26476938, 'created_at': datetime.datetime(2025, 9, 4, 5, 46, 30), 'result': '0.14925437677800082', 'result_long': None, 'result_double': None}] Qualite : 0.14925437677800082 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26476938 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26476938_04-09-2025_05_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26476938 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26476938_04-09-2025_05_46_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26476943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26476944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26476945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26476946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26476947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26476948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26476949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26476950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26476951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26476952, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26476953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26476954, 'pht': 3726}}" where mtr_portfolio_id = 26476938 and dashboard_run_id = 2236935 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`=26476938 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730542, 0.14925437677800082, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26476938_04-09-2025_05_46_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26476943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26476944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26476945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26476946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26476947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26476948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26476949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26476950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26476951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26476952, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26476953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26476954, '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 = 26477759 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': 3662747, 'mtr_portfolio_id': 26477759, 'created_at': datetime.datetime(2025, 9, 4, 5, 46, 57), 'result': '0.09776708754776448', 'result_long': None, 'result_double': None}] Qualite : 0.09776708754776448 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26477759 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26477759_04-09-2025_05_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26477759 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26477759_04-09-2025_05_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26477786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26477787, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26477788, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26477789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26477790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26477791, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26477792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26477793, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26477794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26477795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26477796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26477797, 'pht': 3726}}" where mtr_portfolio_id = 26477759 and dashboard_run_id = 2236935 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`=26477759 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730543, 0.09776708754776448, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26477759_04-09-2025_05_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26477786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26477787, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26477788, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26477789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26477790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26477791, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26477792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26477793, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26477794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26477795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26477796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26477797, '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 = 26478054 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': 3662748, 'mtr_portfolio_id': 26478054, 'created_at': datetime.datetime(2025, 9, 4, 5, 47, 32), 'result': '0.06856530909868626', 'result_long': None, 'result_double': None}] Qualite : 0.06856530909868626 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26478054 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26478054_04-09-2025_05_47_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26478054 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26478054_04-09-2025_05_47_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26478060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26478061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26478062, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26478063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26478064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26478065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26478066, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26478067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26478068, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26478069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26478070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26478071, 'pht': 3726}}" where mtr_portfolio_id = 26478054 and dashboard_run_id = 2236935 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`=26478054 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730544, 0.06856530909868626, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26478054_04-09-2025_05_47_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26478060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26478061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26478062, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26478063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26478064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26478065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26478066, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26478067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26478068, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26478069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26478070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26478071, '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 = 26478242 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 = 26478242 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 = 26478242 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26478242 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 = 26478242 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 = 26478242 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26478242_04-09-2025_05_47_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26478242 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26478242_04-09-2025_05_47_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26478408, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26478409, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26478410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26478411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26478412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26478413, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26478414, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26478415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26478416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26478417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26478418, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26478419, 'pht': 3726}}" where mtr_portfolio_id = 26478242 and dashboard_run_id = 2236935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26478249 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': 3662750, 'mtr_portfolio_id': 26478249, 'created_at': datetime.datetime(2025, 9, 4, 5, 48, 1), 'result': '0.050208177468506206', 'result_long': None, 'result_double': None}] Qualite : 0.050208177468506206 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26478249 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26478249_04-09-2025_05_48_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26478249 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26478249_04-09-2025_05_48_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26478305, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26478306, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26478308, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26478309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26478310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26478311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26478312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26478313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26478314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26478315, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26478316, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26478317, 'pht': 3726}}" where mtr_portfolio_id = 26478249 and dashboard_run_id = 2236935 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`=26478249 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730546, 0.050208177468506206, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26478249_04-09-2025_05_48_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26478305, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26478306, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26478308, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26478309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26478310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26478311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26478312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26478313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26478314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26478315, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26478316, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26478317, '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 = 26478694 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': 3662751, 'mtr_portfolio_id': 26478694, 'created_at': datetime.datetime(2025, 9, 4, 5, 48, 28), 'result': '0.05672062356506496', 'result_long': None, 'result_double': None}] Qualite : 0.05672062356506496 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26478694 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26478694_04-09-2025_05_48_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26478694 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26478694_04-09-2025_05_48_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26478710, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26478711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26478712, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26478713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26478714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26478715, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26478716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26478717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26478718, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26478719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26478720, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26478721, 'pht': 3726}}" where mtr_portfolio_id = 26478694 and dashboard_run_id = 2236935 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`=26478694 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730547, 0.05672062356506496, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26478694_04-09-2025_05_48_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26478710, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26478711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26478712, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26478713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26478714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26478715, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26478716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26478717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26478718, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26478719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26478720, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26478721, '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 = 26479545 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': 3662752, 'mtr_portfolio_id': 26479545, 'created_at': datetime.datetime(2025, 9, 4, 5, 48, 58), 'result': '0.04056111636673547', 'result_long': None, 'result_double': None}] Qualite : 0.04056111636673547 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26479545 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26479545_04-09-2025_05_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26479545 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26479545_04-09-2025_05_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26479584, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26479585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26479586, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26479587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26479589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26479590, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26479591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26479592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26479593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26479594, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26479595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26479596, 'pht': 3726}}" where mtr_portfolio_id = 26479545 and dashboard_run_id = 2236935 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`=26479545 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730548, 0.04056111636673547, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26479545_04-09-2025_05_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26479584, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26479585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26479586, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26479587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26479589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26479590, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26479591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26479592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26479593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26479594, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26479595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26479596, '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 = 26480157 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': 3662753, 'mtr_portfolio_id': 26480157, 'created_at': datetime.datetime(2025, 9, 4, 5, 49, 29), 'result': '0.06282963690578121', 'result_long': None, 'result_double': None}] Qualite : 0.06282963690578121 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26480157 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26480157_04-09-2025_05_49_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26480157 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26480157_04-09-2025_05_49_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26480166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26480167, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26480168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26480169, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26480170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26480171, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26480172, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26480173, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26480174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26480175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26480176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26480177, 'pht': 3726}}" where mtr_portfolio_id = 26480157 and dashboard_run_id = 2236935 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`=26480157 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730549, 0.06282963690578121, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26480157_04-09-2025_05_49_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26480166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26480167, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26480168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26480169, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26480170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26480171, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26480172, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26480173, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26480174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26480175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26480176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26480177, '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 = 26480939 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': 3662754, 'mtr_portfolio_id': 26480939, 'created_at': datetime.datetime(2025, 9, 4, 5, 49, 59), 'result': '0.07261898661369943', 'result_long': None, 'result_double': None}] Qualite : 0.07261898661369943 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26480939 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26480939_04-09-2025_05_50_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26480939 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26480939_04-09-2025_05_50_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26480959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26480960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26480961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26480962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26480963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26480964, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26480965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26480966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26480967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26480968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26480969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26480970, 'pht': 3726}}" where mtr_portfolio_id = 26480939 and dashboard_run_id = 2236935 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`=26480939 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730550, 0.07261898661369943, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26480939_04-09-2025_05_50_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26480959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26480960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26480961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26480962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26480963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26480964, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26480965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26480966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26480967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26480968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26480969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26480970, '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 = 26481464 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': 3662755, 'mtr_portfolio_id': 26481464, 'created_at': datetime.datetime(2025, 9, 4, 5, 50, 32), 'result': '0.06686769334326827', 'result_long': None, 'result_double': None}] Qualite : 0.06686769334326827 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26481464 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26481464_04-09-2025_05_50_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26481464 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26481464_04-09-2025_05_50_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26481475, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26481476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26481477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26481478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26481479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26481480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26481481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26481482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26481483, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26481484, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26481485, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26481486, 'pht': 3726}}" where mtr_portfolio_id = 26481464 and dashboard_run_id = 2236935 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`=26481464 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730551, 0.06686769334326827, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26481464_04-09-2025_05_50_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26481475, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26481476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26481477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26481478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26481479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26481480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26481481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26481482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26481483, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26481484, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26481485, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26481486, '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 = 26482126 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': 3662756, 'mtr_portfolio_id': 26482126, 'created_at': datetime.datetime(2025, 9, 4, 5, 51), 'result': '0.056098218712897524', 'result_long': None, 'result_double': None}] Qualite : 0.056098218712897524 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26482126 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26482126_04-09-2025_05_51_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26482126 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26482126_04-09-2025_05_51_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26482175, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26482176, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26482177, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26482178, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26482179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26482180, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26482181, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26482182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26482183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26482184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26482185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26482186, 'pht': 3726}}" where mtr_portfolio_id = 26482126 and dashboard_run_id = 2236935 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`=26482126 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730552, 0.056098218712897524, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26482126_04-09-2025_05_51_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26482175, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26482176, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26482177, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26482178, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26482179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26482180, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26482181, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26482182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26482183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26482184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26482185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26482186, '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 = 26482829 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': 3662757, 'mtr_portfolio_id': 26482829, 'created_at': datetime.datetime(2025, 9, 4, 5, 51, 27), 'result': '0.05637530312090848', 'result_long': None, 'result_double': None}] Qualite : 0.05637530312090848 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26482829 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26482829_04-09-2025_05_51_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26482829 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26482829_04-09-2025_05_51_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26482882, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26482883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26482884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26482885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26482886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26482887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26482888, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26482889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26482890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26482891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26482892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26482893, 'pht': 3726}}" where mtr_portfolio_id = 26482829 and dashboard_run_id = 2236935 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`=26482829 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730553, 0.05637530312090848, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26482829_04-09-2025_05_51_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26482882, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26482883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26482884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26482885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26482886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26482887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26482888, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26482889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26482890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26482891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26482892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26482893, '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 = 26483614 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': 3662758, 'mtr_portfolio_id': 26483614, 'created_at': datetime.datetime(2025, 9, 4, 5, 51, 58), 'result': '0.05719779258123336', 'result_long': None, 'result_double': None}] Qualite : 0.05719779258123336 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26483614 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26483614_04-09-2025_05_52_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26483614 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26483614_04-09-2025_05_52_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26483629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26483630, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26483631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26483632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26483633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26483634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26483635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26483636, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26483637, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26483638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26483639, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26483640, 'pht': 3726}}" where mtr_portfolio_id = 26483614 and dashboard_run_id = 2236935 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`=26483614 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730554, 0.05719779258123336, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26483614_04-09-2025_05_52_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26483629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26483630, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26483631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26483632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26483633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26483634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26483635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26483636, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26483637, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26483638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26483639, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26483640, '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 = 26484362 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': 3662759, 'mtr_portfolio_id': 26484362, 'created_at': datetime.datetime(2025, 9, 4, 5, 52, 27), 'result': '0.09310999961634783', 'result_long': None, 'result_double': None}] Qualite : 0.09310999961634783 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26484362 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26484362_04-09-2025_05_52_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26484362 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26484362_04-09-2025_05_52_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26484432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26484433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26484434, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26484435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26484436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26484437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26484438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26484439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26484440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26484441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26484442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26484443, 'pht': 3726}}" where mtr_portfolio_id = 26484362 and dashboard_run_id = 2236935 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`=26484362 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730555, 0.09310999961634783, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26484362_04-09-2025_05_52_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26484432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26484433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26484434, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26484435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26484436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26484437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26484438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26484439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26484440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26484441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26484442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26484443, '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 = 26485112 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': 3662760, 'mtr_portfolio_id': 26485112, 'created_at': datetime.datetime(2025, 9, 4, 5, 52, 58), 'result': '0.055065386337491584', 'result_long': None, 'result_double': None}] Qualite : 0.055065386337491584 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26485112 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26485112_04-09-2025_05_52_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26485112 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26485112_04-09-2025_05_52_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26485132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26485133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26485134, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26485135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26485136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26485137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26485138, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26485139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26485140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26485141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26485142, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26485143, 'pht': 3726}}" where mtr_portfolio_id = 26485112 and dashboard_run_id = 2236935 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`=26485112 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730556, 0.055065386337491584, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26485112_04-09-2025_05_52_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26485132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26485133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26485134, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26485135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26485136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26485137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26485138, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26485139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26485140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26485141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26485142, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26485143, '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 = 26487639 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': 3662761, 'mtr_portfolio_id': 26487639, 'created_at': datetime.datetime(2025, 9, 4, 5, 53, 30), 'result': '0.039211086991861085', 'result_long': None, 'result_double': None}] Qualite : 0.039211086991861085 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26487639 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26487639_04-09-2025_05_53_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26487639 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26487639_04-09-2025_05_53_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26487644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26487645, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26487646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26487647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26487648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26487649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26487650, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26487651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26487652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26487653, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26487654, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26487655, 'pht': 3726}}" where mtr_portfolio_id = 26487639 and dashboard_run_id = 2236935 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`=26487639 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730557, 0.039211086991861085, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26487639_04-09-2025_05_53_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26487644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26487645, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26487646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26487647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26487648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26487649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26487650, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26487651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26487652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26487653, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26487654, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26487655, '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 = 26488226 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': 3662762, 'mtr_portfolio_id': 26488226, 'created_at': datetime.datetime(2025, 9, 4, 5, 53, 59), 'result': '0.04099450290963553', 'result_long': None, 'result_double': None}] Qualite : 0.04099450290963553 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26488226 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26488226_04-09-2025_05_54_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26488226 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26488226_04-09-2025_05_54_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26488232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26488233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26488234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26488235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26488236, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26488237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26488238, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26488239, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26488240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26488241, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26488242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26488243, 'pht': 3726}}" where mtr_portfolio_id = 26488226 and dashboard_run_id = 2236935 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`=26488226 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730558, 0.04099450290963553, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26488226_04-09-2025_05_54_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26488232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26488233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26488234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26488235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26488236, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26488237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26488238, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26488239, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26488240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26488241, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26488242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26488243, '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 = 26491216 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': 3662763, 'mtr_portfolio_id': 26491216, 'created_at': datetime.datetime(2025, 9, 4, 5, 54, 28), 'result': '0.059559676260237795', 'result_long': None, 'result_double': None}] Qualite : 0.059559676260237795 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26491216 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26491216_04-09-2025_05_54_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26491216 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26491216_04-09-2025_05_54_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26491368, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26491369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26491370, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26491371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26491372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26491373, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26491374, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26491375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26491376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26491377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26491378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26491379, 'pht': 3726}}" where mtr_portfolio_id = 26491216 and dashboard_run_id = 2236935 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`=26491216 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730559, 0.059559676260237795, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26491216_04-09-2025_05_54_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26491368, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26491369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26491370, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26491371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26491372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26491373, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26491374, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26491375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26491376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26491377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26491378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26491379, '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 = 26491219 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': 3662764, 'mtr_portfolio_id': 26491219, 'created_at': datetime.datetime(2025, 9, 4, 5, 55), 'result': '0.059084776916435225', 'result_long': None, 'result_double': None}] Qualite : 0.059084776916435225 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26491219 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26491219_04-09-2025_05_55_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26491219 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26491219_04-09-2025_05_55_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26491270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26491271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26491272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26491273, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26491274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26491275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26491276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26491277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26491278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26491279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26491280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26491281, 'pht': 3726}}" where mtr_portfolio_id = 26491219 and dashboard_run_id = 2236935 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`=26491219 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730560, 0.059084776916435225, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26491219_04-09-2025_05_55_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26491270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26491271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26491272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26491273, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26491274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26491275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26491276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26491277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26491278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26491279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26491280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26491281, '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 = 26491224 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': 3662765, 'mtr_portfolio_id': 26491224, 'created_at': datetime.datetime(2025, 9, 4, 5, 55, 29), 'result': '0.03431094107687301', 'result_long': None, 'result_double': None}] Qualite : 0.03431094107687301 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26491224 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26491224_04-09-2025_05_55_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26491224 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26491224_04-09-2025_05_55_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26491241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26491243, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26491246, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26491248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26491250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26491252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26491253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26491254, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26491255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26491256, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26491257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26491258, 'pht': 3726}}" where mtr_portfolio_id = 26491224 and dashboard_run_id = 2236935 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`=26491224 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730561, 0.03431094107687301, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26491224_04-09-2025_05_55_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26491241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26491243, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26491246, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26491248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26491250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26491252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26491253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26491254, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26491255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26491256, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26491257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26491258, '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 = 26491227 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': 3662766, 'mtr_portfolio_id': 26491227, 'created_at': datetime.datetime(2025, 9, 4, 5, 55, 59), 'result': '0.05197224062187926', 'result_long': None, 'result_double': None}] Qualite : 0.05197224062187926 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26491227 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26491227_04-09-2025_05_56_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26491227 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26491227_04-09-2025_05_56_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26491234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26491235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26491236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26491237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26491238, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26491239, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26491240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26491242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26491244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26491247, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26491249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26491251, 'pht': 3726}}" where mtr_portfolio_id = 26491227 and dashboard_run_id = 2236935 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`=26491227 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730562, 0.05197224062187926, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26491227_04-09-2025_05_56_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26491234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26491235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26491236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26491237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26491238, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26491239, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26491240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26491242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26491244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26491247, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26491249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26491251, '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 = 26491394 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': 3662767, 'mtr_portfolio_id': 26491394, 'created_at': datetime.datetime(2025, 9, 4, 5, 56, 29), 'result': '0.10728180300658344', 'result_long': None, 'result_double': None}] Qualite : 0.10728180300658344 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26491394 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26491394_04-09-2025_05_56_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26491394 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26491394_04-09-2025_05_56_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26491412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26491414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26491415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26491416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26491417, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26491418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26491419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26491420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26491421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26491422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26491423, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26491424, 'pht': 3726}}" where mtr_portfolio_id = 26491394 and dashboard_run_id = 2236935 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`=26491394 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730563, 0.10728180300658344, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26491394_04-09-2025_05_56_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26491412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26491414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26491415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26491416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26491417, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26491418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26491419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26491420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26491421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26491422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26491423, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26491424, '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 = 26491839 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': 3662768, 'mtr_portfolio_id': 26491839, 'created_at': datetime.datetime(2025, 9, 4, 5, 56, 58), 'result': '0.04986836708882518', 'result_long': None, 'result_double': None}] Qualite : 0.04986836708882518 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26491839 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26491839_04-09-2025_05_57_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26491839 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26491839_04-09-2025_05_57_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26491849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26491850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26491851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26491852, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26491853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26491854, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26491855, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26491856, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26491857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26491858, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26491859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26491860, 'pht': 3726}}" where mtr_portfolio_id = 26491839 and dashboard_run_id = 2236935 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`=26491839 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730564, 0.04986836708882518, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26491839_04-09-2025_05_57_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26491849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26491850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26491851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26491852, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26491853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26491854, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26491855, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26491856, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26491857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26491858, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26491859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26491860, '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 = 26492686 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': 3662769, 'mtr_portfolio_id': 26492686, 'created_at': datetime.datetime(2025, 9, 4, 5, 57, 30), 'result': '0.09422816506593162', 'result_long': None, 'result_double': None}] Qualite : 0.09422816506593162 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26492686 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26492686_04-09-2025_05_57_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26492686 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26492686_04-09-2025_05_57_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26492688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26492689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26492690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26492692, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26492693, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26492694, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26492695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26492696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26492697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26492698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26492699, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26492700, 'pht': 3726}}" where mtr_portfolio_id = 26492686 and dashboard_run_id = 2236935 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`=26492686 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730565, 0.09422816506593162, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26492686_04-09-2025_05_57_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26492688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26492689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26492690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26492692, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26492693, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26492694, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26492695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26492696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26492697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26492698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26492699, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26492700, '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 = 26493131 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': 3662770, 'mtr_portfolio_id': 26493131, 'created_at': datetime.datetime(2025, 9, 4, 5, 58), 'result': '0.04530312061622657', 'result_long': None, 'result_double': None}] Qualite : 0.04530312061622657 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26493131 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26493131_04-09-2025_05_58_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26493131 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26493131_04-09-2025_05_58_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26493207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26493208, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26493209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26493210, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26493211, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26493212, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26493213, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26493214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26493215, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26493216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26493217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26493218, 'pht': 3726}}" where mtr_portfolio_id = 26493131 and dashboard_run_id = 2236935 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`=26493131 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730566, 0.04530312061622657, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26493131_04-09-2025_05_58_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26493207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26493208, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26493209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26493210, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26493211, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26493212, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26493213, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26493214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26493215, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26493216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26493217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26493218, '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 = 26493584 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': 3662771, 'mtr_portfolio_id': 26493584, 'created_at': datetime.datetime(2025, 9, 4, 5, 58, 29), 'result': '0.055203978280371394', 'result_long': None, 'result_double': None}] Qualite : 0.055203978280371394 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26493584 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26493584_04-09-2025_05_58_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26493584 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26493584_04-09-2025_05_58_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26493600, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26493601, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26493602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26493603, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26493604, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26493605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26493606, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26493607, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26493608, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26493609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26493610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26493611, 'pht': 3726}}" where mtr_portfolio_id = 26493584 and dashboard_run_id = 2236935 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`=26493584 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730567, 0.055203978280371394, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26493584_04-09-2025_05_58_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26493600, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26493601, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26493602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26493603, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26493604, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26493605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26493606, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26493607, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26493608, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26493609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26493610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26493611, '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 = 26494118 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': 3662772, 'mtr_portfolio_id': 26494118, 'created_at': datetime.datetime(2025, 9, 4, 5, 58, 58), 'result': '0.057147204040374655', 'result_long': None, 'result_double': None}] Qualite : 0.057147204040374655 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26494118 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26494118_04-09-2025_05_59_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26494118 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26494118_04-09-2025_05_59_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26494134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26494135, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26494136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26494137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26494138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26494139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26494140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26494141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26494142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26494143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26494144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26494145, 'pht': 3726}}" where mtr_portfolio_id = 26494118 and dashboard_run_id = 2236935 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`=26494118 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730568, 0.057147204040374655, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26494118_04-09-2025_05_59_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26494134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26494135, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26494136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26494137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26494138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26494139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26494140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26494141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26494142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26494143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26494144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26494145, '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 = 26494629 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': 3662773, 'mtr_portfolio_id': 26494629, 'created_at': datetime.datetime(2025, 9, 4, 5, 59, 27), 'result': '0.04991765916780462', 'result_long': None, 'result_double': None}] Qualite : 0.04991765916780462 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26494629 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26494629_04-09-2025_05_59_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26494629 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26494629_04-09-2025_05_59_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26494693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26494694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26494695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26494696, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26494697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26494698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26494699, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26494700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26494701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26494702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26494703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26494704, 'pht': 3726}}" where mtr_portfolio_id = 26494629 and dashboard_run_id = 2236935 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`=26494629 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730569, 0.04991765916780462, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26494629_04-09-2025_05_59_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26494693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26494694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26494695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26494696, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26494697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26494698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26494699, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26494700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26494701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26494702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26494703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26494704, '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 = 26495250 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': 3662774, 'mtr_portfolio_id': 26495250, 'created_at': datetime.datetime(2025, 9, 4, 5, 59, 59), 'result': '0.04821118742911193', 'result_long': None, 'result_double': None}] Qualite : 0.04821118742911193 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26495250 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26495250_04-09-2025_06_00_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26495250 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26495250_04-09-2025_06_00_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26495273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26495274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26495275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26495276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26495277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26495278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26495279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26495280, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26495281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26495282, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26495283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26495284, 'pht': 3726}}" where mtr_portfolio_id = 26495250 and dashboard_run_id = 2236935 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`=26495250 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730570, 0.04821118742911193, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26495250_04-09-2025_06_00_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26495273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26495274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26495275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26495276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26495277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26495278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26495279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26495280, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26495281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26495282, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26495283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26495284, '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 = 26495871 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': 3662775, 'mtr_portfolio_id': 26495871, 'created_at': datetime.datetime(2025, 9, 4, 6, 0, 29), 'result': '0.04035282836911968', 'result_long': None, 'result_double': None}] Qualite : 0.04035282836911968 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26495871 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26495871_04-09-2025_06_00_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26495871 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26495871_04-09-2025_06_00_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26495886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26495887, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26495888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26495889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26495890, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26495891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26495893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26495894, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26495895, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26495896, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26495898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26495899, 'pht': 3726}}" where mtr_portfolio_id = 26495871 and dashboard_run_id = 2236935 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`=26495871 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730571, 0.04035282836911968, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26495871_04-09-2025_06_00_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26495886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26495887, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26495888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26495889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26495890, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26495891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26495893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26495894, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26495895, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26495896, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26495898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26495899, '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 = 26497177 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 = 26497177 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 = 26497177 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26497177 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 = 26497177 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 = 26497177 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26497177_04-09-2025_06_00_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26497177 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26497177_04-09-2025_06_00_40.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26497185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26497187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26497188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26497189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26497190, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26497191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26497192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26497193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26497194, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26497195, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26497196, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26497197, 'pht': 3726}}" where mtr_portfolio_id = 26497177 and dashboard_run_id = 2236935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26497453 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': 3662777, 'mtr_portfolio_id': 26497453, 'created_at': datetime.datetime(2025, 9, 4, 6, 0, 56), 'result': '0.06393663084995344', 'result_long': None, 'result_double': None}] Qualite : 0.06393663084995344 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26497453 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26497453_04-09-2025_06_00_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26497453 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26497453_04-09-2025_06_00_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26497459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26497460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26497461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26497462, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26497463, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26497464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26497465, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26497466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26497467, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26497468, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26497469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26497470, 'pht': 3726}}" where mtr_portfolio_id = 26497453 and dashboard_run_id = 2236935 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`=26497453 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730573, 0.06393663084995344, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26497453_04-09-2025_06_00_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26497459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26497460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26497461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26497462, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26497463, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26497464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26497465, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26497466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26497467, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26497468, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26497469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26497470, '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 = 26497756 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': 3662778, 'mtr_portfolio_id': 26497756, 'created_at': datetime.datetime(2025, 9, 4, 6, 4, 28), 'result': '0.07203805605328548', 'result_long': None, 'result_double': None}] Qualite : 0.07203805605328548 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26497756 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26497756_04-09-2025_06_04_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26497756 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26497756_04-09-2025_06_04_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26497772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26497773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26497774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26497775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26497776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26497777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26497778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26497779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26497780, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26497781, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26497782, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26497783, 'pht': 3726}}" where mtr_portfolio_id = 26497756 and dashboard_run_id = 2236935 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`=26497756 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730574, 0.07203805605328548, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26497756_04-09-2025_06_04_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26497772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26497773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26497774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26497775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26497776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26497777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26497778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26497779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26497780, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26497781, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26497782, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26497783, '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 = 26498045 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': 3662779, 'mtr_portfolio_id': 26498045, 'created_at': datetime.datetime(2025, 9, 4, 6, 5, 31), 'result': '0.08844135169634598', 'result_long': None, 'result_double': None}] Qualite : 0.08844135169634598 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26498045 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26498045_04-09-2025_06_05_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26498045 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26498045_04-09-2025_06_05_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26498050, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26498051, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26498052, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26498053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26498054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26498055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26498056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26498057, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26498058, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26498059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26498060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26498061, 'pht': 3726}}" where mtr_portfolio_id = 26498045 and dashboard_run_id = 2236935 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`=26498045 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730575, 0.08844135169634598, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26498045_04-09-2025_06_05_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26498050, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26498051, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26498052, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26498053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26498054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26498055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26498056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26498057, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26498058, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26498059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26498060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26498061, '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 = 26498452 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': 3662780, 'mtr_portfolio_id': 26498452, 'created_at': datetime.datetime(2025, 9, 4, 6, 5, 37), 'result': '0.06090283731797631', 'result_long': None, 'result_double': None}] Qualite : 0.06090283731797631 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26498452 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26498452_04-09-2025_06_05_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26498452 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26498452_04-09-2025_06_05_40.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26498478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26498479, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26498480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26498481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26498482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26498483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26498484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26498485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26498486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26498487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26498489, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26498490, 'pht': 3726}}" where mtr_portfolio_id = 26498452 and dashboard_run_id = 2236935 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`=26498452 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730576, 0.06090283731797631, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26498452_04-09-2025_06_05_40.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26498478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26498479, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26498480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26498481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26498482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26498483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26498484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26498485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26498486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26498487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26498489, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26498490, '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 = 26499140 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': 3662781, 'mtr_portfolio_id': 26499140, 'created_at': datetime.datetime(2025, 9, 4, 6, 5, 58), 'result': '0.05121013785511962', 'result_long': None, 'result_double': None}] Qualite : 0.05121013785511962 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26499140 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26499140_04-09-2025_06_06_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26499140 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26499140_04-09-2025_06_06_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26499150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26499151, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26499152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26499153, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26499154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26499155, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26499156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26499157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26499158, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26499159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26499160, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26499161, 'pht': 3726}}" where mtr_portfolio_id = 26499140 and dashboard_run_id = 2236935 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`=26499140 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730577, 0.05121013785511962, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26499140_04-09-2025_06_06_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26499150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26499151, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26499152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26499153, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26499154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26499155, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26499156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26499157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26499158, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26499159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26499160, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26499161, '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 = 26499848 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': 3662782, 'mtr_portfolio_id': 26499848, 'created_at': datetime.datetime(2025, 9, 4, 6, 6, 29), 'result': '0.05530871219739777', 'result_long': None, 'result_double': None}] Qualite : 0.05530871219739777 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26499848 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26499848_04-09-2025_06_06_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26499848 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26499848_04-09-2025_06_06_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26499875, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26499876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26499877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26499878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26499879, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26499880, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26499881, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26499882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26499883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26499884, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26499885, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26499886, 'pht': 3726}}" where mtr_portfolio_id = 26499848 and dashboard_run_id = 2236935 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`=26499848 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730578, 0.05530871219739777, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26499848_04-09-2025_06_06_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26499875, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26499876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26499877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26499878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26499879, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26499880, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26499881, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26499882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26499883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26499884, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26499885, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26499886, '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 = 26500500 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': 3662783, 'mtr_portfolio_id': 26500500, 'created_at': datetime.datetime(2025, 9, 4, 6, 6, 58), 'result': '0.07286997523350705', 'result_long': None, 'result_double': None}] Qualite : 0.07286997523350705 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26500500 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26500500_04-09-2025_06_07_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26500500 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26500500_04-09-2025_06_07_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26500515, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26500516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26500517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26500518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26500519, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26500520, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26500521, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26500522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26500523, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26500524, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26500525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26500526, 'pht': 3726}}" where mtr_portfolio_id = 26500500 and dashboard_run_id = 2236935 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`=26500500 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730579, 0.07286997523350705, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26500500_04-09-2025_06_07_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26500515, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26500516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26500517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26500518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26500519, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26500520, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26500521, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26500522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26500523, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26500524, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26500525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26500526, '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 = 26500993 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': 3662784, 'mtr_portfolio_id': 26500993, 'created_at': datetime.datetime(2025, 9, 4, 6, 7, 30), 'result': '0.042861168218847966', 'result_long': None, 'result_double': None}] Qualite : 0.042861168218847966 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26500993 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26500993_04-09-2025_06_07_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26500993 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26500993_04-09-2025_06_07_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26501016, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26501017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26501019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26501020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26501021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26501022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26501023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26501024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26501025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26501026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26501027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26501028, 'pht': 3726}}" where mtr_portfolio_id = 26500993 and dashboard_run_id = 2236935 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`=26500993 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730580, 0.042861168218847966, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26500993_04-09-2025_06_07_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26501016, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26501017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26501019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26501020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26501021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26501022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26501023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26501024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26501025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26501026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26501027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26501028, '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 = 26501575 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': 3662785, 'mtr_portfolio_id': 26501575, 'created_at': datetime.datetime(2025, 9, 4, 6, 7, 58), 'result': '0.03135171799841008', 'result_long': None, 'result_double': None}] Qualite : 0.03135171799841008 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26501575 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26501575_04-09-2025_06_08_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26501575 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26501575_04-09-2025_06_08_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26501586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26501587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26501588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26501589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26501590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26501591, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26501592, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26501593, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26501594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26501595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26501596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26501597, 'pht': 3726}}" where mtr_portfolio_id = 26501575 and dashboard_run_id = 2236935 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`=26501575 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730581, 0.03135171799841008, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26501575_04-09-2025_06_08_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26501586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26501587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26501588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26501589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26501590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26501591, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26501592, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26501593, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26501594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26501595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26501596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26501597, '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 = 26502078 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': 3662786, 'mtr_portfolio_id': 26502078, 'created_at': datetime.datetime(2025, 9, 4, 6, 8, 31), 'result': '0.03275923985595792', 'result_long': None, 'result_double': None}] Qualite : 0.03275923985595792 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26502078 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26502078_04-09-2025_06_08_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26502078 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26502078_04-09-2025_06_08_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26502115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26502116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26502117, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26502118, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26502119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26502120, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26502121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26502122, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26502123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26502124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26502125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26502126, 'pht': 3726}}" where mtr_portfolio_id = 26502078 and dashboard_run_id = 2236935 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`=26502078 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730582, 0.03275923985595792, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26502078_04-09-2025_06_08_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26502115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26502116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26502117, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26502118, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26502119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26502120, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26502121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26502122, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26502123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26502124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26502125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26502126, '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 = 26503031 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': 3662787, 'mtr_portfolio_id': 26503031, 'created_at': datetime.datetime(2025, 9, 4, 6, 8, 59), 'result': '0.07098200081046793', 'result_long': None, 'result_double': None}] Qualite : 0.07098200081046793 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26503031 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26503031_04-09-2025_06_09_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26503031 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26503031_04-09-2025_06_09_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26503087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26503088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26503089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26503090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26503091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26503092, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26503093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26503094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26503095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26503096, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26503097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26503098, 'pht': 3726}}" where mtr_portfolio_id = 26503031 and dashboard_run_id = 2236935 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`=26503031 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730583, 0.07098200081046793, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26503031_04-09-2025_06_09_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26503087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26503088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26503089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26503090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26503091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26503092, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26503093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26503094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26503095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26503096, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26503097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26503098, '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 = 26503678 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': 3662788, 'mtr_portfolio_id': 26503678, 'created_at': datetime.datetime(2025, 9, 4, 6, 9, 29), 'result': '0.05523787817309527', 'result_long': None, 'result_double': None}] Qualite : 0.05523787817309527 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26503678 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26503678_04-09-2025_06_09_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26503678 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26503678_04-09-2025_06_09_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26503728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26503729, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26503730, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26503731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26503732, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26503733, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26503734, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26503735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26503736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26503737, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26503738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26503739, 'pht': 3726}}" where mtr_portfolio_id = 26503678 and dashboard_run_id = 2236935 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`=26503678 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730584, 0.05523787817309527, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26503678_04-09-2025_06_09_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26503728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26503729, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26503730, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26503731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26503732, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26503733, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26503734, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26503735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26503736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26503737, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26503738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26503739, '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 = 26504239 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': 3662789, 'mtr_portfolio_id': 26504239, 'created_at': datetime.datetime(2025, 9, 4, 6, 9, 59), 'result': '0.04628243000601312', 'result_long': None, 'result_double': None}] Qualite : 0.04628243000601312 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26504239 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26504239_04-09-2025_06_10_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26504239 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26504239_04-09-2025_06_10_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26504294, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26504295, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26504296, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26504297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26504298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26504299, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26504300, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26504301, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26504302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26504303, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26504304, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26504305, 'pht': 3726}}" where mtr_portfolio_id = 26504239 and dashboard_run_id = 2236935 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`=26504239 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730585, 0.04628243000601312, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26504239_04-09-2025_06_10_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26504294, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26504295, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26504296, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26504297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26504298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26504299, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26504300, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26504301, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26504302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26504303, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26504304, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26504305, '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 = 26504854 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': 3662790, 'mtr_portfolio_id': 26504854, 'created_at': datetime.datetime(2025, 9, 4, 6, 10, 31), 'result': '0.054127404485003694', 'result_long': None, 'result_double': None}] Qualite : 0.054127404485003694 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26504854 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26504854_04-09-2025_06_10_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26504854 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26504854_04-09-2025_06_10_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26504891, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26504892, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26504893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26504894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26504895, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26504896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26504897, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26504898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26504899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26504900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26504901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26504902, 'pht': 3726}}" where mtr_portfolio_id = 26504854 and dashboard_run_id = 2236935 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`=26504854 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730586, 0.054127404485003694, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26504854_04-09-2025_06_10_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26504891, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26504892, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26504893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26504894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26504895, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26504896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26504897, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26504898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26504899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26504900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26504901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26504902, '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 = 26505355 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': 3662791, 'mtr_portfolio_id': 26505355, 'created_at': datetime.datetime(2025, 9, 4, 6, 10, 38), 'result': '0.04248980270083975', 'result_long': None, 'result_double': None}] Qualite : 0.04248980270083975 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26505355 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26505355_04-09-2025_06_10_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26505355 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26505355_04-09-2025_06_10_40.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26505361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26505362, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26505363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26505364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26505365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26505366, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26505367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26505368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26505369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26505370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26505371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26505372, 'pht': 3726}}" where mtr_portfolio_id = 26505355 and dashboard_run_id = 2236935 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`=26505355 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730587, 0.04248980270083975, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26505355_04-09-2025_06_10_40.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26505361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26505362, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26505363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26505364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26505365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26505366, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26505367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26505368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26505369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26505370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26505371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26505372, '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 = 26506036 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': 3662792, 'mtr_portfolio_id': 26506036, 'created_at': datetime.datetime(2025, 9, 4, 6, 10, 58), 'result': '0.04463193709765882', 'result_long': None, 'result_double': None}] Qualite : 0.04463193709765882 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26506036 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26506036_04-09-2025_06_11_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26506036 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26506036_04-09-2025_06_11_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26506092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26506093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26506094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26506095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26506096, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26506097, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26506099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26506100, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26506101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26506102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26506103, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26506104, 'pht': 3726}}" where mtr_portfolio_id = 26506036 and dashboard_run_id = 2236935 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`=26506036 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730588, 0.04463193709765882, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26506036_04-09-2025_06_11_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26506092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26506093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26506094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26506095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26506096, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26506097, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26506099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26506100, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26506101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26506102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26506103, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26506104, '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 = 26506860 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': 3662793, 'mtr_portfolio_id': 26506860, 'created_at': datetime.datetime(2025, 9, 4, 6, 11, 26), 'result': '0.058107007927002234', 'result_long': None, 'result_double': None}] Qualite : 0.058107007927002234 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26506860 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26506860_04-09-2025_06_11_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26506860 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26506860_04-09-2025_06_11_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26506945, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26506946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26506947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26506948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26506949, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26506950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26506951, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26506952, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26506953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26506954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26506955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26506956, 'pht': 3726}}" where mtr_portfolio_id = 26506860 and dashboard_run_id = 2236935 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`=26506860 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730589, 0.058107007927002234, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26506860_04-09-2025_06_11_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26506945, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26506946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26506947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26506948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26506949, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26506950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26506951, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26506952, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26506953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26506954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26506955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26506956, '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 = 26507631 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': 3662794, 'mtr_portfolio_id': 26507631, 'created_at': datetime.datetime(2025, 9, 4, 6, 11, 57), 'result': '0.056413610315384936', 'result_long': None, 'result_double': None}] Qualite : 0.056413610315384936 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26507631 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26507631_04-09-2025_06_11_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26507631 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26507631_04-09-2025_06_11_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26507701, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26507702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26507703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26507704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26507705, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26507706, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26507707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26507708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26507709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26507710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26507711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26507712, 'pht': 3726}}" where mtr_portfolio_id = 26507631 and dashboard_run_id = 2236935 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`=26507631 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730590, 0.056413610315384936, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26507631_04-09-2025_06_11_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26507701, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26507702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26507703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26507704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26507705, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26507706, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26507707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26507708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26507709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26507710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26507711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26507712, '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 = 26508380 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': 3662795, 'mtr_portfolio_id': 26508380, 'created_at': datetime.datetime(2025, 9, 4, 6, 12, 28), 'result': '0.05038739086496276', 'result_long': None, 'result_double': None}] Qualite : 0.05038739086496276 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26508380 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26508380_04-09-2025_06_12_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26508380 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26508380_04-09-2025_06_12_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26508423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26508424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26508425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26508426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26508427, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26508428, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26508429, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26508430, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26508431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26508432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26508433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26508434, 'pht': 3726}}" where mtr_portfolio_id = 26508380 and dashboard_run_id = 2236935 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`=26508380 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730591, 0.05038739086496276, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26508380_04-09-2025_06_12_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26508423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26508424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26508425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26508426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26508427, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26508428, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26508429, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26508430, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26508431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26508432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26508433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26508434, '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 = 26509063 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': 3662796, 'mtr_portfolio_id': 26509063, 'created_at': datetime.datetime(2025, 9, 4, 6, 13), 'result': '0.0725010915898342', 'result_long': None, 'result_double': None}] Qualite : 0.0725010915898342 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26509063 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26509063_04-09-2025_06_13_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26509063 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26509063_04-09-2025_06_13_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26509088, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26509089, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26509090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26509091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26509092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26509093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26509094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26509095, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26509096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26509097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26509098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26509099, 'pht': 3726}}" where mtr_portfolio_id = 26509063 and dashboard_run_id = 2236935 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`=26509063 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730592, 0.0725010915898342, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26509063_04-09-2025_06_13_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26509088, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26509089, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26509090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26509091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26509092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26509093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26509094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26509095, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26509096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26509097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26509098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26509099, '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 = 26509771 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': 3662797, 'mtr_portfolio_id': 26509771, 'created_at': datetime.datetime(2025, 9, 4, 6, 13, 31), 'result': '0.06594043718418545', 'result_long': None, 'result_double': None}] Qualite : 0.06594043718418545 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26509771 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26509771_04-09-2025_06_13_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26509771 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26509771_04-09-2025_06_13_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26509947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26509948, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26509949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26509950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26509951, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26509952, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26509953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26509954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26509955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26509956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26509957, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26509958, 'pht': 3726}}" where mtr_portfolio_id = 26509771 and dashboard_run_id = 2236935 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`=26509771 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730593, 0.06594043718418545, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26509771_04-09-2025_06_13_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26509947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26509948, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26509949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26509950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26509951, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26509952, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26509953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26509954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26509955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26509956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26509957, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26509958, '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 = 26510656 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': 3661449, 'mtr_portfolio_id': 26510656, 'created_at': datetime.datetime(2025, 9, 4, 1, 25, 57), 'result': '0.05423572844988929', 'result_long': None, 'result_double': None}] Qualite : 0.05423572844988929 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26510656 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26510656_04-09-2025_01_25_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26510656 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26510656_04-09-2025_01_25_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26510680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26510681, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26510682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26510683, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26510684, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26510685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26510686, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26510687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26510689, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26510690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26510691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26510692, 'pht': 3726}}" where mtr_portfolio_id = 26510656 and dashboard_run_id = 2236935 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`=26510656 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14730594, 0.05423572844988929, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26510656_04-09-2025_01_25_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26510680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26510681, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26510682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26510683, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26510684, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26510685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26510686, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26510687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26510689, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26510690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26510691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26510692, '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 (26464090,26464620,26465056,26465555,26466677,26467330,26468904,26468907,26468909,26468911,26469413,26469960,26470390,26470805,26471195,26472646,26472774,26473061,26473432,26473783,26474140,26474172,26474226,26474338,26474755,26475537,26476200,26476938,26477759,26478054,26478242,26478249,26478694,26479545,26480157,26480939,26481464,26482126,26482829,26483614,26484362,26485112,26487639,26488226,26491216,26491219,26491224,26491227,26491394,26491839,26492686,26493131,26493584,26494118,26494629,26495250,26495871,26497177,26497453,26497756,26498045,26498452,26499140,26499848,26500500,26500993,26501575,26502078,26503031,26503678,26504239,26504854,26505355,26506036,26506860,26507631,26508380,26509063,26509771,26510656) result : ((1380975200,), (1380975202,), (1380975204,), (1380975678,), (1380975681,), (1380975684,), (1380975687,), (1380976910,), (1380976913,), (1380976916,), (1380976920,), (1380977535,), (1380977727,), (1380977730,), (1380977733,), (1380977736,), (1380977739,), (1380977935,), (1380977937,), (1380977939,), (1380977941,), (1380977943,), (1380978430,), (1380978431,), (1380978432,), (1380978488,), (1380978490,), (1380978491,), (1380978492,), (1380978493,), (1380978494,), (1380978497,), (1380978569,), (1380978570,), (1380978572,), (1380978642,), (1380978643,), (1380978644,), (1380978645,), (1380978685,), (1380978686,), (1380978687,), (1380978739,), (1380978740,), (1380978741,), (1380978742,), (1380978743,), (1380978744,), (1380978793,), (1380978795,), (1380978797,), (1380978799,), (1380979070,), (1380979072,), (1380979074,), (1380979076,), (1380979078,), (1380979132,), (1380979133,), (1380979134,), (1380979135,), (1380979136,), (1380979137,), (1380979172,), (1380979173,), (1380979174,), (1380979225,), (1380979276,), (1380979221,), (1380979222,), (1380979223,), (1380979224,), (1380979263,), (1380979264,), (1380979265,), (1380979266,), (1380979267,), (1380979269,), (1380979273,), (1380979274,), (1380979275,), (1380979321,), (1380979322,), (1380979323,), (1380979324,), (1380979325,), (1380979407,), (1380979408,), (1380979409,), (1380979410,), (1380979603,), (1380979605,), (1380979607,), (1380979609,), (1380979611,), (1380979613,), (1380980009,), (1380980011,), (1380980013,), (1380980015,), (1380980017,), (1380980019,), (1380980309,), (1380980310,), (1380980311,), (1380980451,), (1380980453,), (1380980455,), (1380980457,), (1380980459,), (1380980776,), (1380980777,), (1380980778,), (1380980779,), (1380980781,), (1380981118,), (1380981120,), (1380981122,), (1380981124,), (1380981125,), (1380981532,), (1380981534,), (1380981536,), (1380981538,), (1380981923,), (1380981926,), (1380981928,), (1380981930,), (1380981932,), (1380981934,), (1380981989,), (1380981991,), (1380982105,), (1380982106,), (1380982107,), (1380982108,), (1380982568,), (1380982570,), (1380982572,), (1380982824,), (1380982820,), (1380982821,), (1380982822,), (1380982823,), (1380982861,), (1380982862,), (1380982863,), (1380982898,), (1380982899,), (1380982900,), (1380982901,), (1380982951,), (1380982952,), (1380982953,), (1380982954,), (1380982990,), (1380982991,), (1380982992,), (1380982993,), (1380982994,), (1380983044,), (1380983045,), (1380983046,), (1380983047,), (1380983084,), (1380983085,), (1380983087,), (1380983088,), (1380983089,), (1380983090,), (1380983094,), (1380983095,), (1380983157,), (1380983158,), (1380983159,), (1380983160,), (1380983161,), (1380983193,), (1380983194,), (1380983195,), (1380983238,), (1380983239,), (1380983240,), (1380983309,), (1380983310,), (1380983311,), (1380983312,), (1380983354,), (1380983355,), (1380983356,), (1380983357,), (1380983417,), (1380983418,), (1380983419,), (1380983420,), (1380983461,), (1380983462,), (1380983463,), (1380983464,), (1380983465,), (1380983497,), (1380983498,), (1380983499,), (1380983500,), (1380983547,), (1380983605,), (1380983544,), (1380983545,), (1380983546,), (1380983586,), (1380983587,), (1380983589,), (1380983590,), (1380983591,), (1380983592,), (1380983604,), (1380983660,), (1380983661,), (1380983662,), (1380983663,), (1380983691,), (1380983692,), (1380983693,), (1380983733,), (1380983734,), (1380983735,), (1380983736,), (1380983758,), (1380983759,), (1380983792,), (1380983793,), (1380983794,), (1380983795,), (1380983796,), (1380983846,), (1380983847,), (1380983848,), (1380983935,), (1380983936,), (1380983937,), (1380983971,), (1380983972,), (1380983973,), (1380983974,), (1380984006,), (1380984007,), (1380984008,), (1380984046,), (1380984047,), (1380984048,), (1380984049,), (1380984050,), (1380984052,), (1380984098,), (1380984100,), (1380984102,), (1380989879,), (1380989919,), (1380989920,), (1380989921,), (1380989922,), (1380989992,), (1380989994,), (1380989995,), (1380989996,), (1380990053,), (1380990054,), (1380990091,), (1380990092,), (1380990093,), (1380990094,), (1380990095,), (1380990096,), (1380990134,), (1380990135,), (1380990192,), (1380990196,), (1380990199,), (1380990203,), (1380990206,), (1380990210,), (1380990297,), (1380990298,), (1380990299,), (1380990300,), (1380990326,), (1380990327,), (1380990328,), (1380990378,), (1380990379,), (1380990444,), (1380990445,), (1380990446,), (1380990447,), (1380990539,), (1380990541,), (1380990543,), (1380990545,), (1380990547,), (1380990725,), (1380990726,), (1380990727,), (1380990728,), (1380990729,), (1380990777,), (1380990778,), (1380990779,), (1380990780,), (1380990781,), (1380990782,), (1380990818,), (1380990819,), (1380990820,), (1380990821,), (1380990822,), (1380990823,), (1380990861,), (1380990919,), (1380990858,), (1380990859,), (1380990860,), (1380990907,), (1380990908,), (1380990909,), (1380990910,), (1380990911,), (1380990912,), (1380990918,), (1380990993,), (1380990994,), (1380990995,), (1380990996,), (1380991028,), (1380991029,), (1380991030,), (1380991070,), (1380991071,), (1380991072,), (1380991073,), (1380991110,), (1380991111,), (1380991112,), (1380991113,), (1380991153,), (1380991154,), (1380991155,), (1380991156,), (1380991506,), (1380991508,), (1380991510,), (1380991512,), (1380991874,), (1380991876,), (1380991878,), (1380992242,), (1380992244,), (1380992246,), (1380992248,), (1380992558,), (1380992559,), (1380992560,), (1380992561,), (1380992562,), (1380992563,), (1380992773,), (1380992775,), (1380992777,), (1380992779,), (1380992781,), (1380992783,), (1380992821,), (1380992822,), (1380993019,), (1380993022,), (1380993026,), (1380993030,), (1380993742,), (1380993746,), (1380993749,), (1380993863,), (1380993866,), (1380993869,), (1380993874,), (1380993878,), (1380994290,), (1380994280,), (1380994282,), (1380994284,), (1380994286,), (1380994288,), (1380994591,), (1380994594,), (1380994597,), (1380994600,), (1380994603,), (1380995117,), (1380995118,), (1380995120,), (1380995122,), (1380995365,), (1380995367,), (1380995369,), (1380995618,), (1380995620,), (1380995622,), (1380995624,), (1380995808,), (1380995809,), (1380995810,), (1380996061,), (1380996064,), (1380996066,), (1380996069,), (1380996071,), (1380996410,), (1380996412,), (1380996414,), (1380996416,), (1380996418,), (1380996784,), (1380996786,), (1380996788,), (1380996955,), (1380996957,), (1380996959,), (1380997132,), (1380997133,), (1380997134,), (1380997136,), (1380997189,), (1380997190,), (1380997191,), (1380997192,), (1380997193,), (1380997227,), (1380997228,), (1380997229,), (1380997231,), (1380997269,), (1380997270,), (1380997271,), (1380997305,), (1380997306,), (1380997307,), (1380997396,), (1380997485,), (1380997392,), (1380997393,), (1380997394,), (1380997395,), (1380997476,), (1380997477,), (1380997478,), (1380997479,), (1380997480,), (1380997481,), (1380997630,), (1380997632,), (1380998135,), (1380998138,), (1380998141,), (1380998827,), (1380998831,), (1380999938,), (1380999942,), (1380999946,), (1380999950,), (1381000864,), (1381000868,), (1381000871,), (1381000875,), (1381000879,), (1381001588,), (1381001590,), (1381001592,), (1381001594,), (1381001596,), (1381002131,), (1381002132,), (1381002133,), (1381002268,), (1381002269,), (1381002270,), (1381002271,), (1381002272,), (1381002652,), (1381002654,), (1381002656,), (1381002658,), (1381002660,), (1381002852,), (1381002854,), (1381002856,), (1381002858,), (1381002861,), (1381002863,), (1381002896,), (1381002897,), (1381002898,), (1381002899,), (1381002900,), (1381002981,), (1381002982,), (1381002983,), (1381003297,), (1381003298,), (1381003299,), (1381003300,), (1381003347,), (1381003348,), (1381003349,), (1381003350,), (1381003399,), (1381003396,), (1381003397,), (1381003398,), (1381003451,), (1381003452,), (1381003453,), (1381003454,), (1381003455,), (1381003456,), (1381003488,), (1381003489,), (1381003490,), (1381003533,), (1381003534,), (1381003535,), (1381003586,), (1381003587,), (1381003588,), (1381003627,), (1381003628,), (1381003629,), (1381003661,), (1381003662,), (1381003663,), (1381003664,), (1381003665,), (1381003666,), (1381003670,), (1381003671,), (1381003698,), (1381003699,), (1381003700,), (1381003701,), (1381003702,), (1381003703,), (1381003744,), (1381003751,), (1381003752,), (1381003753,), (1381003803,), (1381003804,), (1381003845,), (1381003846,), (1381003847,), (1381003848,), (1381003849,), (1381003903,), (1381003905,), (1381003906,), (1381003907,), (1381003908,), (1381003909,), (1381003969,), (1381003970,), (1381003971,), (1381004017,), (1381004018,), (1381004019,), (1381004020,), (1381004021,), (1381004022,), (1381004252,), (1381004254,), (1381004256,), (1381004258,), (1381004261,), (1381004452,), (1381004565,), (1381004450,), (1381004451,), (1381004560,), (1381004561,), (1381004562,), (1381004563,), (1381004564,), (1381004623,), (1381004630,), (1381004631,), (1381004632,), (1381004667,), (1381004668,), (1381004669,), (1381004670,), (1381004671,), (1381004672,), (1381004704,), (1381004705,), (1381004706,), (1381004707,), (1381004708,), (1381004709,), (1381004747,), (1381004992,), (1381005018,), (1381005025,), (1381005026,), (1381005027,), (1381005131,), (1381005133,), (1381005711,), (1381005713,), (1381005715,), (1381005717,), (1381005782,), (1381005784,), (1381005786,), (1381005788,), (1381005924,), (1381005919,), (1381005920,), (1381005922,), (1381005923,), (1381006249,), (1381006252,), (1381006255,), (1381006258,), (1381007053,), (1381007056,), (1381007060,), (1381007063,), (1381007823,), (1381007826,), (1381007829,), (1381007832,), (1381008039,), (1381008041,), (1381008043,), (1381008045,), (1381008047,), (1381008465,), (1381008466,), (1381008469,), (1381008471,), (1381008626,), (1381008627,), (1381008628,), (1381008629,), (1381008630,), (1381008631,), (1381008724,), (1381008725,), (1381008726,), (1381008756,), (1381008757,), (1381008759,), (1381008760,), (1381008761,), (1381008811,), (1381008812,), (1381008813,), (1381008814,), (1381008848,), (1381008849,), (1381008850,), (1381008883,), (1381008884,), (1381008885,), (1381008886,), (1381008964,), (1381008965,), (1381008966,), (1381009016,), (1381009017,), (1381009018,), (1381009019,), (1381009055,), (1381009056,), (1381009057,), (1381009058,), (1381009108,), (1381009151,), (1381009106,), (1381009107,), (1381009141,), (1381009142,), (1381009143,), (1381009144,), (1381009145,), (1381009146,), (1381009150,), (1381009201,), (1381009202,), (1381009261,), (1381009262,), (1381009263,), (1381009264,), (1381009305,), (1381009306,), (1381009307,), (1381009308,), (1381009309,), (1381009353,), (1381009354,), (1381009355,), (1381009356,), (1381009397,), (1381009398,), (1381009401,), (1381009405,), (1381009448,), (1381009449,), (1381009450,), (1381009488,), (1381009489,), (1381009490,), (1381009491,), (1381009531,), (1381009532,), (1381009533,), (1381009534,), (1381009577,), (1381009578,), (1381009579,), (1381009616,), (1381009618,), (1381009619,), (1381009620,), (1381009621,), (1381009622,), (1381009630,), (1381009697,), (1381009698,), (1381009699,), (1381009700,), (1381009701,), (1381009738,), (1381009739,), (1381009740,), (1381009786,), (1381009787,), (1381009788,), (1381009855,), (1381009851,), (1381009852,), (1381009853,), (1381009854,), (1381009901,), (1381009902,), (1381009903,), (1381009904,), (1381009905,), (1381009953,), (1381009954,), (1381009955,), (1381009956,), (1381009998,), (1381010032,), (1381010033,), (1381010034,), (1381010035,), (1381010072,), (1381010073,), (1381010074,), (1381010075,), (1381010076,), (1381010077,), (1381010139,), (1381010140,), (1381010141,), (1381010142,), (1381010143,), (1381010144,), (1381010151,), (1381010152,), (1381010153,), (1381010189,), (1381010190,), (1381010191,), (1381010192,), (1381010230,), (1381010231,), (1381010266,), (1381010267,), (1381010268,), (1381010269,), (1381010341,), (1381010342,), (1381010343,), (1381010344,), (1381010345,), (1381010412,), (1381010413,), (1381010477,), (1381010478,), (1381010479,), (1381010535,), (1381010536,), (1381010537,), (1381010538,), (1381010539,), (1381010577,), (1381010578,), (1381010579,), (1381010580,), (1381010581,), (1381010635,), (1381010703,), (1381010632,), (1381010633,), (1381010634,), (1381010678,), (1381010679,), (1381010680,), (1381010681,), (1381010683,), (1381010684,), (1381010740,), (1381010741,), (1381010742,), (1381010743,), (1381010778,), (1381010779,), (1381010780,), (1381010781,), (1381010782,), (1381010783,), (1381010815,), (1381010816,), (1381010817,), (1381010818,), (1381010819,), (1381010886,), (1381010887,), (1381010888,), (1381010889,), (1381010925,), (1381010946,), (1381010947,), (1381010948,), (1381010949,), (1381010950,), (1381010979,), (1381010980,), (1381010981,), (1381010982,), (1381010983,), (1381010984,), (1381011027,), (1381011028,), (1381011029,), (1381011030,), (1381011031,), (1381011064,), (1381011065,), (1381011066,), (1381011067,), (1381011100,), (1381011101,), (1381011102,), (1381011103,), (1381011104,), (1381011136,), (1381011137,), (1381011138,), (1381011139,), (1381011140,), (1381011141,), (1381011574,), (1381011576,), (1381011578,), (1381011580,), (1381011582,), (1381011584,), (1381011641,), (1381011642,), (1381011643,), (1381011644,), (1381011645,), (1381011647,), (1381011651,), (1381011806,), (1381011807,), (1381011808,), (1381011852,), (1381011855,), (1381011857,), (1381011859,), (1381011861,), (1381012259,), (1381012188,), (1381012255,), (1381012256,), (1381012606,), (1381012608,), (1381012610,), (1381012612,), (1381012615,), (1381012791,), (1381012793,), (1381012795,), (1381013347,), (1381013350,), (1381013353,), (1381013356,), (1381013857,), (1381013859,), (1381013861,), (1381013863,), (1381013865,), (1381014182,), (1381014184,), (1381014186,), (1381014188,), (1381014388,), (1381014391,), (1381014392,), (1381014394,), (1381014396,), (1381014398,), (1381014429,), (1381014461,), (1381014462,), (1381014463,), (1381014464,), (1381014493,), (1381014494,), (1381014530,), (1381019148,), (1381019144,), (1381019646,), (1381020131,), (1381020166,), (1381020167,), (1381020169,), (1381020211,), (1381020212,), (1381020213,), (1381020214,), (1381020215,), (1381020257,), (1381020305,), (1381020306,), (1381020307,), (1381020308,), (1381020350,), (1381020351,), (1381020352,), (1381020353,), (1381020354,), (1381020400,), (1381020401,), (1381020402,), (1381020403,), (1381020440,), (1381020441,), (1381020442,), (1381020443,), (1381020482,), (1381020483,), (1381020484,), (1381020485,), (1381020486,), (1381020487,), (1381020529,), (1381020530,), (1381020531,), (1381020532,), (1381020533,), (1381020583,), (1381020622,), (1381020582,), (1381020618,), (1381020619,), (1381020620,), (1381020621,), (1381020676,), (1381020677,), (1381020678,), (1381020679,), (1381020680,), (1381020726,), (1381020772,), (1381020773,), (1381020774,), (1381020807,), (1381020808,), (1381020860,), (1381020861,), (1381020862,), (1381020863,), (1381020911,), (1381020913,), (1381020914,), (1381021014,), (1381021015,), (1381021016,), (1381021017,), (1381021018,), (1381021061,), (1381021062,), (1381021063,), (1381021064,), (1381021065,), (1381021109,), (1381021110,), (1381021111,), (1381021112,), (1381021113,), (1381021114,), (1381021182,), (1381021183,), (1381021184,), (1381021185,), (1381021186,), (1381021187,), (1381021194,), (1381021195,), (1381021197,), (1381021199,), (1381021237,), (1381021238,), (1381021240,), (1381021242,), (1381021244,), (1381021295,), (1381021296,), (1381021297,), (1381021298,), (1381021348,), (1381021349,), (1381021350,), (1381021351,), (1381021352,), (1381021393,), (1381021391,), (1381021392,), (1381021437,), (1381021438,), (1381021439,), (1381021440,), (1381021441,), (1381021442,), (1381021477,), (1381021478,), (1381021479,), (1381021480,), (1381021481,), (1381021524,), (1381021525,), (1381021527,), (1381021529,), (1381021531,), (1381021578,), (1381021579,), (1381021580,), (1381021627,), (1381021628,), (1381021629,), (1381021630,), (1381021631,), (1381021632,), (1381021664,), (1381021665,), (1381021666,), (1381021667,), (1381021668,), (1381021669,), (1381021673,), (1381021674,), (1381021675,), (1381021676,), (1381021677,), (1381021718,), (1381021719,), (1381021720,), (1381021721,), (1381021722,), (1381021723,), (1381021760,), (1381021761,), (1381021762,), (1381021813,), (1381021814,), (1381021815,), (1381021816,), (1381021848,), (1381021850,), (1381021852,), (1381021853,), (1381021854,), (1381021856,), (1381021909,), (1381021910,), (1381021911,), (1381021912,), (1381021913,), (1381021949,), (1381021950,), (1381021951,), (1381021990,), (1381021991,), (1381022034,), (1381022035,), (1381022036,), (1381022037,), (1381022038,), (1381022039,), (1381022083,), (1381022090,), (1381022091,), (1381022092,), (1381022093,), (1381022094,), (1381022095,), (1381022077,), (1381022078,), (1381022079,), (1381022080,), (1381022081,), (1381022116,), (1381022117,), (1381022118,), (1381022119,), (1381022120,), (1381022160,), (1381022191,), (1381022194,), (1381022196,), (1381022198,), (1381022228,), (1381022229,), (1381022230,), (1381022231,), (1381022262,), (1381022263,), (1381022264,), (1381022265,), (1381022316,), (1381022317,), (1381022318,), (1381022319,), (1381022359,), (1381022360,), (1381022361,), (1381022412,), (1381022413,), (1381022414,), (1381022415,), (1381022456,), (1381022457,), (1381022458,), (1381022459,), (1381022460,), (1381022461,), (1381022496,), (1381022497,), (1381022498,), (1381022500,), (1381022501,), (1381022502,), (1381022510,), (1381022511,), (1381022512,), (1381022513,), (1381022536,), (1381022537,), (1381022538,), (1381022539,), (1381022540,), (1381022541,), (1381022604,), (1381022606,), (1381022608,), (1381022610,), (1381022612,), (1381023409,), (1381023413,), (1381023417,), (1381023420,), (1381023532,), (1381023535,), (1381023538,), (1381023542,), (1381024006,), (1381024000,), (1381024002,), (1381024004,), (1381024110,), (1381024111,), (1381024112,), (1381024452,), (1381024455,), (1381024458,), (1381024917,), (1381024919,), (1381024921,), (1381024923,), (1381024925,), (1381025286,), (1381025288,), (1381025290,), (1381025292,), (1381025523,), (1381025524,), (1381025525,), (1381025526,), (1381025527,), (1381025528,), (1381025532,), (1381025713,), (1381025714,), (1381025826,), (1381025827,), (1381025828,), (1381025829,), (1381025830,), (1381025831,), (1381025897,), (1381025898,), (1381025899,), (1381025900,), (1381025901,), (1381025934,), (1381025935,), (1381025936,), (1381025970,), (1381025971,), (1381025972,), (1381026013,), (1381026014,), (1381026015,), (1381026016,), (1381026017,), (1381026065,), (1381026066,), (1381026067,), (1381026068,), (1381026124,), (1381026125,), (1381026126,), (1381026127,), (1381026128,), (1381026176,), (1381026177,), (1381026178,), (1381026200,), (1381026201,), (1381026202,), (1381026206,), (1381026197,), (1381026198,), (1381026199,), (1381026223,), (1381026224,), (1381026225,), (1381026226,), (1381026266,), (1381026267,), (1381026268,), (1381026269,), (1381026337,), (1381026338,), (1381026339,), (1381026340,), (1381026375,), (1381026376,), (1381026377,), (1381026378,), (1381026429,), (1381026430,), (1381026431,), (1381026432,), (1381026433,), (1381026468,), (1381026469,), (1381026470,), (1381026471,), (1381026508,), (1381026509,), (1381026510,), (1381026511,), (1381026512,), (1381026549,), (1381026550,), (1381026551,), (1381026573,), (1381026574,), (1381026575,), (1381026576,), (1381026577,), (1381026578,), (1381026584,), (1381026585,), (1381026608,), (1381026609,), (1381026610,), (1381026651,), (1381026652,), (1381026653,), (1381026654,), (1381026715,), (1381026716,), (1381026717,), (1381026718,), (1381026719,), (1381026760,), (1381026761,), (1381026762,), (1381026817,), (1381026814,), (1381026815,), (1381026816,), (1381026856,), (1381026857,), (1381026858,), (1381026859,), (1381026893,), (1381026947,), (1381026948,), (1381026949,), (1381026950,), (1381026951,), (1381026981,), (1381026982,), (1381026998,), (1381027000,), (1381027029,), (1381027030,), (1381027031,), (1381027066,), (1381027067,), (1381027068,), (1381027069,), (1381027070,), (1381027071,), (1381027105,), (1381027106,), (1381027107,), (1381027108,), (1381027109,), (1381027142,), (1381027145,), (1381027146,), (1381027181,), (1381027218,), (1381027257,), (1381027258,), (1381027298,), (1381027299,), (1381027300,), (1381027301,), (1381027302,), (1381027341,), (1381027342,), (1381027343,), (1381027359,), (1381027360,), (1381027362,), (1381027363,), (1381027357,), (1381027358,), (1381027386,), (1381027387,), (1381027388,), (1381027389,), (1381027390,), (1381027391,), (1381027431,), (1381027432,), (1381027433,), (1381027434,), (1381027435,), (1381027471,), (1381027472,), (1381027473,), (1381027474,), (1381027475,), (1381027509,), (1381027510,), (1381027549,), (1381027586,), (1381027587,), (1381027623,), (1381027624,), (1381027625,), (1381027657,), (1381027658,), (1381027659,), (1381027660,), (1381027699,), (1381027700,), (1381027701,), (1381027702,), (1381027703,), (1381027704,), (1381027717,), (1381027718,), (1381027720,), (1381027721,), (1381027722,), (1381027723,), (1381027727,), (1381027728,), (1381027729,), (1381027805,), (1381027807,), (1381027809,), (1381027810,), (1381027812,), (1381028128,), (1381028130,), (1381028132,), (1381028134,), (1381028136,), (1381028137,), (1381028204,), (1381028205,), (1381028249,), (1381028245,), (1381028247,), (1381028286,), (1381028287,), (1381028288,), (1381028289,), (1381028290,), (1381028291,), (1381028332,), (1381028333,), (1381028334,), (1381028335,), (1381028336,), (1381028701,), (1381028704,), (1381029420,), (1381029421,), (1381029425,), (1381029427,), (1381030179,), (1381030183,), (1381030186,), (1381030190,), (1381030193,), (1381030197,), (1381030289,), (1381030292,), (1381030580,), (1381030581,), (1381030582,), (1381030583,), (1381030584,), (1381030585,), (1381030775,), (1381030776,), (1381030777,), (1381031394,), (1381031466,), (1381031467,), (1381031468,), (1381031469,), (1381031470,), (1381031509,), (1381031510,), (1381031511,), (1381031512,), (1381031513,), (1381031588,), (1381031600,), (1381031601,), (1381031602,), (1381031642,), (1381031643,), (1381031644,), (1381031645,), (1381031692,), (1381031740,), (1381031741,), (1381031737,), (1381031738,), (1381031844,), (1381031845,), (1381031846,), (1381031847,), (1381031848,), (1381031849,), (1381032050,), (1381032051,), (1381032052,), (1381032093,), (1381032094,), (1381032150,), (1381032151,), (1381032234,), (1381032357,), (1381032399,), (1381032402,), (1381032404,), (1381032406,), (1381032408,), (1381032567,), (1381032568,), (1381032569,), (1381032570,), (1381032604,), (1381032605,), (1381032606,), (1381032607,), (1381032608,), (1381032609,), (1381032615,), (1381032616,), (1381032711,), (1381032713,), (1381032715,), (1381032717,), (1381032853,), (1381032854,), (1381032855,), (1381032856,), (1381032857,), (1381032904,), (1381032905,), (1381032906,), (1381032907,), (1381032908,), (1381032954,), (1381033011,), (1381033001,), (1381033245,), (1381033246,), (1381034310,), (1381034485,), (1381034486,), (1381034487,), (1381034891,), (1381034892,), (1381034893,), (1381034894,), (1381035019,), (1381035020,), (1381035021,), (1381035022,), (1381035023,), (1381035024,), (1381035071,), (1381035072,), (1381035073,), (1381035168,), (1381035169,), (1381035171,), (1381035274,), (1381035279,), (1381035280,), (1381035281,), (1381035269,), (1381035270,), (1381035271,), (1381035272,), (1381035273,), (1381035579,), (1381035580,), (1381035582,), (1381035583,), (1381035584,), (1381035828,), (1381035829,), (1381035830,), (1381035831,), (1381035933,), (1381035934,), (1381035935,), (1381035936,), (1381035937,), (1381035938,), (1381036094,), (1381036096,), (1381036098,), (1381036100,), (1381036396,), (1381036397,), (1381036398,), (1381036399,), (1381036680,), (1381036681,), (1381036890,), (1381036891,), (1381036892,), (1381036893,), (1381036894,), (1381036895,), (1381037242,), (1381037244,), (1381037246,), (1381037249,), (1381037251,), (1381037253,), (1381037313,), (1381037314,), (1381037315,), (1381037316,), (1381037317,), (1381037318,), (1381037400,), (1381037401,), (1381037402,), (1381037536,), (1381037537,), (1381037538,), (1381037539,), (1381037540,), (1381037541,), (1381037686,), (1381037687,), (1381037688,), (1381037689,), (1381037690,), (1381037691,), (1381037830,), (1381037825,), (1381037827,), (1381039045,), (1381039049,), (1381039875,), (1381041286,), (1381041745,), (1381041874,), (1381042401,), (1381041925,), (1381042399,), (1381042400,), (1381042645,), (1381042709,), (1381042710,), (1381042745,), (1381042746,), (1381042747,), (1381042748,), (1381042749,), (1381042750,), (1381042756,), (1381042864,), (1381042865,), (1381042866,), (1381042867,), (1381042868,), (1381042914,), (1381042915,), (1381042916,), (1381042917,), (1381042918,), (1381043080,), (1381043082,), (1381043084,), (1381043208,), (1381043203,), (1381043204,), (1381043205,), (1381043206,), (1381043207,), (1381043250,), (1381043252,), (1381043254,), (1381043256,), (1381043258,), (1381043260,), (1381043591,), (1381043593,), (1381043594,), (1381043643,), (1381043644,), (1381043645,), (1381043695,), (1381043696,), (1381043697,), (1381043698,), (1381043699,), (1381043764,), (1381043765,), (1381043766,), (1381043767,), (1381043768,), (1381043790,), (1381043791,), (1381043792,), (1381043793,), (1381043794,), (1381043795,), (1381043801,), (1381043802,), (1381043840,), (1381043841,), (1381043842,), (1381043843,), (1381043911,), (1381043912,), (1381044063,), (1381044064,), (1381044065,), (1381044120,), (1381044121,), (1381044122,), (1381044123,), (1381044171,), (1381044172,), (1381044173,), (1381044174,), (1381044210,), (1381044211,), (1381044252,), (1381044253,), (1381044254,), (1381044255,), (1381044256,), (1381044294,), (1381044295,), (1381044332,), (1381044365,), (1381044330,), (1381044331,), (1381044359,), (1381044360,), (1381044362,), (1381044363,), (1381044364,), (1381044408,), (1381044409,), (1381044410,), (1381044713,), (1381044854,), (1381044855,), (1381044856,), (1381044893,), (1381044894,), (1381044895,), (1381044896,), (1381044897,), (1381044939,), (1381044940,), (1381044941,), (1381044942,), (1381044982,), (1381044983,), (1381044984,), (1381044985,), (1381044986,), (1381045033,), (1381045034,), (1381045035,), (1381045036,), (1381045037,), (1381045038,), (1381045069,), (1381045070,), (1381045071,), (1381045072,), (1381045073,), (1381045100,), (1381045101,), (1381045102,), (1381045103,), (1381045104,), (1381045105,), (1381045113,), (1381045115,), (1381045117,), (1381045119,), (1381045145,), (1381045146,), (1381045147,), (1381045148,), (1381045249,), (1381046491,), (1381046493,), (1381046535,), (1381046536,), (1381046537,), (1381046538,), (1381046540,), (1381046541,), (1381046577,), (1381046578,), (1381046579,), (1381046624,), (1381046625,), (1381046626,), (1381046627,), (1381046656,), (1381046657,), (1381046658,), (1381046659,), (1381046660,), (1381046681,), (1381046682,), (1381046683,), (1381046685,), (1381046686,), (1381046687,), (1381046694,), (1381046695,), (1381046696,), (1381046697,), (1381046727,), (1381046728,), (1381046729,), (1381046730,), (1381046770,), (1381046771,), (1381046772,), (1381046773,), (1381046808,), (1381046809,), (1381046810,), (1381046811,), (1381046871,), (1381046872,), (1381046873,), (1381046939,), (1381046940,), (1381046941,), (1381046942,), (1381046991,), (1381046992,), (1381046993,), (1381046994,), (1381046995,), (1381047344,), (1381047342,), (1381047343,), (1381047409,), (1381047410,), (1381047411,), (1381047412,), (1381047413,), (1381047414,), (1381047479,), (1381047480,), (1381047481,), (1381047482,), (1381047483,), (1381047545,), (1381047546,), (1381047547,), (1381047548,), (1381047549,), (1381047664,), (1381047666,), (1381047668,), (1381047669,), (1381047670,), (1381047778,), (1381047779,), (1381047780,), (1381047781,), (1381047782,), (1381048142,), (1381048143,), (1381048144,), (1381048145,), (1381048146,), (1381048147,), (1381048300,), (1381048301,), (1381048302,), (1381048303,), (1381048304,), (1381048585,), (1381048586,), (1381048587,), (1381048588,), (1381048589,), (1381048590,), (1381048713,), (1381048715,), (1381048717,), (1381048885,), (1381048886,), (1381048887,), (1381049065,), (1381049079,), (1381049080,), (1381049081,), (1381050256,), (1381050474,), (1381051047,), (1381053734,), (1381053737,), (1381054357,), (1381054359,), (1381054361,), (1381054364,), (1381054366,), (1381054825,), (1381054827,), (1381054829,), (1381054831,), (1381054833,), (1381055074,), (1381055075,), (1381055076,), (1381055077,), (1381055323,), (1381055324,), (1381055325,), (1381055326,), (1381055735,), (1381055740,), (1381055744,), (1381055749,), (1381055977,), (1381055979,), (1381056081,), (1381056082,), (1381056083,), (1381056084,), (1381056273,), (1381056275,), (1381056276,), (1381056277,), (1381056278,), (1381056636,), (1381057002,), (1381056628,), (1381056630,), (1381056632,), (1381056634,), (1381056947,), (1381056950,), (1381056953,), (1381056956,), (1381056959,), (1381056963,), (1381056996,), (1381056998,), (1381057000,), (1381057290,), (1381057291,), (1381057292,), (1381057293,), (1381057294,), (1381057441,), (1381057443,), (1381057445,), (1381057447,), (1381057449,), (1381057451,), (1381057682,), (1381057683,), (1381057684,), (1381057685,), (1381057686,), (1381058125,), (1381058128,), (1381058509,), (1381058510,), (1381058511,), (1381058513,), (1381058514,), (1381058515,), (1381058688,), (1381058689,), (1381058690,), (1381058691,), (1381058692,), (1381058868,), (1381058869,), (1381058870,), (1381058871,), (1381058872,), (1381058926,), (1381058927,), (1381058929,), (1381058930,), (1381058932,), (1381058933,), (1381059021,), (1381059024,), (1381059026,), (1381059028,), (1381059030,), (1381059460,), (1381059462,), (1381059465,), (1381059467,), (1381059469,), (1381059471,), (1381059533,), (1381059536,), (1381059539,), (1381060035,), (1381060038,), (1381060041,), (1381060044,), (1381060047,), (1381060050,), (1381060504,), (1381060505,), (1381060506,), (1381060507,), (1381060508,), (1381060814,), (1381060816,), (1381060818,), (1381060820,), (1381060823,), (1381060824,), (1381061033,), (1381061028,), (1381061030,), (1381061031,), (1381061032,), (1381061086,), (1381061087,), (1381061088,), (1381061089,), (1381061090,), (1381061091,), (1381061154,), (1381061155,), (1381061156,), (1381061157,), (1381061204,), (1381061205,), (1381061206,), (1381061207,), (1381061208,), (1381061381,), (1381061382,), (1381061383,), (1381061384,), (1381061385,), (1381061386,), (1381061566,), (1381061567,), (1381061568,), (1381061661,), (1381061662,), (1381061663,), (1381061664,), (1381061665,), (1381061666,), (1381061722,), (1381061723,), (1381061724,), (1381061725,), (1381061726,), (1381062107,), (1381062111,), (1381062116,), (1381062119,), (1381062247,), (1381062251,), (1381062255,), (1381062257,), (1381062258,), (1381062259,), (1381062351,), (1381062352,), (1381062353,), (1381062416,), (1381062417,), (1381062418,), (1381062419,), (1381062420,), (1381062422,), (1381062473,), (1381062474,), (1381062475,), (1381062476,), (1381062477,), (1381062524,), (1381062601,), (1381062519,), (1381062520,), (1381062521,), (1381062522,), (1381062523,), (1381062567,), (1381062568,), (1381062569,), (1381062570,), (1381062571,), (1381062572,), (1381062590,), (1381062592,), (1381062594,), (1381062596,), (1381062598,), (1381062648,), (1381062649,), (1381062650,), (1381062651,), (1381062652,), (1381062740,), (1381062742,), (1381062744,), (1381062746,), (1381062748,), (1381062750,), (1381062910,), (1381062912,), (1381062914,), (1381062916,), (1381062918,), (1381063013,), (1381063017,), (1381063021,), (1381063022,), (1381063023,), (1381063024,), (1381063174,), (1381063175,), (1381063176,), (1381063177,), (1381063178,), (1381063263,), (1381063264,), (1381063265,), (1381063424,), (1381063484,), (1381063485,), (1381063486,), (1381063487,), (1381063488,), (1381063489,), (1381063558,), (1381063559,), (1381063560,), (1381063561,), (1381063562,), (1381064391,), (1381064395,), (1381064399,), (1381064404,), (1381064410,), (1381064417,), (1381065356,), (1381065348,), (1381065350,), (1381065352,), (1381065354,), (1381065879,), (1381065883,), (1381065886,), (1381065889,), (1381066334,), (1381066336,), (1381066338,), (1381066340,), (1381066342,), (1381066344,), (1381066784,), (1381066786,), (1381066788,), (1381066790,), (1381066887,), (1381066888,), (1381066889,), (1381066890,), (1381066891,), (1381066941,), (1381066942,), (1381066943,), (1381066944,), (1381066945,), (1381066946,), (1381066983,), (1381066984,), (1381066985,), (1381067069,), (1381067070,), (1381067071,), (1381067123,), (1381067124,), (1381067125,), (1381067126,), (1381067127,), (1381067182,), (1381067183,), (1381067184,), (1381067185,), (1381067186,), (1381067249,), (1381067250,), (1381067251,), (1381067252,), (1381067326,), (1381067327,), (1381067328,), (1381067329,), (1381067330,), (1381067331,), (1381067374,), (1381067375,), (1381067376,), (1381067377,), (1381067378,), (1381067428,), (1381067429,), (1381067430,), (1381067647,), (1381067648,), (1381067649,), (1381067650,), (1381067651,), (1381067652,), (1381067958,), (1381068236,), (1381067950,), (1381067952,), (1381067954,), (1381067956,), (1381068203,), (1381068204,), (1381068206,), (1381068207,), (1381068208,), (1381068209,), (1381068231,), (1381068233,), (1381068274,), (1381068276,), (1381068277,), (1381068278,), (1381068279,), (1381068511,), (1381068513,), (1381068515,), (1381068517,), (1381068519,), (1381068879,), (1381068882,), (1381068885,), (1381068888,), (1381068986,), (1381068987,), (1381068988,), (1381068989,), (1381068990,), (1381069121,), (1381069122,), (1381069123,), (1381069124,), (1381069126,), (1381069186,), (1381069187,), (1381069188,), (1381069189,), (1381069288,), (1381069289,), (1381069290,), (1381069291,), (1381069665,), (1381069667,), (1381069669,), (1381069727,), (1381069728,), (1381069729,), (1381069797,), (1381069799,), (1381069800,), (1381069801,), (1381069802,), (1381069803,), (1381069807,), (1381069848,), (1381069849,), (1381069850,), (1381069851,), (1381069892,), (1381069893,), (1381069894,), (1381069895,), (1381069896,), (1381070020,), (1381070021,), (1381070022,), (1381070023,), (1381070024,), (1381070025,), (1381070082,), (1381070079,), (1381070080,), (1381070081,), (1381070137,), (1381070142,), (1381070145,), (1381070146,), (1381070147,), (1381070200,), (1381070201,), (1381070241,), (1381070242,), (1381070243,), (1381070283,), (1381070284,), (1381070285,), (1381070842,), (1381070844,), (1381070846,), (1381071310,), (1381071312,), (1381071313,), (1381071314,), (1381071315,), (1381071316,), (1381071322,), (1381071324,), (1381071650,), (1381071652,), (1381071654,), (1381071656,), (1381071993,), (1381071994,), (1381071995,), (1381071997,), (1381072229,), (1381072230,), (1381072231,), (1381072341,), (1381072342,), (1381072343,), (1381072386,), (1381072387,), (1381072388,), (1381072691,), (1381072693,), (1381072924,), (1381072926,), (1381073156,), (1381073157,), (1381073158,), (1381073811,), (1381073808,), (1381074239,), (1381074241,), (1381074243,), (1381074245,), (1381074247,), (1381074501,), (1381074502,), (1381074503,), (1381074504,), (1381074505,), (1381074711,), (1381074713,), (1381074715,), (1381074717,), (1381074719,), (1381074721,), (1381075020,), (1381075021,), (1381075022,), (1381075023,), (1381075024,), (1381075211,), (1381075212,), (1381075213,), (1381075214,), (1381075216,), (1381075389,), (1381075391,), (1381075393,), (1381075395,), (1381075397,), (1381075399,), (1381075600,), (1381075601,), (1381075602,), (1381075603,), (1381075654,), (1381075655,), (1381075656,), (1381075657,), (1381075714,), (1381075716,), (1381075718,), (1381075720,), (1381075722,), (1381075724,), (1381075998,), (1381075999,), (1381076000,), (1381076002,), (1381076003,), (1381076004,), (1381076009,), (1381076010,), (1381076012,), (1381076014,), (1381076103,), (1381076105,), (1381076106,), (1381076107,), (1381076514,), (1381076516,), (1381076519,), (1381076523,), (1381076527,), (1381076597,), (1381076600,), (1381076602,), (1381077022,), (1381077018,), (1381077020,), (1381077461,), (1381077463,), (1381077465,), (1381078488,), (1381078491,), (1381078494,), (1381078497,), (1381078500,), (1381079119,), (1381079121,), (1381079123,), (1381079125,), (1381079127,), (1381079128,), (1381079439,), (1381079441,), (1381079443,), (1381079782,), (1381079852,), (1381079854,), (1381079856,), (1381079858,), (1381079859,), (1381079967,), (1381079968,), (1381079969,), (1381080039,), (1381080040,), (1381080041,), (1381080287,), (1381080290,), (1381081600,), (1381092354,), (1381093272,), (1381093275,), (1381093587,), (1381093588,), (1381093589,), (1381093590,), (1381093833,), (1381093835,), (1381093837,), (1381094011,), (1381094012,), (1381094013,), (1381094057,), (1381094058,), (1381094059,), (1381094060,), (1381094061,), (1381094159,), (1381094161,), (1381094164,), (1381094166,), (1381094168,), (1381094497,), (1381094498,), (1381094636,), (1381094637,), (1381094727,), (1381094728,), (1381094977,), (1381094978,), (1381094979,), (1381094980,), (1381094981,), (1381094982,), (1381095191,), (1381095401,), (1381095188,), (1381095189,), (1381095190,), (1381095324,), (1381095326,), (1381095328,), (1381095330,), (1381095332,), (1381095334,), (1381095395,), (1381095397,), (1381095399,), (1381095752,), (1381095754,), (1381095756,), (1381095758,), (1381095760,), (1381096212,), (1381096214,), (1381096216,), (1381097394,), (1381097397,), (1381097400,), (1381098014,), (1381098016,), (1381098018,), (1381098625,), (1381098626,), (1381098697,), (1381098698,), (1381098699,), (1381098700,), (1381099033,), (1381099035,), (1381099037,), (1381099039,), (1381099042,), (1381099248,), (1381099250,), (1381099252,), (1381099537,), (1381099540,), (1381099544,), (1381099547,), (1381099550,), (1381099553,), (1381099672,), (1381100021,), (1381100022,), (1381100023,), (1381100024,), (1381100025,), (1381100026,), (1381100635,), (1381100637,), (1381100639,), (1381100641,), (1381101422,), (1381101414,), (1381101416,), (1381101417,), (1381101420,), (1381102224,), (1381102228,), (1381102232,), (1381102236,), (1381103256,), (1381103260,), (1381103263,), (1381103267,), (1381103923,), (1381103926,), (1381103929,), (1381104379,), (1381104382,), (1381104385,), (1381104388,), (1381104391,), (1381104970,), (1381104973,), (1381105367,), (1381105369,), (1381105371,), (1381105373,), (1381105375,), (1381105377,), (1381105442,), (1381105512,), (1381105514,), (1381105516,), (1381105518,), (1381105520,), (1381105522,), (1381105902,), (1381105904,), (1381105906,), (1381106190,), (1381106195,), (1381106200,), (1381106205,), (1381106210,), (1381106215,), (1381106945,), (1381106946,), (1381106947,), (1381106948,), (1381106949,), (1381106950,), (1381107245,), (1381107246,), (1381107247,), (1381107702,), (1381107703,), (1381107704,), (1381107705,), (1381107706,), (1381108315,), (1381108317,), (1381108319,), (1381108321,), (1381108323,), (1381108561,), (1381108562,), (1381108563,), (1381108564,), (1381109066,), (1381109555,), (1381109051,), (1381109054,), (1381109057,), (1381109060,), (1381109063,), (1381109399,), (1381109402,), (1381109405,), (1381109408,), (1381109411,), (1381109414,), (1381109536,), (1381109540,), (1381109545,), (1381109550,), (1381109806,), (1381109807,), (1381109808,), (1381109809,), (1381109811,), (1381109812,), (1381110012,), (1381110013,), (1381110014,), (1381110072,), (1381110073,), (1381110074,), (1381110075,), (1381110076,), (1381110077,), (1381110130,), (1381110131,), (1381110133,), (1381110134,), (1381110135,), (1381110136,), (1381110207,), (1381110208,), (1381110209,), (1381110255,), (1381110256,), (1381110257,), (1381110258,), (1381110259,), (1381110260,), (1381110346,), (1381110349,), (1381110350,), (1381110351,), (1381110352,), (1381110460,), (1381110461,), (1381110462,), (1381110463,), (1381110521,), (1381110522,), (1381110523,), (1381110545,), (1381110546,), (1381110547,), (1381110548,), (1381110549,), (1381110550,), (1381110555,), (1381110556,), (1381110589,), (1381110590,), (1381110591,), (1381110592,), (1381110593,), (1381110664,), (1381110665,), (1381110666,), (1381110667,), (1381110668,), (1381110713,), (1381110714,), (1381110715,), (1381110782,), (1381110779,), (1381110780,), (1381110781,), (1381110909,), (1381110911,), (1381110913,), (1381110915,), (1381110917,), (1381110919,), (1381111028,), (1381111029,), (1381111030,), (1381111031,), (1381111032,), (1381111085,), (1381111086,), (1381111087,), (1381111132,), (1381111133,), (1381111134,), (1381111201,), (1381111202,), (1381111203,), (1381111260,), (1381111261,), (1381111262,), (1381111263,), (1381111264,), (1381111265,), (1381111289,), (1381111354,), (1381111355,), (1381111356,), (1381111357,), (1381111412,), (1381111413,), (1381111414,), (1381111458,), (1381111459,), (1381111460,), (1381111461,), (1381111560,), (1381111561,), (1381111562,), (1381111563,), (1381111657,), (1381111659,), (1381111661,), (1381111663,), (1381111665,), (1381111745,), (1381111746,), (1381111747,), (1381111748,), (1381111826,), (1381111827,), (1381111828,), (1381111829,), (1381111872,), (1381111873,), (1381111874,), (1381111875,), (1381111935,), (1381112021,), (1381111932,), (1381111933,), (1381111934,), (1381112007,), (1381112008,), (1381112009,), (1381112010,), (1381112011,), (1381112013,), (1381112019,), (1381112020,), (1381112061,), (1381112062,), (1381112063,), (1381112064,), (1381112065,), (1381112116,), (1381112117,), (1381112118,), (1381112160,), (1381112162,), (1381112238,), (1381112239,), (1381112240,), (1381112293,), (1381112294,), (1381112295,), (1381112297,), (1381112298,), (1381112299,), (1381112346,), (1381112347,), (1381112348,), (1381112349,), (1381112350,), (1381112351,), (1381112431,), (1381112432,), (1381112433,), (1381112434,), (1381112551,), (1381112552,), (1381112554,), (1381112555,), (1381112556,), (1381112557,), (1381112701,), (1381112703,), (1381112705,), (1381112707,), (1381112768,), (1381112769,), (1381112770,), (1381112771,), (1381112772,), (1381112773,), (1381112781,), (1381112783,), (1381112784,), (1381112785,), (1381112852,), (1381112853,), (1381112854,), (1381112855,), (1381112856,), (1381112857,), (1381113552,), (1381113554,), (1381113556,), (1381113855,), (1381113849,), (1381113851,), (1381113853,), (1381114606,), (1381114609,), (1381114613,), (1381114616,), (1381115081,), (1381115084,), (1381115086,), (1381115300,), (1381115301,), (1381115302,), (1381115303,), (1381115304,), (1381115305,), (1381115668,), (1381115669,), (1381115670,), (1381115671,), (1381115672,), (1381115803,), (1381115805,), (1381115807,), (1381115808,), (1381115809,), (1381115810,), (1381115906,), (1381115908,), (1381115910,), (1381115914,), (1381115916,), (1381115918,), (1381115991,), (1381115993,), (1381115995,), (1381115998,), (1381116001,), (1381116004,), (1381116308,), (1381116310,), (1381116313,), (1381116999,), (1381117001,), (1381117003,), (1381117005,), (1381117007,), (1381117009,), (1381117447,), (1381117449,), (1381117451,), (1381117453,), (1381117455,), (1381118254,), (1381118258,), (1381118262,), (1381118265,), (1381119244,), (1381119246,), (1381119248,), (1381119250,), (1381119252,), (1381120024,), (1381120028,), (1381120032,), (1381120036,), (1381120040,), (1381120665,), (1381120667,), (1381120669,), (1381120671,), (1381121564,), (1381121569,), (1381121575,), (1381121582,), (1381121587,), (1381121593,), (1381123145,), (1381124740,), (1381123125,), (1381123129,), (1381123133,), (1381123137,), (1381123141,), (1381124478,), (1381124481,), (1381124484,), (1381124487,), (1381124490,), (1381124493,), (1381124731,), (1381124734,), (1381124737,), (1381125452,), (1381125454,), (1381125457,), (1381125458,), (1381125460,), (1381125462,), (1381125991,), (1381125994,), (1381125997,), (1381127008,), (1381127010,), (1381127012,), (1381127014,), (1381127017,), (1381127021,), (1381127281,), (1381128227,), (1381128230,), (1381128233,), (1381128236,), (1381128239,), (1381128757,), (1381128760,), (1381128763,), (1381128765,), (1381129534,), (1381129536,), (1381129538,), (1381129540,), (1381129676,), (1381129677,), (1381129678,), (1381129679,), (1381129933,), (1381129935,), (1381129937,), (1381129939,), (1381129941,), (1381130149,), (1381130150,), (1381130152,), (1381130155,), (1381130157,), (1381130159,), (1381130169,), (1381130170,), (1381130210,), (1381130211,), (1381130212,), (1381130251,), (1381130252,), (1381130253,), (1381130254,), (1381130255,), (1381130299,), (1381130300,), (1381130301,), (1381130302,), (1381130354,), (1381135584,), (1381135585,), (1381135586,), (1381135643,), (1381135644,), (1381135645,), (1381135646,), (1381135647,), (1381135648,), (1381135703,), (1381135704,), (1381135705,), (1381135904,), (1381135906,), (1381135908,), (1381135910,), (1381136103,), (1381136104,), (1381136105,), (1381136106,), (1381136107,), (1381136147,), (1381136148,), (1381136149,), (1381136150,), (1381136189,), (1381136190,), (1381136191,), (1381136192,), (1381136306,), (1381136308,), (1381136310,), (1381136312,), (1381136314,), (1381136316,), (1381136492,), (1381136493,), (1381137369,), (1381137372,), (1381137375,), (1381137378,), (1381137381,), (1381137384,), (1381138385,), (1381138994,), (1381139495,), (1381139497,), (1381139499,), (1381139501,), (1381139759,), (1381139760,), (1381139761,), (1381139762,), (1381139763,), (1381139807,), (1381139808,), (1381139809,), (1381139810,), (1381139811,), (1381139812,), (1381139883,), (1381139884,), (1381139885,), (1381139886,), (1381139956,), (1381139957,), (1381139958,), (1381140051,), (1381140059,), (1381140060,), (1381140061,), (1381140156,), (1381140268,), (1381140264,), (1381140265,), (1381140266,), (1381140267,), (1381140312,), (1381140314,), (1381140316,), (1381140318,), (1381140319,), (1381140364,), (1381140365,), (1381140366,), (1381140367,), (1381140411,), (1381140412,), (1381140413,), (1381140453,), (1381140454,), (1381140455,), (1381140456,), (1381140512,), (1381140513,), (1381140514,), (1381140515,), (1381140516,), (1381140562,), (1381140563,), (1381140564,), (1381140565,), (1381140566,), (1381140567,), (1381140614,), (1381140615,), (1381140616,), (1381140617,), (1381140659,), (1381140660,), (1381140661,), (1381140662,), (1381140719,), (1381140720,), (1381140721,), (1381140722,), (1381140723,), (1381140871,), (1381140872,), (1381140873,), (1381140875,), (1381140876,), (1381140877,), (1381140882,), (1381140883,), (1381140884,), (1381140885,), (1381140918,), (1381140919,), (1381140960,), (1381140961,), (1381140962,), (1381140963,), (1381141025,), (1381141026,), (1381141027,), (1381141028,), (1381141029,), (1381141086,), (1381141083,), (1381141084,), (1381141085,), (1381141146,), (1381141147,), (1381141148,), (1381141197,), (1381141198,), (1381141199,), (1381141278,), (1381141279,), (1381141280,), (1381141281,), (1381143297,), (1381143298,), (1381143299,), (1381143300,), (1381143642,), (1381144354,), (1381144357,), (1381145090,), (1381145092,), (1381145416,), (1381145417,), (1381145418,), (1381145419,), (1381145736,), (1381145739,), (1381145742,), (1381145745,), (1381146197,), (1381146839,), (1381146188,), (1381146191,), (1381146194,), (1381146762,), (1381146763,), (1381146765,), (1381146767,), (1381146769,), (1381146771,), (1381146835,), (1381146837,), (1381146971,), (1381146972,), (1381146973,), (1381146974,), (1381146975,), (1381147019,), (1381147020,), (1381147021,), (1381147022,), (1381147417,), (1381147419,), (1381147421,), (1381147423,), (1381148024,), (1381148026,), (1381148028,), (1381148030,), (1381148032,), (1381148554,), (1381148557,), (1381148560,), (1381148563,), (1381148566,), (1381149229,), (1381149231,), (1381149233,), (1381149235,), (1381149237,), (1381149874,), (1381149876,), (1381149878,), (1381149880,), (1381149882,), (1381150026,), (1381150027,), (1381150028,), (1381150029,), (1381150030,), (1381150081,), (1381150083,), (1381150349,), (1381150351,), (1381150353,), (1381150355,), (1381150357,), (1381150359,), (1381150414,), (1381150729,), (1381150731,), (1381150734,), (1381150737,), (1381151500,), (1381151503,), (1381151506,), (1381151510,), (1381151514,), (1381151644,), (1381151647,), (1381151650,), (1381151653,), (1381152555,), (1381152538,), (1381152543,), (1381152547,), (1381152551,), (1381153256,), (1381153258,), (1381153260,), (1381153262,), (1381153264,), (1381153266,), (1381153636,), (1381153640,), (1381153644,), (1381153648,), (1381154395,), (1381154396,), (1381154397,), (1381154398,), (1381154690,), (1381154897,), (1381154899,), (1381154901,), (1381154903,), (1381155337,), (1381155340,), (1381155342,), (1381155344,), (1381155346,), (1381155348,), (1381155407,), (1381155410,), (1381155414,), (1381155417,), (1381155949,), (1381155952,), (1381155956,), (1381155959,), (1381155961,), (1381156427,), (1381156429,), (1381156431,), (1381156433,), (1381156435,), (1381156437,), (1381157098,), (1381157101,), (1381157104,), (1381157107,), (1381157580,), (1381157582,), (1381157584,), (1381157586,), (1381157588,), (1381157756,), (1381157758,), (1381157760,), (1381157762,), (1381157763,), (1381157764,), (1381158393,), (1381158396,), (1381158399,), (1381158402,), (1381158405,), (1381158408,), (1381158868,), (1381158870,), (1381158872,), (1381158874,), (1381159198,), (1381159199,), (1381159200,), (1381159201,), (1381159203,), (1381159204,), (1381159301,), (1381159881,), (1381159296,), (1381159297,), (1381159298,), (1381159299,), (1381159300,), (1381159777,), (1381159779,), (1381159781,), (1381159783,), (1381159785,), (1381159787,), (1381159872,), (1381159874,), (1381159876,), (1381159878,), (1381159978,), (1381159980,), (1381159982,), (1381159984,), (1381159986,), (1381159988,), (1381160375,), (1381160377,), (1381160379,), (1381160381,), (1381160572,), (1381160574,), (1381160576,), (1381160578,), (1381160971,), (1381160973,), (1381160975,), (1381160977,), (1381161531,), (1381161533,), (1381161535,), (1381161537,), (1381161539,), (1381161541,), (1381161967,), (1381161969,), (1381161971,), (1381161973,), (1381161975,), (1381161977,), (1381162276,), (1381162277,), (1381162278,), (1381162380,), (1381162382,), (1381162384,), (1381162386,), (1381162786,), (1381162788,), (1381162790,), (1381162792,), (1381162793,), (1381163120,), (1381163121,), (1381163122,), (1381163123,), (1381163124,), (1381163125,), (1381163138,), (1381163139,), (1381163140,), (1381163141,), (1381163515,), (1381163516,), (1381163518,), (1381163519,), (1381166380,), (1381177186,), (1381177188,), (1381177190,), (1381177192,), (1381177602,), (1381177604,), (1381177607,), (1381177610,), (1381178273,), (1381178275,), (1381178277,), (1381178464,), (1381178465,), (1381178466,), (1381178970,), (1381178972,), (1381178974,), (1381178976,), (1381178978,), (1381178980,), (1381179045,), (1381179048,), (1381179422,), (1381179424,), (1381179426,), (1381179428,), (1381180019,), (1381180022,), (1381180025,), (1381180028,), (1381180343,), (1381180344,), (1381180345,), (1381180346,), (1381180347,), (1381180527,), (1381180529,), (1381180531,), (1381180533,), (1381180535,), (1381180953,), (1381180954,), (1381180955,), (1381180956,), (1381181116,), (1381181117,), (1381181118,), (1381181119,), (1381181120,), (1381181121,), (1381181215,), (1381181217,), (1381181219,), (1381181221,), (1381181223,), (1381181491,), (1381181493,), (1381181494,), (1381181495,), (1381181496,), (1381181536,), (1381181623,), (1381181533,), (1381181534,), (1381181535,), (1381181607,), (1381181608,), (1381181609,), (1381181610,), (1381181611,), (1381181612,), (1381181621,), (1381181622,), (1381181720,), (1381181721,), (1381181722,), (1381181771,), (1381181772,), (1381181773,), (1381181774,), (1381181775,), (1381181821,), (1381181822,), (1381181823,), (1381181824,), (1381181981,), (1381182155,), (1381182161,), (1381182166,), (1381182171,), (1381182177,), (1381182397,), (1381182398,), (1381182399,), (1381182400,), (1381182401,), (1381182402,), (1381182447,), (1381182448,), (1381182449,), (1381182450,), (1381182451,), (1381182511,), (1381182512,), (1381182513,), (1381182514,), (1381182542,), (1381182543,), (1381182544,), (1381182587,), (1381182588,), (1381182589,), (1381182590,), (1381182591,), (1381182592,), (1381182674,), (1381182675,), (1381182676,), (1381182677,), (1381182678,), (1381182679,), (1381182683,), (1381182685,), (1381182686,), (1381182713,), (1381182715,), (1381182716,), (1381182717,), (1381182718,), (1381182719,), (1381182747,), (1381182748,), (1381182749,), (1381182782,), (1381182783,), (1381182784,), (1381182785,), (1381182786,), (1381182853,), (1381182848,), (1381182849,), (1381182850,), (1381182851,), (1381182852,), (1381182942,), (1381182943,), (1381182944,), (1381183213,), (1381183215,), (1381183217,), (1381183220,), (1381183748,), (1381183750,), (1381183752,), (1381184166,), (1381184168,), (1381184170,), (1381184172,), (1381184506,), (1381184508,), (1381184510,), (1381184512,), (1381184515,), (1381184517,), (1381185127,), (1381185130,), (1381185133,), (1381185136,), (1381185139,), (1381185142,), (1381185261,), (1381185264,), (1381185267,), (1381185270,), (1381185714,), (1381185716,), (1381185718,), (1381185720,), (1381186126,), (1381186130,), (1381186134,), (1381186137,), (1381187175,), (1381187177,), (1381187179,), (1381187181,), (1381187697,), (1381187700,), (1381187703,), (1381187706,), (1381187709,), (1381187994,), (1381187995,), (1381187996,), (1381187997,), (1381187998,), (1381188281,), (1381188287,), (1381188291,), (1381188296,), (1381188301,), (1381188306,), (1381188652,), (1381188654,), (1381188655,), (1381188657,), (1381189239,), (1381189241,), (1381189244,), (1381189753,), (1381189931,), (1381189749,), (1381189750,), (1381189751,), (1381189752,), (1381189915,), (1381189916,), (1381189917,), (1381189918,), (1381189919,), (1381189921,), (1381189926,), (1381189927,), (1381189928,), (1381189929,), (1381189965,), (1381189966,), (1381189967,), (1381189968,), (1381189969,), (1381190339,), (1381190341,), (1381190343,), (1381190345,), (1381190347,), (1381190349,), (1381190555,), (1381190556,), (1381190557,), (1381190559,), (1381191231,), (1381191234,), (1381191237,), (1381191240,), (1381191243,), (1381191246,), (1381192443,), (1381192991,), (1381192993,), (1381192995,), (1381192997,), (1381193160,), (1381193161,), (1381193162,), (1381193163,), (1381193164,), (1381193165,), (1381193268,), (1381193270,), (1381193272,), (1381193274,), (1381193276,), (1381193278,), (1381194174,), (1381194177,), (1381195062,), (1381195050,), (1381195053,), (1381195056,), (1381195059,), (1381195541,), (1381195543,), (1381195545,), (1381195547,), (1381196352,), (1381196356,), (1381196360,), (1381196364,), (1381196368,), (1381197361,), (1381197363,), (1381197365,), (1381197367,), (1381198143,), (1381198148,), (1381198153,), (1381198158,), (1381198163,), (1381198168,), (1381199204,), (1381199206,), (1381199208,), (1381199210,), (1381199900,), (1381199903,), (1381199906,), (1381199909,), (1381199913,), (1381199916,), (1381200030,), (1381200034,), (1381200037,), (1381200042,), (1381200365,), (1381200367,), (1381200369,), (1381200371,), (1381200373,), (1381200758,), (1381200761,), (1381200764,), (1381200767,), (1381201558,), (1381201561,), (1381201564,), (1381201567,), (1381201570,), (1381202214,), (1381202216,), (1381202218,), (1381202220,), (1381202817,), (1381202820,), (1381202823,), (1381202826,), (1381202829,), (1381203242,), (1381203243,), (1381203244,), (1381203245,), (1381203513,), (1381203515,), (1381203517,), (1381203519,), (1381203521,), (1381203523,), (1381203905,), (1381203906,), (1381203908,), (1381203909,), (1381203910,), (1381204080,), (1381204372,), (1381204075,), (1381204076,), (1381204077,), (1381204078,), (1381204079,), (1381204304,), (1381204306,), (1381204308,), (1381204310,), (1381204312,), (1381204314,), (1381204368,), (1381204369,), (1381204370,), (1381204410,), (1381204411,), (1381204412,), (1381204413,), (1381204414,), (1381204415,), (1381204462,), (1381204463,), (1381204464,), (1381204465,), (1381204466,), (1381204467,), (1381204523,), (1381204524,), (1381204525,), (1381204526,), (1381204575,), (1381204576,), (1381204577,), (1381204578,), (1381204579,), (1381204746,), (1381204748,), (1381204750,), (1381204752,), (1381204754,), (1381205152,), (1381205154,), (1381205156,), (1381205158,), (1381205641,), (1381205643,), (1381205645,), (1381205647,), (1381205649,), (1381206107,), (1381206112,), (1381206116,), (1381206121,), (1381206125,), (1381206228,), (1381206229,), (1381206230,), (1381206387,), (1381206389,), (1381206391,), (1381206393,), (1381206395,), (1381206397,), (1381206472,), (1381206810,), (1381206811,), (1381206813,), (1381206815,), (1381206817,), (1381207041,), (1381207043,), (1381207045,), (1381207659,), (1381207657,), (1381207658,), (1381208476,), (1381208692,), (1381208695,), (1381208698,), (1381208701,), (1381209130,), (1381209131,), (1381209132,), (1381209133,), (1381209322,), (1381209323,), (1381209324,), (1381209325,), (1381209327,), (1381209328,), (1381209332,), (1381209333,), (1381209334,), (1381209501,), (1381209503,), (1381209505,), (1381209507,), (1381209509,), (1381209961,), (1381209963,), (1381209965,), (1381209967,), (1381209969,), (1381209971,), (1381210701,), (1381210704,), (1381210707,), (1381210712,), (1381211588,), (1381211591,), (1381211594,), (1381211597,), (1381212262,), (1381212263,), (1381212264,), (1381212265,), (1381212266,), (1381212267,), (1381212387,), (1381212389,), (1381212390,), (1381212393,), (1381212394,), (1381212396,), (1381212751,), (1381212753,), (1381212755,), (1381212757,), (1381213278,), (1381213280,), (1381213282,), (1381213284,), (1381213870,), (1381214126,), (1381213860,), (1381213862,), (1381213864,), (1381213866,), (1381213868,), (1381214097,), (1381214098,), (1381214099,), (1381214100,), (1381214101,), (1381214102,), (1381214123,), (1381214124,), (1381214125,), (1381214210,), (1381214212,), (1381214214,), (1381214216,), (1381214218,), (1381214220,), (1381214580,), (1381214581,), (1381214631,), (1381214632,), (1381214633,), (1381214634,), (1381214635,), (1381214681,), (1381214682,), (1381214683,), (1381214684,), (1381214685,), (1381215174,), (1381215176,), (1381215178,), (1381215180,), (1381215682,), (1381215685,), (1381215688,), (1381215691,), (1381216275,), (1381216276,), (1381216277,), (1381216316,), (1381216317,), (1381216318,), (1381216319,), (1381216320,), (1381216321,), (1381216527,), (1381216529,), (1381216531,), (1381216846,), (1381216847,), (1381216848,), (1381216849,), (1381216850,), (1381216851,), (1381216855,), (1381217179,), (1381217181,), (1381217183,), (1381218172,), (1381218175,), (1381218178,), (1381218181,), (1381218184,), (1381218248,), (1381218250,), (1381218252,), (1381218254,), (1381218256,), (1381218900,), (1381218892,), (1381218894,), (1381218896,), (1381218898,), (1381219418,), (1381219998,), (1381219999,), (1381220000,), (1381220425,), (1381220428,), (1381220431,), (1381220434,), (1381220437,), (1381220440,), (1381220868,), (1381220870,), (1381220872,), (1381221030,), (1381221031,), (1381221067,), (1381221068,), (1381221069,), (1381221070,), (1381221071,), (1381221072,), (1381221116,), (1381221117,), (1381221118,), (1381221119,), (1381221237,), (1381221239,), (1381221241,), (1381221243,), (1381221245,), (1381221677,), (1381221679,), (1381221681,), (1381221683,), (1381221685,), (1381222097,), (1381222099,), (1381222101,), (1381222103,), (1381222531,), (1381222533,), (1381222535,), (1381222537,), (1381222899,), (1381222900,), (1381222901,), (1381222955,), (1381222956,), (1381223141,), (1381223142,), (1381223143,), (1381223533,), (1381223885,), (1381223523,), (1381223525,), (1381223527,), (1381223529,), (1381223531,), (1381223875,), (1381223876,), (1381223877,), (1381223878,), (1381223879,), (1381223880,), (1381223884,), (1381224128,), (1381224130,), (1381224132,), (1381224134,), (1381224342,), (1381224343,), (1381225078,), (1381225081,), (1381225084,), (1381225087,), (1381225491,), (1381225492,), (1381225493,), (1381225494,), (1381225760,), (1381225763,), (1381225765,), (1381225917,), (1381225918,), (1381225919,), (1381225920,), (1381226131,), (1381226132,), (1381226133,), (1381226134,), (1381226135,), (1381226302,), (1381226303,), (1381226346,), (1381226347,), (1381226348,), (1381226349,), (1381226384,), (1381226385,), (1381226386,), (1381226387,), (1381226388,), (1381226435,), (1381226436,), (1381226437,), (1381226438,), (1381226496,), (1381226497,), (1381226498,), (1381226499,), (1381226500,), (1381226553,), (1381226554,), (1381226555,), (1381226556,), (1381226557,), (1381226620,), (1381226617,), (1381226618,), (1381226619,), (1381226670,), (1381226671,), (1381226672,), (1381226673,), (1381226741,), (1381226742,), (1381226743,), (1381226744,), (1381226831,), (1381226832,), (1381226833,), (1381226834,), (1381226872,), (1381226873,), (1381226874,), (1381226875,), (1381226917,), (1381226918,), (1381226919,), (1381226951,), (1381226952,), (1381226953,), (1381226954,), (1381226955,), (1381226956,), (1381226962,), (1381226963,), (1381227007,), (1381227008,), (1381227009,), (1381227011,), (1381227057,), (1381227058,), (1381230134,), (1381230131,), (1381230752,), (1381230754,), (1381230756,), (1381231254,), (1381231748,), (1381231917,), (1381231919,), (1381232501,), (1381232506,), (1381232511,), (1381232516,), (1381233723,), (1381233726,), (1381233729,), (1381233732,), (1381233736,), (1381233739,), (1381233872,), (1381233876,), (1381234713,), (1381235853,), (1381235858,), (1381235863,), (1381235868,), (1381235873,), (1381236939,), (1381236942,), (1381236945,), (1381236948,), (1381236951,), (1381236954,), (1381237419,), (1381237422,), (1381237425,), (1381237428,), (1381238538,), (1381238541,), (1381238544,), (1381238547,), (1381238552,), (1381239005,), (1381239007,), (1381239009,), (1381239011,), (1381239013,), (1381239588,), (1381239591,), (1381240168,), (1381240170,), (1381240172,), (1381240174,), (1381240176,), (1381240177,), (1381240533,), (1381240966,), (1381240531,), (1381240532,), (1381240903,), (1381240905,), (1381240907,), (1381240909,), (1381240911,), (1381240913,), (1381240964,), (1381241157,), (1381241159,), (1381241161,), (1381241163,), (1381241444,), (1381241445,), (1381241446,), (1381241447,), (1381241448,), (1381241678,), (1381241680,), (1381241681,), (1381241682,), (1381241683,), (1381241873,), (1381241874,), (1381241875,), (1381242074,), (1381242076,), (1381242078,), (1381242080,), (1381242082,), (1381242084,), (1381242649,), (1381242652,), (1381242655,), (1381242658,), (1381242661,), (1381243672,), (1381243676,), (1381243681,), (1381244345,), (1381244347,), (1381244349,), (1381244351,), (1381244353,), (1381244355,), (1381245050,), (1381245052,), (1381245054,), (1381245056,), (1381245783,), (1381245786,), (1381245789,), (1381245792,), (1381245795,), (1381245798,), (1381245855,), (1381245856,), (1381245857,), (1381245858,), (1381246131,), (1381246132,), (1381246133,), (1381246134,), (1381246328,), (1381246330,), (1381246332,), (1381246333,), (1381246335,), (1381246466,), (1381246467,), (1381246468,), (1381246469,), (1381246510,), (1381246505,), (1381246506,), (1381246507,), (1381246508,), (1381246509,), (1381246653,), (1381246655,), (1381246656,), (1381246658,), (1381246660,), (1381246662,), (1381246793,), (1381246794,), (1381246795,), (1381246796,), (1381246829,), (1381246830,), (1381246831,), (1381246832,), (1381246833,), (1381246834,), (1381246861,), (1381246862,), (1381246863,), (1381246864,), (1381247040,), (1381247042,), (1381247043,), (1381247045,), (1381247047,), (1381247049,), (1381247364,), (1381247366,), (1381247368,), (1381247370,), (1381247372,), (1381247374,), (1381247453,), (1381247456,), (1381247459,), (1381247462,), (1381247465,), (1381247468,), (1381247884,), (1381247886,), (1381247888,), (1381247890,), (1381248359,), (1381248361,), (1381248363,), (1381248365,), (1381248367,), (1381248369,), (1381248865,), (1381248868,), (1381248871,), (1381248873,), (1381249036,), (1381249037,), (1381249038,), (1381249039,), (1381249040,), (1381249169,), (1381249170,), (1381249171,), (1381249172,), (1381249173,), (1381249578,), (1381249580,), (1381249582,), (1381249848,), (1381249849,), (1381249850,), (1381249851,), (1381250280,), (1381250283,), (1381250286,), (1381250289,), (1381250292,), (1381250605,), (1381251174,), (1381250601,), (1381250603,), (1381251114,), (1381251116,), (1381251118,), (1381251120,), (1381251122,), (1381251124,), (1381251173,), (1381251323,), (1381251324,), (1381251325,), (1381251326,), (1381251327,), (1381251328,), (1381251363,), (1381251364,), (1381251365,), (1381251366,), (1381251484,), (1381251486,), (1381251488,), (1381251490,), (1381251491,), (1381251493,), (1381251570,), (1381251573,), (1381251576,), (1381251985,), (1381251987,), (1381251989,), (1381251991,), (1381251993,), (1381251995,), (1381252536,), (1381252539,), (1381252542,), (1381252545,), (1381252548,), (1381252551,), (1381253191,), (1381253193,), (1381253195,), (1381253197,), (1381253199,), (1381253690,), (1381253693,), (1381253696,), (1381253699,), (1381254349,), (1381254351,), (1381254353,), (1381254355,), (1381254357,), (1381254359,), (1381254668,), (1381254669,), (1381254670,), (1381254671,), (1381254672,), (1381254673,), (1381254675,), (1381254677,), (1381254678,), (1381254679,), (1381254941,), (1381254942,), (1381254943,), (1381254944,), (1381255782,), (1381255786,), (1381255789,), (1381255792,), (1381255906,), (1381255909,), (1381255912,), (1381255915,), (1381256678,), (1381256669,), (1381256671,), (1381256674,), (1381256676,), (1381257486,), (1381257491,), (1381257495,), (1381257500,), (1381258476,), (1381258480,), (1381258484,), (1381258488,), (1381258492,), (1381259521,), (1381259527,), (1381259534,), (1381259542,), (1381259549,), (1381259556,), (1381260790,), (1381260793,), (1381260796,), (1381260799,), (1381260802,), (1381261662,), (1381261665,), (1381261668,), (1381261671,), (1381262018,), (1381262019,), (1381262020,), (1381262021,), (1381262022,), (1381262023,), (1381262029,), (1381262030,), (1381262031,), (1381262032,), (1381262436,), (1381262438,), (1381262441,), (1381262444,), (1381262447,), (1381263340,), (1381263651,), (1381263657,), (1381264301,), (1381264306,), (1381264310,), (1381264315,), (1381264317,), (1381264318,), (1381264704,), (1381264706,), (1381264708,), (1381264710,), (1381264712,), (1381264945,), (1381264946,), (1381264948,), (1381264949,), (1381264950,), (1381264991,), (1381264992,), (1381264993,), (1381264994,), (1381264995,), (1381265037,), (1381265038,), (1381265039,), (1381265040,), (1381265041,), (1381265042,), (1381265977,), (1381265979,), (1381265981,), (1381265983,), (1381266588,), (1381267213,), (1381266580,), (1381266582,), (1381266584,), (1381266586,), (1381267071,), (1381267074,), (1381267077,), (1381267080,), (1381267083,), (1381267086,), (1381267202,), (1381267205,), (1381267207,), (1381267210,), (1381267621,), (1381267623,), (1381267625,), (1381267627,), (1381268210,), (1381268212,), (1381268213,), (1381268761,), (1381268762,), (1381268763,), (1381268764,), (1381268765,), (1381269082,), (1381269084,), (1381269086,), (1381269088,), (1381269492,), (1381269494,), (1381269496,), (1381269498,), (1381269501,), (1381269503,), (1381269911,), (1381269913,), (1381269915,), (1381269917,), (1381270562,), (1381270568,), (1381270573,), (1381270578,), (1381270583,), (1381270588,), (1381270979,), (1381270981,), (1381271033,), (1381271034,), (1381271035,), (1381271036,), (1381271037,), (1381271038,), (1381271356,), (1381271358,), (1381271360,), (1381271362,), (1381271364,), (1381271367,), (1381271427,), (1381271429,), (1381271431,), (1381271765,), (1381271768,), (1381271770,), (1381271772,), (1381271774,), (1381272629,), (1381272634,), (1381272639,), (1381272644,), (1381272649,), (1381273032,), (1381273033,), (1381273035,), (1381273305,), (1381273299,), (1381273300,), (1381273301,), (1381273303,), (1381273304,), (1381273463,), (1381273465,), (1381273467,), (1381273469,), (1381273471,), (1381274116,), (1381274117,), (1381274118,), (1381274119,), (1381274120,), (1381274121,), (1381274156,), (1381274157,), (1381274158,), (1381274160,), (1381274161,), (1381274404,), (1381274406,), (1381274408,), (1381274410,), (1381274834,), (1381274836,), (1381274838,), (1381274840,), (1381274842,), (1381274844,), (1381275010,), (1381275011,), (1381275012,), (1381275013,), (1381275014,), (1381275015,), (1381275019,), (1381275020,), (1381275023,), (1381275328,), (1381275330,), (1381275332,), (1381275334,), (1381275336,), (1381275338,), (1381276258,), (1381276260,), (1381276262,), (1381276264,), (1381276266,), (1381276781,), (1381276784,), (1381276787,), (1381276790,), (1381277616,), (1381277619,), (1381277623,), (1381278148,), (1381278150,), (1381278151,), (1381278152,), (1381278153,), (1381278154,), (1381278458,), (1381278460,), (1381278462,), (1381278464,), (1381278466,), (1381279217,), (1381279221,), (1381279226,), (1381279312,), (1381279313,), (1381279314,), (1381279315,), (1381279316,), (1381279317,), (1381279514,), (1381279944,), (1381279507,), (1381279509,), (1381279512,), (1381279933,), (1381279934,), (1381279935,), (1381279936,), (1381279937,), (1381279938,), (1381279942,), (1381279943,), (1381280397,), (1381280399,), (1381280401,), (1381280403,), (1381280711,), (1381280712,), (1381280713,), (1381280715,), (1381280717,), (1381280756,), (1381280757,), (1381280758,), (1381280759,), (1381280818,), (1381280819,), (1381280820,), (1381280821,), (1381280863,), (1381280864,), (1381280865,), (1381281270,), (1381281274,), (1381281275,), (1381281276,), (1381281277,), (1381281278,), (1381281344,), (1381281345,), (1381281346,), (1381281347,), (1381281733,), (1381281735,), (1381282138,), (1381282140,), (1381282142,), (1381282144,), (1381282147,), (1381282149,), (1381282693,), (1381282695,), (1381282697,), (1381282700,), (1381282702,), (1381282704,), (1381282765,), (1381282767,), (1381282769,), (1381282771,), (1381282773,), (1381282775,), (1381283222,), (1381283225,), (1381283228,), (1381283231,), (1381283234,), (1381284304,), (1381284306,), (1381284307,), (1381284309,), (1381284377,), (1381284380,), (1381284382,), (1381284384,), (1381284386,), (1381284809,), (1381284800,), (1381284802,), (1381284804,), (1381284807,), (1381285504,), (1381285506,), (1381285508,), (1381285510,), (1381286028,), (1381286030,), (1381286032,), (1381286035,), (1381286038,), (1381286041,), (1381286457,), (1381286565,), (1381286567,), (1381286570,), (1381286572,), (1381287169,), (1381287172,), (1381287175,), (1381287178,), (1381287682,), (1381287685,), (1381287688,), (1381287691,), (1381287693,), (1381287695,), (1381287882,), (1381287884,), (1381287886,), (1381287888,), (1381287890,), (1381287892,), (1381287960,), (1381287962,), (1381287964,), (1381287965,), (1381287967,), (1381288041,), (1381288042,), (1381288043,), (1381288044,), (1381288046,), (1381288047,), (1381288088,), (1381288089,), (1381288090,), (1381288091,), (1381288092,), (1381288138,), (1381288139,), (1381288140,), (1381288321,), (1381288323,), (1381288325,), (1381288327,), (1381288739,), (1381288741,), (1381288743,), (1381288745,), (1381288747,), (1381289020,), (1381289021,), (1381289022,), (1381289024,), (1381289025,), (1381289726,), (1381289731,), (1381289737,), (1381290659,), (1381290662,), (1381290664,), (1381290666,), (1381290668,), (1381291357,), (1381291349,), (1381291351,), (1381291353,), (1381291355,), (1381291846,), (1381291849,), (1381291852,), (1381292398,), (1381292401,), (1381292404,), (1381292407,), (1381292410,), (1381293460,), (1381293466,), (1381293471,), (1381293477,), (1381293482,), (1381294258,), (1381294264,), (1381294692,), (1381294693,), (1381294694,), (1381294991,), (1381295061,), (1381295063,), (1381295065,), (1381295432,), (1381295434,), (1381295436,), (1381295438,), (1381295440,), (1381296865,), (1381296871,), (1381296877,), (1381296883,), (1381297738,), (1381297740,), (1381297742,), (1381297745,), (1381297747,), (1381298607,), (1381298610,), (1381298613,), (1381298616,), (1381298619,), (1381299315,), (1381299319,), (1381299323,), (1381299326,), (1381299773,), (1381299774,), (1381299775,), (1381299776,), (1381299778,), (1381299907,), (1381299909,), (1381299911,), (1381300222,), (1381300223,), (1381300224,), (1381300225,), (1381300227,), (1381300301,), (1381300289,), (1381300299,), (1381300427,), (1381300429,), (1381300431,), (1381300433,), (1381301113,), (1381301118,), (1381301123,), (1381302187,), (1381302188,), (1381302189,), (1381302511,), (1381302512,), (1381302513,), (1381302514,), (1381303230,), (1381303233,), (1381303236,), (1381303239,), (1381303711,), (1381303713,), (1381303715,), (1381303717,), (1381303897,), (1381303899,), (1381303902,), (1381303904,), (1381303906,), (1381304170,), (1381304171,), (1381304172,), (1381304173,), (1381304410,), (1381304411,), (1381304412,), (1381304413,), (1381304786,), (1381304790,), (1381304794,), (1381304798,), (1381305787,), (1381305788,), (1381306312,), (1381306292,), (1381306293,), (1381306294,), (1381306295,), (1381306296,), (1381306297,), (1381306354,), (1381306355,), (1381306356,), (1381306357,), (1381306358,), (1381306359,), (1381306424,), (1381306425,), (1381306426,), (1381306521,), (1381306522,), (1381306523,), (1381306524,), (1381306525,), (1381306606,), (1381306607,), (1381306608,), (1381306609,), (1381306610,), (1381306672,), (1381306673,), (1381306674,), (1381306796,), (1381306798,), (1381306800,), (1381306802,), (1381306804,), (1381306806,), (1381306956,), (1381306957,), (1381306958,), (1381306959,), (1381307004,), (1381307005,), (1381307006,), (1381307007,), (1381307064,), (1381307065,), (1381307066,), (1381307067,), (1381307068,), (1381307697,), (1381307701,), (1381307705,), (1381308226,), (1381308228,), (1381308230,), (1381308232,), (1381308234,), (1381308236,), (1381309636,), (1381309641,), (1381309646,), (1381309651,), (1381309657,), (1381310613,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'03092025': {'nb_upload': 44, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26509771]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1381306312, 1381305788, 1381305787, 1381304798, 1381304794, 1381304790, 1381304786, 1381304413, 1381304412, 1381304411, 1381304410, 1381304173, 1381304172, 1381304171, 1381304170, 1381303906, 1381303904, 1381303902, 1381303899, 1381303897, 1381303717, 1381303715, 1381303713, 1381303711, 1381303239, 1381303236, 1381303233, 1381303230, 1381302514, 1381302513, 1381302512, 1381302511, 1381302189, 1381302188, 1381302187, 1381301123, 1381301118, 1381301113, 1381300433, 1381300431, 1381300429, 1381300427, 1381300299, 1381300289] map_info['map_portfolio_photo'] : {26509771: [1381306312, 1381305788, 1381305787, 1381304798, 1381304794, 1381304790, 1381304786, 1381304413, 1381304412, 1381304411, 1381304410, 1381304173, 1381304172, 1381304171, 1381304170, 1381303906, 1381303904, 1381303902, 1381303899, 1381303897, 1381303717, 1381303715, 1381303713, 1381303711, 1381303239, 1381303236, 1381303233, 1381303230, 1381302514, 1381302513, 1381302512, 1381302511, 1381302189, 1381302188, 1381302187, 1381301123, 1381301118, 1381301113, 1381300433, 1381300431, 1381300429, 1381300427, 1381300299, 1381300289]} final : True mtd_id 4302 list_pids : [1381306312, 1381305788, 1381305787, 1381304798, 1381304794, 1381304790, 1381304786, 1381304413, 1381304412, 1381304411, 1381304410, 1381304173, 1381304172, 1381304171, 1381304170, 1381303906, 1381303904, 1381303902, 1381303899, 1381303897, 1381303717, 1381303715, 1381303713, 1381303711, 1381303239, 1381303236, 1381303233, 1381303230, 1381302514, 1381302513, 1381302512, 1381302511, 1381302189, 1381302188, 1381302187, 1381301123, 1381301118, 1381301113, 1381300433, 1381300431, 1381300429, 1381300427, 1381300299, 1381300289] Looping around the photos to save general results len do output : 1 /26509771Didn'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, '3662797') ('4302', '26509771', '1381306312', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381305788', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381305787', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304798', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304794', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304790', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304786', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304413', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304412', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304411', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304410', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304173', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304172', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304171', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381304170', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303906', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303904', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303902', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303899', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303897', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303717', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303715', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303713', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303711', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303239', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303236', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303233', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381303230', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302514', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302513', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302512', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302511', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302189', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302188', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381302187', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381301123', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381301118', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381301113', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381300433', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381300431', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381300429', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381300427', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381300299', None, None, None, None, None, '3662797') ('4302', None, None, None, None, None, None, None, '3662797') ('4302', '26509771', '1381300289', None, None, None, None, None, '3662797') 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', None, '26509771', 'None', None, None, None, None, '3662797'), ('4302', '26509771', '1381306312', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381305788', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381305787', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304798', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304794', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304790', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304786', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304413', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304412', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304411', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304410', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304173', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304172', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304171', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381304170', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303906', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303904', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303902', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303899', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303897', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303717', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303715', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303713', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303711', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303239', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303236', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303233', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381303230', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381302514', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381302513', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381302512', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381302511', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381302189', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381302188', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381302187', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381301123', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381301118', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381301113', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381300433', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381300431', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381300429', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381300427', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381300299', None, None, None, None, None, '3662797'), ('4302', '26509771', '1381300289', None, None, None, None, None, '3662797')] time used for this insertion : 0.3684351444244385 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.714799404144287 time spend to save output : 0.36890459060668945 total time spend for step 5 : 10.083703994750977 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 (3662797) 3.46user 2.27system 0:25.95elapsed 22%CPU (0avgtext+0avgdata 162512maxresident)k 256inputs+32056outputs (8major+87628minor)pagefaults 0swaps