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 : 672409 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 (3693245) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3693245) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26711220 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3693245'] with mtr_portfolio_ids : ['26711220'] and first list_photo_ids : [] new path : /proc/672409/ Name: python3 Umask: 0002 State: R (running) Tgid: 672409 Ngid: 0 Pid: 672409 PPid: 672408 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 672409 NSpid: 672409 NSpgid: 671772 NSsid: 671772 VmPeak: 1107252 kB VmSize: 1107252 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98420 kB VmRSS: 98420 kB RssAnon: 60156 kB RssFile: 38264 kB RssShmem: 0 kB VmData: 866004 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 548 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: 48 nonvoluntary_ctxt_switches: 153 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '672409', 'Ngid': '0', 'Pid': '672409', 'PPid': '672408', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '672409', 'NSpid': '672409', 'NSpgid': '671772', 'NSsid': '671772', 'VmPeak': '1107252 kB', 'VmSize': '1107252 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98420 kB', 'VmRSS': '98420 kB', 'RssAnon': '60156 kB', 'RssFile': '38264 kB', 'RssShmem': '0 kB', 'VmData': '866004 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '548 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': '48', 'nonvoluntary_ctxt_switches': '153'} ('datou_batch_current', '672409', '1107252', '0', '1107252', '866004', '98420', b'', 'marlene', '3693245') 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 (26711220) 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 (3693245 ) ) 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 (26711220) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1382891378, 'portfolio_id': 26711220}, {'photo_id': 1382874782, 'portfolio_id': 26711220}, {'photo_id': 1382874769, 'portfolio_id': 26711220}, {'photo_id': 1382874764, 'portfolio_id': 26711220}, {'photo_id': 1382874749, 'portfolio_id': 26711220}, {'photo_id': 1382874745, 'portfolio_id': 26711220}, {'photo_id': 1382874742, 'portfolio_id': 26711220}, {'photo_id': 1382874740, 'portfolio_id': 26711220}, {'photo_id': 1382874737, 'portfolio_id': 26711220}, {'photo_id': 1382874736, 'portfolio_id': 26711220}, {'photo_id': 1382874723, 'portfolio_id': 26711220}, {'photo_id': 1382874718, 'portfolio_id': 26711220}, {'photo_id': 1382874714, 'portfolio_id': 26711220}, {'photo_id': 1382874707, 'portfolio_id': 26711220}, {'photo_id': 1382874703, 'portfolio_id': 26711220}, {'photo_id': 1382874702, 'portfolio_id': 26711220}, {'photo_id': 1382874692, 'portfolio_id': 26711220}, {'photo_id': 1382874686, 'portfolio_id': 26711220}, {'photo_id': 1382874681, 'portfolio_id': 26711220}, {'photo_id': 1382874677, 'portfolio_id': 26711220}, {'photo_id': 1382874673, 'portfolio_id': 26711220}, {'photo_id': 1382874671, 'portfolio_id': 26711220}, {'photo_id': 1382874659, 'portfolio_id': 26711220}, {'photo_id': 1382874656, 'portfolio_id': 26711220}, {'photo_id': 1382874651, 'portfolio_id': 26711220}, {'photo_id': 1382874647, 'portfolio_id': 26711220}, {'photo_id': 1382874644, 'portfolio_id': 26711220}, {'photo_id': 1382874640, 'portfolio_id': 26711220}, {'photo_id': 1382874433, 'portfolio_id': 26711220}, {'photo_id': 1382874428, 'portfolio_id': 26711220}, {'photo_id': 1382874417, 'portfolio_id': 26711220}, {'photo_id': 1382874390, 'portfolio_id': 26711220}, {'photo_id': 1382874084, 'portfolio_id': 26711220}, {'photo_id': 1382874044, 'portfolio_id': 26711220}, {'photo_id': 1382873992, 'portfolio_id': 26711220}] map_portfolio_id_photo_id: {26711220: [1382891378, 1382874782, 1382874769, 1382874764, 1382874749, 1382874745, 1382874742, 1382874740, 1382874737, 1382874736, 1382874723, 1382874718, 1382874714, 1382874707, 1382874703, 1382874702, 1382874692, 1382874686, 1382874681, 1382874677, 1382874673, 1382874671, 1382874659, 1382874656, 1382874651, 1382874647, 1382874644, 1382874640, 1382874433, 1382874428, 1382874417, 1382874390, 1382874084, 1382874044, 1382873992]} ##### 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.0930783748626709 #### 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 11 05:44:26 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 (26711220) 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 : 26711220 get user id for portfolio 26711220 get sub ptf for main ptf 26711220, type 3726 and hashtags ['autre_refus', 'metal', 'plastique', 'kraft', 'papier', 'Carton_brun', 'mal_croppe', 'environnement', 'Carton_gris', 'Teint_Dans_La_Masse', 'cartonnette', 'flou'] 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`=26711220 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','metal','plastique','kraft','papier','Carton_brun','mal_croppe','environnement','Carton_gris','Teint_Dans_La_Masse','cartonnette','flou')) 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`=26711220 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','metal','plastique','kraft','papier','Carton_brun','mal_croppe','environnement','Carton_gris','Teint_Dans_La_Masse','cartonnette','flou')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 26711220, 'sub_port_id': 26711267, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18007935, 'last_updated_at': datetime.datetime(2025, 9, 10, 8, 59, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 10, 8, 59, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 10, 4, 5, 27)}, 'metal': {'main_port_id': 26711220, 'sub_port_id': 26711268, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18007936, 'last_updated_at': datetime.datetime(2025, 9, 10, 8, 59, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 10, 8, 59, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 10, 4, 5, 27)}, 'environnement': {'main_port_id': 26711220, 'sub_port_id': 26711269, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18007937, 'last_updated_at': datetime.datetime(2025, 9, 10, 8, 59, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 10, 8, 59, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 10, 4, 5, 27)}, 'autre_refus': {'main_port_id': 26711220, 'sub_port_id': 26711270, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18007938, 'last_updated_at': datetime.datetime(2025, 9, 10, 8, 59, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 10, 8, 59, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 10, 4, 5, 27)}, 'papier': {'main_port_id': 26711220, 'sub_port_id': 26711271, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18007939, 'last_updated_at': datetime.datetime(2025, 9, 10, 8, 59, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 10, 8, 59, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 10, 4, 5, 27)}, 'mal_croppe': {'main_port_id': 26711220, 'sub_port_id': 26711273, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18007940, 'last_updated_at': datetime.datetime(2025, 9, 10, 8, 59, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 10, 8, 59, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 10, 4, 5, 27)}, 'flou': {'main_port_id': 26711220, 'sub_port_id': 26711274, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18007941, 'last_updated_at': datetime.datetime(2025, 9, 10, 8, 59, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 10, 8, 59, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 10, 4, 5, 27)}, 'kraft': {'main_port_id': 26711220, 'sub_port_id': 26711275, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18007942, 'last_updated_at': datetime.datetime(2025, 9, 10, 8, 59, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 10, 8, 59, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 10, 4, 5, 27)}, 'Carton_brun': {'main_port_id': 26711220, 'sub_port_id': 26711276, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18007943, 'last_updated_at': datetime.datetime(2025, 9, 10, 8, 59, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 10, 8, 59, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 10, 4, 5, 27)}, 'plastique': {'main_port_id': 26711220, 'sub_port_id': 26711277, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18007944, 'last_updated_at': datetime.datetime(2025, 9, 10, 8, 59, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 10, 8, 59, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 10, 4, 5, 27)}, 'Carton_gris': {'main_port_id': 26711220, 'sub_port_id': 26711278, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18007945, 'last_updated_at': datetime.datetime(2025, 9, 10, 8, 59, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 10, 8, 59, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 10, 4, 5, 27)}, 'cartonnette': {'main_port_id': 26711220, 'sub_port_id': 26711279, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18007946, 'last_updated_at': datetime.datetime(2025, 9, 10, 8, 59, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 10, 8, 59, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 10, 4, 5, 27)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26711267 , 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=26711220 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 (26711267) result : ((1382874704,), (1382874705,), (1382874706,), (1382875165,), (1382875166,), (1382875167,), (1382875168,), (1382875169,), (1382875170,), (1382875171,), (1382875172,), (1382875210,), (1382875211,), (1382876366,), (1382876367,), (1382876368,), (1382876369,), (1382876370,), (1382876371,), (1382876373,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26711220) result : ((1382873992,), (1382874044,), (1382874084,), (1382874390,), (1382874417,), (1382874428,), (1382874433,), (1382874640,), (1382874644,), (1382874647,), (1382874651,), (1382874656,), (1382874659,), (1382874671,), (1382874673,), (1382874677,), (1382874681,), (1382874686,), (1382874692,), (1382874702,), (1382874703,), (1382874707,), (1382874714,), (1382874718,), (1382874723,), (1382874736,), (1382874737,), (1382874740,), (1382874742,), (1382874745,), (1382874749,), (1382874764,), (1382874769,), (1382874782,), (1382891378,)) 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 26711268 , 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=26711220 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 (26711268) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26711220) result : ((1382873992,), (1382874044,), (1382874084,), (1382874390,), (1382874417,), (1382874428,), (1382874433,), (1382874640,), (1382874644,), (1382874647,), (1382874651,), (1382874656,), (1382874659,), (1382874671,), (1382874673,), (1382874677,), (1382874681,), (1382874686,), (1382874692,), (1382874702,), (1382874703,), (1382874707,), (1382874714,), (1382874718,), (1382874723,), (1382874736,), (1382874737,), (1382874740,), (1382874742,), (1382874745,), (1382874749,), (1382874764,), (1382874769,), (1382874782,), (1382891378,)) 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 26711269 , 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=26711220 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 (26711269) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26711220) result : ((1382873992,), (1382874044,), (1382874084,), (1382874390,), (1382874417,), (1382874428,), (1382874433,), (1382874640,), (1382874644,), (1382874647,), (1382874651,), (1382874656,), (1382874659,), (1382874671,), (1382874673,), (1382874677,), (1382874681,), (1382874686,), (1382874692,), (1382874702,), (1382874703,), (1382874707,), (1382874714,), (1382874718,), (1382874723,), (1382874736,), (1382874737,), (1382874740,), (1382874742,), (1382874745,), (1382874749,), (1382874764,), (1382874769,), (1382874782,), (1382891378,)) 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 26711270 , 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=26711220 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 (26711270) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26711220) result : ((1382873992,), (1382874044,), (1382874084,), (1382874390,), (1382874417,), (1382874428,), (1382874433,), (1382874640,), (1382874644,), (1382874647,), (1382874651,), (1382874656,), (1382874659,), (1382874671,), (1382874673,), (1382874677,), (1382874681,), (1382874686,), (1382874692,), (1382874702,), (1382874703,), (1382874707,), (1382874714,), (1382874718,), (1382874723,), (1382874736,), (1382874737,), (1382874740,), (1382874742,), (1382874745,), (1382874749,), (1382874764,), (1382874769,), (1382874782,), (1382891378,)) 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 26711271 , 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=26711220 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 (26711271) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26711220) result : ((1382873992,), (1382874044,), (1382874084,), (1382874390,), (1382874417,), (1382874428,), (1382874433,), (1382874640,), (1382874644,), (1382874647,), (1382874651,), (1382874656,), (1382874659,), (1382874671,), (1382874673,), (1382874677,), (1382874681,), (1382874686,), (1382874692,), (1382874702,), (1382874703,), (1382874707,), (1382874714,), (1382874718,), (1382874723,), (1382874736,), (1382874737,), (1382874740,), (1382874742,), (1382874745,), (1382874749,), (1382874764,), (1382874769,), (1382874782,), (1382891378,)) 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 26711273 , 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=26711220 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 (26711273) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26711220) result : ((1382873992,), (1382874044,), (1382874084,), (1382874390,), (1382874417,), (1382874428,), (1382874433,), (1382874640,), (1382874644,), (1382874647,), (1382874651,), (1382874656,), (1382874659,), (1382874671,), (1382874673,), (1382874677,), (1382874681,), (1382874686,), (1382874692,), (1382874702,), (1382874703,), (1382874707,), (1382874714,), (1382874718,), (1382874723,), (1382874736,), (1382874737,), (1382874740,), (1382874742,), (1382874745,), (1382874749,), (1382874764,), (1382874769,), (1382874782,), (1382891378,)) 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 26711274 , 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=26711220 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 (26711274) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26711220) result : ((1382873992,), (1382874044,), (1382874084,), (1382874390,), (1382874417,), (1382874428,), (1382874433,), (1382874640,), (1382874644,), (1382874647,), (1382874651,), (1382874656,), (1382874659,), (1382874671,), (1382874673,), (1382874677,), (1382874681,), (1382874686,), (1382874692,), (1382874702,), (1382874703,), (1382874707,), (1382874714,), (1382874718,), (1382874723,), (1382874736,), (1382874737,), (1382874740,), (1382874742,), (1382874745,), (1382874749,), (1382874764,), (1382874769,), (1382874782,), (1382891378,)) 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 26711275 , 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=26711220 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 (26711275) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26711220) result : ((1382873992,), (1382874044,), (1382874084,), (1382874390,), (1382874417,), (1382874428,), (1382874433,), (1382874640,), (1382874644,), (1382874647,), (1382874651,), (1382874656,), (1382874659,), (1382874671,), (1382874673,), (1382874677,), (1382874681,), (1382874686,), (1382874692,), (1382874702,), (1382874703,), (1382874707,), (1382874714,), (1382874718,), (1382874723,), (1382874736,), (1382874737,), (1382874740,), (1382874742,), (1382874745,), (1382874749,), (1382874764,), (1382874769,), (1382874782,), (1382891378,)) 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 26711276 , 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=26711220 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 (26711276) result : ((1382875180,), (1382876374,), (1382876376,), (1382876377,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26711220) result : ((1382873992,), (1382874044,), (1382874084,), (1382874390,), (1382874417,), (1382874428,), (1382874433,), (1382874640,), (1382874644,), (1382874647,), (1382874651,), (1382874656,), (1382874659,), (1382874671,), (1382874673,), (1382874677,), (1382874681,), (1382874686,), (1382874692,), (1382874702,), (1382874703,), (1382874707,), (1382874714,), (1382874718,), (1382874723,), (1382874736,), (1382874737,), (1382874740,), (1382874742,), (1382874745,), (1382874749,), (1382874764,), (1382874769,), (1382874782,), (1382891378,)) 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 26711277 , 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=26711220 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 (26711277) result : ((1382874712,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26711220) result : ((1382873992,), (1382874044,), (1382874084,), (1382874390,), (1382874417,), (1382874428,), (1382874433,), (1382874640,), (1382874644,), (1382874647,), (1382874651,), (1382874656,), (1382874659,), (1382874671,), (1382874673,), (1382874677,), (1382874681,), (1382874686,), (1382874692,), (1382874702,), (1382874703,), (1382874707,), (1382874714,), (1382874718,), (1382874723,), (1382874736,), (1382874737,), (1382874740,), (1382874742,), (1382874745,), (1382874749,), (1382874764,), (1382874769,), (1382874782,), (1382891378,)) 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 26711278 , 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=26711220 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 (26711278) result : ((1382874690,), (1382874708,), (1382874709,), (1382874774,), (1382875173,), (1382875174,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26711220) result : ((1382873992,), (1382874044,), (1382874084,), (1382874390,), (1382874417,), (1382874428,), (1382874433,), (1382874640,), (1382874644,), (1382874647,), (1382874651,), (1382874656,), (1382874659,), (1382874671,), (1382874673,), (1382874677,), (1382874681,), (1382874686,), (1382874692,), (1382874702,), (1382874703,), (1382874707,), (1382874714,), (1382874718,), (1382874723,), (1382874736,), (1382874737,), (1382874740,), (1382874742,), (1382874745,), (1382874749,), (1382874764,), (1382874769,), (1382874782,), (1382891378,)) 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 26711279 , 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=26711220 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 (26711279) result : ((1382875175,), (1382875176,), (1382875178,), (1382875212,), (1382875213,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26711220) result : ((1382873992,), (1382874044,), (1382874084,), (1382874390,), (1382874417,), (1382874428,), (1382874433,), (1382874640,), (1382874644,), (1382874647,), (1382874651,), (1382874656,), (1382874659,), (1382874671,), (1382874673,), (1382874677,), (1382874681,), (1382874686,), (1382874692,), (1382874702,), (1382874703,), (1382874707,), (1382874714,), (1382874718,), (1382874723,), (1382874736,), (1382874737,), (1382874740,), (1382874742,), (1382874745,), (1382874749,), (1382874764,), (1382874769,), (1382874782,), (1382891378,)) 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`=26711220 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','metal','plastique','kraft','papier','Carton_brun','mal_croppe','environnement','Carton_gris','Teint_Dans_La_Masse','cartonnette','flou')) 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`=26711220 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','metal','plastique','kraft','papier','Carton_brun','mal_croppe','environnement','Carton_gris','Teint_Dans_La_Masse','cartonnette','flou')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 26711220, 'sub_port_id': 26711280, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18007947, 'last_updated_at': datetime.datetime(2025, 9, 10, 4, 5, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 10, 4, 5, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 10, 4, 5, 33)}, 'metal': {'main_port_id': 26711220, 'sub_port_id': 26711281, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18007948, 'last_updated_at': datetime.datetime(2025, 9, 10, 4, 5, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 10, 4, 5, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 10, 4, 5, 33)}, 'environnement': {'main_port_id': 26711220, 'sub_port_id': 26711282, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18007949, 'last_updated_at': datetime.datetime(2025, 9, 10, 4, 5, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 10, 4, 5, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 10, 4, 5, 33)}, 'autre_refus': {'main_port_id': 26711220, 'sub_port_id': 26711283, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18007950, 'last_updated_at': datetime.datetime(2025, 9, 10, 4, 5, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 10, 4, 5, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 10, 4, 5, 33)}, 'papier': {'main_port_id': 26711220, 'sub_port_id': 26711285, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18007951, 'last_updated_at': datetime.datetime(2025, 9, 10, 4, 5, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 10, 4, 5, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 10, 4, 5, 33)}, 'mal_croppe': {'main_port_id': 26711220, 'sub_port_id': 26711287, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18007952, 'last_updated_at': datetime.datetime(2025, 9, 10, 4, 5, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 10, 4, 5, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 10, 4, 5, 33)}, 'flou': {'main_port_id': 26711220, 'sub_port_id': 26711289, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18007953, 'last_updated_at': datetime.datetime(2025, 9, 10, 4, 5, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 10, 4, 5, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 10, 4, 5, 33)}, 'kraft': {'main_port_id': 26711220, 'sub_port_id': 26711291, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18007954, 'last_updated_at': datetime.datetime(2025, 9, 10, 4, 5, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 10, 4, 5, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 10, 4, 5, 33)}, 'Carton_brun': {'main_port_id': 26711220, 'sub_port_id': 26711293, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18007955, 'last_updated_at': datetime.datetime(2025, 9, 10, 4, 5, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 10, 4, 5, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 10, 4, 5, 33)}, 'plastique': {'main_port_id': 26711220, 'sub_port_id': 26711295, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18007956, 'last_updated_at': datetime.datetime(2025, 9, 10, 4, 5, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 10, 4, 5, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 10, 4, 5, 33)}, 'Carton_gris': {'main_port_id': 26711220, 'sub_port_id': 26711297, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18007957, 'last_updated_at': datetime.datetime(2025, 9, 10, 4, 5, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 10, 4, 5, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 10, 4, 5, 33)}, 'cartonnette': {'main_port_id': 26711220, 'sub_port_id': 26711299, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18007958, 'last_updated_at': datetime.datetime(2025, 9, 10, 8, 59, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 10, 8, 59, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 10, 4, 5, 33)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26711280,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26711267 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26711281,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26711268 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26711282,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26711269 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26711283,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26711270 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26711285,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26711271 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26711287,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26711273 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26711289,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26711274 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26711291,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26711275 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26711293,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26711276 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26711295,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26711277 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26711297,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26711278 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26711299,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26711279 lien utilise dans velours : https://marlene.fotonower.com/velours/26711280,26711281,26711282,26711283,26711285,26711287,26711289,26711291,26711293,26711295,26711297,26711299?tags=Teint_Dans_La_Masse,metal,environnement,autre_refus,papier,mal_croppe,flou,kraft,Carton_brun,plastique,Carton_gris,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26711220]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1382891378, 1382874782, 1382874769, 1382874764, 1382874749, 1382874745, 1382874742, 1382874740, 1382874737, 1382874736, 1382874723, 1382874718, 1382874714, 1382874707, 1382874703, 1382874702, 1382874692, 1382874686, 1382874681, 1382874677, 1382874673, 1382874671, 1382874659, 1382874656, 1382874651, 1382874647, 1382874644, 1382874640, 1382874433, 1382874428, 1382874417, 1382874390, 1382874084, 1382874044, 1382873992] map_info['map_portfolio_photo'] : {26711220: [1382891378, 1382874782, 1382874769, 1382874764, 1382874749, 1382874745, 1382874742, 1382874740, 1382874737, 1382874736, 1382874723, 1382874718, 1382874714, 1382874707, 1382874703, 1382874702, 1382874692, 1382874686, 1382874681, 1382874677, 1382874673, 1382874671, 1382874659, 1382874656, 1382874651, 1382874647, 1382874644, 1382874640, 1382874433, 1382874428, 1382874417, 1382874390, 1382874084, 1382874044, 1382873992]} final : False mtd_id 4302 list_pids : [1382891378, 1382874782, 1382874769, 1382874764, 1382874749, 1382874745, 1382874742, 1382874740, 1382874737, 1382874736, 1382874723, 1382874718, 1382874714, 1382874707, 1382874703, 1382874702, 1382874692, 1382874686, 1382874681, 1382874677, 1382874673, 1382874671, 1382874659, 1382874656, 1382874651, 1382874647, 1382874644, 1382874640, 1382874433, 1382874428, 1382874417, 1382874390, 1382874084, 1382874044, 1382873992] Looping around the photos to save general results len do output : 1 /26711220. 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, '3693245') ('4302', '26711220', '1382891378', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874782', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874769', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874764', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874749', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874745', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874742', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874740', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874737', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874736', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874723', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874718', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874714', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874707', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874703', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874702', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874692', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874686', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874681', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874677', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874673', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874671', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874659', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874656', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874651', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874647', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874644', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874640', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874433', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874428', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874417', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874390', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874084', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874044', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382873992', None, None, None, None, None, '3693245') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 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, '26711220', "{'Teint_Dans_La_Masse': 26711267, 'metal': 26711268, 'environnement': 26711269, 'autre_refus': 26711270, 'papier': 26711271, 'mal_croppe': 26711273, 'flou': 26711274, 'kraft': 26711275, 'Carton_brun': 26711276, 'plastique': 26711277, 'Carton_gris': 26711278, 'cartonnette': 26711279}", None, None, None, None, '3693245'), ('4302', '26711220', '1382891378', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874782', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874769', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874764', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874749', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874745', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874742', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874740', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874737', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874736', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874723', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874718', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874714', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874707', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874703', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874702', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874692', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874686', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874681', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874677', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874673', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874671', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874659', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874656', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874651', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874647', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874644', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874640', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874433', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874428', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874417', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874390', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874084', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874044', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382873992', None, None, None, None, None, '3693245')] time used for this insertion : 0.308337926864624 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6016027927398682 time spend to save output : 0.3087596893310547 total time spend for step 1 : 1.9103624820709229 step2:final Thu Sep 11 05:44:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 (26711220) 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 26711220 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1382874084,1382874044,1382873992,1382874433,1382874428,1382874417,1382874390,1382874723,1382874659,1382874718,1382874656,1382874651,1382874714,1382874647,1382874707,1382874644,1382874703,1382874640,1382874702,1382874692,1382874686,1382874681,1382874677,1382874673,1382874671,1382874749,1382874745,1382874742,1382874740,1382874737,1382874736,1382874769,1382874764,1382891378,1382874782); 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([26711220]) Inside saveOutput : final : False verbose : True original output for save of step final : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} new output for save of step final : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} [1382891378, 1382874782, 1382874769, 1382874764, 1382874749, 1382874745, 1382874742, 1382874740, 1382874737, 1382874736, 1382874723, 1382874718, 1382874714, 1382874707, 1382874703, 1382874702, 1382874692, 1382874686, 1382874681, 1382874677, 1382874673, 1382874671, 1382874659, 1382874656, 1382874651, 1382874647, 1382874644, 1382874640, 1382874433, 1382874428, 1382874417, 1382874390, 1382874084, 1382874044, 1382873992] map_info['map_portfolio_photo'] : {26711220: [1382891378, 1382874782, 1382874769, 1382874764, 1382874749, 1382874745, 1382874742, 1382874740, 1382874737, 1382874736, 1382874723, 1382874718, 1382874714, 1382874707, 1382874703, 1382874702, 1382874692, 1382874686, 1382874681, 1382874677, 1382874673, 1382874671, 1382874659, 1382874656, 1382874651, 1382874647, 1382874644, 1382874640, 1382874433, 1382874428, 1382874417, 1382874390, 1382874084, 1382874044, 1382873992]} final : False mtd_id 4302 list_pids : [1382891378, 1382874782, 1382874769, 1382874764, 1382874749, 1382874745, 1382874742, 1382874740, 1382874737, 1382874736, 1382874723, 1382874718, 1382874714, 1382874707, 1382874703, 1382874702, 1382874692, 1382874686, 1382874681, 1382874677, 1382874673, 1382874671, 1382874659, 1382874656, 1382874651, 1382874647, 1382874644, 1382874640, 1382874433, 1382874428, 1382874417, 1382874390, 1382874084, 1382874044, 1382873992] Looping around the photos to save general results len do output : 35 /1382891378.Didn't retrieve data . /1382874782.Didn't retrieve data . /1382874769.Didn't retrieve data . /1382874764.Didn't retrieve data . /1382874749.Didn't retrieve data . /1382874745.Didn't retrieve data . /1382874742.Didn't retrieve data . /1382874740.Didn't retrieve data . /1382874737.Didn't retrieve data . /1382874736.Didn't retrieve data . /1382874723.Didn't retrieve data . /1382874718.Didn't retrieve data . /1382874714.Didn't retrieve data . /1382874707.Didn't retrieve data . /1382874703.Didn't retrieve data . /1382874702.Didn't retrieve data . /1382874692.Didn't retrieve data . /1382874686.Didn't retrieve data . /1382874681.Didn't retrieve data . /1382874677.Didn't retrieve data . /1382874673.Didn't retrieve data . /1382874671.Didn't retrieve data . /1382874659.Didn't retrieve data . /1382874656.Didn't retrieve data . /1382874651.Didn't retrieve data . /1382874647.Didn't retrieve data . /1382874644.Didn't retrieve data . /1382874640.Didn't retrieve data . /1382874433.Didn't retrieve data . /1382874428.Didn't retrieve data . /1382874417.Didn't retrieve data . /1382874390.Didn't retrieve data . /1382874084.Didn't retrieve data . /1382874044.Didn't retrieve data . /1382873992.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, '3693245') ('4302', '26711220', '1382891378', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874782', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874769', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874764', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874749', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874745', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874742', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874740', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874737', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874736', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874723', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874718', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874714', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874707', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874703', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874702', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874692', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874686', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874681', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874677', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874673', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874671', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874659', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874656', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874651', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874647', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874644', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874640', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874433', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874428', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874417', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874390', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874084', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874044', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382873992', None, None, None, None, None, '3693245') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 105 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', '26711220', '1382891378', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874782', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874769', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874764', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874749', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874745', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874742', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874740', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874737', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874736', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874723', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874718', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874714', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874707', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874703', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874702', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874692', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874686', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874681', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874677', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874673', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874671', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874659', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874656', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874651', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874647', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874644', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874640', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874433', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874428', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874417', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874390', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874084', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382874044', '0.05716533162343222', None, None, None, None, '3693245'), ('4302', '26711220', '1382873992', '0.05716533162343222', None, None, None, None, '3693245')] time used for this insertion : 0.022665977478027344 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06428861618041992 time spend to save output : 0.024183988571166992 total time spend for step 2 : 0.08847260475158691 step3:velours_tree Thu Sep 11 05:44:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {26711220: [{'Teint_Dans_La_Masse': 26711267, 'metal': 26711268, 'environnement': 26711269, 'autre_refus': 26711270, 'papier': 26711271, 'mal_croppe': 26711273, 'flou': 26711274, 'kraft': 26711275, 'Carton_brun': 26711276, 'plastique': 26711277, 'Carton_gris': 26711278, 'cartonnette': 26711279}]} input_args_next_step : {26711220: ()} output_args : {26711220: [{'Teint_Dans_La_Masse': 26711267, 'metal': 26711268, 'environnement': 26711269, 'autre_refus': 26711270, 'papier': 26711271, 'mal_croppe': 26711273, 'flou': 26711274, 'kraft': 26711275, 'Carton_brun': 26711276, 'plastique': 26711277, 'Carton_gris': 26711278, 'cartonnette': 26711279}]} args : 26711220 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 : ({'Teint_Dans_La_Masse': 26711267, 'metal': 26711268, 'environnement': 26711269, 'autre_refus': 26711270, 'papier': 26711271, 'mal_croppe': 26711273, 'flou': 26711274, 'kraft': 26711275, 'Carton_brun': 26711276, 'plastique': 26711277, 'Carton_gris': 26711278, 'cartonnette': 26711279},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26711220) 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([26711220]) 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.33983874320983887 time spend to save output : 4.792213439941406e-05 total time spend for step 3 : 0.3398866653442383 step4:send_mail_cod Thu Sep 11 05:44:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} input_args_next_step : {1382891378: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382891378 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874782 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874769 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874764 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874749 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874745 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874742 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874740 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874737 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874736 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874723 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874718 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874714 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874707 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874703 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874702 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874692 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874686 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874681 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874677 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874673 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874671 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874659 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874656 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874651 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874647 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874644 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874640 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874433 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874428 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874417 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874390 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874084 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382874044 depend.output_id : 0 input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ()} output_args : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',)} args : 1382873992 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 : {26711220: [{'Teint_Dans_La_Masse': 26711267, 'metal': 26711268, 'environnement': 26711269, 'autre_refus': 26711270, 'papier': 26711271, 'mal_croppe': 26711273, 'flou': 26711274, 'kraft': 26711275, 'Carton_brun': 26711276, 'plastique': 26711277, 'Carton_gris': 26711278, 'cartonnette': 26711279}]} input_args_next_step : {1382891378: ('0.05716533162343222',), 1382874782: ('0.05716533162343222',), 1382874769: ('0.05716533162343222',), 1382874764: ('0.05716533162343222',), 1382874749: ('0.05716533162343222',), 1382874745: ('0.05716533162343222',), 1382874742: ('0.05716533162343222',), 1382874740: ('0.05716533162343222',), 1382874737: ('0.05716533162343222',), 1382874736: ('0.05716533162343222',), 1382874723: ('0.05716533162343222',), 1382874718: ('0.05716533162343222',), 1382874714: ('0.05716533162343222',), 1382874707: ('0.05716533162343222',), 1382874703: ('0.05716533162343222',), 1382874702: ('0.05716533162343222',), 1382874692: ('0.05716533162343222',), 1382874686: ('0.05716533162343222',), 1382874681: ('0.05716533162343222',), 1382874677: ('0.05716533162343222',), 1382874673: ('0.05716533162343222',), 1382874671: ('0.05716533162343222',), 1382874659: ('0.05716533162343222',), 1382874656: ('0.05716533162343222',), 1382874651: ('0.05716533162343222',), 1382874647: ('0.05716533162343222',), 1382874644: ('0.05716533162343222',), 1382874640: ('0.05716533162343222',), 1382874433: ('0.05716533162343222',), 1382874428: ('0.05716533162343222',), 1382874417: ('0.05716533162343222',), 1382874390: ('0.05716533162343222',), 1382874084: ('0.05716533162343222',), 1382874044: ('0.05716533162343222',), 1382873992: ('0.05716533162343222',), 26711220: ()} output_args : {26711220: [{'Teint_Dans_La_Masse': 26711267, 'metal': 26711268, 'environnement': 26711269, 'autre_refus': 26711270, 'papier': 26711271, 'mal_croppe': 26711273, 'flou': 26711274, 'kraft': 26711275, 'Carton_brun': 26711276, 'plastique': 26711277, 'Carton_gris': 26711278, 'cartonnette': 26711279}]} args : 26711220 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 :36, first value : ('0.05716533162343222',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26711220) 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 (1382891378,1382874782,1382874769,1382874764,1382874749,1382874745,1382874742,1382874740,1382874737,1382874736,1382874723,1382874718,1382874714,1382874707,1382874703,1382874702,1382874692,1382874686,1382874681,1382874677,1382874673,1382874671,1382874659,1382874656,1382874651,1382874647,1382874644,1382874640,1382874433,1382874428,1382874417,1382874390,1382874084,1382874044,1382873992) Found this number of photos: 35 ##### Call download_photos : nb_thread : 5 begin to download photo : 1382873992 begin to download photo : 1382874644 begin to download photo : 1382874681 begin to download photo : 1382874723 begin to download photo : 1382874769 download finish for photo 1382874681 begin to download photo : 1382874686 download finish for photo 1382874723 begin to download photo : 1382874736 download finish for photo 1382874644 begin to download photo : 1382874647 download finish for photo 1382873992 begin to download photo : 1382874044 download finish for photo 1382874647 begin to download photo : 1382874651 download finish for photo 1382874044 begin to download photo : 1382874084 download finish for photo 1382874769 begin to download photo : 1382874782 download finish for photo 1382874736 begin to download photo : 1382874737 download finish for photo 1382874686 begin to download photo : 1382874692 download finish for photo 1382874651 begin to download photo : 1382874656 download finish for photo 1382874084 begin to download photo : 1382874390 download finish for photo 1382874692 begin to download photo : 1382874702 download finish for photo 1382874782 begin to download photo : 1382891378 download finish for photo 1382874737 begin to download photo : 1382874740 download finish for photo 1382874390 begin to download photo : 1382874417 download finish for photo 1382874656 begin to download photo : 1382874659 download finish for photo 1382874702 begin to download photo : 1382874703 download finish for photo 1382891378 download finish for photo 1382874740 begin to download photo : 1382874742 download finish for photo 1382874703 begin to download photo : 1382874707 download finish for photo 1382874659 begin to download photo : 1382874671 download finish for photo 1382874417 begin to download photo : 1382874428 download finish for photo 1382874742 begin to download photo : 1382874745 download finish for photo 1382874671 begin to download photo : 1382874673 download finish for photo 1382874707 begin to download photo : 1382874714 download finish for photo 1382874428 begin to download photo : 1382874433 download finish for photo 1382874745 begin to download photo : 1382874749 download finish for photo 1382874714 begin to download photo : 1382874718 download finish for photo 1382874673 begin to download photo : 1382874677 download finish for photo 1382874433 begin to download photo : 1382874640 download finish for photo 1382874718 download finish for photo 1382874749 begin to download photo : 1382874764 download finish for photo 1382874677 download finish for photo 1382874640 download finish for photo 1382874764 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette267112681757562270/ imagette267112701757562270/ imagette267112731757562270/ imagette267112741757562270/ imagette267112751757562270/ length of list_filenames : 35 ; length of list_pids : 35 ; length of list_args : 35 results_Auto_P26711220_11-09-2025_05_44_30.pdf 26711268 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=26711268 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette267112681757562270 26711270 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=26711270 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette267112701757562270 26711273 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=26711273 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette267112731757562270 26711274 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=26711274 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette267112741757562270 26711275 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=26711275 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette267112751757562270 26711277 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=26711277 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1382874712: '1757470045_238770_1382874044_019822d9f40bbe6b46280eda6b27830f_rle_crop_3953090676_0.png'} change filename to text .imagette267112771757562270/ imagette267112771757562270/1757470045_238770_1382874044_019822d9f40bbe6b46280eda6b27830f_rle_crop_3953090676_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/93b646ab53e9eda34bd83416a16d8700_37987036.png imagette267112771757562270 26711279 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=26711279 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1382875175: '1757470346_253553_1382874742_e224907bdd17f39748d5b48198883bb1_rle_crop_3953091757_0.png', 1382875176: '1757470346_253553_1382874740_72e121c33c06e955a6750dbbb612b200_rle_crop_3953091768_0.png', 1382875178: '1757470346_253553_1382874736_a800f165d1c048ab95cef2b06a77e3be_rle_crop_3953091795_0.png', 1382875212: '1757470386_254870_1382874702_084e1272da9b326e7054dc70ec99ec49_rle_crop_3953092040_0.png', 1382875213: '1757470386_254870_1382874640_b5d68ec1d63db79dc6d5491c27472870_rle_crop_3953092098_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/341becde334cde57c3c2f9c9b3640a3f_33095059.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/3b2230214b82c16cc11f570641108b67_80386237.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/435cc2962c9ca8e35af9fd85bef4d5a7_37607256.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/6487b18dfb53d7091352672ae89f92a8_64281307.png change filename to text .imagette267112791757562270/ imagette267112791757562270/1757470346_253553_1382874740_72e121c33c06e955a6750dbbb612b200_rle_crop_3953091768_0.png.png imagette267112791757562270/1757470386_254870_1382874640_b5d68ec1d63db79dc6d5491c27472870_rle_crop_3953092098_0.png.png imagette267112791757562270/1757470346_253553_1382874736_a800f165d1c048ab95cef2b06a77e3be_rle_crop_3953091795_0.png.png imagette267112791757562270/1757470346_253553_1382874742_e224907bdd17f39748d5b48198883bb1_rle_crop_3953091757_0.png.png imagette267112791757562270/1757470386_254870_1382874702_084e1272da9b326e7054dc70ec99ec49_rle_crop_3953092040_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/6487b18dfb53d7091352672ae89f92a8_93190336.png imagette267112791757562270 26711267 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=26711267 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1382875172: '1757470346_253553_1382874736_a800f165d1c048ab95cef2b06a77e3be_rle_crop_3953091799_0.png', 1382876373: '1757472445_346570_1382874677_49bc4a41ff89ea0a51991eecbec1369b_rle_crop_3953096419_0.png', 1382876371: '1757472445_346570_1382874677_49bc4a41ff89ea0a51991eecbec1369b_rle_crop_3953096422_0.png', 1382876370: '1757472445_346570_1382874681_27f947cbb6b95dd81e16c886f38e865b_rle_crop_3953096405_0.png', 1382876369: '1757472445_346570_1382874681_27f947cbb6b95dd81e16c886f38e865b_rle_crop_3953096409_0.png', 1382876368: '1757472445_346570_1382874686_f11555e4a5dc5c037488e1c46bc7a853_rle_crop_3953096397_0.png', 1382876367: '1757472445_346570_1382874749_dadd2d64d841e8970eb9dbfb8a4968ee_rle_crop_3953096385_0.png', 1382876366: '1757472445_346570_1382874749_dadd2d64d841e8970eb9dbfb8a4968ee_rle_crop_3953096380_0.png', 1382875211: '1757470386_254870_1382874692_b8e277c2c39bddd928a6627b69872c64_rle_crop_3953092059_0.png', 1382875210: '1757470386_254870_1382874692_b8e277c2c39bddd928a6627b69872c64_rle_crop_3953092058_0.png', 1382874704: '1757470045_238770_1382874433_62e503f855bd510608c6f3d68e534bcc_rle_crop_3953090647_0.png', 1382875171: '1757470346_253553_1382874736_a800f165d1c048ab95cef2b06a77e3be_rle_crop_3953091800_0.png', 1382875170: '1757470346_253553_1382874740_72e121c33c06e955a6750dbbb612b200_rle_crop_3953091779_0.png', 1382875169: '1757470346_253553_1382874742_e224907bdd17f39748d5b48198883bb1_rle_crop_3953091761_0.png', 1382875168: '1757470346_253553_1382874742_e224907bdd17f39748d5b48198883bb1_rle_crop_3953091765_0.png', 1382875167: '1757470346_253553_1382874742_e224907bdd17f39748d5b48198883bb1_rle_crop_3953091756_0.png', 1382875166: '1757470346_253553_1382874745_78f6a6f3a3bda7bafd7c51664b8e1360_rle_crop_3953091749_0.png', 1382875165: '1757470346_253553_1382874769_a492c7072ab94edb367df80a8679db9e_rle_crop_3953091734_0.png', 1382874706: '1757470045_238770_1382873992_492f3cf0c69627e228733f68feb14e5a_rle_crop_3953090686_0.png', 1382874705: '1757470045_238770_1382874084_5fff87a79d17c2146f94edef3ed71ddb_rle_crop_3953090664_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/b09324e317735fcc2f0ad547d7948a4d_25721978.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/38bcd0e3a688f397602cbb21962cdd6d_81695505.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/4fe4d4db71d517e9af6be97da9c43a51_39898457.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/94e2508fd95527b00a0f5e59555fcd29_71167257.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/4c45ad06d4522800a983373525dd4819_71717458.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/51bc45820d1ab40f09e00d18c4cb0098_35175321.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/70b786c6c35759cb0cb6912e3b4e51ec_4533162.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/72c37e3410164ecbe1a9836ed7b3c34a_28331849.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/946f1ff347549670ad1e5f1440930030_26784927.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/7116045a0fd3d6c48660b8651d617614_4337804.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/1e7a1f0b71e65ee1b03885fa793c7d4b_3856337.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/a982e080dce768e90c4fc45783710c88_44751815.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/b1171953e8d95ae34e8a5cdccf071e72_85347572.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/a19f50003303867c92240e4840a302e9_73344705.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/f75f08bf31e491369570500d03954af2_23249211.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/128780b2397c2e66e6f4730b7f0c9b5c_67745406.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/838cd8a21ef8d0e1886c07c5e924e7f2_44447942.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/8524519db72427496d80678e98612256_10362591.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/926a5a52ae2a36133f32cc51716975f3_14748151.png change filename to text .imagette267112671757562271/ imagette267112671757562271/1757472445_346570_1382874677_49bc4a41ff89ea0a51991eecbec1369b_rle_crop_3953096422_0.png.png imagette267112671757562271/1757470346_253553_1382874742_e224907bdd17f39748d5b48198883bb1_rle_crop_3953091765_0.png.png imagette267112671757562271/1757470346_253553_1382874745_78f6a6f3a3bda7bafd7c51664b8e1360_rle_crop_3953091749_0.png.png imagette267112671757562271/1757470346_253553_1382874742_e224907bdd17f39748d5b48198883bb1_rle_crop_3953091761_0.png.png imagette267112671757562271/1757472445_346570_1382874681_27f947cbb6b95dd81e16c886f38e865b_rle_crop_3953096409_0.png.png imagette267112671757562271/1757470346_253553_1382874742_e224907bdd17f39748d5b48198883bb1_rle_crop_3953091756_0.png.png imagette267112671757562271/1757470045_238770_1382874433_62e503f855bd510608c6f3d68e534bcc_rle_crop_3953090647_0.png.png imagette267112671757562271/1757470386_254870_1382874692_b8e277c2c39bddd928a6627b69872c64_rle_crop_3953092058_0.png.png imagette267112671757562271/1757470346_253553_1382874736_a800f165d1c048ab95cef2b06a77e3be_rle_crop_3953091799_0.png.png imagette267112671757562271/1757472445_346570_1382874686_f11555e4a5dc5c037488e1c46bc7a853_rle_crop_3953096397_0.png.png imagette267112671757562271/1757472445_346570_1382874749_dadd2d64d841e8970eb9dbfb8a4968ee_rle_crop_3953096380_0.png.png imagette267112671757562271/1757472445_346570_1382874677_49bc4a41ff89ea0a51991eecbec1369b_rle_crop_3953096419_0.png.png imagette267112671757562271/1757470045_238770_1382874084_5fff87a79d17c2146f94edef3ed71ddb_rle_crop_3953090664_0.png.png imagette267112671757562271/1757470386_254870_1382874692_b8e277c2c39bddd928a6627b69872c64_rle_crop_3953092059_0.png.png imagette267112671757562271/1757470346_253553_1382874740_72e121c33c06e955a6750dbbb612b200_rle_crop_3953091779_0.png.png imagette267112671757562271/1757472445_346570_1382874681_27f947cbb6b95dd81e16c886f38e865b_rle_crop_3953096405_0.png.png imagette267112671757562271/1757472445_346570_1382874749_dadd2d64d841e8970eb9dbfb8a4968ee_rle_crop_3953096385_0.png.png imagette267112671757562271/1757470045_238770_1382873992_492f3cf0c69627e228733f68feb14e5a_rle_crop_3953090686_0.png.png imagette267112671757562271/1757470346_253553_1382874769_a492c7072ab94edb367df80a8679db9e_rle_crop_3953091734_0.png.png imagette267112671757562271/1757470346_253553_1382874736_a800f165d1c048ab95cef2b06a77e3be_rle_crop_3953091800_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/8e41ee4dfae5fd8ca128a27ed9a30450_60043623.png imagette267112671757562271 26711276 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=26711276 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1382875180: '1757470346_253553_1382874745_78f6a6f3a3bda7bafd7c51664b8e1360_rle_crop_3953091742_0.png', 1382876374: '1757472445_346570_1382874749_dadd2d64d841e8970eb9dbfb8a4968ee_rle_crop_3953096381_0.png', 1382876376: '1757472445_346570_1382874686_f11555e4a5dc5c037488e1c46bc7a853_rle_crop_3953096393_0.png', 1382876377: '1757472445_346570_1382874677_49bc4a41ff89ea0a51991eecbec1369b_rle_crop_3953096417_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/bcf6bbfefa2350d102952438c762f80e_63048680.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/5350b0613ecf0dbb70424500b729f366_23553387.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/64d76696e292b51ba0a59742feddc487_49853920.png change filename to text .imagette267112761757562273/ imagette267112761757562273/1757472445_346570_1382874677_49bc4a41ff89ea0a51991eecbec1369b_rle_crop_3953096417_0.png.png imagette267112761757562273/1757472445_346570_1382874749_dadd2d64d841e8970eb9dbfb8a4968ee_rle_crop_3953096381_0.png.png imagette267112761757562273/1757472445_346570_1382874686_f11555e4a5dc5c037488e1c46bc7a853_rle_crop_3953096393_0.png.png imagette267112761757562273/1757470346_253553_1382874745_78f6a6f3a3bda7bafd7c51664b8e1360_rle_crop_3953091742_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/a18eb476666dfb1bc1ccc2001a506b98_16939786.png imagette267112761757562273 26711278 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=26711278 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1382874690: '1757470027_238383_1382874390_351c343759709ae758f9cb9a269c4a54_rle_crop_3953090508_0.png', 1382874708: '1757470045_238770_1382874433_62e503f855bd510608c6f3d68e534bcc_rle_crop_3953090640_0.png', 1382874709: '1757470045_238770_1382874044_019822d9f40bbe6b46280eda6b27830f_rle_crop_3953090671_0.png', 1382874774: '1757470144_243601_1382874390_351c343759709ae758f9cb9a269c4a54_rle_crop_3953090508_0.png', 1382875173: '1757470346_253553_1382874745_78f6a6f3a3bda7bafd7c51664b8e1360_rle_crop_3953091741_0.png', 1382875174: '1757470346_253553_1382874742_e224907bdd17f39748d5b48198883bb1_rle_crop_3953091755_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/4af525842037302fce950a5a55048c2f_8659794.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/bff66d834098503e7343b8a5cbb127fb_48468277.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/92ea7632983e8c5e6890b54653ae0223_12349247.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/4af525842037302fce950a5a55048c2f_37345973.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/af4ed235e9dc952df6abdb22c365c61e_97599197.png change filename to text .imagette267112781757562273/ imagette267112781757562273/1757470045_238770_1382874433_62e503f855bd510608c6f3d68e534bcc_rle_crop_3953090640_0.png.png imagette267112781757562273/1757470346_253553_1382874745_78f6a6f3a3bda7bafd7c51664b8e1360_rle_crop_3953091741_0.png.png imagette267112781757562273/1757470144_243601_1382874390_351c343759709ae758f9cb9a269c4a54_rle_crop_3953090508_0.png.png imagette267112781757562273/1757470346_253553_1382874742_e224907bdd17f39748d5b48198883bb1_rle_crop_3953091755_0.png.png imagette267112781757562273/1757470027_238383_1382874390_351c343759709ae758f9cb9a269c4a54_rle_crop_3953090508_0.png.png imagette267112781757562273/1757470045_238770_1382874044_019822d9f40bbe6b46280eda6b27830f_rle_crop_3953090671_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/39780df7598d7a1ef60e2bf754e0698c_74910799.png imagette267112781757562273 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26711220 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26711280,26711281,26711282,26711283,26711285,26711287,26711289,26711291,26711293,26711295,26711297,26711299?tags=Teint_Dans_La_Masse,metal,environnement,autre_refus,papier,mal_croppe,flou,kraft,Carton_brun,plastique,Carton_gris,cartonnette your option no_mail is active, we will not send the real mail to your client args[1382891378] : ('0.05716533162343222',) no score found for photo 1382891378 We are sending mail with results at report@fotonower.com args[1382874782] : ('0.05716533162343222',) no score found for photo 1382874782 We are sending mail with results at report@fotonower.com args[1382874769] : ('0.05716533162343222',) no score found for photo 1382874769 We are sending mail with results at report@fotonower.com args[1382874764] : ('0.05716533162343222',) no score found for photo 1382874764 We are sending mail with results at report@fotonower.com args[1382874749] : ('0.05716533162343222',) no score found for photo 1382874749 We are sending mail with results at report@fotonower.com args[1382874745] : ('0.05716533162343222',) no score found for photo 1382874745 We are sending mail with results at report@fotonower.com args[1382874742] : ('0.05716533162343222',) no score found for photo 1382874742 We are sending mail with results at report@fotonower.com args[1382874740] : ('0.05716533162343222',) no score found for photo 1382874740 We are sending mail with results at report@fotonower.com args[1382874737] : ('0.05716533162343222',) no score found for photo 1382874737 We are sending mail with results at report@fotonower.com args[1382874736] : ('0.05716533162343222',) no score found for photo 1382874736 We are sending mail with results at report@fotonower.com args[1382874723] : ('0.05716533162343222',) no score found for photo 1382874723 We are sending mail with results at report@fotonower.com args[1382874718] : ('0.05716533162343222',) no score found for photo 1382874718 We are sending mail with results at report@fotonower.com args[1382874714] : ('0.05716533162343222',) no score found for photo 1382874714 We are sending mail with results at report@fotonower.com args[1382874707] : ('0.05716533162343222',) no score found for photo 1382874707 We are sending mail with results at report@fotonower.com args[1382874703] : ('0.05716533162343222',) no score found for photo 1382874703 We are sending mail with results at report@fotonower.com args[1382874702] : ('0.05716533162343222',) no score found for photo 1382874702 We are sending mail with results at report@fotonower.com args[1382874692] : ('0.05716533162343222',) no score found for photo 1382874692 We are sending mail with results at report@fotonower.com args[1382874686] : ('0.05716533162343222',) no score found for photo 1382874686 We are sending mail with results at report@fotonower.com args[1382874681] : ('0.05716533162343222',) no score found for photo 1382874681 We are sending mail with results at report@fotonower.com args[1382874677] : ('0.05716533162343222',) no score found for photo 1382874677 We are sending mail with results at report@fotonower.com args[1382874673] : ('0.05716533162343222',) no score found for photo 1382874673 We are sending mail with results at report@fotonower.com args[1382874671] : ('0.05716533162343222',) no score found for photo 1382874671 We are sending mail with results at report@fotonower.com args[1382874659] : ('0.05716533162343222',) no score found for photo 1382874659 We are sending mail with results at report@fotonower.com args[1382874656] : ('0.05716533162343222',) no score found for photo 1382874656 We are sending mail with results at report@fotonower.com args[1382874651] : ('0.05716533162343222',) no score found for photo 1382874651 We are sending mail with results at report@fotonower.com args[1382874647] : ('0.05716533162343222',) no score found for photo 1382874647 We are sending mail with results at report@fotonower.com args[1382874644] : ('0.05716533162343222',) no score found for photo 1382874644 We are sending mail with results at report@fotonower.com args[1382874640] : ('0.05716533162343222',) no score found for photo 1382874640 We are sending mail with results at report@fotonower.com args[1382874433] : ('0.05716533162343222',) no score found for photo 1382874433 We are sending mail with results at report@fotonower.com args[1382874428] : ('0.05716533162343222',) no score found for photo 1382874428 We are sending mail with results at report@fotonower.com args[1382874417] : ('0.05716533162343222',) no score found for photo 1382874417 We are sending mail with results at report@fotonower.com args[1382874390] : ('0.05716533162343222',) no score found for photo 1382874390 We are sending mail with results at report@fotonower.com args[1382874084] : ('0.05716533162343222',) no score found for photo 1382874084 We are sending mail with results at report@fotonower.com args[1382874044] : ('0.05716533162343222',) no score found for photo 1382874044 We are sending mail with results at report@fotonower.com args[1382873992] : ('0.05716533162343222',) no score found for photo 1382873992 We are sending mail with results at report@fotonower.com refus_total : 0.05716533162343222 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=26711220 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_P26711220_11-09-2025_05_44_30.pdf results_Auto_P26711220_11-09-2025_05_44_30.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26711220_11-09-2025_05_44_30.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','26711220','results_Auto_P26711220_11-09-2025_05_44_30.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26711220_11-09-2025_05_44_30.pdf','pdf','','0.37','0.05716533162343222') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26711220]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1382891378, 1382874782, 1382874769, 1382874764, 1382874749, 1382874745, 1382874742, 1382874740, 1382874737, 1382874736, 1382874723, 1382874718, 1382874714, 1382874707, 1382874703, 1382874702, 1382874692, 1382874686, 1382874681, 1382874677, 1382874673, 1382874671, 1382874659, 1382874656, 1382874651, 1382874647, 1382874644, 1382874640, 1382874433, 1382874428, 1382874417, 1382874390, 1382874084, 1382874044, 1382873992] map_info['map_portfolio_photo'] : {26711220: [1382891378, 1382874782, 1382874769, 1382874764, 1382874749, 1382874745, 1382874742, 1382874740, 1382874737, 1382874736, 1382874723, 1382874718, 1382874714, 1382874707, 1382874703, 1382874702, 1382874692, 1382874686, 1382874681, 1382874677, 1382874673, 1382874671, 1382874659, 1382874656, 1382874651, 1382874647, 1382874644, 1382874640, 1382874433, 1382874428, 1382874417, 1382874390, 1382874084, 1382874044, 1382873992]} final : False mtd_id 4302 list_pids : [1382891378, 1382874782, 1382874769, 1382874764, 1382874749, 1382874745, 1382874742, 1382874740, 1382874737, 1382874736, 1382874723, 1382874718, 1382874714, 1382874707, 1382874703, 1382874702, 1382874692, 1382874686, 1382874681, 1382874677, 1382874673, 1382874671, 1382874659, 1382874656, 1382874651, 1382874647, 1382874644, 1382874640, 1382874433, 1382874428, 1382874417, 1382874390, 1382874084, 1382874044, 1382873992] 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, '3693245') ('4302', '26711220', '1382891378', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874782', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874769', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874764', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874749', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874745', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874742', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874740', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874737', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874736', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874723', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874718', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874714', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874707', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874703', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874702', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874692', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874686', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874681', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874677', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874673', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874671', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874659', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874656', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874651', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874647', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874644', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874640', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874433', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874428', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874417', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874390', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874084', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874044', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382873992', None, None, None, None, None, '3693245') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 35 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', '26711220', '1382891378', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874782', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874769', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874764', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874749', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874745', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874742', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874740', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874737', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874736', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874723', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874718', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874714', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874707', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874703', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874702', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874692', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874686', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874681', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874677', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874673', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874671', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874659', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874656', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874651', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874647', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874644', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874640', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874433', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874428', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874417', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874390', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874084', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874044', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382873992', None, None, None, None, None, '3693245')] time used for this insertion : 0.021913766860961914 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.684863805770874 time spend to save output : 0.02233099937438965 total time spend for step 4 : 7.707194805145264 step5:split_time_score Thu Sep 11 05:44:36 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 : ['26711220'] 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 : [('26711220',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26711220) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1382874769: {'path': 'temp/1757562269_672409_1382874769_a492c7072ab94edb367df80a8679db9e.jpg', 'extension': 'jpg'}, 1382874782: {'path': 'temp/1757562269_672409_1382874782_13d25574a9bb94daa6ce1bcccbd22b7e.jpg', 'extension': 'jpg'}, 1382891378: {'path': 'temp/1757562269_672409_1382891378_ba1ee5e92b6d4a70b71f79d5162ca366.jpg', 'extension': 'jpg'}, 1382874681: {'path': 'temp/1757562269_672409_1382874681_27f947cbb6b95dd81e16c886f38e865b.jpg', 'extension': 'jpg'}, 1382874686: {'path': 'temp/1757562269_672409_1382874686_f11555e4a5dc5c037488e1c46bc7a853.jpg', 'extension': 'jpg'}, 1382874692: {'path': 'temp/1757562269_672409_1382874692_b8e277c2c39bddd928a6627b69872c64.jpg', 'extension': 'jpg'}, 1382874702: {'path': 'temp/1757562269_672409_1382874702_084e1272da9b326e7054dc70ec99ec49.jpg', 'extension': 'jpg'}, 1382874703: {'path': 'temp/1757562269_672409_1382874703_5da985397157195d28a286a0a6645505.jpg', 'extension': 'jpg'}, 1382874707: {'path': 'temp/1757562269_672409_1382874707_058888c8734f7bbc32c247af545aa6ac.jpg', 'extension': 'jpg'}, 1382874714: {'path': 'temp/1757562269_672409_1382874714_c38d283d2d573b1650fe57f898c4661c.jpg', 'extension': 'jpg'}, 1382874718: {'path': 'temp/1757562269_672409_1382874718_163cddbf8987fe8bbf0e88a3cef805ff.jpg', 'extension': 'jpg'}, 1382874644: {'path': 'temp/1757562269_672409_1382874644_3082e62a6d405e8809061da79f8efaf2.jpg', 'extension': 'jpg'}, 1382874647: {'path': 'temp/1757562269_672409_1382874647_efaa9c6fad47bbc2e8b9d4ae8c438678.jpg', 'extension': 'jpg'}, 1382874651: {'path': 'temp/1757562269_672409_1382874651_07fb511066862b70a80b22ff7f464c1b.jpg', 'extension': 'jpg'}, 1382874656: {'path': 'temp/1757562269_672409_1382874656_2a9a2ea1019bfb1f766f1da0f2b396d6.jpg', 'extension': 'jpg'}, 1382874659: {'path': 'temp/1757562269_672409_1382874659_bdc6bf21352878dd0fc7f8d526792a0e.jpg', 'extension': 'jpg'}, 1382874671: {'path': 'temp/1757562269_672409_1382874671_32a20d77ce261105c35c3c5520994c18.jpg', 'extension': 'jpg'}, 1382874673: {'path': 'temp/1757562269_672409_1382874673_00c3d159a6bc9847ecd552078392c2c1.jpg', 'extension': 'jpg'}, 1382874677: {'path': 'temp/1757562269_672409_1382874677_49bc4a41ff89ea0a51991eecbec1369b.jpg', 'extension': 'jpg'}, 1382873992: {'path': 'temp/1757562269_672409_1382873992_492f3cf0c69627e228733f68feb14e5a.jpg', 'extension': 'jpg'}, 1382874044: {'path': 'temp/1757562269_672409_1382874044_019822d9f40bbe6b46280eda6b27830f.jpg', 'extension': 'jpg'}, 1382874084: {'path': 'temp/1757562269_672409_1382874084_5fff87a79d17c2146f94edef3ed71ddb.jpg', 'extension': 'jpg'}, 1382874390: {'path': 'temp/1757562269_672409_1382874390_351c343759709ae758f9cb9a269c4a54.jpg', 'extension': 'jpg'}, 1382874417: {'path': 'temp/1757562269_672409_1382874417_7a90082e3a5aef36d66f38f80ee95d6e.jpg', 'extension': 'jpg'}, 1382874428: {'path': 'temp/1757562269_672409_1382874428_63a887a35798493ab976aa22a8f17b12.jpg', 'extension': 'jpg'}, 1382874433: {'path': 'temp/1757562269_672409_1382874433_62e503f855bd510608c6f3d68e534bcc.jpg', 'extension': 'jpg'}, 1382874640: {'path': 'temp/1757562269_672409_1382874640_b5d68ec1d63db79dc6d5491c27472870.jpg', 'extension': 'jpg'}, 1382874723: {'path': 'temp/1757562269_672409_1382874723_6955a5a1a0bea25158ad90f4c1e57a8f.jpg', 'extension': 'jpg'}, 1382874736: {'path': 'temp/1757562269_672409_1382874736_a800f165d1c048ab95cef2b06a77e3be.jpg', 'extension': 'jpg'}, 1382874737: {'path': 'temp/1757562269_672409_1382874737_04fb72771e8ebe7ceaffcc86703df6b1.jpg', 'extension': 'jpg'}, 1382874740: {'path': 'temp/1757562269_672409_1382874740_72e121c33c06e955a6750dbbb612b200.jpg', 'extension': 'jpg'}, 1382874742: {'path': 'temp/1757562269_672409_1382874742_e224907bdd17f39748d5b48198883bb1.jpg', 'extension': 'jpg'}, 1382874745: {'path': 'temp/1757562269_672409_1382874745_78f6a6f3a3bda7bafd7c51664b8e1360.jpg', 'extension': 'jpg'}, 1382874749: {'path': 'temp/1757562269_672409_1382874749_dadd2d64d841e8970eb9dbfb8a4968ee.jpg', 'extension': 'jpg'}, 1382874764: {'path': 'temp/1757562269_672409_1382874764_17879f6d189eac651f9bfd96d3417c65.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 = 26711220; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 26711220 group by h (('04', 35),) 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=26711220 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 (26711220) 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 (26711220) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 10092025 26711220 Nombre de photos uploadées : 35 / 23040 (0%) 10092025 26711220 Nombre de photos taguées (types de déchets): 0 / 35 (0%) 10092025 26711220 Nombre de photos taguées (volume) : 0 / 35 (0%) [{'photo_id': 1382874084, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/5fff87a79d17c2146f94edef3ed71ddb.jpg', 'username': None, 'uploaded_at': 1757469668, 'text': 'image_10092025_04_00_14_010194m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1382874044, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/019822d9f40bbe6b46280eda6b27830f.jpg', 'username': None, 'uploaded_at': 1757469668, 'text': 'image_10092025_04_00_24_010138m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1382873992, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/492f3cf0c69627e228733f68feb14e5a.jpg', 'username': None, 'uploaded_at': 1757469668, 'text': 'image_10092025_04_00_34_010143m0.jpg 3.0000000000000004e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1382874433, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/10/62e503f855bd510608c6f3d68e534bcc.jpg', 'username': None, 'uploaded_at': 1757469727, 'text': 'image_10092025_04_00_55_010136m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 4.0531158447265625e-06 elapsed_time : order_list_meta_photo_and_scores 9.059906005859375e-06 ??????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0015895366668701172 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26711220, '2025-09-10' ) 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-10' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2260415,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2095184326171875 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= 2260415 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26704232, 'dashboard_result_id': 15008107, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26704232_11-09-2025_05_34_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26704233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26704234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26704235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26704236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26704237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26704238, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26704239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26704240, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26704241, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26704242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26704243, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26704244, 'pht': 3726}}"}, {'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26704744, 'dashboard_result_id': 15008108, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26704744_11-09-2025_05_35_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26704797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26704798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26704799, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26704800, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26704801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26704802, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26704803, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26704804, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26704805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26704806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26704807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26704808, 'pht': 3726}}"}, {'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26705272, 'dashboard_result_id': 15008109, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26705272_11-09-2025_05_36_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26705278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26705279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26705280, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26705281, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26705282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26705283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26705284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26705285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26705286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26705287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26705288, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26705289, 'pht': 3726}}"}, {'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26705815, 'dashboard_result_id': 15008110, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26705815_11-09-2025_05_37_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26705821, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26705822, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26705823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26705824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26705825, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26705826, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26705827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26705828, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26705829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26705830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26705831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26705832, 'pht': 3726}}"}, {'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26706684, 'dashboard_result_id': 15008111, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26706684_11-09-2025_05_38_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26706703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26706704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26706705, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26706706, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26706707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26706708, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26706709, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26706710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26706711, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26706712, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26706713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26706714, 'pht': 3726}}"}, {'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26706992, 'dashboard_result_id': 15008112, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26706992_11-09-2025_05_38_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26706997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26706998, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26706999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26707000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26707001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26707002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26707003, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26707004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26707005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26707006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26707007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26707008, 'pht': 3726}}"}, {'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26707413, 'dashboard_result_id': 15008113, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26707413_11-09-2025_05_39_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26707417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26707418, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26707419, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26707420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26707421, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26707422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26707423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26707424, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26707425, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26707426, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26707427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26707428, 'pht': 3726}}"}, {'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26708077, 'dashboard_result_id': 15008114, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26708077_11-09-2025_05_40_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26708083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26708084, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26708085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26708086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26708087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26708088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26708089, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26708090, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26708091, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26708092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26708093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26708094, 'pht': 3726}}"}, {'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26708471, 'dashboard_result_id': 15008115, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26708471_11-09-2025_05_40_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26708482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26708483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26708484, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26708485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26708486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26708487, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26708488, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26708489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26708490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26708491, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26708492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26708493, 'pht': 3726}}"}, {'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26708951, 'dashboard_result_id': 15008116, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26708951_11-09-2025_05_41_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26708957, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26708958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26708959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26708960, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26708961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26708962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26708963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26708964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26708965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26708966, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26708967, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26708968, 'pht': 3726}}"}, {'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26709303, 'dashboard_result_id': 15008117, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26709303_11-09-2025_05_42_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26709339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26709340, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26709341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26709342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26709343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26709344, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26709345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26709346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26709347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26709348, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26709349, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26709350, 'pht': 3726}}"}, {'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26709904, 'dashboard_result_id': 15008118, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26709904_11-09-2025_05_42_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26709905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26709906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26709907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26709908, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26709909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26709910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26709911, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26709912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26709913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26709914, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26709915, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26709916, 'pht': 3726}}"}, {'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26710287, 'dashboard_result_id': 15008119, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26710287_11-09-2025_05_43_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26710314, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26710315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26710316, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26710317, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26710318, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26710319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26710320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26710321, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26710322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26710323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26710324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26710325, 'pht': 3726}}"}, {'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26710789, 'dashboard_result_id': 15008120, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26710789_11-09-2025_05_44_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26710815, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26710816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26710817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26710818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26710819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26710820, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26710821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26710822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26710823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26710824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26710825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26710826, 'pht': 3726}}"}, {'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26711220, 'dashboard_result_id': 15008121, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26711220_10-09-2025_08_59_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26711267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26711268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26711269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26711270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26711271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26711273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26711274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26711275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26711276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26711277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26711278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26711279, 'pht': 3726}}"}, {'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26718951, 'dashboard_result_id': 15008122, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26718951_10-09-2025_14_18_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26718952, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26718953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26718954, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26718955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26718956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26718957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26718958, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26718959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26718960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26718961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26718962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26718963, 'pht': 3726}}"}, {'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26719327, 'dashboard_result_id': 15008123, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26719327_10-09-2025_14_32_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26719328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26719329, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26719330, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26719331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26719332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26719333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26719334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26719335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26719336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26719337, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26719338, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26719339, 'pht': 3726}}"}, {'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26719541, 'dashboard_result_id': 15008124, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26719541_10-09-2025_14_49_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26719542, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26719543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26719544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26719545, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26719546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26719547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26719548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26719549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26719550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26719551, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26719552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26719553, 'pht': 3726}}"}, {'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26721950, 'dashboard_result_id': 15008125, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26721950_10-09-2025_16_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26721971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26721972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26721973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26721974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26721975, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26721976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26721977, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26721978, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26721979, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26721980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26721981, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26721982, 'pht': 3726}}"}, {'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26722692, 'dashboard_result_id': 15008126, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26722692_10-09-2025_17_03_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26722730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26722731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26722732, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26722733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26722734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26722735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26722737, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26722738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26722739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26722740, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26722741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26722742, 'pht': 3726}}"}, {'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26725114, 'dashboard_result_id': 15008127, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26725114_10-09-2025_18_39_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26725115, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26725116, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26725117, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26725118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26725119, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26725120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26725121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26725122, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26725123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26725124, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26725125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26725126, 'pht': 3726}}"}, {'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26731956, 'dashboard_result_id': 15008128, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26731956_10-09-2025_22_48_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26731975, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26731976, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26731977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26731978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26731979, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26731980, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26731981, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26731982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26731983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26731984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26731985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26731986, 'pht': 3726}}"}, {'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26731958, 'dashboard_result_id': 15008129, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26731958_10-09-2025_23_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26731999, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26732000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26732001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26732002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26732003, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26732004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26732005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26732006, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26732007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26732008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26732009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26732010, 'pht': 3726}}"}, {'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26732691, 'dashboard_result_id': 15008130, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26732691_10-09-2025_23_18_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26732698, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26732699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26732700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26732701, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26732702, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26732703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26732704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26732705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26732706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26732707, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26732708, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26732709, 'pht': 3726}}"}, {'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26733371, 'dashboard_result_id': 15008131, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26733371_10-09-2025_23_33_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26733397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26733398, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26733399, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26733400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26733401, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26733402, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26733403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26733404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26733405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26733406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26733407, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26733408, 'pht': 3726}}"}, {'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26733933, 'dashboard_result_id': 15008132, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26733933_10-09-2025_23_49_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26733939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26733940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26733941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26733942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26733943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26733944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26733945, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26733946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26733947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26733948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26733949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26733950, 'pht': 3726}}"}, {'dashboat_entry_day': 2260415, 'dashboard_run_id': 2276221, 'mtr_portfolio_id': 26734462, 'dashboard_result_id': 15008133, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26734462_11-09-2025_01_13_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26734467, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26734468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26734469, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26734470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26734471, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26734472, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26734473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26734474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26734475, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26734476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26734477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26734478, '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 = 26704232 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': 3693231, 'mtr_portfolio_id': 26704232, 'created_at': datetime.datetime(2025, 9, 11, 5, 34, 30), 'result': '0.05165652308854011', 'result_long': None, 'result_double': None}] Qualite : 0.05165652308854011 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26704232 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26704232_11-09-2025_05_34_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26704232 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26704232_11-09-2025_05_34_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26704233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26704234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26704235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26704236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26704237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26704238, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26704239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26704240, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26704241, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26704242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26704243, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26704244, 'pht': 3726}}" where mtr_portfolio_id = 26704232 and dashboard_run_id = 2276221 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`=26704232 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008107, 0.05165652308854011, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26704232_11-09-2025_05_34_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26704233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26704234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26704235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26704236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26704237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26704238, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26704239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26704240, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26704241, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26704242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26704243, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26704244, '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 = 26704744 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': 3693232, 'mtr_portfolio_id': 26704744, 'created_at': datetime.datetime(2025, 9, 11, 5, 35, 56), 'result': '0.05321585469969135', 'result_long': None, 'result_double': None}] Qualite : 0.05321585469969135 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26704744 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26704744_11-09-2025_05_35_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26704744 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26704744_11-09-2025_05_35_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26704797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26704798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26704799, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26704800, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26704801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26704802, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26704803, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26704804, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26704805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26704806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26704807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26704808, 'pht': 3726}}" where mtr_portfolio_id = 26704744 and dashboard_run_id = 2276221 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`=26704744 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008108, 0.05321585469969135, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26704744_11-09-2025_05_35_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26704797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26704798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26704799, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26704800, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26704801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26704802, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26704803, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26704804, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26704805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26704806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26704807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26704808, '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 = 26705272 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': 3693233, 'mtr_portfolio_id': 26705272, 'created_at': datetime.datetime(2025, 9, 11, 5, 36, 32), 'result': '0.034614114634369', 'result_long': None, 'result_double': None}] Qualite : 0.034614114634369 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26705272 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26705272_11-09-2025_05_36_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26705272 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26705272_11-09-2025_05_36_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26705278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26705279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26705280, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26705281, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26705282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26705283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26705284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26705285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26705286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26705287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26705288, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26705289, 'pht': 3726}}" where mtr_portfolio_id = 26705272 and dashboard_run_id = 2276221 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`=26705272 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008109, 0.034614114634369, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26705272_11-09-2025_05_36_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26705278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26705279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26705280, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26705281, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26705282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26705283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26705284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26705285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26705286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26705287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26705288, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26705289, '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 = 26705815 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': 3693234, 'mtr_portfolio_id': 26705815, 'created_at': datetime.datetime(2025, 9, 11, 5, 37, 30), 'result': '0.049928504882734225', 'result_long': None, 'result_double': None}] Qualite : 0.049928504882734225 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26705815 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26705815_11-09-2025_05_37_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26705815 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26705815_11-09-2025_05_37_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26705821, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26705822, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26705823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26705824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26705825, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26705826, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26705827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26705828, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26705829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26705830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26705831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26705832, 'pht': 3726}}" where mtr_portfolio_id = 26705815 and dashboard_run_id = 2276221 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`=26705815 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008110, 0.049928504882734225, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26705815_11-09-2025_05_37_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26705821, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26705822, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26705823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26705824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26705825, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26705826, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26705827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26705828, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26705829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26705830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26705831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26705832, '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 = 26706684 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': 3693235, 'mtr_portfolio_id': 26706684, 'created_at': datetime.datetime(2025, 9, 11, 5, 37, 58), 'result': '0.027664121930937046', 'result_long': None, 'result_double': None}] Qualite : 0.027664121930937046 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26706684 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26706684_11-09-2025_05_38_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26706684 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26706684_11-09-2025_05_38_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26706703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26706704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26706705, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26706706, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26706707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26706708, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26706709, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26706710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26706711, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26706712, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26706713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26706714, 'pht': 3726}}" where mtr_portfolio_id = 26706684 and dashboard_run_id = 2276221 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`=26706684 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008111, 0.027664121930937046, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26706684_11-09-2025_05_38_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26706703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26706704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26706705, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26706706, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26706707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26706708, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26706709, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26706710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26706711, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26706712, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26706713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26706714, '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 = 26706992 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': 3693236, 'mtr_portfolio_id': 26706992, 'created_at': datetime.datetime(2025, 9, 11, 5, 38, 28), 'result': '0.033701941928507256', 'result_long': None, 'result_double': None}] Qualite : 0.033701941928507256 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26706992 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26706992_11-09-2025_05_38_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26706992 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26706992_11-09-2025_05_38_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26706997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26706998, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26706999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26707000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26707001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26707002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26707003, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26707004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26707005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26707006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26707007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26707008, 'pht': 3726}}" where mtr_portfolio_id = 26706992 and dashboard_run_id = 2276221 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`=26706992 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008112, 0.033701941928507256, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26706992_11-09-2025_05_38_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26706997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26706998, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26706999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26707000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26707001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26707002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26707003, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26707004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26707005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26707006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26707007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26707008, '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 = 26707413 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': 3693237, 'mtr_portfolio_id': 26707413, 'created_at': datetime.datetime(2025, 9, 11, 5, 39, 27), 'result': '0.030290281611055712', 'result_long': None, 'result_double': None}] Qualite : 0.030290281611055712 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26707413 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26707413_11-09-2025_05_39_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26707413 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26707413_11-09-2025_05_39_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26707417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26707418, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26707419, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26707420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26707421, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26707422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26707423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26707424, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26707425, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26707426, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26707427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26707428, 'pht': 3726}}" where mtr_portfolio_id = 26707413 and dashboard_run_id = 2276221 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`=26707413 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008113, 0.030290281611055712, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26707413_11-09-2025_05_39_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26707417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26707418, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26707419, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26707420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26707421, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26707422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26707423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26707424, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26707425, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26707426, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26707427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26707428, '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 = 26708077 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': 3693238, 'mtr_portfolio_id': 26708077, 'created_at': datetime.datetime(2025, 9, 11, 5, 40), 'result': '0.04931888103929729', 'result_long': None, 'result_double': None}] Qualite : 0.04931888103929729 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26708077 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26708077_11-09-2025_05_40_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26708077 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26708077_11-09-2025_05_40_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26708083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26708084, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26708085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26708086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26708087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26708088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26708089, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26708090, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26708091, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26708092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26708093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26708094, 'pht': 3726}}" where mtr_portfolio_id = 26708077 and dashboard_run_id = 2276221 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`=26708077 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008114, 0.04931888103929729, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26708077_11-09-2025_05_40_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26708083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26708084, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26708085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26708086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26708087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26708088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26708089, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26708090, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26708091, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26708092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26708093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26708094, '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 = 26708471 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': 3693239, 'mtr_portfolio_id': 26708471, 'created_at': datetime.datetime(2025, 9, 11, 5, 40, 29), 'result': '0.045404050313249004', 'result_long': None, 'result_double': None}] Qualite : 0.045404050313249004 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26708471 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26708471_11-09-2025_05_40_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26708471 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26708471_11-09-2025_05_40_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26708482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26708483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26708484, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26708485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26708486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26708487, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26708488, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26708489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26708490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26708491, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26708492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26708493, 'pht': 3726}}" where mtr_portfolio_id = 26708471 and dashboard_run_id = 2276221 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`=26708471 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008115, 0.045404050313249004, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26708471_11-09-2025_05_40_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26708482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26708483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26708484, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26708485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26708486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26708487, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26708488, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26708489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26708490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26708491, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26708492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26708493, '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 = 26708951 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': 3693240, 'mtr_portfolio_id': 26708951, 'created_at': datetime.datetime(2025, 9, 11, 5, 41, 31), 'result': '0.04369671561182549', 'result_long': None, 'result_double': None}] Qualite : 0.04369671561182549 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26708951 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26708951_11-09-2025_05_41_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26708951 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26708951_11-09-2025_05_41_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26708957, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26708958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26708959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26708960, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26708961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26708962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26708963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26708964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26708965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26708966, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26708967, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26708968, 'pht': 3726}}" where mtr_portfolio_id = 26708951 and dashboard_run_id = 2276221 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`=26708951 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008116, 0.04369671561182549, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26708951_11-09-2025_05_41_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26708957, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26708958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26708959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26708960, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26708961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26708962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26708963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26708964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26708965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26708966, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26708967, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26708968, '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 = 26709303 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': 3693241, 'mtr_portfolio_id': 26709303, 'created_at': datetime.datetime(2025, 9, 11, 5, 42, 1), 'result': '0.051271032077770666', 'result_long': None, 'result_double': None}] Qualite : 0.051271032077770666 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26709303 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26709303_11-09-2025_05_42_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26709303 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26709303_11-09-2025_05_42_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26709339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26709340, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26709341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26709342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26709343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26709344, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26709345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26709346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26709347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26709348, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26709349, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26709350, 'pht': 3726}}" where mtr_portfolio_id = 26709303 and dashboard_run_id = 2276221 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`=26709303 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008117, 0.051271032077770666, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26709303_11-09-2025_05_42_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26709339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26709340, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26709341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26709342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26709343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26709344, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26709345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26709346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26709347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26709348, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26709349, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26709350, '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 = 26709904 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': 3693242, 'mtr_portfolio_id': 26709904, 'created_at': datetime.datetime(2025, 9, 11, 5, 42, 29), 'result': '0.061915655841384865', 'result_long': None, 'result_double': None}] Qualite : 0.061915655841384865 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26709904 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26709904_11-09-2025_05_42_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26709904 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26709904_11-09-2025_05_42_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26709905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26709906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26709907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26709908, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26709909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26709910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26709911, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26709912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26709913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26709914, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26709915, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26709916, 'pht': 3726}}" where mtr_portfolio_id = 26709904 and dashboard_run_id = 2276221 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`=26709904 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008118, 0.061915655841384865, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26709904_11-09-2025_05_42_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26709905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26709906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26709907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26709908, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26709909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26709910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26709911, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26709912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26709913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26709914, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26709915, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26709916, '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 = 26710287 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': 3693243, 'mtr_portfolio_id': 26710287, 'created_at': datetime.datetime(2025, 9, 11, 5, 43, 29), 'result': '0.0696325536663468', 'result_long': None, 'result_double': None}] Qualite : 0.0696325536663468 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26710287 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26710287_11-09-2025_05_43_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26710287 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26710287_11-09-2025_05_43_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26710314, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26710315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26710316, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26710317, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26710318, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26710319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26710320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26710321, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26710322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26710323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26710324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26710325, 'pht': 3726}}" where mtr_portfolio_id = 26710287 and dashboard_run_id = 2276221 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`=26710287 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008119, 0.0696325536663468, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26710287_11-09-2025_05_43_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26710314, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26710315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26710316, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26710317, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26710318, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26710319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26710320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26710321, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26710322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26710323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26710324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26710325, '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 = 26710789 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': 3693244, 'mtr_portfolio_id': 26710789, 'created_at': datetime.datetime(2025, 9, 11, 5, 44), 'result': '0.03896280222581451', 'result_long': None, 'result_double': None}] Qualite : 0.03896280222581451 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26710789 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26710789_11-09-2025_05_44_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26710789 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26710789_11-09-2025_05_44_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26710815, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26710816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26710817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26710818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26710819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26710820, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26710821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26710822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26710823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26710824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26710825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26710826, 'pht': 3726}}" where mtr_portfolio_id = 26710789 and dashboard_run_id = 2276221 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`=26710789 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008120, 0.03896280222581451, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26710789_11-09-2025_05_44_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26710815, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26710816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26710817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26710818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26710819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26710820, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26710821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26710822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26710823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26710824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26710825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26710826, '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 = 26711220 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': 3693245, 'mtr_portfolio_id': 26711220, 'created_at': datetime.datetime(2025, 9, 11, 5, 44, 28), 'result': '0.05716533162343222', 'result_long': None, 'result_double': None}] Qualite : 0.05716533162343222 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26711220 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26711220_11-09-2025_05_44_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26711220 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26711220_11-09-2025_05_44_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26711267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26711268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26711269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26711270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26711271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26711273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26711274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26711275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26711276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26711277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26711278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26711279, 'pht': 3726}}" where mtr_portfolio_id = 26711220 and dashboard_run_id = 2276221 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`=26711220 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008121, 0.05716533162343222, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26711220_11-09-2025_05_44_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26711267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26711268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26711269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26711270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26711271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26711273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26711274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26711275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26711276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26711277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26711278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26711279, '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 = 26718951 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': 3690021, 'mtr_portfolio_id': 26718951, 'created_at': datetime.datetime(2025, 9, 10, 14, 18, 29), 'result': '0.1008438268734911', 'result_long': None, 'result_double': None}] Qualite : 0.1008438268734911 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26718951 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26718951_10-09-2025_14_18_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26718951 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26718951_10-09-2025_14_18_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26718952, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26718953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26718954, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26718955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26718956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26718957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26718958, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26718959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26718960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26718961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26718962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26718963, 'pht': 3726}}" where mtr_portfolio_id = 26718951 and dashboard_run_id = 2276221 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`=26718951 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008122, 0.1008438268734911, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26718951_10-09-2025_14_18_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26718952, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26718953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26718954, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26718955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26718956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26718957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26718958, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26718959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26718960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26718961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26718962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26718963, '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 = 26719327 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': 3690073, 'mtr_portfolio_id': 26719327, 'created_at': datetime.datetime(2025, 9, 10, 14, 32, 30), 'result': '0.05351301132245347', 'result_long': None, 'result_double': None}] Qualite : 0.05351301132245347 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26719327 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26719327_10-09-2025_14_32_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26719327 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26719327_10-09-2025_14_32_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26719328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26719329, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26719330, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26719331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26719332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26719333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26719334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26719335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26719336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26719337, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26719338, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26719339, 'pht': 3726}}" where mtr_portfolio_id = 26719327 and dashboard_run_id = 2276221 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`=26719327 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008123, 0.05351301132245347, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26719327_10-09-2025_14_32_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26719328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26719329, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26719330, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26719331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26719332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26719333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26719334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26719335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26719336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26719337, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26719338, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26719339, '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 = 26719541 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': 3690122, 'mtr_portfolio_id': 26719541, 'created_at': datetime.datetime(2025, 9, 10, 14, 49, 1), 'result': '0.07878295427703556', 'result_long': None, 'result_double': None}] Qualite : 0.07878295427703556 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26719541 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26719541_10-09-2025_14_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26719541 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26719541_10-09-2025_14_49_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26719542, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26719543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26719544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26719545, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26719546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26719547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26719548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26719549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26719550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26719551, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26719552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26719553, 'pht': 3726}}" where mtr_portfolio_id = 26719541 and dashboard_run_id = 2276221 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`=26719541 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008124, 0.07878295427703556, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26719541_10-09-2025_14_49_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26719542, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26719543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26719544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26719545, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26719546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26719547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26719548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26719549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26719550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26719551, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26719552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26719553, '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 = 26721950 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': 3690456, 'mtr_portfolio_id': 26721950, 'created_at': datetime.datetime(2025, 9, 10, 16, 33), 'result': '0.06502061475223814', 'result_long': None, 'result_double': None}] Qualite : 0.06502061475223814 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26721950 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26721950_10-09-2025_16_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26721950 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26721950_10-09-2025_16_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26721971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26721972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26721973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26721974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26721975, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26721976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26721977, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26721978, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26721979, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26721980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26721981, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26721982, 'pht': 3726}}" where mtr_portfolio_id = 26721950 and dashboard_run_id = 2276221 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`=26721950 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008125, 0.06502061475223814, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26721950_10-09-2025_16_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26721971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26721972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26721973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26721974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26721975, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26721976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26721977, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26721978, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26721979, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26721980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26721981, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26721982, '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 = 26722692 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': 3690527, 'mtr_portfolio_id': 26722692, 'created_at': datetime.datetime(2025, 9, 10, 17, 3), 'result': '0.08734009330866331', 'result_long': None, 'result_double': None}] Qualite : 0.08734009330866331 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26722692 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26722692_10-09-2025_17_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26722692 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26722692_10-09-2025_17_03_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26722730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26722731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26722732, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26722733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26722734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26722735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26722737, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26722738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26722739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26722740, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26722741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26722742, 'pht': 3726}}" where mtr_portfolio_id = 26722692 and dashboard_run_id = 2276221 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`=26722692 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008126, 0.08734009330866331, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26722692_10-09-2025_17_03_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26722730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26722731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26722732, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26722733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26722734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26722735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26722737, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26722738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26722739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26722740, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26722741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26722742, '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 = 26725114 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': 3690787, 'mtr_portfolio_id': 26725114, 'created_at': datetime.datetime(2025, 9, 10, 18, 38, 59), 'result': '0.0649381291338043', 'result_long': None, 'result_double': None}] Qualite : 0.0649381291338043 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26725114 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26725114_10-09-2025_18_39_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26725114 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26725114_10-09-2025_18_39_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26725115, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26725116, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26725117, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26725118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26725119, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26725120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26725121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26725122, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26725123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26725124, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26725125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26725126, 'pht': 3726}}" where mtr_portfolio_id = 26725114 and dashboard_run_id = 2276221 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`=26725114 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008127, 0.0649381291338043, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26725114_10-09-2025_18_39_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26725115, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26725116, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26725117, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26725118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26725119, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26725120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26725121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26725122, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26725123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26725124, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26725125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26725126, '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 = 26731956 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': 3691473, 'mtr_portfolio_id': 26731956, 'created_at': datetime.datetime(2025, 9, 10, 22, 48, 30), 'result': '0.0835398543690456', 'result_long': None, 'result_double': None}] Qualite : 0.0835398543690456 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26731956 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26731956_10-09-2025_22_48_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26731956 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26731956_10-09-2025_22_48_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26731975, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26731976, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26731977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26731978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26731979, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26731980, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26731981, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26731982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26731983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26731984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26731985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26731986, 'pht': 3726}}" where mtr_portfolio_id = 26731956 and dashboard_run_id = 2276221 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`=26731956 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008128, 0.0835398543690456, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26731956_10-09-2025_22_48_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26731975, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26731976, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26731977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26731978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26731979, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26731980, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26731981, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26731982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26731983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26731984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26731985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26731986, '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 = 26731958 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': 3691474, 'mtr_portfolio_id': 26731958, 'created_at': datetime.datetime(2025, 9, 10, 23, 2, 59), 'result': '0.06992478640639133', 'result_long': None, 'result_double': None}] Qualite : 0.06992478640639133 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26731958 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26731958_10-09-2025_23_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26731958 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26731958_10-09-2025_23_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26731999, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26732000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26732001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26732002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26732003, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26732004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26732005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26732006, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26732007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26732008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26732009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26732010, 'pht': 3726}}" where mtr_portfolio_id = 26731958 and dashboard_run_id = 2276221 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`=26731958 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008129, 0.06992478640639133, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26731958_10-09-2025_23_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26731999, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26732000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26732001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26732002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26732003, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26732004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26732005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26732006, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26732007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26732008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26732009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26732010, '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 = 26732691 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': 3691537, 'mtr_portfolio_id': 26732691, 'created_at': datetime.datetime(2025, 9, 10, 23, 18, 59), 'result': '0.05853812000527467', 'result_long': None, 'result_double': None}] Qualite : 0.05853812000527467 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26732691 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26732691_10-09-2025_23_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26732691 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26732691_10-09-2025_23_18_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26732698, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26732699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26732700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26732701, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26732702, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26732703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26732704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26732705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26732706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26732707, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26732708, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26732709, 'pht': 3726}}" where mtr_portfolio_id = 26732691 and dashboard_run_id = 2276221 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`=26732691 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008130, 0.05853812000527467, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26732691_10-09-2025_23_18_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26732698, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26732699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26732700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26732701, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26732702, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26732703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26732704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26732705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26732706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26732707, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26732708, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26732709, '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 = 26733371 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': 3691608, 'mtr_portfolio_id': 26733371, 'created_at': datetime.datetime(2025, 9, 10, 23, 33, 28), 'result': '0.06170093160355356', 'result_long': None, 'result_double': None}] Qualite : 0.06170093160355356 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26733371 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26733371_10-09-2025_23_33_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26733371 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26733371_10-09-2025_23_33_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26733397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26733398, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26733399, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26733400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26733401, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26733402, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26733403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26733404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26733405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26733406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26733407, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26733408, 'pht': 3726}}" where mtr_portfolio_id = 26733371 and dashboard_run_id = 2276221 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`=26733371 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008131, 0.06170093160355356, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26733371_10-09-2025_23_33_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26733397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26733398, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26733399, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26733400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26733401, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26733402, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26733403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26733404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26733405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26733406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26733407, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26733408, '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 = 26733933 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': 3691686, 'mtr_portfolio_id': 26733933, 'created_at': datetime.datetime(2025, 9, 10, 23, 49, 27), 'result': '0.07039772189121755', 'result_long': None, 'result_double': None}] Qualite : 0.07039772189121755 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26733933 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26733933_10-09-2025_23_49_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26733933 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26733933_10-09-2025_23_49_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26733939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26733940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26733941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26733942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26733943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26733944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26733945, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26733946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26733947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26733948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26733949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26733950, 'pht': 3726}}" where mtr_portfolio_id = 26733933 and dashboard_run_id = 2276221 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`=26733933 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008132, 0.07039772189121755, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26733933_10-09-2025_23_49_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26733939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26733940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26733941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26733942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26733943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26733944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26733945, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26733946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26733947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26733948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26733949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26733950, '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 = 26734462 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': 3691787, 'mtr_portfolio_id': 26734462, 'created_at': datetime.datetime(2025, 9, 11, 1, 13, 56), 'result': '0.07947373790011325', 'result_long': None, 'result_double': None}] Qualite : 0.07947373790011325 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26734462 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26734462_11-09-2025_01_13_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26734462 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26734462_11-09-2025_01_13_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26734467, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26734468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26734469, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26734470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26734471, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26734472, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26734473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26734474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26734475, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26734476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26734477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26734478, 'pht': 3726}}" where mtr_portfolio_id = 26734462 and dashboard_run_id = 2276221 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`=26734462 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15008133, 0.07947373790011325, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26734462_11-09-2025_01_13_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26734467, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26734468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26734469, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26734470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26734471, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26734472, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26734473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26734474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26734475, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26734476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26734477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26734478, '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 (26704232,26704744,26705272,26705815,26706684,26706992,26707413,26708077,26708471,26708951,26709303,26709904,26710287,26710789,26711220,26718951,26719327,26719541,26721950,26722692,26725114,26731956,26731958,26732691,26733371,26733933,26734462) result : ((1382848737,), (1382849052,), (1382849570,), (1382849600,), (1382849623,), (1382849648,), (1382849675,), (1382849698,), (1382849864,), (1382849888,), (1382849916,), (1382849955,), (1382850273,), (1382850296,), (1382850332,), (1382850353,), (1382850364,), (1382850367,), (1382850389,), (1382850392,), (1382850426,), (1382850449,), (1382850469,), (1382850491,), (1382850517,), (1382850626,), (1382850649,), (1382850670,), (1382850694,), (1382850718,), (1382850884,), (1382850904,), (1382850933,), (1382850958,), (1382851137,), (1382851160,), (1382851186,), (1382851270,), (1382851323,), (1382851327,), (1382851330,), (1382851333,), (1382851497,), (1382851525,), (1382851553,), (1382851582,), (1382851596,), (1382851693,), (1382851715,), (1382851720,), (1382851735,), (1382851741,), (1382851745,), (1382851752,), (1382851758,), (1382851761,), (1382851882,), (1382852224,), (1382851855,), (1382852154,), (1382852177,), (1382852202,), (1382852312,), (1382852313,), (1382852316,), (1382852345,), (1382852401,), (1382852462,), (1382852705,), (1382852736,), (1382852759,), (1382852905,), (1382852918,), (1382852927,), (1382852930,), (1382852933,), (1382852965,), (1382852966,), (1382852967,), (1382852970,), (1382853001,), (1382853003,), (1382853005,), (1382853176,), (1382853200,), (1382853226,), (1382853252,), (1382853434,), (1382853461,), (1382853489,), (1382853516,), (1382853769,), (1382853792,), (1382853818,), (1382853840,), (1382853876,), (1382854148,), (1382854181,), (1382854387,), (1382854409,), (1382854432,), (1382854453,), (1382854466,), (1382854477,), (1382854578,), (1382854660,), (1382854683,), (1382854706,), (1382854728,), (1382854752,), (1382854863,), (1382854886,), (1382854909,), (1382854935,), (1382854956,), (1382855066,), (1382855092,), (1382855116,), (1382855249,), (1382855238,), (1382855241,), (1382855242,), (1382855246,), (1382855269,), (1382855273,), (1382855276,), (1382855281,), (1382855285,), (1382855299,), (1382855302,), (1382855306,), (1382855308,), (1382855326,), (1382855328,), (1382855347,), (1382855351,), (1382855356,), (1382855359,), (1382855362,), (1382855371,), (1382855510,), (1382855538,), (1382855891,), (1382855918,), (1382855947,), (1382855975,), (1382856004,), (1382856033,), (1382856233,), (1382856261,), (1382856288,), (1382856458,), (1382856463,), (1382856467,), (1382856685,), (1382856693,), (1382856694,), (1382856704,), (1382856734,), (1382856813,), (1382856815,), (1382856818,), (1382856823,), (1382856843,), (1382856846,), (1382856849,), (1382856853,), (1382856858,), (1382856873,), (1382856877,), (1382856881,), (1382856904,), (1382856906,), (1382856907,), (1382856910,), (1382856926,), (1382856930,), (1382856933,), (1382856936,), (1382856937,), (1382856939,), (1382856943,), (1382856956,), (1382857008,), (1382856949,), (1382856950,), (1382856951,), (1382856971,), (1382856974,), (1382856977,), (1382856982,), (1382856988,), (1382856995,), (1382857012,), (1382857015,), (1382857018,), (1382857022,), (1382857026,), (1382857044,), (1382857046,), (1382857048,), (1382857110,), (1382857112,), (1382857155,), (1382857160,), (1382857162,), (1382857180,), (1382857181,), (1382857182,), (1382857210,), (1382857214,), (1382857218,), (1382857222,), (1382857234,), (1382857236,), (1382857238,), (1382857240,), (1382857243,), (1382857244,), (1382857253,), (1382857262,), (1382857264,), (1382857266,), (1382857269,), (1382857271,), (1382857279,), (1382857281,), (1382857283,), (1382857286,), (1382857289,), (1382857298,), (1382857310,), (1382857316,), (1382857425,), (1382857481,), (1382857539,), (1382860404,), (1382860425,), (1382860427,), (1382860429,), (1382860479,), (1382860486,), (1382860510,), (1382860522,), (1382860524,), (1382860527,), (1382860550,), (1382860552,), (1382860556,), (1382860604,), (1382860610,), (1382860615,), (1382860620,), (1382860623,), (1382860625,), (1382860629,), (1382860631,), (1382860644,), (1382860646,), (1382860647,), (1382860648,), (1382860661,), (1382860663,), (1382860666,), (1382860668,), (1382860685,), (1382860688,), (1382860714,), (1382860715,), (1382860717,), (1382860720,), (1382860723,), (1382860726,), (1382860748,), (1382860751,), (1382860755,), (1382860757,), (1382860759,), (1382860761,), (1382860765,), (1382860769,), (1382860773,), (1382860777,), (1382860780,), (1382860790,), (1382860796,), (1382860801,), (1382860808,), (1382860811,), (1382860816,), (1382860820,), (1382860824,), (1382860834,), (1382860842,), (1382860880,), (1382860925,), (1382860873,), (1382860876,), (1382860895,), (1382860897,), (1382860901,), (1382860906,), (1382860911,), (1382860915,), (1382860932,), (1382860937,), (1382860941,), (1382860945,), (1382860957,), (1382860959,), (1382860964,), (1382860972,), (1382860976,), (1382860988,), (1382860991,), (1382860994,), (1382861018,), (1382861020,), (1382861023,), (1382861026,), (1382861044,), (1382861051,), (1382861054,), (1382861058,), (1382861071,), (1382861075,), (1382861079,), (1382861099,), (1382861116,), (1382861120,), (1382861124,), (1382861128,), (1382861141,), (1382861144,), (1382861147,), (1382861156,), (1382861167,), (1382861172,), (1382861179,), (1382861184,), (1382861188,), (1382861191,), (1382861205,), (1382861209,), (1382861213,), (1382861216,), (1382861229,), (1382861230,), (1382861233,), (1382861235,), (1382861239,), (1382861240,), (1382861278,), (1382861285,), (1382861290,), (1382861293,), (1382861894,), (1382862553,), (1382861716,), (1382861776,), (1382861829,), (1382862194,), (1382862250,), (1382862289,), (1382862359,), (1382862389,), (1382862419,), (1382862524,), (1382862587,), (1382862590,), (1382862597,), (1382862625,), (1382862743,), (1382862756,), (1382862782,), (1382862815,), (1382862820,), (1382863133,), (1382863160,), (1382863527,), (1382863557,), (1382863588,), (1382863619,), (1382863636,), (1382863707,), (1382863736,), (1382863762,), (1382863933,), (1382863964,), (1382864002,), (1382864037,), (1382864313,), (1382864345,), (1382864372,), (1382864405,), (1382864437,), (1382864628,), (1382864639,), (1382864644,), (1382864650,), (1382864768,), (1382864798,), (1382864834,), (1382864867,), (1382865043,), (1382865048,), (1382865052,), (1382865055,), (1382865075,), (1382865077,), (1382865080,), (1382865100,), (1382865103,), (1382865106,), (1382865110,), (1382865116,), (1382865122,), (1382865145,), (1382865147,), (1382865171,), (1382865173,), (1382865177,), (1382865166,), (1382865168,), (1382865188,), (1382865191,), (1382865207,), (1382865209,), (1382865211,), (1382865214,), (1382865217,), (1382865234,), (1382865237,), (1382865242,), (1382865248,), (1382865252,), (1382865260,), (1382865275,), (1382865277,), (1382865279,), (1382865285,), (1382865288,), (1382865303,), (1382865307,), (1382865312,), (1382865317,), (1382865321,), (1382865323,), (1382865342,), (1382865343,), (1382865344,), (1382865348,), (1382865352,), (1382865362,), (1382865365,), (1382865367,), (1382865410,), (1382865412,), (1382865414,), (1382865439,), (1382865442,), (1382865448,), (1382865454,), (1382865483,), (1382865486,), (1382865491,), (1382865495,), (1382865497,), (1382865506,), (1382865511,), (1382865517,), (1382865522,), (1382865528,), (1382865532,), (1382865540,), (1382865541,), (1382865551,), (1382865555,), (1382865560,), (1382865572,), (1382865575,), (1382865579,), (1382865585,), (1382865588,), (1382865591,), (1382865599,), (1382865608,), (1382865611,), (1382865615,), (1382865618,), (1382865620,), (1382865622,), (1382865650,), (1382865644,), (1382865645,), (1382865646,), (1382865675,), (1382865678,), (1382865680,), (1382865684,), (1382865699,), (1382865701,), (1382865703,), (1382865737,), (1382865741,), (1382865745,), (1382865749,), (1382865761,), (1382865762,), (1382865766,), (1382865768,), (1382865774,), (1382865779,), (1382865807,), (1382865809,), (1382865811,), (1382865828,), (1382865831,), (1382865834,), (1382865836,), (1382865839,), (1382865842,), (1382865868,), (1382865871,), (1382865872,), (1382865876,), (1382865895,), (1382865899,), (1382865905,), (1382865928,), (1382865929,), (1382865931,), (1382865936,), (1382865964,), (1382865967,), (1382866001,), (1382866003,), (1382866005,), (1382866007,), (1382866014,), (1382866041,), (1382866046,), (1382866049,), (1382866054,), (1382866059,), (1382866083,), (1382866085,), (1382866110,), (1382866116,), (1382866121,), (1382866154,), (1382866217,), (1382866144,), (1382866146,), (1382866148,), (1382866181,), (1382866184,), (1382866188,), (1382866192,), (1382866194,), (1382866197,), (1382866213,), (1382866225,), (1382866227,), (1382866231,), (1382866235,), (1382866250,), (1382866253,), (1382866256,), (1382866287,), (1382866290,), (1382866294,), (1382866298,), (1382866327,), (1382866339,), (1382866344,), (1382866349,), (1382866353,), (1382866359,), (1382866373,), (1382866375,), (1382866377,), (1382866382,), (1382866386,), (1382866390,), (1382866401,), (1382866404,), (1382866407,), (1382866430,), (1382866433,), (1382866435,), (1382866438,), (1382866459,), (1382866462,), (1382866466,), (1382866470,), (1382866474,), (1382866478,), (1382866485,), (1382866487,), (1382866489,), (1382866508,), (1382866510,), (1382866512,), (1382866513,), (1382866514,), (1382866524,), (1382866525,), (1382866534,), (1382866535,), (1382866538,), (1382866540,), (1382866549,), (1382866552,), (1382866554,), (1382866558,), (1382866562,), (1382866565,), (1382866979,), (1382867014,), (1382867055,), (1382867118,), (1382867181,), (1382867408,), (1382867465,), (1382867540,), (1382868085,), (1382867829,), (1382867897,), (1382867955,), (1382868016,), (1382868579,), (1382868665,), (1382868748,), (1382868842,), (1382868934,), (1382869025,), (1382869414,), (1382869457,), (1382869519,), (1382869551,), (1382869920,), (1382869926,), (1382869940,), (1382869960,), (1382869973,), (1382869993,), (1382870014,), (1382870015,), (1382870020,), (1382870024,), (1382870029,), (1382870034,), (1382870042,), (1382870046,), (1382870053,), (1382870055,), (1382870058,), (1382870075,), (1382870077,), (1382870079,), (1382870080,), (1382870085,), (1382870093,), (1382870106,), (1382870112,), (1382870127,), (1382870131,), (1382870133,), (1382870135,), (1382870153,), (1382870162,), (1382870169,), (1382870172,), (1382870185,), (1382870187,), (1382870189,), (1382870224,), (1382870227,), (1382870230,), (1382870264,), (1382870305,), (1382870308,), (1382870311,), (1382870317,), (1382870349,), (1382870353,), (1382870358,), (1382870362,), (1382870366,), (1382870379,), (1382870381,), (1382870384,), (1382870387,), (1382870390,), (1382870407,), (1382870409,), (1382870412,), (1382870417,), (1382870425,), (1382870429,), (1382870433,), (1382870442,), (1382870444,), (1382870472,), (1382870474,), (1382870476,), (1382870480,), (1382870466,), (1382870470,), (1382870489,), (1382870494,), (1382870503,), (1382870507,), (1382870517,), (1382870519,), (1382870524,), (1382870527,), (1382870563,), (1382870566,), (1382870571,), (1382870578,), (1382870583,), (1382870599,), (1382870604,), (1382870614,), (1382870656,), (1382870688,), (1382871001,), (1382871003,), (1382871005,), (1382871009,), (1382871014,), (1382871037,), (1382871041,), (1382871048,), (1382871084,), (1382871086,), (1382871088,), (1382871092,), (1382871095,), (1382871108,), (1382871113,), (1382871119,), (1382871122,), (1382871129,), (1382871136,), (1382871144,), (1382871146,), (1382871172,), (1382871175,), (1382871178,), (1382871184,), (1382871191,), (1382871195,), (1382871210,), (1382871212,), (1382871214,), (1382871216,), (1382871218,), (1382871220,), (1382871231,), (1382871235,), (1382871239,), (1382871241,), (1382871244,), (1382871248,), (1382871250,), (1382871254,), (1382871276,), (1382871278,), (1382871279,), (1382871284,), (1382871330,), (1382871319,), (1382871323,), (1382871326,), (1382871355,), (1382871356,), (1382871358,), (1382871361,), (1382871377,), (1382871386,), (1382871391,), (1382871409,), (1382871410,), (1382871411,), (1382871415,), (1382871421,), (1382871435,), (1382871439,), (1382871444,), (1382871451,), (1382871453,), (1382871455,), (1382871459,), (1382871461,), (1382871463,), (1382871472,), (1382871503,), (1382871506,), (1382871508,), (1382871510,), (1382871514,), (1382871518,), (1382871535,), (1382871537,), (1382871541,), (1382871547,), (1382871551,), (1382871555,), (1382871562,), (1382871565,), (1382871568,), (1382871582,), (1382871586,), (1382871591,), (1382871595,), (1382871618,), (1382871619,), (1382871621,), (1382871624,), (1382871627,), (1382871656,), (1382871659,), (1382871661,), (1382871699,), (1382871701,), (1382871703,), (1382871706,), (1382871710,), (1382871712,), (1382871728,), (1382871729,), (1382871730,), (1382871816,), (1382871847,), (1382871876,), (1382872101,), (1382872103,), (1382872105,), (1382872110,), (1382872115,), (1382872124,), (1382872128,), (1382872130,), (1382872159,), (1382872147,), (1382872150,), (1382872154,), (1382872157,), (1382872168,), (1382872169,), (1382872170,), (1382872232,), (1382872235,), (1382872239,), (1382872259,), (1382872260,), (1382872286,), (1382872288,), (1382872292,), (1382872295,), (1382872297,), (1382872299,), (1382872307,), (1382872314,), (1382872319,), (1382872323,), (1382872329,), (1382872335,), (1382872361,), (1382872364,), (1382872367,), (1382872369,), (1382872371,), (1382872374,), (1382872386,), (1382872392,), (1382872395,), (1382872402,), (1382872405,), (1382872408,), (1382872415,), (1382872418,), (1382872421,), (1382872428,), (1382872432,), (1382872435,), (1382872438,), (1382872441,), (1382872443,), (1382872456,), (1382872458,), (1382872459,), (1382872502,), (1382872506,), (1382872509,), (1382872513,), (1382872516,), (1382872518,), (1382872541,), (1382872543,), (1382872555,), (1382872589,), (1382872621,), (1382872656,), (1382872771,), (1382872831,), (1382872888,), (1382872952,), (1382873014,), (1382873152,), (1382873181,), (1382873240,), (1382873293,), (1382873574,), (1382873579,), (1382873606,), (1382874111,), (1382873992,), (1382874044,), (1382874084,), (1382874390,), (1382874417,), (1382874428,), (1382874433,), (1382874640,), (1382874644,), (1382874647,), (1382874651,), (1382874656,), (1382874659,), (1382874671,), (1382874673,), (1382874677,), (1382874681,), (1382874686,), (1382874692,), (1382874702,), (1382874703,), (1382874707,), (1382874714,), (1382874718,), (1382874723,), (1382874736,), (1382874737,), (1382874740,), (1382874742,), (1382874745,), (1382874749,), (1382874764,), (1382874769,), (1382874782,), (1382891378,), (1383007096,), (1383007134,), (1383008224,), (1383009464,), (1383010284,), (1383010344,), (1383010403,), (1383011124,), (1383011860,), (1383012458,), (1383012598,), (1383012639,), (1383012935,), (1383013683,), (1383014404,), (1383014992,), (1383015045,), (1383015052,), (1383015113,), (1383015248,), (1383015284,), (1383015324,), (1383015330,), (1383015371,), (1383015593,), (1383015562,), (1383015690,), (1383016097,), (1383017120,), (1383017153,), (1383017186,), (1383017218,), (1383018231,), (1383018614,), (1383018867,), (1383019053,), (1383051176,), (1383051179,), (1383051515,), (1383051792,), (1383052780,), (1383053143,), (1383053170,), (1383053217,), (1383053320,), (1383053358,), (1383053687,), (1383061596,), (1383062014,), (1383062251,), (1383062272,), (1383062305,), (1383062339,), (1383062342,), (1383062412,), (1383062415,), (1383062436,), (1383062593,), (1383063453,), (1383082721,), (1383082728,), (1383083101,), (1383084525,), (1383084555,), (1383084680,), (1383084728,), (1383084755,), (1383084848,), (1383085493,), (1383144398,), (1383147104,), (1383147120,), (1383147150,), (1383147183,), (1383147230,), (1383148075,), (1383148684,), (1383147981,), (1383148013,), (1383148044,), (1383148405,), (1383148466,), (1383148522,), (1383148581,), (1383148639,), (1383148991,), (1383149029,), (1383149261,), (1383149265,), (1383149269,), (1383149738,), (1383149781,), (1383149800,), (1383149804,), (1383149808,), (1383149835,), (1383149837,), (1383149842,), (1383149846,), (1383149853,), (1383149862,), (1383149864,), (1383149866,), (1383149869,), (1383149886,), (1383149890,), (1383149895,), (1383149903,), (1383149927,), (1383149930,), (1383149933,), (1383149937,), (1383150253,), (1383150288,), (1383150321,), (1383150605,), (1383150637,), (1383150669,), (1383150701,), (1383150732,), (1383151038,), (1383151067,), (1383151102,), (1383151135,), (1383151174,), (1383151217,), (1383151316,), (1383151322,), (1383151324,), (1383151332,), (1383151361,), (1383151428,), (1383151516,), (1383152582,), (1383152647,), (1383152707,), (1383152768,), (1383152818,), (1383152849,), (1383152946,), (1383153012,), (1383153073,), (1383153374,), (1383153247,), (1383153297,), (1383153344,), (1383153646,), (1383153678,), (1383153720,), (1383153753,), (1383154140,), (1383154197,), (1383154258,), (1383154319,), (1383154376,), (1383154736,), (1383154739,), (1383154755,), (1383154789,), (1383154805,), (1383154827,), (1383155131,), (1383155188,), (1383155248,), (1383155714,), (1383155755,), (1383155802,), (1383155833,), (1383155864,), (1383155916,), (1383156303,), (1383156344,), (1383156405,), (1383156462,), (1383156524,), (1383156559,), (1383156677,), (1383156685,), (1383156690,), (1383156709,), (1383156786,), (1383156803,), (1383156825,), (1383156830,), (1383156835,), (1383156839,), (1383156842,), (1383156845,), (1383156880,), (1383156885,), (1383156887,), (1383156890,), (1383156894,), (1383156918,), (1383156920,), (1383156922,), (1383156952,), (1383156954,), (1383156957,), (1383156963,), (1383156982,), (1383156987,), (1383156993,), (1383156997,), (1383157001,), (1383157004,), (1383157154,), (1383157183,), (1383157213,), (1383157246,), (1383157280,), (1383157542,), (1383157619,), (1383157653,), (1383157688,), (1383157895,), (1383158041,), (1383157837,), (1383157840,), (1383157863,), (1383158003,), (1383158009,), (1383158014,), (1383158018,), (1383158023,), (1383158025,), (1383158035,), (1383158036,), (1383158054,), (1383158059,), (1383158063,), (1383158066,), (1383158073,), (1383158074,), (1383158075,), (1383158080,), (1383158088,), (1383158103,), (1383158105,), (1383158109,), (1383158114,), (1383158118,), (1383158122,), (1383158147,), (1383158152,), (1383158157,), (1383158162,), (1383158188,), (1383158189,), (1383158190,), (1383158194,), (1383158213,), (1383158215,), (1383158218,), (1383158221,), (1383158226,), (1383158230,), (1383158265,), (1383158273,), (1383158275,), (1383158311,), (1383158317,), (1383158319,), (1383158323,), (1383158327,), (1383158331,), (1383158383,), (1383158388,), (1383158391,), (1383158396,), (1383158400,), (1383158405,), (1383158433,), (1383158436,), (1383158442,), (1383158447,), (1383158450,), (1383158451,), (1383158467,), (1383158470,), (1383158480,), (1383158483,), (1383158519,), (1383158520,), (1383158521,), (1383158524,), (1383158526,), (1383158529,), (1383158543,), (1383158545,), (1383158547,), (1383158548,), (1383158553,), (1383158555,), (1383158571,), (1383158575,), (1383158579,), (1383158582,), (1383158584,), (1383158597,), (1383158605,), (1383158609,), (1383158628,), (1383158616,), (1383158620,), (1383158622,), (1383158624,), (1383158626,), (1383158661,), (1383158671,), (1383158682,), (1383158685,), (1383158690,), (1383158704,), (1383158709,), (1383158711,), (1383158714,), (1383158718,), (1383158720,), (1383158749,), (1383158751,), (1383158753,), (1383158758,), (1383158761,), (1383158780,), (1383158785,), (1383158790,), (1383158826,), (1383158831,), (1383158833,), (1383158838,), (1383158843,), (1383158885,), (1383158889,), (1383158897,), (1383158902,), (1383158906,), (1383158911,), (1383158918,), (1383158920,), (1383158923,), (1383158927,), (1383158933,), (1383158937,), (1383158943,), (1383158947,), (1383158955,), (1383158959,), (1383158962,), (1383158966,), (1383158997,), (1383159000,), (1383159003,), (1383159007,), (1383159011,), (1383159013,), (1383159032,), (1383159034,), (1383159071,), (1383159077,), (1383159088,), (1383159095,), (1383159102,), (1383159104,), (1383159150,), (1383159153,), (1383159155,), (1383159157,), (1383159162,), (1383159184,), (1383159186,), (1383159188,), (1383159193,), (1383159215,), (1383159217,), (1383159219,), (1383159222,), (1383159265,), (1383159327,), (1383159246,), (1383159250,), (1383159253,), (1383159256,), (1383159261,), (1383159281,), (1383159283,), (1383159288,), (1383159292,), (1383159296,), (1383159304,), (1383159307,), (1383159316,), (1383159323,), (1383159338,), (1383159339,), (1383159342,), (1383159343,), (1383159344,), (1383159345,), (1383159348,), (1383159350,), (1383159353,), (1383159354,), (1383159357,), (1383159358,), (1383159363,), (1383159370,), (1383159378,), (1383159383,), (1383159386,), (1383159393,), (1383159396,), (1383159399,), (1383159425,), (1383159428,), (1383159429,), (1383159432,), (1383159437,), (1383159441,), (1383159482,), (1383159486,), (1383159489,), (1383159493,), (1383159496,), (1383159498,), (1383159514,), (1383159515,), (1383159517,), (1383159520,), (1383159524,), (1383159546,), (1383159548,), (1383159550,), (1383159555,), (1383159560,), (1383159578,), (1383159582,), (1383159585,), (1383159590,), (1383159596,), (1383159609,), (1383159612,), (1383159615,), (1383159620,), (1383159624,), (1383159627,), (1383159638,), (1383159644,), (1383159648,), (1383159653,), (1383159658,), (1383159663,), (1383159668,), (1383159671,), (1383159682,), (1383159685,), (1383159700,), (1383159702,), (1383159711,), (1383159713,), (1383159715,), (1383159719,), (1383160414,), (1383160478,), (1383160538,), (1383161491,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'10092025': {'nb_upload': 35, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26711220]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1382891378, 1382874782, 1382874769, 1382874764, 1382874749, 1382874745, 1382874742, 1382874740, 1382874737, 1382874736, 1382874723, 1382874718, 1382874714, 1382874707, 1382874703, 1382874702, 1382874692, 1382874686, 1382874681, 1382874677, 1382874673, 1382874671, 1382874659, 1382874656, 1382874651, 1382874647, 1382874644, 1382874640, 1382874433, 1382874428, 1382874417, 1382874390, 1382874084, 1382874044, 1382873992] map_info['map_portfolio_photo'] : {26711220: [1382891378, 1382874782, 1382874769, 1382874764, 1382874749, 1382874745, 1382874742, 1382874740, 1382874737, 1382874736, 1382874723, 1382874718, 1382874714, 1382874707, 1382874703, 1382874702, 1382874692, 1382874686, 1382874681, 1382874677, 1382874673, 1382874671, 1382874659, 1382874656, 1382874651, 1382874647, 1382874644, 1382874640, 1382874433, 1382874428, 1382874417, 1382874390, 1382874084, 1382874044, 1382873992]} final : True mtd_id 4302 list_pids : [1382891378, 1382874782, 1382874769, 1382874764, 1382874749, 1382874745, 1382874742, 1382874740, 1382874737, 1382874736, 1382874723, 1382874718, 1382874714, 1382874707, 1382874703, 1382874702, 1382874692, 1382874686, 1382874681, 1382874677, 1382874673, 1382874671, 1382874659, 1382874656, 1382874651, 1382874647, 1382874644, 1382874640, 1382874433, 1382874428, 1382874417, 1382874390, 1382874084, 1382874044, 1382873992] Looping around the photos to save general results len do output : 1 /26711220Didn'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, '3693245') ('4302', '26711220', '1382891378', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874782', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874769', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874764', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874749', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874745', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874742', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874740', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874737', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874736', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874723', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874718', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874714', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874707', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874703', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874702', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874692', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874686', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874681', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874677', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874673', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874671', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874659', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874656', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874651', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874647', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874644', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874640', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874433', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874428', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874417', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874390', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874084', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382874044', None, None, None, None, None, '3693245') ('4302', None, None, None, None, None, None, None, '3693245') ('4302', '26711220', '1382873992', None, None, None, None, None, '3693245') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 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, '26711220', 'None', None, None, None, None, '3693245'), ('4302', '26711220', '1382891378', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874782', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874769', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874764', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874749', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874745', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874742', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874740', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874737', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874736', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874723', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874718', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874714', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874707', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874703', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874702', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874692', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874686', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874681', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874677', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874673', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874671', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874659', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874656', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874651', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874647', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874644', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874640', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874433', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874428', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874417', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874390', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874084', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382874044', None, None, None, None, None, '3693245'), ('4302', '26711220', '1382873992', None, None, None, None, None, '3693245')] time used for this insertion : 0.020425796508789062 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.918900966644287 time spend to save output : 0.020776033401489258 total time spend for step 5 : 7.939677000045776 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 (3693245) 3.10user 2.12system 0:20.03elapsed 26%CPU (0avgtext+0avgdata 160784maxresident)k 320inputs+24816outputs (3major+74250minor)pagefaults 0swaps