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 : 2448032 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 (2531510) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2531510) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20090835 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2531510'] with mtr_portfolio_ids : ['20090835'] and first list_photo_ids : [] new path : /proc/2448032/ Name: python3 Umask: 0002 State: R (running) Tgid: 2448032 Ngid: 0 Pid: 2448032 PPid: 2448031 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2448032 NSpid: 2448032 NSpgid: 2446461 NSsid: 2446461 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 96736 kB VmRSS: 96736 kB RssAnon: 59760 kB RssFile: 36976 kB RssShmem: 0 kB VmData: 865596 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 588 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 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: 49 nonvoluntary_ctxt_switches: 97 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2448032', 'Ngid': '0', 'Pid': '2448032', 'PPid': '2448031', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2448032', 'NSpid': '2448032', 'NSpgid': '2446461', 'NSsid': '2446461', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '96736 kB', 'VmRSS': '96736 kB', 'RssAnon': '59760 kB', 'RssFile': '36976 kB', 'RssShmem': '0 kB', 'VmData': '865596 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '588 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', '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': '49', 'nonvoluntary_ctxt_switches': '97'} ('datou_batch_current', '2448032', '1106844', '0', '1106844', '865596', '96736', b'', 'marlene', '2531510') 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 (20090835) 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 (2531510 ) ) 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 (20090835) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1333178776, 'portfolio_id': 20090835}, {'photo_id': 1333178775, 'portfolio_id': 20090835}, {'photo_id': 1333178759, 'portfolio_id': 20090835}, {'photo_id': 1333178736, 'portfolio_id': 20090835}, {'photo_id': 1333178712, 'portfolio_id': 20090835}, {'photo_id': 1333178710, 'portfolio_id': 20090835}, {'photo_id': 1333178708, 'portfolio_id': 20090835}, {'photo_id': 1333178705, 'portfolio_id': 20090835}, {'photo_id': 1333178700, 'portfolio_id': 20090835}, {'photo_id': 1333178695, 'portfolio_id': 20090835}, {'photo_id': 1333178687, 'portfolio_id': 20090835}, {'photo_id': 1333178684, 'portfolio_id': 20090835}, {'photo_id': 1333178670, 'portfolio_id': 20090835}, {'photo_id': 1333178660, 'portfolio_id': 20090835}, {'photo_id': 1333178451, 'portfolio_id': 20090835}, {'photo_id': 1333178447, 'portfolio_id': 20090835}, {'photo_id': 1333178444, 'portfolio_id': 20090835}, {'photo_id': 1333178442, 'portfolio_id': 20090835}, {'photo_id': 1333178437, 'portfolio_id': 20090835}, {'photo_id': 1333178436, 'portfolio_id': 20090835}, {'photo_id': 1333178383, 'portfolio_id': 20090835}, {'photo_id': 1333178380, 'portfolio_id': 20090835}, {'photo_id': 1333178377, 'portfolio_id': 20090835}, {'photo_id': 1333178374, 'portfolio_id': 20090835}, {'photo_id': 1333178372, 'portfolio_id': 20090835}, {'photo_id': 1333178366, 'portfolio_id': 20090835}, {'photo_id': 1333178338, 'portfolio_id': 20090835}, {'photo_id': 1333178329, 'portfolio_id': 20090835}, {'photo_id': 1333178320, 'portfolio_id': 20090835}, {'photo_id': 1333178279, 'portfolio_id': 20090835}, {'photo_id': 1333178125, 'portfolio_id': 20090835}, {'photo_id': 1333177916, 'portfolio_id': 20090835}, {'photo_id': 1333177881, 'portfolio_id': 20090835}, {'photo_id': 1333177876, 'portfolio_id': 20090835}, {'photo_id': 1333177871, 'portfolio_id': 20090835}, {'photo_id': 1333177866, 'portfolio_id': 20090835}, {'photo_id': 1333177853, 'portfolio_id': 20090835}, {'photo_id': 1333177807, 'portfolio_id': 20090835}, {'photo_id': 1333177646, 'portfolio_id': 20090835}, {'photo_id': 1333177645, 'portfolio_id': 20090835}, {'photo_id': 1333177306, 'portfolio_id': 20090835}, {'photo_id': 1333171068, 'portfolio_id': 20090835}, {'photo_id': 1333171064, 'portfolio_id': 20090835}, {'photo_id': 1333171043, 'portfolio_id': 20090835}, {'photo_id': 1333171042, 'portfolio_id': 20090835}, {'photo_id': 1333171039, 'portfolio_id': 20090835}, {'photo_id': 1333171038, 'portfolio_id': 20090835}, {'photo_id': 1333170923, 'portfolio_id': 20090835}, {'photo_id': 1333170901, 'portfolio_id': 20090835}, {'photo_id': 1333170896, 'portfolio_id': 20090835}, {'photo_id': 1333170892, 'portfolio_id': 20090835}, {'photo_id': 1333170815, 'portfolio_id': 20090835}, {'photo_id': 1333170694, 'portfolio_id': 20090835}, {'photo_id': 1333170654, 'portfolio_id': 20090835}, {'photo_id': 1333170625, 'portfolio_id': 20090835}, {'photo_id': 1333170607, 'portfolio_id': 20090835}, {'photo_id': 1333170592, 'portfolio_id': 20090835}, {'photo_id': 1333170590, 'portfolio_id': 20090835}, {'photo_id': 1333170565, 'portfolio_id': 20090835}, {'photo_id': 1333170563, 'portfolio_id': 20090835}, {'photo_id': 1333170560, 'portfolio_id': 20090835}, {'photo_id': 1333170556, 'portfolio_id': 20090835}, {'photo_id': 1333170551, 'portfolio_id': 20090835}, {'photo_id': 1333164248, 'portfolio_id': 20090835}] map_portfolio_id_photo_id: {20090835: [1333178776, 1333178775, 1333178759, 1333178736, 1333178712, 1333178710, 1333178708, 1333178705, 1333178700, 1333178695, 1333178687, 1333178684, 1333178670, 1333178660, 1333178451, 1333178447, 1333178444, 1333178442, 1333178437, 1333178436, 1333178383, 1333178380, 1333178377, 1333178374, 1333178372, 1333178366, 1333178338, 1333178329, 1333178320, 1333178279, 1333178125, 1333177916, 1333177881, 1333177876, 1333177871, 1333177866, 1333177853, 1333177807, 1333177646, 1333177645, 1333177306, 1333171068, 1333171064, 1333171043, 1333171042, 1333171039, 1333171038, 1333170923, 1333170901, 1333170896, 1333170892, 1333170815, 1333170694, 1333170654, 1333170625, 1333170607, 1333170592, 1333170590, 1333170565, 1333170563, 1333170560, 1333170556, 1333170551, 1333164248]} ##### 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.12647628784179688 #### 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 Sat Feb 1 01:01:57 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 (20090835) 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 : 20090835 get user id for portfolio 20090835 get sub ptf for main ptf 20090835, type 3726 and hashtags ['flou', 'kraft', 'autre_refus', 'cartonnette', 'environnement', 'papier', 'plastique', 'mal_croppe', 'Carton_brun', 'metal', 'Carton_gris', 'Teint_Dans_La_Masse'] 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`=20090835 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','kraft','autre_refus','cartonnette','environnement','papier','plastique','mal_croppe','Carton_brun','metal','Carton_gris','Teint_Dans_La_Masse')) 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`=20090835 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','kraft','autre_refus','cartonnette','environnement','papier','plastique','mal_croppe','Carton_brun','metal','Carton_gris','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 20090835, 'sub_port_id': 20090838, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12810695, 'last_updated_at': datetime.datetime(2025, 1, 31, 2, 29, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 2, 29, 43), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 2, 24, 58)}, 'plastique': {'main_port_id': 20090835, 'sub_port_id': 20090839, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12810696, 'last_updated_at': datetime.datetime(2025, 1, 31, 2, 29, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 2, 29, 43), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 2, 24, 58)}, 'flou': {'main_port_id': 20090835, 'sub_port_id': 20090840, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12810697, 'last_updated_at': datetime.datetime(2025, 1, 31, 2, 29, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 2, 29, 43), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 2, 24, 58)}, 'autre_refus': {'main_port_id': 20090835, 'sub_port_id': 20090841, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12810698, 'last_updated_at': datetime.datetime(2025, 1, 31, 2, 29, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 2, 29, 43), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 2, 24, 58)}, 'cartonnette': {'main_port_id': 20090835, 'sub_port_id': 20090842, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12810699, 'last_updated_at': datetime.datetime(2025, 1, 31, 2, 29, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 2, 29, 43), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 2, 24, 58)}, 'Carton_gris': {'main_port_id': 20090835, 'sub_port_id': 20090843, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12810700, 'last_updated_at': datetime.datetime(2025, 1, 31, 2, 29, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 2, 29, 43), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 2, 24, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 20090835, 'sub_port_id': 20090844, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12810701, 'last_updated_at': datetime.datetime(2025, 1, 31, 2, 29, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 2, 29, 43), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 2, 24, 58)}, 'environnement': {'main_port_id': 20090835, 'sub_port_id': 20090845, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12810702, 'last_updated_at': datetime.datetime(2025, 1, 31, 2, 29, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 2, 29, 43), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 2, 24, 58)}, 'kraft': {'main_port_id': 20090835, 'sub_port_id': 20090846, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12810703, 'last_updated_at': datetime.datetime(2025, 1, 31, 2, 29, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 2, 29, 43), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 2, 24, 58)}, 'papier': {'main_port_id': 20090835, 'sub_port_id': 20090847, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12810704, 'last_updated_at': datetime.datetime(2025, 1, 31, 2, 29, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 2, 29, 43), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 2, 24, 58)}, 'mal_croppe': {'main_port_id': 20090835, 'sub_port_id': 20090848, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12810705, 'last_updated_at': datetime.datetime(2025, 1, 31, 2, 29, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 2, 29, 43), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 2, 24, 58)}, 'Carton_brun': {'main_port_id': 20090835, 'sub_port_id': 20090849, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12810706, 'last_updated_at': datetime.datetime(2025, 1, 31, 2, 29, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 2, 29, 43), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 2, 24, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20090838 , 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=20090835 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 (20090838) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20090835) result : ((1333164248,), (1333170551,), (1333170556,), (1333170560,), (1333170563,), (1333170565,), (1333170590,), (1333170592,), (1333170607,), (1333170625,), (1333170654,), (1333170694,), (1333170815,), (1333170892,), (1333170896,), (1333170901,), (1333170923,), (1333171038,), (1333171039,), (1333171042,), (1333171043,), (1333171064,), (1333171068,), (1333177306,), (1333177645,), (1333177646,), (1333177807,), (1333177853,), (1333177866,), (1333177871,), (1333177876,), (1333177881,), (1333177916,), (1333178125,), (1333178279,), (1333178320,), (1333178329,), (1333178338,), (1333178366,), (1333178372,), (1333178374,), (1333178377,), (1333178380,), (1333178383,), (1333178436,), (1333178437,), (1333178442,), (1333178444,), (1333178447,), (1333178451,), (1333178660,), (1333178670,), (1333178684,), (1333178687,), (1333178695,), (1333178700,), (1333178705,), (1333178708,), (1333178710,), (1333178712,), (1333178736,), (1333178759,), (1333178775,), (1333178776,)) 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 (1333178700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20090839 , 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=20090835 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 (20090839) result : ((1333171945,), (1333171948,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20090835) result : ((1333164248,), (1333170551,), (1333170556,), (1333170560,), (1333170563,), (1333170565,), (1333170590,), (1333170592,), (1333170607,), (1333170625,), (1333170654,), (1333170694,), (1333170815,), (1333170892,), (1333170896,), (1333170901,), (1333170923,), (1333171038,), (1333171039,), (1333171042,), (1333171043,), (1333171064,), (1333171068,), (1333177306,), (1333177645,), (1333177646,), (1333177807,), (1333177853,), (1333177866,), (1333177871,), (1333177876,), (1333177881,), (1333177916,), (1333178125,), (1333178279,), (1333178320,), (1333178329,), (1333178338,), (1333178366,), (1333178372,), (1333178374,), (1333178377,), (1333178380,), (1333178383,), (1333178436,), (1333178437,), (1333178442,), (1333178444,), (1333178447,), (1333178451,), (1333178660,), (1333178670,), (1333178684,), (1333178687,), (1333178695,), (1333178700,), (1333178705,), (1333178708,), (1333178710,), (1333178712,), (1333178736,), (1333178759,), (1333178775,), (1333178776,)) 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 (1333178700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20090840 , 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=20090835 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 (20090840) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20090835) result : ((1333164248,), (1333170551,), (1333170556,), (1333170560,), (1333170563,), (1333170565,), (1333170590,), (1333170592,), (1333170607,), (1333170625,), (1333170654,), (1333170694,), (1333170815,), (1333170892,), (1333170896,), (1333170901,), (1333170923,), (1333171038,), (1333171039,), (1333171042,), (1333171043,), (1333171064,), (1333171068,), (1333177306,), (1333177645,), (1333177646,), (1333177807,), (1333177853,), (1333177866,), (1333177871,), (1333177876,), (1333177881,), (1333177916,), (1333178125,), (1333178279,), (1333178320,), (1333178329,), (1333178338,), (1333178366,), (1333178372,), (1333178374,), (1333178377,), (1333178380,), (1333178383,), (1333178436,), (1333178437,), (1333178442,), (1333178444,), (1333178447,), (1333178451,), (1333178660,), (1333178670,), (1333178684,), (1333178687,), (1333178695,), (1333178700,), (1333178705,), (1333178708,), (1333178710,), (1333178712,), (1333178736,), (1333178759,), (1333178775,), (1333178776,)) 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 (1333178700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20090841 , 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=20090835 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 (20090841) result : ((1333171162,), (1333171163,), (1333171937,), (1333171938,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20090835) result : ((1333164248,), (1333170551,), (1333170556,), (1333170560,), (1333170563,), (1333170565,), (1333170590,), (1333170592,), (1333170607,), (1333170625,), (1333170654,), (1333170694,), (1333170815,), (1333170892,), (1333170896,), (1333170901,), (1333170923,), (1333171038,), (1333171039,), (1333171042,), (1333171043,), (1333171064,), (1333171068,), (1333177306,), (1333177645,), (1333177646,), (1333177807,), (1333177853,), (1333177866,), (1333177871,), (1333177876,), (1333177881,), (1333177916,), (1333178125,), (1333178279,), (1333178320,), (1333178329,), (1333178338,), (1333178366,), (1333178372,), (1333178374,), (1333178377,), (1333178380,), (1333178383,), (1333178436,), (1333178437,), (1333178442,), (1333178444,), (1333178447,), (1333178451,), (1333178660,), (1333178670,), (1333178684,), (1333178687,), (1333178695,), (1333178700,), (1333178705,), (1333178708,), (1333178710,), (1333178712,), (1333178736,), (1333178759,), (1333178775,), (1333178776,)) 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 (1333178700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20090842 , 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=20090835 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 (20090842) result : ((1333171134,), (1333171170,), (1333171171,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20090835) result : ((1333164248,), (1333170551,), (1333170556,), (1333170560,), (1333170563,), (1333170565,), (1333170590,), (1333170592,), (1333170607,), (1333170625,), (1333170654,), (1333170694,), (1333170815,), (1333170892,), (1333170896,), (1333170901,), (1333170923,), (1333171038,), (1333171039,), (1333171042,), (1333171043,), (1333171064,), (1333171068,), (1333177306,), (1333177645,), (1333177646,), (1333177807,), (1333177853,), (1333177866,), (1333177871,), (1333177876,), (1333177881,), (1333177916,), (1333178125,), (1333178279,), (1333178320,), (1333178329,), (1333178338,), (1333178366,), (1333178372,), (1333178374,), (1333178377,), (1333178380,), (1333178383,), (1333178436,), (1333178437,), (1333178442,), (1333178444,), (1333178447,), (1333178451,), (1333178660,), (1333178670,), (1333178684,), (1333178687,), (1333178695,), (1333178700,), (1333178705,), (1333178708,), (1333178710,), (1333178712,), (1333178736,), (1333178759,), (1333178775,), (1333178776,)) 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 (1333178700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20090843 , 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=20090835 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 (20090843) result : ((1333171166,), (1333171167,), (1333171168,), (1333171169,), (1333171941,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20090835) result : ((1333164248,), (1333170551,), (1333170556,), (1333170560,), (1333170563,), (1333170565,), (1333170590,), (1333170592,), (1333170607,), (1333170625,), (1333170654,), (1333170694,), (1333170815,), (1333170892,), (1333170896,), (1333170901,), (1333170923,), (1333171038,), (1333171039,), (1333171042,), (1333171043,), (1333171064,), (1333171068,), (1333177306,), (1333177645,), (1333177646,), (1333177807,), (1333177853,), (1333177866,), (1333177871,), (1333177876,), (1333177881,), (1333177916,), (1333178125,), (1333178279,), (1333178320,), (1333178329,), (1333178338,), (1333178366,), (1333178372,), (1333178374,), (1333178377,), (1333178380,), (1333178383,), (1333178436,), (1333178437,), (1333178442,), (1333178444,), (1333178447,), (1333178451,), (1333178660,), (1333178670,), (1333178684,), (1333178687,), (1333178695,), (1333178700,), (1333178705,), (1333178708,), (1333178710,), (1333178712,), (1333178736,), (1333178759,), (1333178775,), (1333178776,)) 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 (1333178700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20090844 , 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=20090835 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 (20090844) result : ((1333171131,), (1333171132,), (1333171935,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20090835) result : ((1333164248,), (1333170551,), (1333170556,), (1333170560,), (1333170563,), (1333170565,), (1333170590,), (1333170592,), (1333170607,), (1333170625,), (1333170654,), (1333170694,), (1333170815,), (1333170892,), (1333170896,), (1333170901,), (1333170923,), (1333171038,), (1333171039,), (1333171042,), (1333171043,), (1333171064,), (1333171068,), (1333177306,), (1333177645,), (1333177646,), (1333177807,), (1333177853,), (1333177866,), (1333177871,), (1333177876,), (1333177881,), (1333177916,), (1333178125,), (1333178279,), (1333178320,), (1333178329,), (1333178338,), (1333178366,), (1333178372,), (1333178374,), (1333178377,), (1333178380,), (1333178383,), (1333178436,), (1333178437,), (1333178442,), (1333178444,), (1333178447,), (1333178451,), (1333178660,), (1333178670,), (1333178684,), (1333178687,), (1333178695,), (1333178700,), (1333178705,), (1333178708,), (1333178710,), (1333178712,), (1333178736,), (1333178759,), (1333178775,), (1333178776,)) 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 (1333178700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20090845 , 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=20090835 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 (20090845) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20090835) result : ((1333164248,), (1333170551,), (1333170556,), (1333170560,), (1333170563,), (1333170565,), (1333170590,), (1333170592,), (1333170607,), (1333170625,), (1333170654,), (1333170694,), (1333170815,), (1333170892,), (1333170896,), (1333170901,), (1333170923,), (1333171038,), (1333171039,), (1333171042,), (1333171043,), (1333171064,), (1333171068,), (1333177306,), (1333177645,), (1333177646,), (1333177807,), (1333177853,), (1333177866,), (1333177871,), (1333177876,), (1333177881,), (1333177916,), (1333178125,), (1333178279,), (1333178320,), (1333178329,), (1333178338,), (1333178366,), (1333178372,), (1333178374,), (1333178377,), (1333178380,), (1333178383,), (1333178436,), (1333178437,), (1333178442,), (1333178444,), (1333178447,), (1333178451,), (1333178660,), (1333178670,), (1333178684,), (1333178687,), (1333178695,), (1333178700,), (1333178705,), (1333178708,), (1333178710,), (1333178712,), (1333178736,), (1333178759,), (1333178775,), (1333178776,)) 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 (1333178700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20090846 , 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=20090835 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 (20090846) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20090835) result : ((1333164248,), (1333170551,), (1333170556,), (1333170560,), (1333170563,), (1333170565,), (1333170590,), (1333170592,), (1333170607,), (1333170625,), (1333170654,), (1333170694,), (1333170815,), (1333170892,), (1333170896,), (1333170901,), (1333170923,), (1333171038,), (1333171039,), (1333171042,), (1333171043,), (1333171064,), (1333171068,), (1333177306,), (1333177645,), (1333177646,), (1333177807,), (1333177853,), (1333177866,), (1333177871,), (1333177876,), (1333177881,), (1333177916,), (1333178125,), (1333178279,), (1333178320,), (1333178329,), (1333178338,), (1333178366,), (1333178372,), (1333178374,), (1333178377,), (1333178380,), (1333178383,), (1333178436,), (1333178437,), (1333178442,), (1333178444,), (1333178447,), (1333178451,), (1333178660,), (1333178670,), (1333178684,), (1333178687,), (1333178695,), (1333178700,), (1333178705,), (1333178708,), (1333178710,), (1333178712,), (1333178736,), (1333178759,), (1333178775,), (1333178776,)) 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 (1333178700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20090847 , 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=20090835 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 (20090847) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20090835) result : ((1333164248,), (1333170551,), (1333170556,), (1333170560,), (1333170563,), (1333170565,), (1333170590,), (1333170592,), (1333170607,), (1333170625,), (1333170654,), (1333170694,), (1333170815,), (1333170892,), (1333170896,), (1333170901,), (1333170923,), (1333171038,), (1333171039,), (1333171042,), (1333171043,), (1333171064,), (1333171068,), (1333177306,), (1333177645,), (1333177646,), (1333177807,), (1333177853,), (1333177866,), (1333177871,), (1333177876,), (1333177881,), (1333177916,), (1333178125,), (1333178279,), (1333178320,), (1333178329,), (1333178338,), (1333178366,), (1333178372,), (1333178374,), (1333178377,), (1333178380,), (1333178383,), (1333178436,), (1333178437,), (1333178442,), (1333178444,), (1333178447,), (1333178451,), (1333178660,), (1333178670,), (1333178684,), (1333178687,), (1333178695,), (1333178700,), (1333178705,), (1333178708,), (1333178710,), (1333178712,), (1333178736,), (1333178759,), (1333178775,), (1333178776,)) 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 (1333178700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20090848 , 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=20090835 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 (20090848) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20090835) result : ((1333164248,), (1333170551,), (1333170556,), (1333170560,), (1333170563,), (1333170565,), (1333170590,), (1333170592,), (1333170607,), (1333170625,), (1333170654,), (1333170694,), (1333170815,), (1333170892,), (1333170896,), (1333170901,), (1333170923,), (1333171038,), (1333171039,), (1333171042,), (1333171043,), (1333171064,), (1333171068,), (1333177306,), (1333177645,), (1333177646,), (1333177807,), (1333177853,), (1333177866,), (1333177871,), (1333177876,), (1333177881,), (1333177916,), (1333178125,), (1333178279,), (1333178320,), (1333178329,), (1333178338,), (1333178366,), (1333178372,), (1333178374,), (1333178377,), (1333178380,), (1333178383,), (1333178436,), (1333178437,), (1333178442,), (1333178444,), (1333178447,), (1333178451,), (1333178660,), (1333178670,), (1333178684,), (1333178687,), (1333178695,), (1333178700,), (1333178705,), (1333178708,), (1333178710,), (1333178712,), (1333178736,), (1333178759,), (1333178775,), (1333178776,)) 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 (1333178700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20090849 , 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=20090835 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 (20090849) result : ((1333171175,), (1333171942,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20090835) result : ((1333164248,), (1333170551,), (1333170556,), (1333170560,), (1333170563,), (1333170565,), (1333170590,), (1333170592,), (1333170607,), (1333170625,), (1333170654,), (1333170694,), (1333170815,), (1333170892,), (1333170896,), (1333170901,), (1333170923,), (1333171038,), (1333171039,), (1333171042,), (1333171043,), (1333171064,), (1333171068,), (1333177306,), (1333177645,), (1333177646,), (1333177807,), (1333177853,), (1333177866,), (1333177871,), (1333177876,), (1333177881,), (1333177916,), (1333178125,), (1333178279,), (1333178320,), (1333178329,), (1333178338,), (1333178366,), (1333178372,), (1333178374,), (1333178377,), (1333178380,), (1333178383,), (1333178436,), (1333178437,), (1333178442,), (1333178444,), (1333178447,), (1333178451,), (1333178660,), (1333178670,), (1333178684,), (1333178687,), (1333178695,), (1333178700,), (1333178705,), (1333178708,), (1333178710,), (1333178712,), (1333178736,), (1333178759,), (1333178775,), (1333178776,)) 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 (1333178700) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20090835 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','kraft','autre_refus','cartonnette','environnement','papier','plastique','mal_croppe','Carton_brun','metal','Carton_gris','Teint_Dans_La_Masse')) 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`=20090835 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','kraft','autre_refus','cartonnette','environnement','papier','plastique','mal_croppe','Carton_brun','metal','Carton_gris','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 20090835, 'sub_port_id': 20090850, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12810707, 'last_updated_at': datetime.datetime(2025, 1, 31, 2, 25), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 2, 25), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 2, 25)}, 'plastique': {'main_port_id': 20090835, 'sub_port_id': 20090851, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12810708, 'last_updated_at': datetime.datetime(2025, 1, 31, 2, 25), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 2, 25), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 2, 25)}, 'flou': {'main_port_id': 20090835, 'sub_port_id': 20090852, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12810709, 'last_updated_at': datetime.datetime(2025, 1, 31, 2, 25), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 2, 25), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 2, 25)}, 'autre_refus': {'main_port_id': 20090835, 'sub_port_id': 20090853, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12810710, 'last_updated_at': datetime.datetime(2025, 1, 31, 2, 25), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 2, 25), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 2, 25)}, 'cartonnette': {'main_port_id': 20090835, 'sub_port_id': 20090854, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12810711, 'last_updated_at': datetime.datetime(2025, 1, 31, 2, 25), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 2, 25), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 2, 25)}, 'Carton_gris': {'main_port_id': 20090835, 'sub_port_id': 20090855, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12810712, 'last_updated_at': datetime.datetime(2025, 1, 31, 2, 25), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 2, 25), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 2, 25)}, 'Teint_Dans_La_Masse': {'main_port_id': 20090835, 'sub_port_id': 20090856, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12810713, 'last_updated_at': datetime.datetime(2025, 1, 31, 2, 25), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 2, 25), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 2, 25)}, 'environnement': {'main_port_id': 20090835, 'sub_port_id': 20090857, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12810714, 'last_updated_at': datetime.datetime(2025, 1, 31, 2, 25), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 2, 25), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 2, 25)}, 'kraft': {'main_port_id': 20090835, 'sub_port_id': 20090858, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12810715, 'last_updated_at': datetime.datetime(2025, 1, 31, 2, 25), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 2, 25), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 2, 25)}, 'papier': {'main_port_id': 20090835, 'sub_port_id': 20090859, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12810716, 'last_updated_at': datetime.datetime(2025, 1, 31, 2, 25), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 2, 25), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 2, 25)}, 'mal_croppe': {'main_port_id': 20090835, 'sub_port_id': 20090860, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12810717, 'last_updated_at': datetime.datetime(2025, 1, 31, 2, 25), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 2, 25), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 2, 25)}, 'Carton_brun': {'main_port_id': 20090835, 'sub_port_id': 20090861, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12810718, 'last_updated_at': datetime.datetime(2025, 1, 31, 2, 29, 52), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 2, 29, 52), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 2, 25)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20090850,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20090838 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20090851,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20090839 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20090852,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20090840 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20090853,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20090841 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20090854,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20090842 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20090855,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20090843 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20090856,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20090844 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20090857,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20090845 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20090858,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20090846 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20090859,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20090847 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20090860,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20090848 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20090861,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20090849 lien utilise dans velours : https://www.fotonower.com/velours/20090850,20090851,20090852,20090853,20090854,20090855,20090856,20090857,20090858,20090859,20090860,20090861?tags=metal,plastique,flou,autre_refus,cartonnette,Carton_gris,Teint_Dans_La_Masse,environnement,kraft,papier,mal_croppe,Carton_brun After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20090835]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1333178776, 1333178775, 1333178759, 1333178736, 1333178712, 1333178710, 1333178708, 1333178705, 1333178700, 1333178695, 1333178687, 1333178684, 1333178670, 1333178660, 1333178451, 1333178447, 1333178444, 1333178442, 1333178437, 1333178436, 1333178383, 1333178380, 1333178377, 1333178374, 1333178372, 1333178366, 1333178338, 1333178329, 1333178320, 1333178279, 1333178125, 1333177916, 1333177881, 1333177876, 1333177871, 1333177866, 1333177853, 1333177807, 1333177646, 1333177645, 1333177306] map_info['map_portfolio_photo'] : {20090835: [1333178776, 1333178775, 1333178759, 1333178736, 1333178712, 1333178710, 1333178708, 1333178705, 1333178700, 1333178695, 1333178687, 1333178684, 1333178670, 1333178660, 1333178451, 1333178447, 1333178444, 1333178442, 1333178437, 1333178436, 1333178383, 1333178380, 1333178377, 1333178374, 1333178372, 1333178366, 1333178338, 1333178329, 1333178320, 1333178279, 1333178125, 1333177916, 1333177881, 1333177876, 1333177871, 1333177866, 1333177853, 1333177807, 1333177646, 1333177645, 1333177306, 1333171068, 1333171064, 1333171043, 1333171042, 1333171039, 1333171038, 1333170923, 1333170901, 1333170896, 1333170892, 1333170815, 1333170694, 1333170654, 1333170625, 1333170607, 1333170592, 1333170590, 1333170565, 1333170563, 1333170560, 1333170556, 1333170551, 1333164248]} final : False mtd_id 4302 list_pids : [1333178776, 1333178775, 1333178759, 1333178736, 1333178712, 1333178710, 1333178708, 1333178705, 1333178700, 1333178695, 1333178687, 1333178684, 1333178670, 1333178660, 1333178451, 1333178447, 1333178444, 1333178442, 1333178437, 1333178436, 1333178383, 1333178380, 1333178377, 1333178374, 1333178372, 1333178366, 1333178338, 1333178329, 1333178320, 1333178279, 1333178125, 1333177916, 1333177881, 1333177876, 1333177871, 1333177866, 1333177853, 1333177807, 1333177646, 1333177645, 1333177306] Looping around the photos to save general results len do output : 1 /20090835. 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, '2531510') ('4302', '20090835', '1333178776', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178775', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178759', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178736', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178712', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178710', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178708', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178705', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178700', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178695', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178687', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178684', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178670', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178660', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178451', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178447', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178444', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178442', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178437', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178436', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178383', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178380', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178377', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178374', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178372', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178366', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178338', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178329', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178320', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178279', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178125', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177916', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177881', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177876', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177871', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177866', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177853', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177807', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177646', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177645', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177306', None, None, None, None, None, '2531510') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 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, '20090835', "{'metal': 20090838, 'plastique': 20090839, 'flou': 20090840, 'autre_refus': 20090841, 'cartonnette': 20090842, 'Carton_gris': 20090843, 'Teint_Dans_La_Masse': 20090844, 'environnement': 20090845, 'kraft': 20090846, 'papier': 20090847, 'mal_croppe': 20090848, 'Carton_brun': 20090849}", None, None, None, None, '2531510'), ('4302', '20090835', '1333178776', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178775', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178759', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178736', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178712', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178710', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178708', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178705', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178700', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178695', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178687', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178684', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178670', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178660', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178451', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178447', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178444', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178442', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178437', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178436', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178383', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178380', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178377', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178374', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178372', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178366', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178338', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178329', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178320', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178279', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178125', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177916', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177881', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177876', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177871', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177866', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177853', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177807', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177646', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177645', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177306', None, None, None, None, None, '2531510')] time used for this insertion : 0.028520822525024414 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5364015102386475 time spend to save output : 0.02896881103515625 total time spend for step 1 : 0.5653703212738037 step2:final Sat Feb 1 01:01:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20090835) 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 20090835 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1333178776,1333170565,1333170563,1333178775,1333170560,1333178759,1333170556,1333178736,1333170551,1333178712,1333178710,1333178708,1333178705,1333178700,1333178695,1333178687,1333178684,1333178670,1333178660,1333178451,1333178447,1333178444,1333178442,1333178437,1333178436,1333178383,1333178380,1333178377,1333178374,1333170694,1333170654,1333170625,1333170607,1333170592,1333170590,1333178372,1333178366,1333178338,1333178329,1333178320,1333178279,1333178125,1333177916,1333177881,1333177876,1333177871,1333177866,1333177853,1333177807,1333177646,1333177645,1333177306,1333171068,1333171064,1333171043,1333171042,1333171039,1333171038,1333170923,1333170901,1333170896,1333164248,1333170892,1333170815); 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([20090835]) Inside saveOutput : final : False verbose : True original output for save of step final : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} new output for save of step final : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} [1333178776, 1333178775, 1333178759, 1333178736, 1333178712, 1333178710, 1333178708, 1333178705, 1333178700, 1333178695, 1333178687, 1333178684, 1333178670, 1333178660, 1333178451, 1333178447, 1333178444, 1333178442, 1333178437, 1333178436, 1333178383, 1333178380, 1333178377, 1333178374, 1333178372, 1333178366, 1333178338, 1333178329, 1333178320, 1333178279, 1333178125, 1333177916, 1333177881, 1333177876, 1333177871, 1333177866, 1333177853, 1333177807, 1333177646, 1333177645, 1333177306] map_info['map_portfolio_photo'] : {20090835: [1333178776, 1333178775, 1333178759, 1333178736, 1333178712, 1333178710, 1333178708, 1333178705, 1333178700, 1333178695, 1333178687, 1333178684, 1333178670, 1333178660, 1333178451, 1333178447, 1333178444, 1333178442, 1333178437, 1333178436, 1333178383, 1333178380, 1333178377, 1333178374, 1333178372, 1333178366, 1333178338, 1333178329, 1333178320, 1333178279, 1333178125, 1333177916, 1333177881, 1333177876, 1333177871, 1333177866, 1333177853, 1333177807, 1333177646, 1333177645, 1333177306, 1333171068, 1333171064, 1333171043, 1333171042, 1333171039, 1333171038, 1333170923, 1333170901, 1333170896, 1333170892, 1333170815, 1333170694, 1333170654, 1333170625, 1333170607, 1333170592, 1333170590, 1333170565, 1333170563, 1333170560, 1333170556, 1333170551, 1333164248]} final : False mtd_id 4302 list_pids : [1333178776, 1333178775, 1333178759, 1333178736, 1333178712, 1333178710, 1333178708, 1333178705, 1333178700, 1333178695, 1333178687, 1333178684, 1333178670, 1333178660, 1333178451, 1333178447, 1333178444, 1333178442, 1333178437, 1333178436, 1333178383, 1333178380, 1333178377, 1333178374, 1333178372, 1333178366, 1333178338, 1333178329, 1333178320, 1333178279, 1333178125, 1333177916, 1333177881, 1333177876, 1333177871, 1333177866, 1333177853, 1333177807, 1333177646, 1333177645, 1333177306] Looping around the photos to save general results len do output : 41 /1333178776.Didn't retrieve data . /1333178775.Didn't retrieve data . /1333178759.Didn't retrieve data . /1333178736.Didn't retrieve data . /1333178712.Didn't retrieve data . /1333178710.Didn't retrieve data . /1333178708.Didn't retrieve data . /1333178705.Didn't retrieve data . /1333178700.Didn't retrieve data . /1333178695.Didn't retrieve data . /1333178687.Didn't retrieve data . /1333178684.Didn't retrieve data . /1333178670.Didn't retrieve data . /1333178660.Didn't retrieve data . /1333178451.Didn't retrieve data . /1333178447.Didn't retrieve data . /1333178444.Didn't retrieve data . /1333178442.Didn't retrieve data . /1333178437.Didn't retrieve data . /1333178436.Didn't retrieve data . /1333178383.Didn't retrieve data . /1333178380.Didn't retrieve data . /1333178377.Didn't retrieve data . /1333178374.Didn't retrieve data . /1333178372.Didn't retrieve data . /1333178366.Didn't retrieve data . /1333178338.Didn't retrieve data . /1333178329.Didn't retrieve data . /1333178320.Didn't retrieve data . /1333178279.Didn't retrieve data . /1333178125.Didn't retrieve data . /1333177916.Didn't retrieve data . /1333177881.Didn't retrieve data . /1333177876.Didn't retrieve data . /1333177871.Didn't retrieve data . /1333177866.Didn't retrieve data . /1333177853.Didn't retrieve data . /1333177807.Didn't retrieve data . /1333177646.Didn't retrieve data . /1333177645.Didn't retrieve data . /1333177306.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, '2531510') ('4302', '20090835', '1333178776', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178775', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178759', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178736', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178712', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178710', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178708', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178705', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178700', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178695', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178687', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178684', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178670', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178660', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178451', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178447', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178444', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178442', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178437', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178436', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178383', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178380', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178377', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178374', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178372', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178366', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178338', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178329', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178320', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178279', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178125', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177916', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177881', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177876', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177871', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177866', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177853', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177807', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177646', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177645', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177306', None, None, None, None, None, '2531510') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 123 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', '20090835', '1333178776', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178775', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178759', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178736', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178712', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178710', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178708', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178705', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178700', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178695', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178687', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178684', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178670', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178660', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178451', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178447', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178444', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178442', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178437', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178436', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178383', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178380', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178377', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178374', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178372', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178366', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178338', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178329', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178320', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178279', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333178125', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333177916', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333177881', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333177876', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333177871', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333177866', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333177853', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333177807', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333177646', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333177645', '0.04907240156183414', None, None, None, None, '2531510'), ('4302', '20090835', '1333177306', '0.04907240156183414', None, None, None, None, '2531510')] time used for this insertion : 0.024172067642211914 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.20697903633117676 time spend to save output : 0.0258786678314209 total time spend for step 2 : 0.23285770416259766 step3:velours_tree Sat Feb 1 01:01:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {20090835: [{'metal': 20090838, 'plastique': 20090839, 'flou': 20090840, 'autre_refus': 20090841, 'cartonnette': 20090842, 'Carton_gris': 20090843, 'Teint_Dans_La_Masse': 20090844, 'environnement': 20090845, 'kraft': 20090846, 'papier': 20090847, 'mal_croppe': 20090848, 'Carton_brun': 20090849}]} input_args_next_step : {20090835: ()} output_args : {20090835: [{'metal': 20090838, 'plastique': 20090839, 'flou': 20090840, 'autre_refus': 20090841, 'cartonnette': 20090842, 'Carton_gris': 20090843, 'Teint_Dans_La_Masse': 20090844, 'environnement': 20090845, 'kraft': 20090846, 'papier': 20090847, 'mal_croppe': 20090848, 'Carton_brun': 20090849}]} args : 20090835 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 : ({'metal': 20090838, 'plastique': 20090839, 'flou': 20090840, 'autre_refus': 20090841, 'cartonnette': 20090842, 'Carton_gris': 20090843, 'Teint_Dans_La_Masse': 20090844, 'environnement': 20090845, 'kraft': 20090846, 'papier': 20090847, 'mal_croppe': 20090848, 'Carton_brun': 20090849},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20090835) 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([20090835]) 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.30515360832214355 time spend to save output : 6.151199340820312e-05 total time spend for step 3 : 0.30521512031555176 step4:send_mail_cod Sat Feb 1 01:01:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} input_args_next_step : {1333178776: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178776 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178775 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178759 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178736 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178712 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178710 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178708 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178705 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178700 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178695 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178687 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178684 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178670 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178660 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178451 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178447 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178444 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178442 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178437 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178436 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178383 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178380 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178377 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178374 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178372 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178366 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178338 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178329 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178320 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178279 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333178125 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333177916 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333177881 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333177876 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333177871 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333177866 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333177853 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333177807 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333177646 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333177645 depend.output_id : 0 input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ()} output_args : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',)} args : 1333177306 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 : {20090835: [{'metal': 20090838, 'plastique': 20090839, 'flou': 20090840, 'autre_refus': 20090841, 'cartonnette': 20090842, 'Carton_gris': 20090843, 'Teint_Dans_La_Masse': 20090844, 'environnement': 20090845, 'kraft': 20090846, 'papier': 20090847, 'mal_croppe': 20090848, 'Carton_brun': 20090849}]} input_args_next_step : {1333178776: ('0.04907240156183414',), 1333178775: ('0.04907240156183414',), 1333178759: ('0.04907240156183414',), 1333178736: ('0.04907240156183414',), 1333178712: ('0.04907240156183414',), 1333178710: ('0.04907240156183414',), 1333178708: ('0.04907240156183414',), 1333178705: ('0.04907240156183414',), 1333178700: ('0.04907240156183414',), 1333178695: ('0.04907240156183414',), 1333178687: ('0.04907240156183414',), 1333178684: ('0.04907240156183414',), 1333178670: ('0.04907240156183414',), 1333178660: ('0.04907240156183414',), 1333178451: ('0.04907240156183414',), 1333178447: ('0.04907240156183414',), 1333178444: ('0.04907240156183414',), 1333178442: ('0.04907240156183414',), 1333178437: ('0.04907240156183414',), 1333178436: ('0.04907240156183414',), 1333178383: ('0.04907240156183414',), 1333178380: ('0.04907240156183414',), 1333178377: ('0.04907240156183414',), 1333178374: ('0.04907240156183414',), 1333178372: ('0.04907240156183414',), 1333178366: ('0.04907240156183414',), 1333178338: ('0.04907240156183414',), 1333178329: ('0.04907240156183414',), 1333178320: ('0.04907240156183414',), 1333178279: ('0.04907240156183414',), 1333178125: ('0.04907240156183414',), 1333177916: ('0.04907240156183414',), 1333177881: ('0.04907240156183414',), 1333177876: ('0.04907240156183414',), 1333177871: ('0.04907240156183414',), 1333177866: ('0.04907240156183414',), 1333177853: ('0.04907240156183414',), 1333177807: ('0.04907240156183414',), 1333177646: ('0.04907240156183414',), 1333177645: ('0.04907240156183414',), 1333177306: ('0.04907240156183414',), 20090835: ()} output_args : {20090835: [{'metal': 20090838, 'plastique': 20090839, 'flou': 20090840, 'autre_refus': 20090841, 'cartonnette': 20090842, 'Carton_gris': 20090843, 'Teint_Dans_La_Masse': 20090844, 'environnement': 20090845, 'kraft': 20090846, 'papier': 20090847, 'mal_croppe': 20090848, 'Carton_brun': 20090849}]} args : 20090835 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 :42, first value : ('0.04907240156183414',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20090835) 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 (1333178776,1333178775,1333178759,1333178736,1333178712,1333178710,1333178708,1333178705,1333178700,1333178695,1333178687,1333178684,1333178670,1333178660,1333178451,1333178447,1333178444,1333178442,1333178437,1333178436,1333178383,1333178380,1333178377,1333178374,1333178372,1333178366,1333178338,1333178329,1333178320,1333178279,1333178125,1333177916,1333177881,1333177876,1333177871,1333177866,1333177853,1333177807,1333177646,1333177645,1333177306) Found this number of photos: 41 ##### Call download_photos : nb_thread : 5 begin to download photo : 1333177306 begin to download photo : 1333177916 begin to download photo : 1333178377 begin to download photo : 1333178660 begin to download photo : 1333178712 download finish for photo 1333178712 begin to download photo : 1333178736 download finish for photo 1333178377 begin to download photo : 1333178380 download finish for photo 1333178660 begin to download photo : 1333178670 download finish for photo 1333177306 begin to download photo : 1333177645 download finish for photo 1333177916 begin to download photo : 1333178125 download finish for photo 1333178736 begin to download photo : 1333178759 download finish for photo 1333178125 begin to download photo : 1333178279 download finish for photo 1333178380 begin to download photo : 1333178383 download finish for photo 1333177645 begin to download photo : 1333177646 download finish for photo 1333178759 begin to download photo : 1333178775 download finish for photo 1333178670 begin to download photo : 1333178684 download finish for photo 1333178279 begin to download photo : 1333178320 download finish for photo 1333178383 begin to download photo : 1333178436 download finish for photo 1333177646 begin to download photo : 1333177807 download finish for photo 1333178320 begin to download photo : 1333178329 download finish for photo 1333178684 begin to download photo : 1333178687 download finish for photo 1333178775 begin to download photo : 1333178776 download finish for photo 1333178436 begin to download photo : 1333178437 download finish for photo 1333177807 begin to download photo : 1333177853 download finish for photo 1333178687 begin to download photo : 1333178695 download finish for photo 1333178329 begin to download photo : 1333178338 download finish for photo 1333178437 begin to download photo : 1333178442 download finish for photo 1333177853 begin to download photo : 1333177866 download finish for photo 1333178695 begin to download photo : 1333178700 download finish for photo 1333178442 begin to download photo : 1333178444 download finish for photo 1333178338 begin to download photo : 1333178366 download finish for photo 1333177866 begin to download photo : 1333177871 download finish for photo 1333178700 begin to download photo : 1333178705 download finish for photo 1333178366 begin to download photo : 1333178372 download finish for photo 1333178444 begin to download photo : 1333178447 download finish for photo 1333177871 begin to download photo : 1333177876 download finish for photo 1333178705 begin to download photo : 1333178708 download finish for photo 1333178372 begin to download photo : 1333178374 download finish for photo 1333178776 download finish for photo 1333178708 begin to download photo : 1333178710 download finish for photo 1333177876 begin to download photo : 1333177881 download finish for photo 1333178374 download finish for photo 1333178447 begin to download photo : 1333178451 download finish for photo 1333178710 download finish for photo 1333177881 download finish for photo 1333178451 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette200908381738368120/ length of list_filenames : 41 ; length of list_pids : 41 ; length of list_args : 41 results_Auto_P20090835_01-02-2025_01_02_00.pdf 20090838 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=20090838 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette200908381738368120 20090839 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=20090839 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333171945: '1738286993_270203_1333170815_54f9bf420b40ea4134eaa0745c578fdc_rle_crop_3646101370_0.png', 1333171948: '1738286993_270203_1333164248_81cfa5d3a2a1233ce7472ca5b714ef34_rle_crop_3646101394_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5253384acd98a9b69e55dca26d2b5cf4_17988076.png change filename to text .imagette200908391738368120/ imagette200908391738368120/1738286993_270203_1333164248_81cfa5d3a2a1233ce7472ca5b714ef34_rle_crop_3646101394_0.png.png imagette200908391738368120/1738286993_270203_1333170815_54f9bf420b40ea4134eaa0745c578fdc_rle_crop_3646101370_0.png.png imagette200908401738368120/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9f5b4eced8475f8467fac68304e06164_24713012.png imagette200908391738368120 20090840 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=20090840 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette200908401738368120 20090841 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=20090841 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333171162: '1738286702_266887_1333170654_05e8f03784f6567e1e199f9685c011ba_rle_crop_3646094813_0.png', 1333171163: '1738286702_266887_1333170625_7f9eaa3896a25065dcce675ba471fdd3_rle_crop_3646094825_0.png', 1333171937: '1738286993_270203_1333170815_54f9bf420b40ea4134eaa0745c578fdc_rle_crop_3646101375_0.png', 1333171938: '1738286993_270203_1333170815_54f9bf420b40ea4134eaa0745c578fdc_rle_crop_3646101374_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fd438f022435699e90c989e797b28f6f_79126477.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6953becadf048486f7195e9281f89e8a_51308387.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/761c7a6c6f2018e070eada6f50752d10_45561433.png change filename to text .imagette200908411738368120/ imagette200908411738368120/1738286702_266887_1333170625_7f9eaa3896a25065dcce675ba471fdd3_rle_crop_3646094825_0.png.png imagette200908411738368120/1738286993_270203_1333170815_54f9bf420b40ea4134eaa0745c578fdc_rle_crop_3646101374_0.png.png imagette200908411738368120/1738286993_270203_1333170815_54f9bf420b40ea4134eaa0745c578fdc_rle_crop_3646101375_0.png.png imagette200908411738368120/1738286702_266887_1333170654_05e8f03784f6567e1e199f9685c011ba_rle_crop_3646094813_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/73bf4730f47184fa155bc7de261ae6ee_94250020.png imagette200908411738368120 20090842 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=20090842 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333171134: '1738286692_266775_1333170563_f5f125050bf94880f5e19c5052e3ce3b_rle_crop_3646092883_0.png', 1333171170: '1738286702_266887_1333170694_7afc228f6de58f3289504be2e4fea6fc_rle_crop_3646094800_0.png', 1333171171: '1738286702_266887_1333170625_7f9eaa3896a25065dcce675ba471fdd3_rle_crop_3646094829_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1777482227b76d25a82dd8b9e162d4a2_36866827.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b665c8e419e52e2b9519cea33d1ddc89_18767329.png change filename to text .imagette200908421738368120/ imagette200908421738368120/1738286702_266887_1333170694_7afc228f6de58f3289504be2e4fea6fc_rle_crop_3646094800_0.png.png imagette200908421738368120/1738286692_266775_1333170563_f5f125050bf94880f5e19c5052e3ce3b_rle_crop_3646092883_0.png.png imagette200908421738368120/1738286702_266887_1333170625_7f9eaa3896a25065dcce675ba471fdd3_rle_crop_3646094829_0.png.png imagette200908461738368121/ imagette200908481738368121/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c45d96c802082884fde87e1dcd6178cd_40238765.png imagette200908421738368120 20090846 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=20090846 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette200908461738368121 20090848 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=20090848 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette200908481738368121 20090843 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=20090843 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333171166: '1738286702_266887_1333170654_05e8f03784f6567e1e199f9685c011ba_rle_crop_3646094808_0.png', 1333171167: '1738286702_266887_1333170607_ee1b7b780583daee3153aa5534b7a7fb_rle_crop_3646094841_0.png', 1333171168: '1738286702_266887_1333170592_7a41b5b4cd343db002b11cb2f45bebca_rle_crop_3646094864_0.png', 1333171169: '1738286702_266887_1333170592_7a41b5b4cd343db002b11cb2f45bebca_rle_crop_3646094861_0.png', 1333171941: '1738286993_270203_1333170815_54f9bf420b40ea4134eaa0745c578fdc_rle_crop_3646101368_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/10bf61cace413e62be3cc8b34a7bc401_52702676.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3319fe4f3537421a2a86e92f65712318_59001167.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a445d4f40d50f7d996174894c34c9909_10040129.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/852cdb3873bba2a8ddbcbb00b2b3d482_17978065.png change filename to text .imagette200908431738368121/ imagette200908431738368121/1738286702_266887_1333170654_05e8f03784f6567e1e199f9685c011ba_rle_crop_3646094808_0.png.png imagette200908431738368121/1738286702_266887_1333170592_7a41b5b4cd343db002b11cb2f45bebca_rle_crop_3646094861_0.png.png imagette200908431738368121/1738286702_266887_1333170607_ee1b7b780583daee3153aa5534b7a7fb_rle_crop_3646094841_0.png.png imagette200908431738368121/1738286702_266887_1333170592_7a41b5b4cd343db002b11cb2f45bebca_rle_crop_3646094864_0.png.png imagette200908431738368121/1738286993_270203_1333170815_54f9bf420b40ea4134eaa0745c578fdc_rle_crop_3646101368_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a58664e4f0a6444a54acdb4ed5d833c5_35203673.png imagette200908431738368121 20090844 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=20090844 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333171131: '1738286692_266775_1333170563_f5f125050bf94880f5e19c5052e3ce3b_rle_crop_3646092891_0.png', 1333171132: '1738286692_266775_1333170551_dc7bb836b4fa008b86972ce16a822df3_rle_crop_3646092913_0.png', 1333171935: '1738286993_270203_1333170815_54f9bf420b40ea4134eaa0745c578fdc_rle_crop_3646101377_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/964575b5972886e016705455bfe7dfd5_11332436.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cc06d7a17c4c5c3bf9eb7a6384a0f024_87608165.png change filename to text .imagette200908441738368121/ imagette200908441738368121/1738286692_266775_1333170551_dc7bb836b4fa008b86972ce16a822df3_rle_crop_3646092913_0.png.png imagette200908441738368121/1738286993_270203_1333170815_54f9bf420b40ea4134eaa0745c578fdc_rle_crop_3646101377_0.png.png imagette200908441738368121/1738286692_266775_1333170563_f5f125050bf94880f5e19c5052e3ce3b_rle_crop_3646092891_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/aaad4db4b0ab3a0e685329e14ce4456b_18067917.png imagette200908441738368121 20090849 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=20090849 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333171175: '1738286702_266887_1333170694_7afc228f6de58f3289504be2e4fea6fc_rle_crop_3646094798_0.png', 1333171942: '1738286993_270203_1333170815_54f9bf420b40ea4134eaa0745c578fdc_rle_crop_3646101371_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2e856eac0d3263cb9d9262ac47a6d909_89990720.png change filename to text .imagette200908491738368121/ imagette200908491738368121/1738286993_270203_1333170815_54f9bf420b40ea4134eaa0745c578fdc_rle_crop_3646101371_0.png.png imagette200908491738368121/1738286702_266887_1333170694_7afc228f6de58f3289504be2e4fea6fc_rle_crop_3646094798_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/afbbd16273a3bf5f98310688b71af5b2_8186147.png imagette200908491738368121 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20090835 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20090850,20090851,20090852,20090853,20090854,20090855,20090856,20090857,20090858,20090859,20090860,20090861?tags=metal,plastique,flou,autre_refus,cartonnette,Carton_gris,Teint_Dans_La_Masse,environnement,kraft,papier,mal_croppe,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1333178776] : ('0.04907240156183414',) no score found for photo 1333178776 We are sending mail with results at report@fotonower.com args[1333178775] : ('0.04907240156183414',) no score found for photo 1333178775 We are sending mail with results at report@fotonower.com args[1333178759] : ('0.04907240156183414',) no score found for photo 1333178759 We are sending mail with results at report@fotonower.com args[1333178736] : ('0.04907240156183414',) no score found for photo 1333178736 We are sending mail with results at report@fotonower.com args[1333178712] : ('0.04907240156183414',) no score found for photo 1333178712 We are sending mail with results at report@fotonower.com args[1333178710] : ('0.04907240156183414',) no score found for photo 1333178710 We are sending mail with results at report@fotonower.com args[1333178708] : ('0.04907240156183414',) no score found for photo 1333178708 We are sending mail with results at report@fotonower.com args[1333178705] : ('0.04907240156183414',) no score found for photo 1333178705 We are sending mail with results at report@fotonower.com args[1333178700] : ('0.04907240156183414',) no score found for photo 1333178700 We are sending mail with results at report@fotonower.com args[1333178695] : ('0.04907240156183414',) no score found for photo 1333178695 We are sending mail with results at report@fotonower.com args[1333178687] : ('0.04907240156183414',) no score found for photo 1333178687 We are sending mail with results at report@fotonower.com args[1333178684] : ('0.04907240156183414',) no score found for photo 1333178684 We are sending mail with results at report@fotonower.com args[1333178670] : ('0.04907240156183414',) no score found for photo 1333178670 We are sending mail with results at report@fotonower.com args[1333178660] : ('0.04907240156183414',) no score found for photo 1333178660 We are sending mail with results at report@fotonower.com args[1333178451] : ('0.04907240156183414',) no score found for photo 1333178451 We are sending mail with results at report@fotonower.com args[1333178447] : ('0.04907240156183414',) no score found for photo 1333178447 We are sending mail with results at report@fotonower.com args[1333178444] : ('0.04907240156183414',) no score found for photo 1333178444 We are sending mail with results at report@fotonower.com args[1333178442] : ('0.04907240156183414',) no score found for photo 1333178442 We are sending mail with results at report@fotonower.com args[1333178437] : ('0.04907240156183414',) no score found for photo 1333178437 We are sending mail with results at report@fotonower.com args[1333178436] : ('0.04907240156183414',) no score found for photo 1333178436 We are sending mail with results at report@fotonower.com args[1333178383] : ('0.04907240156183414',) no score found for photo 1333178383 We are sending mail with results at report@fotonower.com args[1333178380] : ('0.04907240156183414',) no score found for photo 1333178380 We are sending mail with results at report@fotonower.com args[1333178377] : ('0.04907240156183414',) no score found for photo 1333178377 We are sending mail with results at report@fotonower.com args[1333178374] : ('0.04907240156183414',) no score found for photo 1333178374 We are sending mail with results at report@fotonower.com args[1333178372] : ('0.04907240156183414',) no score found for photo 1333178372 We are sending mail with results at report@fotonower.com args[1333178366] : ('0.04907240156183414',) no score found for photo 1333178366 We are sending mail with results at report@fotonower.com args[1333178338] : ('0.04907240156183414',) no score found for photo 1333178338 We are sending mail with results at report@fotonower.com args[1333178329] : ('0.04907240156183414',) no score found for photo 1333178329 We are sending mail with results at report@fotonower.com args[1333178320] : ('0.04907240156183414',) no score found for photo 1333178320 We are sending mail with results at report@fotonower.com args[1333178279] : ('0.04907240156183414',) no score found for photo 1333178279 We are sending mail with results at report@fotonower.com args[1333178125] : ('0.04907240156183414',) no score found for photo 1333178125 We are sending mail with results at report@fotonower.com args[1333177916] : ('0.04907240156183414',) no score found for photo 1333177916 We are sending mail with results at report@fotonower.com args[1333177881] : ('0.04907240156183414',) no score found for photo 1333177881 We are sending mail with results at report@fotonower.com args[1333177876] : ('0.04907240156183414',) no score found for photo 1333177876 We are sending mail with results at report@fotonower.com args[1333177871] : ('0.04907240156183414',) no score found for photo 1333177871 We are sending mail with results at report@fotonower.com args[1333177866] : ('0.04907240156183414',) no score found for photo 1333177866 We are sending mail with results at report@fotonower.com args[1333177853] : ('0.04907240156183414',) no score found for photo 1333177853 We are sending mail with results at report@fotonower.com args[1333177807] : ('0.04907240156183414',) no score found for photo 1333177807 We are sending mail with results at report@fotonower.com args[1333177646] : ('0.04907240156183414',) no score found for photo 1333177646 We are sending mail with results at report@fotonower.com args[1333177645] : ('0.04907240156183414',) no score found for photo 1333177645 We are sending mail with results at report@fotonower.com args[1333177306] : ('0.04907240156183414',) no score found for photo 1333177306 We are sending mail with results at report@fotonower.com refus_total : 0.04907240156183414 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=20090835 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_P20090835_01-02-2025_01_02_00.pdf results_Auto_P20090835_01-02-2025_01_02_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090835_01-02-2025_01_02_00.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','20090835','results_Auto_P20090835_01-02-2025_01_02_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090835_01-02-2025_01_02_00.pdf','pdf','','0.37','0.04907240156183414') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20090835]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1333178776, 1333178775, 1333178759, 1333178736, 1333178712, 1333178710, 1333178708, 1333178705, 1333178700, 1333178695, 1333178687, 1333178684, 1333178670, 1333178660, 1333178451, 1333178447, 1333178444, 1333178442, 1333178437, 1333178436, 1333178383, 1333178380, 1333178377, 1333178374, 1333178372, 1333178366, 1333178338, 1333178329, 1333178320, 1333178279, 1333178125, 1333177916, 1333177881, 1333177876, 1333177871, 1333177866, 1333177853, 1333177807, 1333177646, 1333177645, 1333177306] map_info['map_portfolio_photo'] : {20090835: [1333178776, 1333178775, 1333178759, 1333178736, 1333178712, 1333178710, 1333178708, 1333178705, 1333178700, 1333178695, 1333178687, 1333178684, 1333178670, 1333178660, 1333178451, 1333178447, 1333178444, 1333178442, 1333178437, 1333178436, 1333178383, 1333178380, 1333178377, 1333178374, 1333178372, 1333178366, 1333178338, 1333178329, 1333178320, 1333178279, 1333178125, 1333177916, 1333177881, 1333177876, 1333177871, 1333177866, 1333177853, 1333177807, 1333177646, 1333177645, 1333177306, 1333171068, 1333171064, 1333171043, 1333171042, 1333171039, 1333171038, 1333170923, 1333170901, 1333170896, 1333170892, 1333170815, 1333170694, 1333170654, 1333170625, 1333170607, 1333170592, 1333170590, 1333170565, 1333170563, 1333170560, 1333170556, 1333170551, 1333164248]} final : False mtd_id 4302 list_pids : [1333178776, 1333178775, 1333178759, 1333178736, 1333178712, 1333178710, 1333178708, 1333178705, 1333178700, 1333178695, 1333178687, 1333178684, 1333178670, 1333178660, 1333178451, 1333178447, 1333178444, 1333178442, 1333178437, 1333178436, 1333178383, 1333178380, 1333178377, 1333178374, 1333178372, 1333178366, 1333178338, 1333178329, 1333178320, 1333178279, 1333178125, 1333177916, 1333177881, 1333177876, 1333177871, 1333177866, 1333177853, 1333177807, 1333177646, 1333177645, 1333177306] 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, '2531510') ('4302', '20090835', '1333178776', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178775', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178759', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178736', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178712', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178710', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178708', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178705', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178700', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178695', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178687', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178684', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178670', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178660', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178451', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178447', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178444', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178442', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178437', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178436', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178383', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178380', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178377', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178374', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178372', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178366', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178338', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178329', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178320', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178279', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178125', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177916', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177881', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177876', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177871', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177866', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177853', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177807', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177646', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177645', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177306', None, None, None, None, None, '2531510') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 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', '20090835', '1333178776', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178775', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178759', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178736', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178712', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178710', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178708', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178705', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178700', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178695', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178687', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178684', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178670', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178660', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178451', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178447', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178444', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178442', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178437', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178436', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178383', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178380', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178377', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178374', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178372', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178366', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178338', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178329', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178320', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178279', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178125', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177916', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177881', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177876', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177871', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177866', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177853', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177807', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177646', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177645', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177306', None, None, None, None, None, '2531510')] time used for this insertion : 0.01744866371154785 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.347259998321533 time spend to save output : 0.017859220504760742 total time spend for step 4 : 5.365119218826294 step5:split_time_score Sat Feb 1 01:02:04 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 : ['20090835'] 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 : [('20090835',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20090835) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1333178712: {'path': 'temp/1738368118_2448032_1333178712_1887730117e838fbd0e3e1b075f3a851.jpg', 'extension': 'jpg'}, 1333178736: {'path': 'temp/1738368118_2448032_1333178736_6ad0bf1aa79f4f1cfe2820ec3c4a47b9.jpg', 'extension': 'jpg'}, 1333178759: {'path': 'temp/1738368118_2448032_1333178759_36a0717fe93d44956f64ae6e88a7910f.jpg', 'extension': 'jpg'}, 1333178775: {'path': 'temp/1738368118_2448032_1333178775_d58d2f59c0c7d2eddb5081195d19386e.jpg', 'extension': 'jpg'}, 1333178776: {'path': 'temp/1738368118_2448032_1333178776_0e9ee67ff39f31afc46d4673b00ffaef.jpg', 'extension': 'jpg'}, 1333177916: {'path': 'temp/1738368118_2448032_1333177916_8d47513365f78fe16e44cbe4c39910df.jpg', 'extension': 'jpg'}, 1333178125: {'path': 'temp/1738368118_2448032_1333178125_3c582ef382e091dcf4ca86602064c045.jpg', 'extension': 'jpg'}, 1333178279: {'path': 'temp/1738368118_2448032_1333178279_ff59433b0a780536b68e327c5257b3c7.jpg', 'extension': 'jpg'}, 1333178320: {'path': 'temp/1738368118_2448032_1333178320_77172514c31bad8772166da62eaacfe2.jpg', 'extension': 'jpg'}, 1333178329: {'path': 'temp/1738368118_2448032_1333178329_2fe5bd916da744dcebffab7c0976472a.jpg', 'extension': 'jpg'}, 1333178338: {'path': 'temp/1738368118_2448032_1333178338_753bf3b5fec6b150a490b59e25cc8ebb.jpg', 'extension': 'jpg'}, 1333178366: {'path': 'temp/1738368118_2448032_1333178366_fab45ab4f80d40aab676c1ce17260ba6.jpg', 'extension': 'jpg'}, 1333178372: {'path': 'temp/1738368118_2448032_1333178372_a0bd6e8f166afc732045108a990a82d0.jpg', 'extension': 'jpg'}, 1333178374: {'path': 'temp/1738368118_2448032_1333178374_8b5d20086aa646e84b7df4983ead108d.jpg', 'extension': 'jpg'}, 1333178660: {'path': 'temp/1738368118_2448032_1333178660_ee3e58d65de6d5cdb5fdc8212397ef17.jpg', 'extension': 'jpg'}, 1333178670: {'path': 'temp/1738368118_2448032_1333178670_6d80519634ac2aa3f59a3a5388dc3d87.jpg', 'extension': 'jpg'}, 1333178684: {'path': 'temp/1738368118_2448032_1333178684_850c03ee5675c47c817b6bf97734e0d4.jpg', 'extension': 'jpg'}, 1333178687: {'path': 'temp/1738368118_2448032_1333178687_a3e4ca5aebf77d9365c977c31d619bab.jpg', 'extension': 'jpg'}, 1333178695: {'path': 'temp/1738368118_2448032_1333178695_f4108709409dc83f2a03489d8131510a.jpg', 'extension': 'jpg'}, 1333178700: {'path': 'temp/1738368118_2448032_1333178700_bd824e1da93d1254ddf2c05c7be323ba.jpg', 'extension': 'jpg'}, 1333178705: {'path': 'temp/1738368118_2448032_1333178705_17120272068fdd6655b9c680762cd0fd.jpg', 'extension': 'jpg'}, 1333178708: {'path': 'temp/1738368118_2448032_1333178708_ae3e339cdffff24f75972567d154d04e.jpg', 'extension': 'jpg'}, 1333178710: {'path': 'temp/1738368118_2448032_1333178710_cfb780dfb5979ea27210fd0cb43e8c4c.jpg', 'extension': 'jpg'}, 1333177306: {'path': 'temp/1738368118_2448032_1333177306_c24d88db029c19cf7b88e6f10c884b66.jpg', 'extension': 'jpg'}, 1333177645: {'path': 'temp/1738368118_2448032_1333177645_d72cc49f0cf47c73b11860dd5d46e3ac.jpg', 'extension': 'jpg'}, 1333177646: {'path': 'temp/1738368118_2448032_1333177646_b2f60af2fbb7b17b6b0d88ac877cde91.jpg', 'extension': 'jpg'}, 1333177807: {'path': 'temp/1738368118_2448032_1333177807_2d51ff274632812dbbc385a8dcc0c5f1.jpg', 'extension': 'jpg'}, 1333177853: {'path': 'temp/1738368118_2448032_1333177853_d6cbc33c54ce6147bc08f57fc54c09b0.jpg', 'extension': 'jpg'}, 1333177866: {'path': 'temp/1738368118_2448032_1333177866_5ec20203759039afd36bb602697f5815.jpg', 'extension': 'jpg'}, 1333177871: {'path': 'temp/1738368118_2448032_1333177871_08cdd6d529f0f1f2d7c1a7880259e5e8.jpg', 'extension': 'jpg'}, 1333177876: {'path': 'temp/1738368118_2448032_1333177876_817213d41032c48fbca1f9991f6a5e57.jpg', 'extension': 'jpg'}, 1333177881: {'path': 'temp/1738368118_2448032_1333177881_ac4e84ed1f8a136ce1891a7f88b33e1f.jpg', 'extension': 'jpg'}, 1333178377: {'path': 'temp/1738368118_2448032_1333178377_9ed07acb5c4a416ca8194c804798ecee.jpg', 'extension': 'jpg'}, 1333178380: {'path': 'temp/1738368118_2448032_1333178380_82c7dfac1248bc4463c139cd38df6f10.jpg', 'extension': 'jpg'}, 1333178383: {'path': 'temp/1738368118_2448032_1333178383_b41d8ca01f15679a63f45830142d0bd1.jpg', 'extension': 'jpg'}, 1333178436: {'path': 'temp/1738368118_2448032_1333178436_73240994c9758f80237395d90d885063.jpg', 'extension': 'jpg'}, 1333178437: {'path': 'temp/1738368118_2448032_1333178437_cb0946f98fd047a1beb681edabb77bf5.jpg', 'extension': 'jpg'}, 1333178442: {'path': 'temp/1738368118_2448032_1333178442_7b7a6713ed9997ed47bfd41b11530a46.jpg', 'extension': 'jpg'}, 1333178444: {'path': 'temp/1738368118_2448032_1333178444_b22991469953a8fa0d78ee6a0e6fe922.jpg', 'extension': 'jpg'}, 1333178447: {'path': 'temp/1738368118_2448032_1333178447_417151799d83a185d1ad740205521617.jpg', 'extension': 'jpg'}, 1333178451: {'path': 'temp/1738368118_2448032_1333178451_c1f154850f72857f095aafe57d1d3244.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 = 20090835; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 20090835 group by h (('01', 64),) 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=20090835 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 (20090835) 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 (20090835) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 31012025 20090835 Nombre de photos uploadées : 64 / 23040 (0%) 31012025 20090835 Nombre de photos taguées (types de déchets): 0 / 64 (0%) 31012025 20090835 Nombre de photos taguées (volume) : 0 / 64 (0%) [{'photo_id': 1333178776, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0e9ee67ff39f31afc46d4673b00ffaef.jpg', 'username': None, 'uploaded_at': 1738289163, 'text': 'image_31012025_01_30_54_10137.jpg'}, {'photo_id': 1333170565, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d0cabd3745ace99a5e0acf2ffdf0ec79.jpg', 'username': None, 'uploaded_at': 1738286562, 'text': 'image_31012025_01_30_54_10137.jpg'}, {'photo_id': 1333170563, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f5f125050bf94880f5e19c5052e3ce3b.jpg', 'username': None, 'uploaded_at': 1738286562, 'text': 'image_31012025_01_31_04_010139m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1333178775, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d58d2f59c0c7d2eddb5081195d19386e.jpg', 'username': None, 'uploaded_at': 1738289163, 'text': 'image_31012025_01_31_04_10139.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.7220458984375e-06 ???????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0022635459899902344 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20090835, '2025-01-31' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1567726,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02472543716430664 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= 1567726 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20127938, 'dashboard_result_id': 8637561, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20127939, 'dashboard_result_id': 8637562, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20127940, 'dashboard_result_id': 8637563, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20127941, 'dashboard_result_id': 8637564, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20090835, 'dashboard_result_id': 8637565, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090835_31-01-2025_02_29_53.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20090838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20090839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20090840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20090841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20090842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20090843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20090844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20090845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20090846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20090847, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20090848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20090849, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20090957, 'dashboard_result_id': 8637566, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090957_31-01-2025_02_30_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091041, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091050, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20090959, 'dashboard_result_id': 8637567, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090959_31-01-2025_02_52_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20090965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20090966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20090967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20090968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20090969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20090970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20090971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20090972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20090973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20090974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20090975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20090976, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20091190, 'dashboard_result_id': 8637568, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091190_31-01-2025_02_43_28.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20091199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091202, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091204, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091210, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20091230, 'dashboard_result_id': 8637569, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091230_31-01-2025_02_49_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091254, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091255, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091258, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20091819, 'dashboard_result_id': 8637570, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091819_31-01-2025_03_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091829, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091838, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20092585, 'dashboard_result_id': 8637571, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20092585_31-01-2025_03_20_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20092618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20092619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20092620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20092621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20092622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20092623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20092624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20092625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20092626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20092627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20092628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20092629, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20093325, 'dashboard_result_id': 8637572, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093325_31-01-2025_03_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20093334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20093335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20093336, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20093337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20093338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20093339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20093340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20093341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20093342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20093343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20093344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20093345, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20093996, 'dashboard_result_id': 8637573, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093996_31-01-2025_03_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20093997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20093998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20093999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20094000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20094001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20094002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20094003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20094004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20094005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20094006, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20094007, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20094008, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20094429, 'dashboard_result_id': 8637574, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20094429_31-01-2025_04_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20094527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20094528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20094529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20094530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20094531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20094532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20094533, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20094534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20094535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20094536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20094537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20094538, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20095035, 'dashboard_result_id': 8637575, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095035_31-01-2025_04_25_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20095080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20095091, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20095545, 'dashboard_result_id': 8637576, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095545_31-01-2025_04_33_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20095611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095612, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095616, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20095959, 'dashboard_result_id': 8637577, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095959_31-01-2025_04_52_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20095966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095970, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095977, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20097156, 'dashboard_result_id': 8637578, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097156_31-01-2025_05_34_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20097162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20097163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20097164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20097165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20097166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20097167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20097168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20097169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20097170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20097171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20097172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20097173, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20097481, 'dashboard_result_id': 8637579, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097481_31-01-2025_05_35_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20097487, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20097488, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20097489, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20097490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20097491, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20097492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20097493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20097494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20097495, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20097496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20097497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20097498, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20098077, 'dashboard_result_id': 8637580, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098077_31-01-2025_05_49_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20098083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20098084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20098085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20098086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20098087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20098088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20098089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20098090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20098091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20098092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20098093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20098094, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20098681, 'dashboard_result_id': 8637581, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098681_31-01-2025_06_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20098687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20098688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20098689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20098690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20098691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20098692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20098693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20098694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20098695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20098696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20098697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20098698, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20099158, 'dashboard_result_id': 8637582, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20099158_31-01-2025_06_18_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20099174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20099175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20099176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20099177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20099178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20099179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20099180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20099181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20099182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20099183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20099184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20099185, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20100088, 'dashboard_result_id': 8637583, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100088_31-01-2025_06_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20100101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20100102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20100103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20100104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20100105, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20100106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20100107, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20100108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20100109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20100110, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20100111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20100112, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20100892, 'dashboard_result_id': 8637584, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100892_31-01-2025_06_49_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20100897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20100898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20100899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20100900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20100901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20100902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20100903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20100904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20100905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20100906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20100907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20100908, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20101316, 'dashboard_result_id': 8637585, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20101316_31-01-2025_07_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20101325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20101326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20101327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20101328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20101329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20101330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20101331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20101332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20101333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20101334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20101335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20101336, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20102361, 'dashboard_result_id': 8637586, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102361_31-01-2025_07_33_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20102362, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20102363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20102364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20102365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20102366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20102367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20102368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20102369, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20102370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20102371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20102372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20102373, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20102932, 'dashboard_result_id': 8637587, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102932_31-01-2025_07_49_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20102958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20102959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20102960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20102961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20102962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20102963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20102964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20102965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20102966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20102967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20102968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20102969, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20103345, 'dashboard_result_id': 8637588, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103345_31-01-2025_08_02_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20103364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20103365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20103366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20103367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20103368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20103369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20103370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20103371, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20103372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20103373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20103374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20103375, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20103727, 'dashboard_result_id': 8637589, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103727_31-01-2025_08_19_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20103732, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20103733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20103734, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20103735, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20103736, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20103737, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20103738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20103739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20103740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20103741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20103742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20103743, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20104620, 'dashboard_result_id': 8637590, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104620_31-01-2025_08_37_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20104638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20104639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20104640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20104641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20104642, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20104643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20104644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20104645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20104646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20104647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20104648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20104649, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20104890, 'dashboard_result_id': 8637591, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104890_31-01-2025_08_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20104929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20104930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20104931, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20104932, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20104933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20104934, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20104935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20104936, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20104937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20104938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20104939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20104940, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20105217, 'dashboard_result_id': 8637592, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20105217_31-01-2025_09_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20105225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20105226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20105227, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20105228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20105229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20105230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20105231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20105232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20105233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20105234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20105235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20105236, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20106746, 'dashboard_result_id': 8637593, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20106746_31-01-2025_09_49_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20106752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20106753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20106754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20106755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20106756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20106757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20106758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20106759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20106760, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20106761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20106762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20106763, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20107484, 'dashboard_result_id': 8637594, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20107484_31-01-2025_10_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20107526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20107527, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20107528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20107529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20107530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20107531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20107532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20107533, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20107534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20107535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20107536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20107537, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20108354, 'dashboard_result_id': 8637595, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108354_31-01-2025_10_16_56.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20108358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20108359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20108360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20108361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20108362, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20108363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20108364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20108365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20108366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20108367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20108368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20108369, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20108777, 'dashboard_result_id': 8637596, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108777_31-01-2025_10_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20108783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20108784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20108785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20108786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20108787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20108788, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20108789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20108790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20108791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20108792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20108793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20108794, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20109367, 'dashboard_result_id': 8637597, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109367_31-01-2025_10_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20109412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20109413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20109414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20109415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20109416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20109417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20109418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20109419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20109420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20109421, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20109422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20109423, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20109995, 'dashboard_result_id': 8637598, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109995_31-01-2025_11_03_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20110040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20110041, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20110042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20110043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20110044, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20110045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20110046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20110047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20110048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20110049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20110050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20110051, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20110720, 'dashboard_result_id': 8637599, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20110720_31-01-2025_11_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20110771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20110772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20110773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20110774, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20110775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20110776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20110777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20110778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20110779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20110780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20110781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20110782, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20111560, 'dashboard_result_id': 8637600, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20111560_31-01-2025_11_32_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20111680, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20111681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20111682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20111683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20111684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20111685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20111686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20111687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20111688, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20111689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20111690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20111691, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20112623, 'dashboard_result_id': 8637601, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20112623_31-01-2025_11_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20112628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20112629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20112630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20112631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20112632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20112633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20112634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20112635, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20112636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20112637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20112638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20112639, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20113116, 'dashboard_result_id': 8637602, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113116_31-01-2025_12_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20113178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20113179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20113180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20113181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20113182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20113183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20113184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20113185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20113186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20113187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20113188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20113189, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20113571, 'dashboard_result_id': 8637603, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113571_31-01-2025_12_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20113580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20113581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20113582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20113583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20113584, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20113585, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20113586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20113587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20113588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20113589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20113590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20113591, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20121430, 'dashboard_result_id': 8637604, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121430_31-01-2025_21_19_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20121435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20121436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20121437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20121438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20121439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20121440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20121441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20121442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20121443, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20121444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20121445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20121446, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20121826, 'dashboard_result_id': 8637605, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121826_31-01-2025_21_37_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20121883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20121884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20121885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20121886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20121887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20121888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20121889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20121890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20121891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20121892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20121893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20121894, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20122144, 'dashboard_result_id': 8637606, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122144_31-01-2025_21_46_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20122183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20122185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20122186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20122188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20122189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20122191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20122192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20122194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20122196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20122197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20122199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20122200, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20122775, 'dashboard_result_id': 8637607, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122775_31-01-2025_22_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20122801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20122802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20122803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20122804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20122805, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20122806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20122807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20122808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20122809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20122810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20122811, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20122812, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20123568, 'dashboard_result_id': 8637608, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20123568_31-01-2025_22_16_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20123577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20123578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20123579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20123580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20123581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20123582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20123583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20123584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20123585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20123586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20123587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20123589, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20124284, 'dashboard_result_id': 8637609, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124284_31-01-2025_22_37_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20124290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20124291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20124292, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20124293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20124294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20124295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20124296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20124297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20124298, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20124299, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20124300, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20124301, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20124827, 'dashboard_result_id': 8637610, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124827_31-01-2025_22_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20124879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20124880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20124881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20124882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20124883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20124884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20124885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20124886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20124887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20124888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20124889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20124890, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1577889, 'mtr_portfolio_id': 20125220, 'dashboard_result_id': 8637611, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20125220_31-01-2025_23_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20125281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20125282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20125283, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20125284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20125285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20125286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20125287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20125288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20125289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20125290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20125291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20125292, '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 = 20127938 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127938 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20127938 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20127938%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20127938 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 20127938 and dashboard_run_id = 1577889 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127939 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127939 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20127939 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20127939%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20127939 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 20127939 and dashboard_run_id = 1577889 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127940 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127940 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20127940 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20127940%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20127940 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 20127940 and dashboard_run_id = 1577889 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127941 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127941 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20127941 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20127941%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20127941 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 20127941 and dashboard_run_id = 1577889 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20090835 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': 2531510, 'mtr_portfolio_id': 20090835, 'created_at': datetime.datetime(2025, 2, 1, 1, 1, 58), 'result': '0.04907240156183414', 'result_long': None, 'result_double': None}] Qualite : 0.04907240156183414 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20090835 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090835_01-02-2025_01_02_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20090835 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090835_01-02-2025_01_02_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20090838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20090839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20090840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20090841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20090842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20090843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20090844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20090845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20090846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20090847, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20090848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20090849, 'pht': 3726}}" where mtr_portfolio_id = 20090835 and dashboard_run_id = 1577889 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`=20090835 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637565, 0.04907240156183414, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090835_01-02-2025_01_02_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20090838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20090839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20090840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20090841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20090842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20090843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20090844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20090845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20090846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20090847, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20090848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20090849, '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 = 20090957 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': 2531524, 'mtr_portfolio_id': 20090957, 'created_at': datetime.datetime(2025, 1, 31, 2, 29, 59), 'result': '0.02967393717458372', 'result_long': None, 'result_double': None}] Qualite : 0.02967393717458372 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20090957 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090957_31-01-2025_02_30_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20090957 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090957_31-01-2025_02_30_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091041, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091050, 'pht': 3726}}" where mtr_portfolio_id = 20090957 and dashboard_run_id = 1577889 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`=20090957 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637566, 0.02967393717458372, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090957_31-01-2025_02_30_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091041, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091050, '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 = 20090959 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20090959 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20090959 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20090959 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20090959 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20090959 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090959_31-01-2025_02_52_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20090959 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090959_31-01-2025_02_52_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20090965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20090966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20090967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20090968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20090969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20090970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20090971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20090972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20090973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20090974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20090975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20090976, 'pht': 3726}}" where mtr_portfolio_id = 20090959 and dashboard_run_id = 1577889 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20091190 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': 2531548, 'mtr_portfolio_id': 20091190, 'created_at': datetime.datetime(2025, 1, 31, 2, 43, 28), 'result': '0.032042056463179515', 'result_long': None, 'result_double': None}] Qualite : 0.032042056463179515 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20091190 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091190_31-01-2025_02_43_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20091190 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091190_31-01-2025_02_43_28.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20091199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091202, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091204, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091210, 'pht': 3726}}" where mtr_portfolio_id = 20091190 and dashboard_run_id = 1577889 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`=20091190 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637568, 0.032042056463179515, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091190_31-01-2025_02_43_28.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20091199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091202, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091204, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091210, '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 = 20091230 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': 2531564, 'mtr_portfolio_id': 20091230, 'created_at': datetime.datetime(2025, 1, 31, 2, 49, 30), 'result': '0.057068892766952074', 'result_long': None, 'result_double': None}] Qualite : 0.057068892766952074 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20091230 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091230_31-01-2025_02_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20091230 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091230_31-01-2025_02_49_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091254, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091255, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091258, 'pht': 3726}}" where mtr_portfolio_id = 20091230 and dashboard_run_id = 1577889 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`=20091230 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637569, 0.057068892766952074, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091230_31-01-2025_02_49_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091254, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091255, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091258, '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 = 20091819 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': 2531696, 'mtr_portfolio_id': 20091819, 'created_at': datetime.datetime(2025, 1, 31, 3, 2, 59), 'result': '0.049444191308289906', 'result_long': None, 'result_double': None}] Qualite : 0.049444191308289906 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20091819 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091819_31-01-2025_03_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20091819 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091819_31-01-2025_03_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091829, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091838, 'pht': 3726}}" where mtr_portfolio_id = 20091819 and dashboard_run_id = 1577889 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`=20091819 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637570, 0.049444191308289906, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091819_31-01-2025_03_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091829, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091838, '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 = 20092585 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': 2531825, 'mtr_portfolio_id': 20092585, 'created_at': datetime.datetime(2025, 1, 31, 3, 20, 58), 'result': '0.03457010357807294', 'result_long': None, 'result_double': None}] Qualite : 0.03457010357807294 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20092585 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20092585_31-01-2025_03_20_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20092585 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20092585_31-01-2025_03_20_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20092618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20092619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20092620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20092621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20092622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20092623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20092624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20092625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20092626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20092627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20092628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20092629, 'pht': 3726}}" where mtr_portfolio_id = 20092585 and dashboard_run_id = 1577889 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`=20092585 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637571, 0.03457010357807294, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20092585_31-01-2025_03_20_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20092618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20092619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20092620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20092621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20092622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20092623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20092624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20092625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20092626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20092627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20092628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20092629, '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 = 20093325 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': 2531918, 'mtr_portfolio_id': 20093325, 'created_at': datetime.datetime(2025, 1, 31, 3, 32, 58), 'result': '0.04117671549154417', 'result_long': None, 'result_double': None}] Qualite : 0.04117671549154417 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20093325 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093325_31-01-2025_03_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20093325 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093325_31-01-2025_03_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20093334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20093335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20093336, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20093337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20093338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20093339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20093340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20093341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20093342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20093343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20093344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20093345, 'pht': 3726}}" where mtr_portfolio_id = 20093325 and dashboard_run_id = 1577889 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`=20093325 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637572, 0.04117671549154417, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093325_31-01-2025_03_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20093334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20093335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20093336, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20093337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20093338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20093339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20093340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20093341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20093342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20093343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20093344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20093345, '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 = 20093996 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': 2531990, 'mtr_portfolio_id': 20093996, 'created_at': datetime.datetime(2025, 1, 31, 3, 48, 58), 'result': '0.04131002335395425', 'result_long': None, 'result_double': None}] Qualite : 0.04131002335395425 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20093996 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093996_31-01-2025_03_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20093996 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093996_31-01-2025_03_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20093997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20093998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20093999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20094000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20094001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20094002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20094003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20094004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20094005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20094006, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20094007, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20094008, 'pht': 3726}}" where mtr_portfolio_id = 20093996 and dashboard_run_id = 1577889 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`=20093996 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637573, 0.04131002335395425, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093996_31-01-2025_03_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20093997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20093998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20093999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20094000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20094001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20094002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20094003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20094004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20094005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20094006, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20094007, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20094008, '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 = 20094429 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': 2532037, 'mtr_portfolio_id': 20094429, 'created_at': datetime.datetime(2025, 1, 31, 4, 3), 'result': '0.02169754363931292', 'result_long': None, 'result_double': None}] Qualite : 0.02169754363931292 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20094429 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20094429_31-01-2025_04_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20094429 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20094429_31-01-2025_04_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20094527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20094528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20094529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20094530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20094531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20094532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20094533, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20094534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20094535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20094536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20094537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20094538, 'pht': 3726}}" where mtr_portfolio_id = 20094429 and dashboard_run_id = 1577889 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`=20094429 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637574, 0.02169754363931292, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20094429_31-01-2025_04_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20094527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20094528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20094529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20094530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20094531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20094532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20094533, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20094534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20094535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20094536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20094537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20094538, '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 = 20095035 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': 2532149, 'mtr_portfolio_id': 20095035, 'created_at': datetime.datetime(2025, 1, 31, 4, 24, 59), 'result': '0.043791687176069176', 'result_long': None, 'result_double': None}] Qualite : 0.043791687176069176 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20095035 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095035_31-01-2025_04_25_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20095035 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095035_31-01-2025_04_25_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20095080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20095091, 'pht': 3726}}" where mtr_portfolio_id = 20095035 and dashboard_run_id = 1577889 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`=20095035 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637575, 0.043791687176069176, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095035_31-01-2025_04_25_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20095080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20095091, '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 = 20095545 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': 2532211, 'mtr_portfolio_id': 20095545, 'created_at': datetime.datetime(2025, 1, 31, 4, 33), 'result': '0.05761854647796491', 'result_long': None, 'result_double': None}] Qualite : 0.05761854647796491 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20095545 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095545_31-01-2025_04_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20095545 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095545_31-01-2025_04_33_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20095611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095612, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095616, 'pht': 3726}}" where mtr_portfolio_id = 20095545 and dashboard_run_id = 1577889 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`=20095545 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637576, 0.05761854647796491, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095545_31-01-2025_04_33_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20095611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095612, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095616, '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 = 20095959 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': 2532278, 'mtr_portfolio_id': 20095959, 'created_at': datetime.datetime(2025, 1, 31, 4, 52, 59), 'result': '0.055759590013437055', 'result_long': None, 'result_double': None}] Qualite : 0.055759590013437055 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20095959 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095959_31-01-2025_04_52_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20095959 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095959_31-01-2025_04_52_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20095966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095970, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095977, 'pht': 3726}}" where mtr_portfolio_id = 20095959 and dashboard_run_id = 1577889 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`=20095959 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637577, 0.055759590013437055, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095959_31-01-2025_04_52_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20095966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095970, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095977, '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 = 20097156 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': 2532537, 'mtr_portfolio_id': 20097156, 'created_at': datetime.datetime(2025, 1, 31, 5, 34, 30), 'result': '0.041957188773153214', 'result_long': None, 'result_double': None}] Qualite : 0.041957188773153214 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20097156 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097156_31-01-2025_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20097156 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097156_31-01-2025_05_34_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20097162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20097163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20097164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20097165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20097166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20097167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20097168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20097169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20097170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20097171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20097172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20097173, 'pht': 3726}}" where mtr_portfolio_id = 20097156 and dashboard_run_id = 1577889 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`=20097156 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637578, 0.041957188773153214, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097156_31-01-2025_05_34_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20097162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20097163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20097164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20097165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20097166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20097167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20097168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20097169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20097170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20097171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20097172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20097173, '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 = 20097481 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': 2532538, 'mtr_portfolio_id': 20097481, 'created_at': datetime.datetime(2025, 1, 31, 5, 35, 30), 'result': '0.03483754953189231', 'result_long': None, 'result_double': None}] Qualite : 0.03483754953189231 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20097481 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097481_31-01-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20097481 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097481_31-01-2025_05_35_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20097487, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20097488, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20097489, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20097490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20097491, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20097492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20097493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20097494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20097495, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20097496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20097497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20097498, 'pht': 3726}}" where mtr_portfolio_id = 20097481 and dashboard_run_id = 1577889 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`=20097481 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637579, 0.03483754953189231, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097481_31-01-2025_05_35_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20097487, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20097488, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20097489, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20097490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20097491, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20097492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20097493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20097494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20097495, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20097496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20097497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20097498, '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 = 20098077 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': 2532540, 'mtr_portfolio_id': 20098077, 'created_at': datetime.datetime(2025, 1, 31, 5, 49, 28), 'result': '0.05464194144674376', 'result_long': None, 'result_double': None}] Qualite : 0.05464194144674376 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20098077 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098077_31-01-2025_05_49_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20098077 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098077_31-01-2025_05_49_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20098083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20098084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20098085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20098086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20098087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20098088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20098089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20098090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20098091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20098092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20098093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20098094, 'pht': 3726}}" where mtr_portfolio_id = 20098077 and dashboard_run_id = 1577889 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`=20098077 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637580, 0.05464194144674376, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098077_31-01-2025_05_49_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20098083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20098084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20098085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20098086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20098087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20098088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20098089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20098090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20098091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20098092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20098093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20098094, '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 = 20098681 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': 2532597, 'mtr_portfolio_id': 20098681, 'created_at': datetime.datetime(2025, 1, 31, 6, 2, 58), 'result': '0.051248090193314715', 'result_long': None, 'result_double': None}] Qualite : 0.051248090193314715 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20098681 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098681_31-01-2025_06_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20098681 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098681_31-01-2025_06_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20098687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20098688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20098689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20098690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20098691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20098692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20098693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20098694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20098695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20098696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20098697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20098698, 'pht': 3726}}" where mtr_portfolio_id = 20098681 and dashboard_run_id = 1577889 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`=20098681 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637581, 0.051248090193314715, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098681_31-01-2025_06_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20098687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20098688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20098689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20098690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20098691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20098692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20098693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20098694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20098695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20098696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20098697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20098698, '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 = 20099158 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': 2532682, 'mtr_portfolio_id': 20099158, 'created_at': datetime.datetime(2025, 1, 31, 6, 18, 59), 'result': '0.044182115613326516', 'result_long': None, 'result_double': None}] Qualite : 0.044182115613326516 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20099158 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20099158_31-01-2025_06_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20099158 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20099158_31-01-2025_06_18_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20099174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20099175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20099176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20099177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20099178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20099179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20099180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20099181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20099182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20099183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20099184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20099185, 'pht': 3726}}" where mtr_portfolio_id = 20099158 and dashboard_run_id = 1577889 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`=20099158 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637582, 0.044182115613326516, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20099158_31-01-2025_06_18_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20099174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20099175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20099176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20099177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20099178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20099179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20099180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20099181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20099182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20099183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20099184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20099185, '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 = 20100088 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': 2532789, 'mtr_portfolio_id': 20100088, 'created_at': datetime.datetime(2025, 1, 31, 6, 32, 59), 'result': '0.03382801546801802', 'result_long': None, 'result_double': None}] Qualite : 0.03382801546801802 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20100088 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100088_31-01-2025_06_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20100088 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100088_31-01-2025_06_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20100101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20100102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20100103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20100104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20100105, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20100106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20100107, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20100108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20100109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20100110, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20100111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20100112, 'pht': 3726}}" where mtr_portfolio_id = 20100088 and dashboard_run_id = 1577889 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`=20100088 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637583, 0.03382801546801802, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100088_31-01-2025_06_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20100101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20100102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20100103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20100104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20100105, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20100106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20100107, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20100108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20100109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20100110, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20100111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20100112, '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 = 20100892 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': 2532852, 'mtr_portfolio_id': 20100892, 'created_at': datetime.datetime(2025, 1, 31, 6, 49, 29), 'result': '0.04846640716481763', 'result_long': None, 'result_double': None}] Qualite : 0.04846640716481763 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20100892 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100892_31-01-2025_06_49_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20100892 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100892_31-01-2025_06_49_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20100897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20100898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20100899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20100900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20100901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20100902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20100903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20100904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20100905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20100906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20100907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20100908, 'pht': 3726}}" where mtr_portfolio_id = 20100892 and dashboard_run_id = 1577889 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`=20100892 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637584, 0.04846640716481763, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100892_31-01-2025_06_49_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20100897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20100898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20100899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20100900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20100901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20100902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20100903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20100904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20100905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20100906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20100907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20100908, '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 = 20101316 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': 2532870, 'mtr_portfolio_id': 20101316, 'created_at': datetime.datetime(2025, 1, 31, 7, 2, 59), 'result': '0.04662754185999562', 'result_long': None, 'result_double': None}] Qualite : 0.04662754185999562 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20101316 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20101316_31-01-2025_07_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20101316 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20101316_31-01-2025_07_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20101325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20101326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20101327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20101328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20101329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20101330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20101331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20101332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20101333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20101334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20101335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20101336, 'pht': 3726}}" where mtr_portfolio_id = 20101316 and dashboard_run_id = 1577889 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`=20101316 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637585, 0.04662754185999562, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20101316_31-01-2025_07_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20101325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20101326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20101327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20101328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20101329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20101330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20101331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20101332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20101333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20101334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20101335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20101336, '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 = 20102361 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': 2533008, 'mtr_portfolio_id': 20102361, 'created_at': datetime.datetime(2025, 1, 31, 7, 33), 'result': '0.06022674233182423', 'result_long': None, 'result_double': None}] Qualite : 0.06022674233182423 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20102361 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102361_31-01-2025_07_33_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20102361 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102361_31-01-2025_07_33_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20102362, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20102363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20102364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20102365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20102366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20102367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20102368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20102369, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20102370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20102371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20102372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20102373, 'pht': 3726}}" where mtr_portfolio_id = 20102361 and dashboard_run_id = 1577889 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`=20102361 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637586, 0.06022674233182423, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102361_31-01-2025_07_33_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20102362, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20102363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20102364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20102365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20102366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20102367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20102368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20102369, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20102370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20102371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20102372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20102373, '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 = 20102932 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': 2533055, 'mtr_portfolio_id': 20102932, 'created_at': datetime.datetime(2025, 1, 31, 7, 49, 29), 'result': '0.051051027276654976', 'result_long': None, 'result_double': None}] Qualite : 0.051051027276654976 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20102932 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102932_31-01-2025_07_49_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20102932 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102932_31-01-2025_07_49_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20102958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20102959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20102960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20102961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20102962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20102963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20102964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20102965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20102966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20102967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20102968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20102969, 'pht': 3726}}" where mtr_portfolio_id = 20102932 and dashboard_run_id = 1577889 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`=20102932 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637587, 0.051051027276654976, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102932_31-01-2025_07_49_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20102958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20102959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20102960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20102961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20102962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20102963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20102964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20102965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20102966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20102967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20102968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20102969, '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 = 20103345 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': 2533075, 'mtr_portfolio_id': 20103345, 'created_at': datetime.datetime(2025, 1, 31, 8, 2, 57), 'result': '0.05255529161344713', 'result_long': None, 'result_double': None}] Qualite : 0.05255529161344713 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20103345 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103345_31-01-2025_08_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20103345 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103345_31-01-2025_08_02_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20103364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20103365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20103366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20103367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20103368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20103369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20103370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20103371, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20103372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20103373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20103374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20103375, 'pht': 3726}}" where mtr_portfolio_id = 20103345 and dashboard_run_id = 1577889 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`=20103345 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637588, 0.05255529161344713, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103345_31-01-2025_08_02_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20103364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20103365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20103366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20103367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20103368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20103369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20103370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20103371, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20103372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20103373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20103374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20103375, '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 = 20103727 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': 2533108, 'mtr_portfolio_id': 20103727, 'created_at': datetime.datetime(2025, 1, 31, 8, 19, 1), 'result': '0.038773707457147866', 'result_long': None, 'result_double': None}] Qualite : 0.038773707457147866 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20103727 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103727_31-01-2025_08_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20103727 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103727_31-01-2025_08_19_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20103732, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20103733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20103734, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20103735, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20103736, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20103737, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20103738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20103739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20103740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20103741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20103742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20103743, 'pht': 3726}}" where mtr_portfolio_id = 20103727 and dashboard_run_id = 1577889 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`=20103727 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637589, 0.038773707457147866, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103727_31-01-2025_08_19_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20103732, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20103733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20103734, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20103735, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20103736, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20103737, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20103738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20103739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20103740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20103741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20103742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20103743, '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 = 20104620 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': 2533159, 'mtr_portfolio_id': 20104620, 'created_at': datetime.datetime(2025, 1, 31, 8, 37), 'result': '0.040804842250134435', 'result_long': None, 'result_double': None}] Qualite : 0.040804842250134435 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20104620 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104620_31-01-2025_08_37_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20104620 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104620_31-01-2025_08_37_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20104638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20104639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20104640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20104641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20104642, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20104643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20104644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20104645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20104646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20104647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20104648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20104649, 'pht': 3726}}" where mtr_portfolio_id = 20104620 and dashboard_run_id = 1577889 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`=20104620 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637590, 0.040804842250134435, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104620_31-01-2025_08_37_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20104638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20104639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20104640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20104641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20104642, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20104643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20104644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20104645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20104646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20104647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20104648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20104649, '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 = 20104890 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': 2533193, 'mtr_portfolio_id': 20104890, 'created_at': datetime.datetime(2025, 1, 31, 8, 46, 57), 'result': '0.05139320245324304', 'result_long': None, 'result_double': None}] Qualite : 0.05139320245324304 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20104890 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104890_31-01-2025_08_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20104890 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104890_31-01-2025_08_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20104929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20104930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20104931, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20104932, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20104933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20104934, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20104935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20104936, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20104937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20104938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20104939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20104940, 'pht': 3726}}" where mtr_portfolio_id = 20104890 and dashboard_run_id = 1577889 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`=20104890 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637591, 0.05139320245324304, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104890_31-01-2025_08_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20104929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20104930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20104931, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20104932, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20104933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20104934, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20104935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20104936, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20104937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20104938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20104939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20104940, '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 = 20105217 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': 2533219, 'mtr_portfolio_id': 20105217, 'created_at': datetime.datetime(2025, 1, 31, 9, 32, 58), 'result': '0.04588294967341436', 'result_long': None, 'result_double': None}] Qualite : 0.04588294967341436 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20105217 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20105217_31-01-2025_09_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20105217 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20105217_31-01-2025_09_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20105225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20105226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20105227, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20105228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20105229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20105230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20105231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20105232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20105233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20105234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20105235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20105236, 'pht': 3726}}" where mtr_portfolio_id = 20105217 and dashboard_run_id = 1577889 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`=20105217 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637592, 0.04588294967341436, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20105217_31-01-2025_09_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20105225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20105226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20105227, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20105228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20105229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20105230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20105231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20105232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20105233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20105234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20105235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20105236, '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 = 20106746 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': 2533366, 'mtr_portfolio_id': 20106746, 'created_at': datetime.datetime(2025, 1, 31, 9, 49, 28), 'result': '0.03770325285483314', 'result_long': None, 'result_double': None}] Qualite : 0.03770325285483314 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20106746 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20106746_31-01-2025_09_49_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20106746 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20106746_31-01-2025_09_49_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20106752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20106753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20106754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20106755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20106756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20106757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20106758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20106759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20106760, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20106761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20106762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20106763, 'pht': 3726}}" where mtr_portfolio_id = 20106746 and dashboard_run_id = 1577889 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`=20106746 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637593, 0.03770325285483314, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20106746_31-01-2025_09_49_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20106752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20106753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20106754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20106755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20106756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20106757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20106758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20106759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20106760, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20106761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20106762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20106763, '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 = 20107484 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': 2533416, 'mtr_portfolio_id': 20107484, 'created_at': datetime.datetime(2025, 1, 31, 10, 3), 'result': '0.03254347503969908', 'result_long': None, 'result_double': None}] Qualite : 0.03254347503969908 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20107484 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20107484_31-01-2025_10_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20107484 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20107484_31-01-2025_10_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20107526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20107527, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20107528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20107529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20107530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20107531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20107532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20107533, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20107534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20107535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20107536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20107537, 'pht': 3726}}" where mtr_portfolio_id = 20107484 and dashboard_run_id = 1577889 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`=20107484 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637594, 0.03254347503969908, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20107484_31-01-2025_10_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20107526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20107527, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20107528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20107529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20107530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20107531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20107532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20107533, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20107534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20107535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20107536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20107537, '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 = 20108354 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': 2533488, 'mtr_portfolio_id': 20108354, 'created_at': datetime.datetime(2025, 1, 31, 10, 16, 56), 'result': '0.03393909744323637', 'result_long': None, 'result_double': None}] Qualite : 0.03393909744323637 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20108354 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108354_31-01-2025_10_16_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108354 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108354_31-01-2025_10_16_56.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20108358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20108359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20108360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20108361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20108362, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20108363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20108364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20108365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20108366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20108367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20108368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20108369, 'pht': 3726}}" where mtr_portfolio_id = 20108354 and dashboard_run_id = 1577889 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`=20108354 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637595, 0.03393909744323637, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108354_31-01-2025_10_16_56.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20108358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20108359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20108360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20108361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20108362, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20108363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20108364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20108365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20108366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20108367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20108368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20108369, '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 = 20108777 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': 2533565, 'mtr_portfolio_id': 20108777, 'created_at': datetime.datetime(2025, 1, 31, 10, 33), 'result': '0.022693658238996262', 'result_long': None, 'result_double': None}] Qualite : 0.022693658238996262 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20108777 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108777_31-01-2025_10_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108777 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108777_31-01-2025_10_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20108783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20108784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20108785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20108786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20108787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20108788, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20108789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20108790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20108791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20108792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20108793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20108794, 'pht': 3726}}" where mtr_portfolio_id = 20108777 and dashboard_run_id = 1577889 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`=20108777 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637596, 0.022693658238996262, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108777_31-01-2025_10_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20108783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20108784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20108785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20108786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20108787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20108788, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20108789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20108790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20108791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20108792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20108793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20108794, '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 = 20109367 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': 2533650, 'mtr_portfolio_id': 20109367, 'created_at': datetime.datetime(2025, 1, 31, 10, 46, 59), 'result': '0.0436727874908148', 'result_long': None, 'result_double': None}] Qualite : 0.0436727874908148 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20109367 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109367_31-01-2025_10_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20109367 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109367_31-01-2025_10_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20109412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20109413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20109414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20109415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20109416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20109417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20109418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20109419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20109420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20109421, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20109422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20109423, 'pht': 3726}}" where mtr_portfolio_id = 20109367 and dashboard_run_id = 1577889 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`=20109367 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637597, 0.0436727874908148, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109367_31-01-2025_10_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20109412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20109413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20109414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20109415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20109416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20109417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20109418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20109419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20109420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20109421, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20109422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20109423, '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 = 20109995 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': 2533748, 'mtr_portfolio_id': 20109995, 'created_at': datetime.datetime(2025, 1, 31, 11, 2, 59), 'result': '0.040425433787416976', 'result_long': None, 'result_double': None}] Qualite : 0.040425433787416976 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20109995 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109995_31-01-2025_11_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20109995 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109995_31-01-2025_11_03_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20110040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20110041, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20110042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20110043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20110044, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20110045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20110046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20110047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20110048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20110049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20110050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20110051, 'pht': 3726}}" where mtr_portfolio_id = 20109995 and dashboard_run_id = 1577889 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`=20109995 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637598, 0.040425433787416976, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109995_31-01-2025_11_03_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20110040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20110041, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20110042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20110043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20110044, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20110045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20110046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20110047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20110048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20110049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20110050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20110051, '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 = 20110720 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': 2533886, 'mtr_portfolio_id': 20110720, 'created_at': datetime.datetime(2025, 1, 31, 11, 19), 'result': '0.0381700843080114', 'result_long': None, 'result_double': None}] Qualite : 0.0381700843080114 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20110720 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20110720_31-01-2025_11_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20110720 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20110720_31-01-2025_11_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20110771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20110772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20110773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20110774, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20110775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20110776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20110777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20110778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20110779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20110780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20110781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20110782, 'pht': 3726}}" where mtr_portfolio_id = 20110720 and dashboard_run_id = 1577889 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`=20110720 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637599, 0.0381700843080114, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20110720_31-01-2025_11_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20110771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20110772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20110773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20110774, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20110775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20110776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20110777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20110778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20110779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20110780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20110781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20110782, '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 = 20111560 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': 2533991, 'mtr_portfolio_id': 20111560, 'created_at': datetime.datetime(2025, 1, 31, 11, 32, 57), 'result': '0.04375539871282768', 'result_long': None, 'result_double': None}] Qualite : 0.04375539871282768 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20111560 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20111560_31-01-2025_11_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20111560 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20111560_31-01-2025_11_32_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20111680, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20111681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20111682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20111683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20111684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20111685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20111686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20111687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20111688, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20111689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20111690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20111691, 'pht': 3726}}" where mtr_portfolio_id = 20111560 and dashboard_run_id = 1577889 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`=20111560 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637600, 0.04375539871282768, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20111560_31-01-2025_11_32_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20111680, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20111681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20111682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20111683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20111684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20111685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20111686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20111687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20111688, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20111689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20111690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20111691, '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 = 20112623 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': 2534065, 'mtr_portfolio_id': 20112623, 'created_at': datetime.datetime(2025, 1, 31, 11, 48, 58), 'result': '0.0654430677462188', 'result_long': None, 'result_double': None}] Qualite : 0.0654430677462188 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20112623 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20112623_31-01-2025_11_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20112623 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20112623_31-01-2025_11_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20112628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20112629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20112630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20112631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20112632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20112633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20112634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20112635, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20112636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20112637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20112638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20112639, 'pht': 3726}}" where mtr_portfolio_id = 20112623 and dashboard_run_id = 1577889 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`=20112623 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637601, 0.0654430677462188, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20112623_31-01-2025_11_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20112628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20112629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20112630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20112631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20112632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20112633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20112634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20112635, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20112636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20112637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20112638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20112639, '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 = 20113116 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': 2534102, 'mtr_portfolio_id': 20113116, 'created_at': datetime.datetime(2025, 1, 31, 12, 2, 59), 'result': '0.04026519605661039', 'result_long': None, 'result_double': None}] Qualite : 0.04026519605661039 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20113116 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113116_31-01-2025_12_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20113116 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113116_31-01-2025_12_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20113178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20113179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20113180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20113181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20113182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20113183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20113184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20113185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20113186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20113187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20113188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20113189, 'pht': 3726}}" where mtr_portfolio_id = 20113116 and dashboard_run_id = 1577889 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`=20113116 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637602, 0.04026519605661039, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113116_31-01-2025_12_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20113178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20113179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20113180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20113181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20113182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20113183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20113184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20113185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20113186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20113187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20113188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20113189, '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 = 20113571 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': 2534163, 'mtr_portfolio_id': 20113571, 'created_at': datetime.datetime(2025, 1, 31, 12, 18, 59), 'result': '0.05604052565025554', 'result_long': None, 'result_double': None}] Qualite : 0.05604052565025554 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20113571 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113571_31-01-2025_12_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20113571 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113571_31-01-2025_12_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20113580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20113581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20113582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20113583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20113584, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20113585, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20113586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20113587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20113588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20113589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20113590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20113591, 'pht': 3726}}" where mtr_portfolio_id = 20113571 and dashboard_run_id = 1577889 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`=20113571 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637603, 0.05604052565025554, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113571_31-01-2025_12_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20113580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20113581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20113582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20113583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20113584, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20113585, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20113586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20113587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20113588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20113589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20113590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20113591, '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 = 20121430 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': 2535297, 'mtr_portfolio_id': 20121430, 'created_at': datetime.datetime(2025, 1, 31, 21, 19, 2), 'result': '0.0817407283353113', 'result_long': None, 'result_double': None}] Qualite : 0.0817407283353113 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20121430 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121430_31-01-2025_21_19_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20121430 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121430_31-01-2025_21_19_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20121435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20121436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20121437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20121438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20121439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20121440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20121441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20121442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20121443, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20121444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20121445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20121446, 'pht': 3726}}" where mtr_portfolio_id = 20121430 and dashboard_run_id = 1577889 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`=20121430 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637604, 0.0817407283353113, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121430_31-01-2025_21_19_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20121435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20121436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20121437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20121438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20121439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20121440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20121441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20121442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20121443, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20121444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20121445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20121446, '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 = 20121826 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': 2535320, 'mtr_portfolio_id': 20121826, 'created_at': datetime.datetime(2025, 1, 31, 21, 37), 'result': '0.05138945010416425', 'result_long': None, 'result_double': None}] Qualite : 0.05138945010416425 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20121826 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121826_31-01-2025_21_37_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20121826 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121826_31-01-2025_21_37_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20121883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20121884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20121885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20121886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20121887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20121888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20121889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20121890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20121891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20121892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20121893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20121894, 'pht': 3726}}" where mtr_portfolio_id = 20121826 and dashboard_run_id = 1577889 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`=20121826 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637605, 0.05138945010416425, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121826_31-01-2025_21_37_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20121883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20121884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20121885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20121886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20121887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20121888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20121889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20121890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20121891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20121892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20121893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20121894, '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 = 20122144 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': 2535341, 'mtr_portfolio_id': 20122144, 'created_at': datetime.datetime(2025, 1, 31, 21, 46, 58), 'result': '0.03770210148331466', 'result_long': None, 'result_double': None}] Qualite : 0.03770210148331466 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20122144 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122144_31-01-2025_21_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20122144 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122144_31-01-2025_21_46_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20122183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20122185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20122186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20122188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20122189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20122191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20122192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20122194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20122196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20122197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20122199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20122200, 'pht': 3726}}" where mtr_portfolio_id = 20122144 and dashboard_run_id = 1577889 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`=20122144 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637606, 0.03770210148331466, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122144_31-01-2025_21_46_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20122183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20122185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20122186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20122188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20122189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20122191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20122192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20122194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20122196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20122197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20122199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20122200, '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 = 20122775 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': 2535400, 'mtr_portfolio_id': 20122775, 'created_at': datetime.datetime(2025, 1, 31, 22, 2, 58), 'result': '0.031556960468318095', 'result_long': None, 'result_double': None}] Qualite : 0.031556960468318095 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20122775 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122775_31-01-2025_22_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20122775 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122775_31-01-2025_22_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20122801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20122802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20122803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20122804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20122805, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20122806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20122807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20122808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20122809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20122810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20122811, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20122812, 'pht': 3726}}" where mtr_portfolio_id = 20122775 and dashboard_run_id = 1577889 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`=20122775 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637607, 0.031556960468318095, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122775_31-01-2025_22_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20122801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20122802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20122803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20122804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20122805, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20122806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20122807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20122808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20122809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20122810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20122811, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20122812, '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 = 20123568 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': 2535503, 'mtr_portfolio_id': 20123568, 'created_at': datetime.datetime(2025, 1, 31, 22, 16, 57), 'result': '0.04016188114633454', 'result_long': None, 'result_double': None}] Qualite : 0.04016188114633454 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20123568 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20123568_31-01-2025_22_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20123568 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20123568_31-01-2025_22_16_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20123577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20123578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20123579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20123580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20123581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20123582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20123583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20123584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20123585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20123586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20123587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20123589, 'pht': 3726}}" where mtr_portfolio_id = 20123568 and dashboard_run_id = 1577889 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`=20123568 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637608, 0.04016188114633454, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20123568_31-01-2025_22_16_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20123577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20123578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20123579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20123580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20123581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20123582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20123583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20123584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20123585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20123586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20123587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20123589, '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 = 20124284 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': 2535564, 'mtr_portfolio_id': 20124284, 'created_at': datetime.datetime(2025, 1, 31, 22, 37, 1), 'result': '0.03119054991574652', 'result_long': None, 'result_double': None}] Qualite : 0.03119054991574652 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20124284 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124284_31-01-2025_22_37_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20124284 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124284_31-01-2025_22_37_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20124290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20124291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20124292, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20124293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20124294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20124295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20124296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20124297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20124298, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20124299, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20124300, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20124301, 'pht': 3726}}" where mtr_portfolio_id = 20124284 and dashboard_run_id = 1577889 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`=20124284 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637609, 0.03119054991574652, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124284_31-01-2025_22_37_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20124290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20124291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20124292, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20124293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20124294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20124295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20124296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20124297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20124298, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20124299, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20124300, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20124301, '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 = 20124827 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': 2535599, 'mtr_portfolio_id': 20124827, 'created_at': datetime.datetime(2025, 1, 31, 22, 49), 'result': '0.03904325953720691', 'result_long': None, 'result_double': None}] Qualite : 0.03904325953720691 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20124827 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124827_31-01-2025_22_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20124827 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124827_31-01-2025_22_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20124879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20124880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20124881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20124882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20124883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20124884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20124885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20124886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20124887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20124888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20124889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20124890, 'pht': 3726}}" where mtr_portfolio_id = 20124827 and dashboard_run_id = 1577889 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`=20124827 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637610, 0.03904325953720691, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124827_31-01-2025_22_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20124879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20124880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20124881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20124882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20124883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20124884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20124885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20124886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20124887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20124888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20124889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20124890, '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 = 20125220 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': 2535677, 'mtr_portfolio_id': 20125220, 'created_at': datetime.datetime(2025, 1, 31, 23, 2, 58), 'result': '0.04127613560780153', 'result_long': None, 'result_double': None}] Qualite : 0.04127613560780153 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20125220 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20125220_31-01-2025_23_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20125220 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20125220_31-01-2025_23_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20125281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20125282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20125283, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20125284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20125285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20125286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20125287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20125288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20125289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20125290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20125291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20125292, 'pht': 3726}}" where mtr_portfolio_id = 20125220 and dashboard_run_id = 1577889 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`=20125220 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8637611, 0.04127613560780153, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20125220_31-01-2025_23_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20125281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20125282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20125283, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20125284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20125285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20125286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20125287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20125288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20125289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20125290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20125291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20125292, '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 (20127938,20127939,20127940,20127941,20090835,20090957,20090959,20091190,20091230,20091819,20092585,20093325,20093996,20094429,20095035,20095545,20095959,20097156,20097481,20098077,20098681,20099158,20100088,20100892,20101316,20102361,20102932,20103345,20103727,20104620,20104890,20105217,20106746,20107484,20108354,20108777,20109367,20109995,20110720,20111560,20112623,20113116,20113571,20121430,20121826,20122144,20122775,20123568,20124284,20124827,20125220) result : ((1333164248,), (1333170551,), (1333170556,), (1333170560,), (1333170563,), (1333170565,), (1333170590,), (1333170592,), (1333170607,), (1333170625,), (1333170654,), (1333170694,), (1333170815,), (1333170892,), (1333170896,), (1333170901,), (1333170923,), (1333171038,), (1333171039,), (1333171042,), (1333171043,), (1333171064,), (1333171068,), (1333177306,), (1333177645,), (1333177646,), (1333177807,), (1333177853,), (1333177866,), (1333177871,), (1333177876,), (1333177881,), (1333177916,), (1333178125,), (1333178279,), (1333178320,), (1333178329,), (1333178338,), (1333178366,), (1333178372,), (1333178374,), (1333178377,), (1333178380,), (1333178383,), (1333178436,), (1333178437,), (1333178442,), (1333178444,), (1333178447,), (1333178451,), (1333178660,), (1333178670,), (1333178684,), (1333178687,), (1333178695,), (1333178700,), (1333178705,), (1333178708,), (1333178710,), (1333178712,), (1333178736,), (1333178759,), (1333178775,), (1333178776,), (1333164240,), (1333170730,), (1333171085,), (1333171113,), (1333171115,), (1333171118,), (1333171119,), (1333171122,), (1333171135,), (1333171142,), (1333171149,), (1333171153,), (1333171157,), (1333171161,), (1333171179,), (1333171181,), (1333171185,), (1333171189,), (1333171193,), (1333171196,), (1333176762,), (1333176767,), (1333176770,), (1333176773,), (1333176776,), (1333176778,), (1333176937,), (1333176942,), (1333176946,), (1333176959,), (1333177005,), (1333177008,), (1333177073,), (1333177075,), (1333177077,), (1333177079,), (1333177081,), (1333177084,), (1333177100,), (1333177105,), (1333177112,), (1333177114,), (1333177116,), (1333177118,), (1333177122,), (1333177126,), (1333177131,), (1333177136,), (1333177138,), (1333177143,), (1333177155,), (1333177159,), (1333177162,), (1333177165,), (1333177168,), (1333177170,), (1333177175,), (1333177178,), (1333177184,), (1333177188,), (1333177194,), (1333177200,), (1333177213,), (1333177215,), (1333177218,), (1333177221,), (1333177222,), (1333177226,), (1333177285,), (1333177293,), (1333177295,), (1333177298,), (1333177300,), (1333177302,), (1333164507,), (1333168172,), (1333171206,), (1333171209,), (1333171215,), (1333171219,), (1333171224,), (1333171229,), (1333171240,), (1333171242,), (1333171245,), (1333171248,), (1333171252,), (1333171257,), (1333171270,), (1333171274,), (1333171277,), (1333171280,), (1333171283,), (1333171287,), (1333174225,), (1333174226,), (1333174228,), (1333174234,), (1333174238,), (1333174241,), (1333174829,), (1333174831,), (1333174832,), (1333174856,), (1333174857,), (1333174860,), (1333175175,), (1333175178,), (1333175187,), (1333175190,), (1333175194,), (1333175197,), (1333175324,), (1333175331,), (1333175336,), (1333175341,), (1333175343,), (1333175346,), (1333175621,), (1333175681,), (1333175725,), (1333175731,), (1333175736,), (1333175748,), (1333175756,), (1333175758,), (1333175855,), (1333175856,), (1333175860,), (1333175863,), (1333175868,), (1333175874,), (1333175895,), (1333175897,), (1333175899,), (1333175921,), (1333175926,), (1333175934,), (1333175943,), (1333175947,), (1333175950,), (1333175953,), (1333175957,), (1333175961,), (1333176001,), (1333176006,), (1333176014,), (1333176019,), (1333176030,), (1333176093,), (1333176135,), (1333176175,), (1333176233,), (1333176379,), (1333171700,), (1333171788,), (1333171833,), (1333171836,), (1333171840,), (1333171842,), (1333171857,), (1333171862,), (1333171867,), (1333171875,), (1333171880,), (1333171886,), (1333171892,), (1333171896,), (1333171900,), (1333171904,), (1333171910,), (1333171923,), (1333171957,), (1333171958,), (1333171959,), (1333172007,), (1333172019,), (1333172051,), (1333172056,), (1333172064,), (1333172068,), (1333172156,), (1333172176,), (1333172239,), (1333172241,), (1333172243,), (1333172245,), (1333172249,), (1333172251,), (1333172320,), (1333172324,), (1333172328,), (1333172332,), (1333172341,), (1333172345,), (1333172375,), (1333172381,), (1333172448,), (1333172452,), (1333172456,), (1333172494,), (1333172497,), (1333172501,), (1333172543,), (1333172552,), (1333172555,), (1333172556,), (1333172560,), (1333172612,), (1333172614,), (1333172706,), (1333172884,), (1333173009,), (1333173163,), (1333174065,), (1333174082,), (1333174085,), (1333174088,), (1333174092,), (1333174096,), (1333174099,), (1333174205,), (1333171944,), (1333171952,), (1333171955,), (1333171971,), (1333171979,), (1333171980,), (1333171988,), (1333171994,), (1333172000,), (1333172131,), (1333172140,), (1333172145,), (1333172152,), (1333172208,), (1333172210,), (1333172214,), (1333172220,), (1333172226,), (1333172230,), (1333172267,), (1333172272,), (1333172276,), (1333172282,), (1333172286,), (1333172293,), (1333172361,), (1333172366,), (1333172368,), (1333172370,), (1333172395,), (1333172399,), (1333172405,), (1333172409,), (1333172419,), (1333172429,), (1333172525,), (1333172528,), (1333172533,), (1333172537,), (1333172540,), (1333172685,), (1333172688,), (1333173724,), (1333173877,), (1333173942,), (1333173953,), (1333173979,), (1333174120,), (1333174125,), (1333174130,), (1333174134,), (1333174152,), (1333174562,), (1333174585,), (1333174719,), (1333174739,), (1333174796,), (1333174826,), (1333174918,), (1333174969,), (1333174999,), (1333175034,), (1333175045,), (1333175052,), (1333175207,), (1333175211,), (1333175214,), (1333175221,), (1333175224,), (1333175302,), (1333175523,), (1333175598,), (1333175602,), (1333175613,), (1333175617,), (1333175678,), (1333175640,), (1333175642,), (1333175659,), (1333175675,), (1333175766,), (1333175769,), (1333175779,), (1333175785,), (1333175790,), (1333175803,), (1333175888,), (1333175892,), (1333175893,), (1333175909,), (1333175913,), (1333175918,), (1333175987,), (1333175996,), (1333177248,), (1333177264,), (1333177270,), (1333177279,), (1333177281,), (1333177567,), (1333177572,), (1333177580,), (1333177583,), (1333177632,), (1333177633,), (1333177639,), (1333177640,), (1333177642,), (1333177644,), (1333177694,), (1333177703,), (1333177715,), (1333177747,), (1333177752,), (1333178101,), (1333178107,), (1333178111,), (1333178116,), (1333178121,), (1333178142,), (1333178161,), (1333178169,), (1333178252,), (1333178277,), (1333178312,), (1333178295,), (1333178303,), (1333178400,), (1333178411,), (1333178417,), (1333178422,), (1333178427,), (1333178430,), (1333178518,), (1333178525,), (1333178539,), (1333178542,), (1333178583,), (1333178584,), (1333178632,), (1333178633,), (1333178640,), (1333178641,), (1333178643,), (1333178645,), (1333178649,), (1333178651,), (1333178715,), (1333178718,), (1333178723,), (1333178728,), (1333178732,), (1333178838,), (1333178843,), (1333178847,), (1333178852,), (1333178880,), (1333179102,), (1333179233,), (1333179348,), (1333179496,), (1333179577,), (1333179982,), (1333179983,), (1333179989,), (1333179992,), (1333179997,), (1333180025,), (1333180069,), (1333180192,), (1333180406,), (1333180453,), (1333180471,), (1333180479,), (1333180487,), (1333180531,), (1333180791,), (1333180796,), (1333180811,), (1333180823,), (1333180875,), (1333180881,), (1333180886,), (1333180911,), (1333180916,), (1333181046,), (1333181048,), (1333181055,), (1333181061,), (1333181065,), (1333181127,), (1333181133,), (1333181136,), (1333182330,), (1333181285,), (1333182193,), (1333182232,), (1333182237,), (1333182263,), (1333182551,), (1333182552,), (1333182562,), (1333182564,), (1333182570,), (1333182571,), (1333182623,), (1333182636,), (1333182675,), (1333182685,), (1333183000,), (1333183035,), (1333183046,), (1333183119,), (1333184094,), (1333184099,), (1333184104,), (1333184108,), (1333184114,), (1333184117,), (1333184648,), (1333184653,), (1333184657,), (1333184707,), (1333184719,), (1333184722,), (1333184736,), (1333184740,), (1333184755,), (1333184813,), (1333185256,), (1333185267,), (1333185273,), (1333185294,), (1333185300,), (1333185410,), (1333185411,), (1333185416,), (1333185417,), (1333185429,), (1333185430,), (1333185436,), (1333185437,), (1333185440,), (1333185441,), (1333185445,), (1333185446,), (1333185455,), (1333185458,), (1333185464,), (1333185632,), (1333185650,), (1333185669,), (1333185672,), (1333185958,), (1333185960,), (1333185963,), (1333185966,), (1333185969,), (1333185972,), (1333185978,), (1333185980,), (1333185983,), (1333185987,), (1333186100,), (1333186122,), (1333186141,), (1333186145,), (1333186150,), (1333186192,), (1333186180,), (1333186182,), (1333186185,), (1333186189,), (1333186225,), (1333186227,), (1333186229,), (1333186231,), (1333186237,), (1333186281,), (1333186300,), (1333186307,), (1333186314,), (1333186317,), (1333186318,), (1333186321,), (1333186325,), (1333186354,), (1333186356,), (1333186358,), (1333186388,), (1333186391,), (1333186395,), (1333186398,), (1333186404,), (1333186407,), (1333186431,), (1333186435,), (1333186440,), (1333186507,), (1333186516,), (1333186521,), (1333186611,), (1333186617,), (1333186622,), (1333186626,), (1333186630,), (1333186632,), (1333186640,), (1333186643,), (1333186648,), (1333186652,), (1333186681,), (1333186684,), (1333186687,), (1333186691,), (1333186694,), (1333186723,), (1333186726,), (1333186731,), (1333186748,), (1333186791,), (1333186794,), (1333186797,), (1333186800,), (1333186808,), (1333186811,), (1333186815,), (1333186818,), (1333186823,), (1333186861,), (1333186864,), (1333186869,), (1333186883,), (1333187285,), (1333186999,), (1333187003,), (1333187007,), (1333187010,), (1333187015,), (1333187018,), (1333187158,), (1333187408,), (1333187412,), (1333187454,), (1333187459,), (1333187462,), (1333187581,), (1333187683,), (1333187689,), (1333187853,), (1333187855,), (1333187856,), (1333187873,), (1333187911,), (1333188104,), (1333188229,), (1333188342,), (1333188393,), (1333188431,), (1333188507,), (1333188528,), (1333188575,), (1333188911,), (1333188945,), (1333188947,), (1333188952,), (1333188955,), (1333188980,), (1333188982,), (1333188985,), (1333188988,), (1333188991,), (1333189380,), (1333189381,), (1333189409,), (1333189410,), (1333189414,), (1333189417,), (1333189553,), (1333189554,), (1333189557,), (1333189558,), (1333189567,), (1333189568,), (1333189570,), (1333189572,), (1333189574,), (1333189576,), (1333189578,), (1333189579,), (1333189586,), (1333189588,), (1333189590,), (1333189675,), (1333189678,), (1333189777,), (1333189778,), (1333189779,), (1333189782,), (1333189784,), (1333190141,), (1333190210,), (1333190276,), (1333190318,), (1333190353,), (1333190580,), (1333190661,), (1333190738,), (1333190812,), (1333191020,), (1333191009,), (1333191012,), (1333191018,), (1333191046,), (1333191049,), (1333191060,), (1333191907,), (1333191910,), (1333191945,), (1333191948,), (1333191951,), (1333191955,), (1333191958,), (1333191985,), (1333191987,), (1333192014,), (1333192017,), (1333192020,), (1333192026,), (1333192331,), (1333192334,), (1333192338,), (1333192342,), (1333192346,), (1333192540,), (1333192550,), (1333192555,), (1333192586,), (1333192606,), (1333192608,), (1333192610,), (1333192611,), (1333192831,), (1333192844,), (1333192879,), (1333192882,), (1333192885,), (1333192908,), (1333192931,), (1333192933,), (1333192935,), (1333192977,), (1333193195,), (1333193193,), (1333193194,), (1333193243,), (1333193244,), (1333193246,), (1333193249,), (1333193251,), (1333193283,), (1333193285,), (1333193286,), (1333193287,), (1333193290,), (1333193327,), (1333193334,), (1333193368,), (1333193369,), (1333193371,), (1333193373,), (1333193374,), (1333193376,), (1333193433,), (1333193436,), (1333193439,), (1333193443,), (1333193486,), (1333193489,), (1333193512,), (1333193515,), (1333193519,), (1333193534,), (1333193598,), (1333193602,), (1333193606,), (1333193607,), (1333193749,), (1333193862,), (1333194437,), (1333194439,), (1333194441,), (1333194443,), (1333194709,), (1333194747,), (1333194759,), (1333194766,), (1333194769,), (1333194797,), (1333194798,), (1333194801,), (1333194804,), (1333194808,), (1333194810,), (1333194832,), (1333194835,), (1333194839,), (1333194972,), (1333194996,), (1333194998,), (1333195196,), (1333195205,), (1333195225,), (1333195244,), (1333195274,), (1333195277,), (1333195278,), (1333195280,), (1333195283,), (1333195318,), (1333195306,), (1333195308,), (1333195311,), (1333195316,), (1333195372,), (1333195374,), (1333195376,), (1333195378,), (1333195473,), (1333195475,), (1333195507,), (1333195508,), (1333195510,), (1333195513,), (1333195544,), (1333195546,), (1333195548,), (1333195552,), (1333195619,), (1333195645,), (1333195647,), (1333195649,), (1333195651,), (1333195688,), (1333195690,), (1333195691,), (1333195693,), (1333195697,), (1333195736,), (1333195737,), (1333195740,), (1333195746,), (1333195936,), (1333195938,), (1333195942,), (1333195988,), (1333195993,), (1333196080,), (1333196082,), (1333196083,), (1333196085,), (1333196118,), (1333196500,), (1333196502,), (1333196504,), (1333196520,), (1333196527,), (1333196554,), (1333196557,), (1333196559,), (1333200458,), (1333201884,), (1333201930,), (1333201932,), (1333201935,), (1333202030,), (1333202035,), (1333202233,), (1333202255,), (1333202258,), (1333202346,), (1333202353,), (1333202408,), (1333202426,), (1333202429,), (1333202432,), (1333202628,), (1333202649,), (1333202703,), (1333202706,), (1333202708,), (1333202710,), (1333202791,), (1333202793,), (1333202796,), (1333202798,), (1333203476,), (1333204840,), (1333204862,), (1333204867,), (1333204868,), (1333204869,), (1333204872,), (1333204900,), (1333204894,), (1333204896,), (1333204897,), (1333204898,), (1333204925,), (1333204927,), (1333204929,), (1333204931,), (1333204970,), (1333205035,), (1333205553,), (1333205576,), (1333205582,), (1333205586,), (1333205743,), (1333205752,), (1333205757,), (1333205759,), (1333205765,), (1333205812,), (1333205814,), (1333205816,), (1333205818,), (1333206670,), (1333206672,), (1333207085,), (1333207088,), (1333207112,), (1333207116,), (1333207139,), (1333207184,), (1333207215,), (1333207216,), (1333207217,), (1333207218,), (1333207294,), (1333207297,), (1333207299,), (1333207302,), (1333207304,), (1333207387,), (1333207427,), (1333207436,), (1333207437,), (1333207464,), (1333207468,), (1333207573,), (1333207598,), (1333207618,), (1333207656,), (1333207855,), (1333207857,), (1333207859,), (1333207907,), (1333207942,), (1333207945,), (1333208003,), (1333208008,), (1333208010,), (1333208011,), (1333208059,), (1333208047,), (1333208049,), (1333208051,), (1333208055,), (1333208086,), (1333208095,), (1333208099,), (1333208110,), (1333208142,), (1333208165,), (1333208483,), (1333208507,), (1333208510,), (1333208525,), (1333208587,), (1333208589,), (1333208592,), (1333208595,), (1333208597,), (1333208602,), (1333208619,), (1333208620,), (1333208621,), (1333208623,), (1333208625,), (1333208728,), (1333208736,), (1333208785,), (1333208788,), (1333208831,), (1333208833,), (1333208835,), (1333208839,), (1333208842,), (1333208847,), (1333208865,), (1333209010,), (1333209018,), (1333209094,), (1333209147,), (1333209320,), (1333209327,), (1333209329,), (1333209330,), (1333209484,), (1333210172,), (1333210174,), (1333210175,), (1333210296,), (1333210456,), (1333210460,), (1333210463,), (1333210466,), (1333210587,), (1333210588,), (1333210589,), (1333210643,), (1333210645,), (1333210648,), (1333210651,), (1333210655,), (1333210658,), (1333210689,), (1333210695,), (1333210698,), (1333210704,), (1333210732,), (1333210734,), (1333210737,), (1333210740,), (1333210745,), (1333210748,), (1333211120,), (1333210952,), (1333210956,), (1333210959,), (1333211005,), (1333211017,), (1333211020,), (1333211054,), (1333211114,), (1333211142,), (1333211155,), (1333211204,), (1333211214,), (1333211220,), (1333211224,), (1333211456,), (1333211460,), (1333211462,), (1333211465,), (1333211550,), (1333211552,), (1333211558,), (1333211564,), (1333211568,), (1333211572,), (1333211606,), (1333211609,), (1333211611,), (1333211764,), (1333211765,), (1333211766,), (1333211767,), (1333211768,), (1333211770,), (1333211794,), (1333211796,), (1333211798,), (1333211800,), (1333211877,), (1333211879,), (1333211881,), (1333211895,), (1333211904,), (1333211908,), (1333211928,), (1333211929,), (1333211932,), (1333211936,), (1333211975,), (1333211977,), (1333211978,), (1333211982,), (1333211984,), (1333211987,), (1333212007,), (1333212009,), (1333212010,), (1333212011,), (1333212060,), (1333212123,), (1333212184,), (1333212212,), (1333212215,), (1333212217,), (1333212404,), (1333212409,), (1333212414,), (1333212418,), (1333212501,), (1333212459,), (1333212464,), (1333212468,), (1333212494,), (1333212594,), (1333212597,), (1333212601,), (1333212602,), (1333212631,), (1333212633,), (1333212634,), (1333212636,), (1333212639,), (1333212667,), (1333212671,), (1333212674,), (1333212676,), (1333212680,), (1333212704,), (1333212723,), (1333212725,), (1333212727,), (1333212733,), (1333212735,), (1333212770,), (1333212773,), (1333212776,), (1333212778,), (1333212782,), (1333212790,), (1333212834,), (1333212837,), (1333212840,), (1333212880,), (1333212953,), (1333213036,), (1333213037,), (1333213059,), (1333213100,), (1333213402,), (1333213417,), (1333213642,), (1333213695,), (1333213709,), (1333213713,), (1333213716,), (1333213720,), (1333213723,), (1333213735,), (1333213738,), (1333213741,), (1333213833,), (1333213851,), (1333213858,), (1333213874,), (1333213876,), (1333213877,), (1333214104,), (1333214296,), (1333214426,), (1333214512,), (1333214949,), (1333214951,), (1333214959,), (1333214965,), (1333215107,), (1333215062,), (1333215099,), (1333215100,), (1333215103,), (1333215602,), (1333215653,), (1333215665,), (1333215678,), (1333215707,), (1333215779,), (1333216108,), (1333216134,), (1333216256,), (1333216366,), (1333216691,), (1333216696,), (1333216712,), (1333216719,), (1333216943,), (1333216966,), (1333216994,), (1333216996,), (1333217022,), (1333217031,), (1333217038,), (1333217040,), (1333217042,), (1333217043,), (1333217074,), (1333217076,), (1333217173,), (1333217176,), (1333217178,), (1333217181,), (1333217211,), (1333217212,), (1333217213,), (1333217215,), (1333217217,), (1333217243,), (1333217245,), (1333217247,), (1333217249,), (1333217324,), (1333217495,), (1333217604,), (1333217787,), (1333217793,), (1333217840,), (1333217842,), (1333217854,), (1333217984,), (1333217987,), (1333217989,), (1333217990,), (1333218037,), (1333218344,), (1333218346,), (1333218392,), (1333218394,), (1333218549,), (1333218581,), (1333218589,), (1333218748,), (1333218695,), (1333218742,), (1333218745,), (1333218783,), (1333218787,), (1333218794,), (1333218803,), (1333218826,), (1333218828,), (1333218829,), (1333218830,), (1333218867,), (1333218869,), (1333218871,), (1333218929,), (1333218933,), (1333218935,), (1333219176,), (1333219195,), (1333219198,), (1333219224,), (1333219227,), (1333219244,), (1333219246,), (1333219249,), (1333219256,), (1333219292,), (1333219293,), (1333219294,), (1333219352,), (1333219470,), (1333220191,), (1333220193,), (1333220214,), (1333220222,), (1333220225,), (1333220540,), (1333220543,), (1333220547,), (1333220550,), (1333220571,), (1333220574,), (1333220577,), (1333220609,), (1333220612,), (1333220616,), (1333220619,), (1333220626,), (1333220638,), (1333220643,), (1333220645,), (1333220653,), (1333220659,), (1333220716,), (1333220718,), (1333220722,), (1333220731,), (1333220737,), (1333220751,), (1333220925,), (1333220966,), (1333221021,), (1333221025,), (1333221031,), (1333221037,), (1333221038,), (1333221214,), (1333221216,), (1333221218,), (1333221221,), (1333221223,), (1333221225,), (1333221249,), (1333221251,), (1333221255,), (1333221256,), (1333220924,), (1333220962,), (1333221022,), (1333221026,), (1333221032,), (1333221042,), (1333221136,), (1333221138,), (1333221155,), (1333221159,), (1333221180,), (1333221232,), (1333221233,), (1333221237,), (1333221238,), (1333221241,), (1333221243,), (1333221245,), (1333221246,), (1333221265,), (1333221267,), (1333221268,), (1333221269,), (1333221270,), (1333221322,), (1333222114,), (1333222116,), (1333222119,), (1333222121,), (1333222123,), (1333222412,), (1333222415,), (1333222416,), (1333222477,), (1333222479,), (1333222489,), (1333222795,), (1333222797,), (1333222799,), (1333222811,), (1333222813,), (1333222815,), (1333222886,), (1333222897,), (1333222899,), (1333222911,), (1333222955,), (1333223139,), (1333223142,), (1333223145,), (1333223154,), (1333223207,), (1333223208,), (1333223209,), (1333223210,), (1333223235,), (1333223237,), (1333223294,), (1333223296,), (1333223322,), (1333223494,), (1333223533,), (1333223557,), (1333223571,), (1333223619,), (1333223847,), (1333223872,), (1333223924,), (1333223959,), (1333223970,), (1333224581,), (1333225628,), (1333225632,), (1333225635,), (1333225638,), (1333225680,), (1333225682,), (1333225683,), (1333225771,), (1333225852,), (1333226237,), (1333226241,), (1333226245,), (1333226285,), (1333226289,), (1333226292,), (1333226294,), (1333226321,), (1333226626,), (1333226639,), (1333226643,), (1333226684,), (1333226689,), (1333226692,), (1333226707,), (1333226718,), (1333226726,), (1333226853,), (1333226858,), (1333226864,), (1333226868,), (1333226872,), (1333226899,), (1333226901,), (1333226904,), (1333226907,), (1333226983,), (1333226997,), (1333227001,), (1333227004,), (1333227007,), (1333227047,), (1333227052,), (1333227058,), (1333227061,), (1333227069,), (1333227106,), (1333227104,), (1333227325,), (1333227366,), (1333227384,), (1333227409,), (1333227429,), (1333227448,), (1333227623,), (1333227631,), (1333227634,), (1333227732,), (1333227737,), (1333227741,), (1333227745,), (1333227749,), (1333227796,), (1333227799,), (1333227911,), (1333227929,), (1333227934,), (1333227968,), (1333227991,), (1333228064,), (1333228067,), (1333228073,), (1333228421,), (1333229695,), (1333229749,), (1333229935,), (1333230012,), (1333230015,), (1333230017,), (1333230018,), (1333230393,), (1333230408,), (1333230493,), (1333230619,), (1333230811,), (1333230817,), (1333230821,), (1333232346,), (1333232353,), (1333232367,), (1333232369,), (1333232647,), (1333232649,), (1333233367,), (1333233388,), (1333233465,), (1333233506,), (1333233548,), (1333233555,), (1333233557,), (1333233568,), (1333233583,), (1333233597,), (1333233661,), (1333233663,), (1333233665,), (1333233717,), (1333233721,), (1333233723,), (1333233727,), (1333233731,), (1333234086,), (1333234089,), (1333234092,), (1333234096,), (1333234099,), (1333234103,), (1333234156,), (1333234147,), (1333234150,), (1333234153,), (1333234210,), (1333234211,), (1333234215,), (1333234228,), (1333234232,), (1333234391,), (1333234401,), (1333234403,), (1333234407,), (1333234448,), (1333234451,), (1333234454,), (1333234456,), (1333234458,), (1333234494,), (1333234554,), (1333234555,), (1333234557,), (1333234559,), (1333234562,), (1333234608,), (1333234611,), (1333234616,), (1333234755,), (1333234777,), (1333235085,), (1333235087,), (1333235090,), (1333235093,), (1333235096,), (1333235299,), (1333235552,), (1333235792,), (1333236085,), (1333236335,), (1333236338,), (1333236473,), (1333236476,), (1333236478,), (1333236683,), (1333236692,), (1333236726,), (1333236968,), (1333237210,), (1333237411,), (1333237430,), (1333237446,), (1333237460,), (1333237467,), (1333237490,), (1333237580,), (1333237591,), (1333237670,), (1333237672,), (1333237675,), (1333237679,), (1333237726,), (1333237863,), (1333237858,), (1333237860,), (1333237905,), (1333237907,), (1333237953,), (1333238082,), (1333238101,), (1333238194,), (1333238202,), (1333238295,), (1333238296,), (1333238349,), (1333238448,), (1333238585,), (1333240284,), (1333242324,), (1333242306,), (1333242415,), (1333242417,), (1333242531,), (1333242642,), (1333242647,), (1333242892,), (1333242896,), (1333242936,), (1333242937,), (1333243003,), (1333243086,), (1333243095,), (1333243096,), (1333243114,), (1333243226,), (1333243229,), (1333243232,), (1333243239,), (1333243242,), (1333243247,), (1333243400,), (1333243423,), (1333243447,), (1333243557,), (1333243561,), (1333243563,), (1333243566,), (1333243849,), (1333243883,), (1333243896,), (1333243901,), (1333243949,), (1333243941,), (1333243944,), (1333243947,), (1333244006,), (1333244010,), (1333244013,), (1333244095,), (1333244097,), (1333244100,), (1333244101,), (1333244117,), (1333244206,), (1333244210,), (1333244212,), (1333244244,), (1333244270,), (1333244327,), (1333244977,), (1333245110,), (1333245209,), (1333246099,), (1333246170,), (1333247727,), (1333247879,), (1333248027,), (1333248202,), (1333248336,), (1333248447,), (1333248958,), (1333249041,), (1333249123,), (1333249193,), (1333249282,), (1333249367,), (1333249964,), (1333250038,), (1333250090,), (1333250157,), (1333250201,), (1333250470,), (1333250472,), (1333250540,), (1333250574,), (1333250687,), (1333250758,), (1333250823,), (1333250888,), (1333250941,), (1333251271,), (1333251343,), (1333251383,), (1333251439,), (1333251831,), (1333251835,), (1333251838,), (1333251846,), (1333251851,), (1333252196,), (1333252206,), (1333252216,), (1333252220,), (1333252225,), (1333261309,), (1333261505,), (1333261536,), (1333261540,), (1333261545,), (1333261550,), (1333261923,), (1333261935,), (1333261939,), (1333261947,), (1333261994,), (1333262076,), (1333262080,), (1333262192,), (1333262230,), (1333262237,), (1333262302,), (1333262306,), (1333262311,), (1333262323,), (1333262335,), (1333262344,), (1333262707,), (1333262809,), (1333262947,), (1333263031,), (1333263226,), (1333263382,), (1333263626,), (1333263630,), (1333263633,), (1333264062,), (1333264067,), (1333264080,), (1333264083,), (1333264141,), (1333264146,), (1333264147,), (1333264153,), (1333264161,), (1333264166,), (1333264226,), (1333264247,), (1333264252,), (1333264258,), (1333264261,), (1333264295,), (1333264299,), (1333264303,), (1333264330,), (1333264424,), (1333264529,), (1333264707,), (1333264742,), (1333264788,), (1333264791,), (1333264839,), (1333264840,), (1333264841,), (1333264842,), (1333264857,), (1333264862,), (1333264930,), (1333264934,), (1333264938,), (1333265802,), (1333265195,), (1333265257,), (1333265431,), (1333265486,), (1333265496,), (1333265533,), (1333265715,), (1333265726,), (1333265730,), (1333265786,), (1333265813,), (1333265815,), (1333265818,), (1333265821,), (1333265826,), (1333265860,), (1333265862,), (1333265864,), (1333265877,), (1333265884,), (1333265889,), (1333266159,), (1333266248,), (1333266250,), (1333266253,), (1333266257,), (1333266341,), (1333266377,), (1333266386,), (1333266395,), (1333266401,), (1333266414,), (1333266616,), (1333266620,), (1333266623,), (1333266627,), (1333266634,), (1333266755,), (1333266769,), (1333266771,), (1333266773,), (1333267177,), (1333267197,), (1333267201,), (1333267205,), (1333267209,), (1333267212,), (1333267247,), (1333267250,), (1333267251,), (1333267255,), (1333267317,), (1333267323,), (1333267389,), (1333267405,), (1333267409,), (1333267444,), (1333267486,), (1333267489,), (1333267498,), (1333267586,), (1333267897,), (1333267938,), (1333267947,), (1333267997,), (1333268010,), (1333268029,), (1333268122,), (1333268128,), (1333268133,), (1333268139,), (1333268154,), (1333268386,), (1333268345,), (1333268582,), (1333268585,), (1333268589,), (1333268594,), (1333268600,), (1333268608,), (1333268628,), (1333268631,), (1333268635,), (1333268673,), (1333268829,), (1333268839,), (1333268842,), (1333268848,), (1333268851,), (1333268941,), (1333268945,), (1333268947,), (1333268949,), (1333268952,), (1333268954,), (1333269044,), (1333269047,), (1333269051,), (1333269391,), (1333269395,), (1333269396,), (1333269400,), (1333269458,), (1333269525,), (1333269622,), (1333269697,), (1333269716,), (1333269720,), (1333269765,), (1333270370,), (1333270360,), (1333270362,), (1333270364,), (1333270420,), (1333270425,), (1333270429,), (1333270431,), (1333270438,), (1333270446,), (1333271001,), (1333271032,), (1333271148,), (1333271391,), (1333271395,), (1333271399,), (1333271401,), (1333271407,), (1333271413,), (1333271572,), (1333271575,), (1333271577,), (1333271580,), (1333271644,), (1333271648,), (1333271652,), (1333271693,), (1333271738,), (1333271783,), (1333272022,), (1333272278,), (1333272465,), (1333272510,), (1333272513,), (1333272517,), (1333272569,), (1333272636,), (1333272827,), (1333272994,), (1333272999,), (1333273002,), (1333273003,), (1333273008,), (1333273013,), (1333273131,), (1333273135,), (1333273137,), (1333273141,), (1333273276,), (1333273280,), (1333273282,), (1333273285,), (1333273289,), (1333273294,), (1333273581,), (1333273584,), (1333273586,), (1333273632,), (1333273915,), (1333273917,), (1333273921,), (1333273924,), (1333273927,), (1333273967,), (1333273970,), (1333273972,), (1333273975,), (1333274036,), (1333274038,), (1333274041,), (1333274044,), (1333274051,), (1333274054,), (1333274125,), (1333274104,), (1333274108,), (1333274110,), (1333274112,), (1333274161,), (1333274164,), (1333274167,), (1333274171,), (1333274175,), (1333274181,), (1333274452,), (1333274455,), (1333274456,), (1333274557,), (1333274581,), (1333274777,), (1333274781,), (1333274783,), (1333274786,), (1333274790,), (1333274794,), (1333274878,), (1333274887,), (1333274897,), (1333275000,), (1333275055,), (1333275144,), (1333275216,), (1333275279,), (1333275347,), (1333275552,), (1333275555,), (1333275557,), (1333275558,), (1333275772,), (1333275843,), (1333275934,), (1333276022,), (1333276095,), (1333276099,), (1333276277,), (1333276278,), (1333276501,), (1333276757,), (1333277010,), (1333277443,), (1333277552,), (1333277656,), (1333277658,), (1333277662,), (1333277970,), (1333277973,), (1333277977,), (1333277983,), (1333277988,), (1333277993,), (1333278212,), (1333278255,), (1333278259,), (1333278648,), (1333278649,), (1333278650,), (1333278651,), (1333278655,), (1333278659,), (1333278698,), (1333278701,), (1333278704,), (1333278707,), (1333278710,), (1333278749,), (1333278752,), (1333278820,), (1333278823,), (1333278827,), (1333278832,), (1333278931,), (1333278918,), (1333278922,), (1333278927,), (1333279029,), (1333279032,), (1333279035,), (1333279094,), (1333279187,), (1333279502,), (1333279505,), (1333279572,), (1333279610,), (1333279614,), (1333279620,), (1333279764,), (1333279767,), (1333279770,), (1333279775,), (1333279913,), (1333279916,), (1333279919,), (1333279925,), (1333279936,), (1333279941,), (1333279988,), (1333279990,), (1333279992,), (1333279993,), (1333280062,), (1333280076,), (1333280191,), (1333280194,), (1333280198,), (1333280503,), (1333280507,), (1333280514,), (1333280520,), (1333280525,), (1333280535,), (1333280637,), (1333280641,), (1333280644,), (1333280646,), (1333280691,), (1333280694,), (1333280696,), (1333280770,), (1333281709,), (1333281712,), (1333281716,), (1333281719,), (1333281721,), (1333281725,), (1333282208,), (1333282256,), (1333282287,), (1333282298,), (1333282816,), (1333282871,), (1333282872,), (1333282874,), (1333282877,), (1333282965,), (1333283489,), (1333283495,), (1333283500,), (1333283556,), (1333283560,), (1333283565,), (1333283569,), (1333283573,), (1333283623,), (1333283604,), (1333283609,), (1333283614,), (1333283619,), (1333283813,), (1333283819,), (1333283828,), (1333283830,), (1333284163,), (1333284177,), (1333284196,), (1333284199,), (1333284250,), (1333284264,), (1333284560,), (1333284562,), (1333284563,), (1333284613,), (1333284619,), (1333284623,), (1333284673,), (1333284676,), (1333284680,), (1333284682,), (1333284823,), (1333284831,), (1333284834,), (1333284835,), (1333284840,), (1333284889,), (1333285145,), (1333285164,), (1333285167,), (1333285171,), (1333285176,), (1333285323,), (1333285326,), (1333285327,), (1333285474,), (1333285476,), (1333285478,), (1333285481,), (1333285483,), (1333285662,), (1333285664,), (1333285667,), (1333285670,), (1333285678,), (1333285685,), (1333285718,), (1333285721,), (1333285724,), (1333285849,), (1333285854,), (1333285858,), (1333285859,), (1333285863,), (1333285867,), (1333285947,), (1333285980,), (1333285983,), (1333285987,), (1333286024,), (1333286028,), (1333286165,), (1333286150,), (1333286154,), (1333286157,), (1333286161,), (1333286659,), (1333286770,), (1333287001,), (1333287014,), (1333287017,), (1333287063,), (1333287357,), (1333287442,), (1333287484,), (1333287487,), (1333287555,), (1333287743,), (1333287839,), (1333287843,), (1333287846,), (1333287880,), (1333287993,), (1333287996,), (1333288043,), (1333288047,), (1333288099,), (1333288217,), (1333288221,), (1333288294,), (1333288300,), (1333288321,), (1333288466,), (1333288473,), (1333288481,), (1333288585,), (1333288587,), (1333288648,), (1333288682,), (1333288824,), (1333288828,), (1333288829,), (1333288879,), (1333288884,), (1333288912,), (1333289091,), (1333289118,), (1333289167,), (1333289173,), (1333289432,), (1333289434,), (1333289437,), (1333289439,), (1333289530,), (1333289582,), (1333289585,), (1333289589,), (1333289638,), (1333289641,), (1333289643,), (1333289646,), (1333289649,), (1333289690,), (1333289684,), (1333289688,), (1333289836,), (1333289899,), (1333289973,), (1333290046,), (1333290207,), (1333290248,), (1333290261,), (1333290264,), (1333290288,), (1333290293,), (1333290458,), (1333290511,), (1333290529,), (1333290533,), (1333290542,), (1333290650,), (1333290666,), (1333290708,), (1333291279,), (1333291339,), (1333291342,), (1333291345,), (1333291400,), (1333291567,), (1333291610,), (1333291615,), (1333291621,), (1333291626,), (1333291629,), (1333291926,), (1333291944,), (1333291998,), (1333292053,), (1333292279,), (1333292281,), (1333292282,), (1333292284,), (1333292286,), (1333292499,), (1333292502,), (1333292505,), (1333292508,), (1333292511,), (1333292580,), (1333292595,), (1333292753,), (1333292825,), (1333292844,), (1333292851,), (1333292860,), (1333292932,), (1333293050,), (1333293052,), (1333293056,), (1333293059,), (1333293061,), (1333293065,), (1333293093,), (1333293095,), (1333293097,), (1333293138,), (1333293142,), (1333293145,), (1333293147,), (1333293273,), (1333293229,), (1333293231,), (1333293233,), (1333293258,), (1333293650,), (1333293654,), (1333293658,), (1333293723,), (1333293873,), (1333294037,), (1333294215,), (1333294220,), (1333294223,), (1333294224,), (1333294226,), (1333294229,), (1333294261,), (1333294263,), (1333294265,), (1333295665,), (1333295668,), (1333295745,), (1333295817,), (1333296441,), (1333296470,), (1333297208,), (1333297213,), (1333297280,), (1333297284,), (1333297289,), (1333297303,), (1333297304,), (1333297355,), (1333297369,), (1333297390,), (1333297391,), (1333297606,), (1333297593,), (1333297598,), (1333297603,), (1333297779,), (1333297785,), (1333297789,), (1333297791,), (1333297795,), (1333297800,), (1333297858,), (1333297862,), (1333297867,), (1333297872,), (1333297910,), (1333297915,), (1333297917,), (1333297921,), (1333297956,), (1333297959,), (1333297984,), (1333297989,), (1333297992,), (1333297995,), (1333298102,), (1333298196,), (1333298203,), (1333298205,), (1333298236,), (1333298241,), (1333298329,), (1333298337,), (1333298485,), (1333300842,), (1333454403,), (1333454882,), (1333454927,), (1333454931,), (1333454935,), (1333455108,), (1333455111,), (1333455391,), (1333455879,), (1333456948,), (1333456951,), (1333456980,), (1333457019,), (1333457231,), (1333457738,), (1333457739,), (1333457773,), (1333457845,), (1333457925,), (1333458887,), (1333459073,), (1333460202,), (1333460216,), (1333460218,), (1333460221,), (1333460657,), (1333460746,), (1333460752,), (1333460777,), (1333461116,), (1333460988,), (1333461063,), (1333461097,), (1333461108,), (1333461555,), (1333461596,), (1333461695,), (1333462374,), (1333462378,), (1333462381,), (1333462386,), (1333462391,), (1333462617,), (1333462620,), (1333462624,), (1333462628,), (1333462632,), (1333462638,), (1333462668,), (1333462671,), (1333462672,), (1333462674,), (1333462817,), (1333463154,), (1333463157,), (1333463159,), (1333463570,), (1333463603,), (1333463710,), (1333463733,), (1333463738,), (1333463743,), (1333463763,), (1333464094,), (1333464171,), (1333464175,), (1333464177,), (1333464180,), (1333464185,), (1333464189,), (1333464219,), (1333464212,), (1333464215,), (1333464386,), (1333464389,), (1333464392,), (1333464394,), (1333464397,), (1333464402,), (1333465203,), (1333465291,), (1333465460,), (1333465530,), (1333465922,), (1333465926,), (1333465930,), (1333465933,), (1333465939,), (1333466354,), (1333466375,), (1333466381,), (1333466385,), (1333466437,), (1333466564,), (1333466565,), (1333466618,), (1333466621,), (1333466624,), (1333466831,), (1333466835,), (1333466842,), (1333466851,), (1333466862,), (1333466921,), (1333466925,), (1333466933,), (1333467065,), (1333467068,), (1333467070,), (1333467178,), (1333467230,), (1333467234,), (1333467238,), (1333467241,), (1333467335,), (1333467347,), (1333467385,), (1333467387,), (1333467399,), (1333467424,), (1333467462,), (1333467466,), (1333467469,), (1333467480,), (1333467514,), (1333467534,), (1333467700,), (1333467739,), (1333467741,), (1333467745,), (1333467794,), (1333467798,), (1333467825,), (1333467828,), (1333467833,), (1333467837,), (1333467847,), (1333467854,), (1333467890,), (1333467879,), (1333467884,), (1333467992,), (1333468042,), (1333468149,), (1333468207,), (1333468218,), (1333468224,), (1333468398,), (1333468401,), (1333468402,), (1333468404,), (1333468407,), (1333468411,), (1333468463,), (1333468466,), (1333468469,), (1333468643,), (1333468646,), (1333468647,), (1333468650,), (1333468653,), (1333468760,), (1333468763,), (1333468818,), (1333468827,), (1333468833,), (1333469051,), (1333469055,), (1333469058,), (1333469062,), (1333469067,), (1333469075,), (1333469100,), (1333469103,), (1333469149,), (1333469152,), (1333469177,), (1333469181,), (1333469784,), (1333469851,), (1333469895,), (1333469946,), (1333470016,), (1333470054,), (1333470543,), (1333470629,), (1333471588,), (1333471657,), (1333471934,), (1333471937,), (1333471942,), (1333471951,), (1333472157,), (1333472247,), (1333472371,), (1333472456,), (1333472462,), (1333472467,), (1333472477,), (1333472518,), (1333472523,), (1333472529,), (1333472535,), (1333472555,), (1333472548,), (1333472551,), (1333472872,), (1333472874,), (1333472901,), (1333472925,), (1333472927,), (1333472968,), (1333472998,), (1333473023,), (1333473033,), (1333473045,), (1333473049,), (1333473052,), (1333473222,), (1333473224,), (1333473226,), (1333473308,), (1333473310,), (1333473317,), (1333473320,), (1333473325,), (1333473337,), (1333473432,), (1333473437,), (1333473480,), (1333473485,), (1333473859,), (1333473861,), (1333473866,), (1333473872,), (1333473875,), (1333474007,), (1333474089,), (1333474190,), (1333474309,), (1333474347,), (1333474400,), (1333474966,), (1333474984,), (1333475146,), (1333475148,), (1333475150,), (1333475151,), (1333475155,), (1333475208,), (1333475666,), (1333475679,), (1333475717,), (1333475736,), (1333475738,), (1333475741,), (1333475898,), (1333475921,), (1333476121,), (1333476179,), (1333476183,), (1333476186,), (1333476217,), (1333476224,), (1333476276,), (1333476279,), (1333476282,), (1333476286,), (1333476432,), (1333476378,), (1333476425,), (1333476428,), (1333476742,), (1333476766,), (1333476768,), (1333476804,), (1333476808,), (1333476841,), (1333476849,), (1333476850,), (1333476982,), (1333476987,), (1333476993,), (1333477073,), (1333477158,), (1333477161,), (1333477166,), (1333477172,), (1333477181,), (1333477220,), (1333477229,), (1333477238,), (1333477243,), (1333477256,), (1333477261,), (1333477459,), (1333477461,), (1333477483,), (1333477503,), (1333477552,), (1333477555,), (1333477557,), (1333477558,), (1333477560,), (1333477585,), (1333477588,), (1333477590,), (1333477592,), (1333477594,), (1333477597,), (1333477633,), (1333477637,), (1333477640,), (1333477644,), (1333477647,), (1333477749,), (1333477753,), (1333477757,), (1333477783,), (1333477788,), (1333477792,), (1333477795,), (1333477799,), (1333477821,), (1333477823,), (1333477828,), (1333477834,), (1333477839,), (1333477884,), (1333477874,), (1333477878,), (1333477879,), (1333478087,), (1333478091,), (1333478093,), (1333478096,), (1333478150,), (1333478155,), (1333478158,), (1333478161,), (1333478163,), (1333478198,), (1333478202,), (1333478207,), (1333478212,), (1333478214,), (1333478218,), (1333478249,), (1333478253,), (1333478256,), (1333478258,), (1333478285,), (1333478291,), (1333478297,), (1333478301,), (1333478303,), (1333478470,), (1333478472,), (1333478474,), (1333478478,), (1333478481,), (1333478562,), (1333478569,), (1333478572,), (1333478595,), (1333478637,), (1333478701,), (1333478703,), (1333478704,), (1333478709,), (1333478715,), (1333478873,), (1333478905,), (1333478907,), (1333478910,), (1333478949,), (1333478951,), (1333478953,), (1333478955,), (1333479011,), (1333479016,), (1333479018,), (1333479020,), (1333479093,), (1333479116,), (1333479119,), (1333479121,), (1333479124,), (1333479130,), (1333479157,), (1333479160,), (1333479164,), (1333479193,), (1333479194,), (1333479199,), (1333479202,), (1333479215,), (1333479324,), (1333479311,), (1333479313,), (1333479315,), (1333479317,), (1333479321,), (1333479408,), (1333479460,), (1333479462,), (1333479591,), (1333479712,), (1333479845,), (1333479926,), (1333479968,), (1333479977,), (1333480248,), (1333480250,), (1333480253,), (1333480255,), (1333480346,), (1333480347,), (1333480349,), (1333480351,), (1333480783,), (1333480851,), (1333480924,), (1333481030,), (1333481210,), (1333482040,), (1333482113,), (1333482193,), (1333482266,), (1333482340,), (1333482483,), (1333482548,), (1333482719,), (1333482769,), (1333482779,), (1333482797,), (1333482882,), (1333482887,), (1333482891,), (1333482956,), (1333483490,), (1333483492,), (1333483496,), (1333483499,), (1333483508,), (1333483575,), (1333483668,), (1333483670,), (1333483672,), (1333483693,), (1333483705,), (1333483799,), (1333483805,), (1333483814,), (1333484006,), (1333484038,), (1333484069,), (1333484122,), (1333484124,), (1333484130,), (1333164289,), (1333167335,), (1333167339,), (1333167343,), (1333167348,), (1333167352,), (1333167367,), (1333167446,), (1333167449,), (1333167527,), (1333167596,), (1333167664,), (1333167675,), (1333167695,), (1333167699,), (1333167750,), (1333167813,), (1333167820,), (1333167824,), (1333167830,), (1333167849,), (1333167850,), (1333167857,), (1333167858,), (1333167862,), (1333168030,), (1333168088,), (1333168104,), (1333168111,), (1333168116,), (1333168127,), (1333168137,), (1333183289,), (1333183417,), (1333183568,), (1333183762,), (1333183920,), (1333184342,), (1333184408,), (1333184499,), (1333184569,), (1333184574,), (1333184628,), (1333184821,), (1333184826,), (1333184837,), (1333184849,), (1333184861,), (1333184931,), (1333184973,), (1333184978,), (1333185306,), (1333185313,), (1333185314,), (1333185315,), (1333185319,), (1333185373,), (1333185380,), (1333185476,), (1333185489,), (1333185494,), (1333185536,), (1333185547,), (1333185558,), (1333185574,), (1333185578,), (1333185581,), (1333185695,), (1333164286,), (1333167923,), (1333167956,), (1333168022,), (1333168027,), (1333168029,), (1333168149,), (1333168154,), (1333168157,), (1333168160,), (1333168163,), (1333168165,), (1333168211,), (1333168214,), (1333168216,), (1333168220,), (1333168221,), (1333168225,), (1333181146,), (1333181179,), (1333181181,), (1333181183,), (1333181188,), (1333181190,), (1333181192,), (1333181225,), (1333181230,), (1333181234,), (1333181237,), (1333181242,), (1333181243,), (1333181289,), (1333181293,), (1333181309,), (1333181317,), (1333181344,), (1333181354,), (1333181382,), (1333181437,), (1333181486,), (1333181552,), (1333181628,), (1333181860,), (1333181867,), (1333181910,), (1333181949,), (1333181968,), (1333182026,), (1333182387,), (1333182447,), (1333182455,), (1333182457,), (1333182459,), (1333182460,), (1333182461,), (1333182717,), (1333182725,), (1333183189,), (1333183227,), (1333183237,), (1333164281,), (1333164284,), (1333168176,), (1333168178,), (1333168184,), (1333168190,), (1333168197,), (1333168246,), (1333168248,), (1333168253,), (1333168256,), (1333168278,), (1333168281,), (1333168284,), (1333168301,), (1333168324,), (1333168331,), (1333168332,), (1333168344,), (1333168365,), (1333168392,), (1333168412,), (1333168415,), (1333168420,), (1333168439,), (1333168462,), (1333168467,), (1333168470,), (1333168473,), (1333168476,), (1333168479,), (1333178781,), (1333178784,), (1333178936,), (1333179699,), (1333179908,), (1333179916,), (1333179930,), (1333179938,), (1333179957,), (1333179973,), (1333180200,), (1333180298,), (1333180338,), (1333180350,), (1333180657,), (1333180686,), (1333180722,), (1333180726,), (1333180730,), (1333180734,), (1333180826,), (1333180829,), (1333180838,), (1333180841,), (1333180849,), (1333180861,), (1333180863,), (1333180865,), (1333180920,), (1333180957,), (1333180976,), (1333180983,), (1333180988,), (1333180995,), (1333180999,), (1333181015,), (1333181019,), (1333181023,), (1333181024,), (1333181028,), (1333181033,), (1333181069,), (1333181076,), (1333181079,), (1333181080,), (1333181083,), (1333181086,), (1333181110,), (1333181140,), (1333181142,), (1333164272,), (1333164279,), (1333168489,), (1333168496,), (1333168539,), (1333168544,), (1333168546,), (1333168548,), (1333168619,), (1333168623,), (1333168629,), (1333168634,), (1333168641,), (1333168643,), (1333168713,), (1333168717,), (1333168720,), (1333168724,), (1333168727,), (1333168731,), (1333168739,), (1333168740,), (1333168839,), (1333168844,), (1333168849,), (1333168871,), (1333168879,), (1333168921,), (1333168922,), (1333168924,), (1333168951,), (1333168956,), (1333168984,), (1333168989,), (1333168992,), (1333168994,), (1333169143,), (1333169282,), (1333169741,), (1333169746,), (1333169750,), (1333169755,), (1333169758,), (1333169847,), (1333170008,), (1333170128,), (1333170213,), (1333170221,), (1333170224,), (1333170262,), (1333170315,), (1333170320,), (1333170404,), (1333170425,), (1333170432,), (1333170447,), (1333170474,), (1333170477,), (1333170480,), (1333170481,), (1333170526,), (1333170535,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'31012025': {'nb_upload': 64, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20090835]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1333178776, 1333178775, 1333178759, 1333178736, 1333178712, 1333178710, 1333178708, 1333178705, 1333178700, 1333178695, 1333178687, 1333178684, 1333178670, 1333178660, 1333178451, 1333178447, 1333178444, 1333178442, 1333178437, 1333178436, 1333178383, 1333178380, 1333178377, 1333178374, 1333178372, 1333178366, 1333178338, 1333178329, 1333178320, 1333178279, 1333178125, 1333177916, 1333177881, 1333177876, 1333177871, 1333177866, 1333177853, 1333177807, 1333177646, 1333177645, 1333177306] map_info['map_portfolio_photo'] : {20090835: [1333178776, 1333178775, 1333178759, 1333178736, 1333178712, 1333178710, 1333178708, 1333178705, 1333178700, 1333178695, 1333178687, 1333178684, 1333178670, 1333178660, 1333178451, 1333178447, 1333178444, 1333178442, 1333178437, 1333178436, 1333178383, 1333178380, 1333178377, 1333178374, 1333178372, 1333178366, 1333178338, 1333178329, 1333178320, 1333178279, 1333178125, 1333177916, 1333177881, 1333177876, 1333177871, 1333177866, 1333177853, 1333177807, 1333177646, 1333177645, 1333177306, 1333171068, 1333171064, 1333171043, 1333171042, 1333171039, 1333171038, 1333170923, 1333170901, 1333170896, 1333170892, 1333170815, 1333170694, 1333170654, 1333170625, 1333170607, 1333170592, 1333170590, 1333170565, 1333170563, 1333170560, 1333170556, 1333170551, 1333164248]} final : True mtd_id 4302 list_pids : [1333178776, 1333178775, 1333178759, 1333178736, 1333178712, 1333178710, 1333178708, 1333178705, 1333178700, 1333178695, 1333178687, 1333178684, 1333178670, 1333178660, 1333178451, 1333178447, 1333178444, 1333178442, 1333178437, 1333178436, 1333178383, 1333178380, 1333178377, 1333178374, 1333178372, 1333178366, 1333178338, 1333178329, 1333178320, 1333178279, 1333178125, 1333177916, 1333177881, 1333177876, 1333177871, 1333177866, 1333177853, 1333177807, 1333177646, 1333177645, 1333177306] Looping around the photos to save general results len do output : 1 /20090835Didn'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, '2531510') ('4302', '20090835', '1333178776', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178775', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178759', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178736', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178712', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178710', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178708', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178705', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178700', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178695', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178687', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178684', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178670', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178660', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178451', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178447', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178444', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178442', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178437', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178436', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178383', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178380', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178377', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178374', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178372', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178366', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178338', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178329', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178320', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178279', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333178125', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177916', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177881', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177876', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177871', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177866', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177853', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177807', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177646', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177645', None, None, None, None, None, '2531510') ('4302', None, None, None, None, None, None, None, '2531510') ('4302', '20090835', '1333177306', None, None, None, None, None, '2531510') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 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, '20090835', 'None', None, None, None, None, '2531510'), ('4302', '20090835', '1333178776', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178775', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178759', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178736', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178712', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178710', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178708', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178705', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178700', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178695', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178687', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178684', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178670', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178660', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178451', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178447', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178444', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178442', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178437', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178436', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178383', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178380', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178377', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178374', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178372', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178366', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178338', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178329', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178320', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178279', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333178125', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177916', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177881', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177876', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177871', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177866', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177853', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177807', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177646', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177645', None, None, None, None, None, '2531510'), ('4302', '20090835', '1333177306', None, None, None, None, None, '2531510')] time used for this insertion : 0.02221822738647461 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.414660692214966 time spend to save output : 0.02261519432067871 total time spend for step 5 : 7.4372758865356445 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 (2531510) 3.07user 2.38system 0:15.61elapsed 34%CPU (0avgtext+0avgdata 166660maxresident)k 1160inputs+27280outputs (10major+78866minor)pagefaults 0swaps