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 : 1762138 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 (2598001) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2598001) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20658013 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2598001'] with mtr_portfolio_ids : ['20658013'] and first list_photo_ids : [] new path : /proc/1762138/ Name: python3 Umask: 0002 State: R (running) Tgid: 1762138 Ngid: 0 Pid: 1762138 PPid: 1762137 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1762138 NSpid: 1762138 NSpgid: 1759907 NSsid: 1759907 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98188 kB VmRSS: 98188 kB RssAnon: 59756 kB RssFile: 38432 kB RssShmem: 0 kB VmData: 865596 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 612 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 4/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: 51 nonvoluntary_ctxt_switches: 95 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1762138', 'Ngid': '0', 'Pid': '1762138', 'PPid': '1762137', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1762138', 'NSpid': '1762138', 'NSpgid': '1759907', 'NSsid': '1759907', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98188 kB', 'VmRSS': '98188 kB', 'RssAnon': '59756 kB', 'RssFile': '38432 kB', 'RssShmem': '0 kB', 'VmData': '865596 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '612 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '4/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': '51', 'nonvoluntary_ctxt_switches': '95'} ('datou_batch_current', '1762138', '1106844', '0', '1106844', '865596', '98188', b'', 'marlene', '2598001') 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 (20658013) 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 (2598001 ) ) 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 (20658013) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1338298902, 'portfolio_id': 20658013}, {'photo_id': 1338298869, 'portfolio_id': 20658013}, {'photo_id': 1338298867, 'portfolio_id': 20658013}, {'photo_id': 1338298864, 'portfolio_id': 20658013}, {'photo_id': 1338298861, 'portfolio_id': 20658013}, {'photo_id': 1338298844, 'portfolio_id': 20658013}, {'photo_id': 1338298840, 'portfolio_id': 20658013}, {'photo_id': 1338298835, 'portfolio_id': 20658013}, {'photo_id': 1338298831, 'portfolio_id': 20658013}, {'photo_id': 1338298828, 'portfolio_id': 20658013}, {'photo_id': 1338298811, 'portfolio_id': 20658013}, {'photo_id': 1338298808, 'portfolio_id': 20658013}, {'photo_id': 1338298803, 'portfolio_id': 20658013}, {'photo_id': 1338298801, 'portfolio_id': 20658013}, {'photo_id': 1338298797, 'portfolio_id': 20658013}, {'photo_id': 1338298771, 'portfolio_id': 20658013}, {'photo_id': 1338298768, 'portfolio_id': 20658013}, {'photo_id': 1338298755, 'portfolio_id': 20658013}, {'photo_id': 1338298748, 'portfolio_id': 20658013}, {'photo_id': 1338298745, 'portfolio_id': 20658013}, {'photo_id': 1338298740, 'portfolio_id': 20658013}, {'photo_id': 1338298736, 'portfolio_id': 20658013}, {'photo_id': 1338298726, 'portfolio_id': 20658013}, {'photo_id': 1338298721, 'portfolio_id': 20658013}, {'photo_id': 1338298716, 'portfolio_id': 20658013}, {'photo_id': 1338298713, 'portfolio_id': 20658013}, {'photo_id': 1338298709, 'portfolio_id': 20658013}, {'photo_id': 1338298705, 'portfolio_id': 20658013}, {'photo_id': 1338298684, 'portfolio_id': 20658013}, {'photo_id': 1338298680, 'portfolio_id': 20658013}, {'photo_id': 1338298677, 'portfolio_id': 20658013}, {'photo_id': 1338298673, 'portfolio_id': 20658013}, {'photo_id': 1338298660, 'portfolio_id': 20658013}, {'photo_id': 1338298656, 'portfolio_id': 20658013}, {'photo_id': 1338298653, 'portfolio_id': 20658013}, {'photo_id': 1338298650, 'portfolio_id': 20658013}, {'photo_id': 1338298647, 'portfolio_id': 20658013}, {'photo_id': 1338298643, 'portfolio_id': 20658013}, {'photo_id': 1338298621, 'portfolio_id': 20658013}, {'photo_id': 1338298617, 'portfolio_id': 20658013}, {'photo_id': 1338298612, 'portfolio_id': 20658013}, {'photo_id': 1338298608, 'portfolio_id': 20658013}] map_portfolio_id_photo_id: {20658013: [1338298902, 1338298869, 1338298867, 1338298864, 1338298861, 1338298844, 1338298840, 1338298835, 1338298831, 1338298828, 1338298811, 1338298808, 1338298803, 1338298801, 1338298797, 1338298771, 1338298768, 1338298755, 1338298748, 1338298745, 1338298740, 1338298736, 1338298726, 1338298721, 1338298716, 1338298713, 1338298709, 1338298705, 1338298684, 1338298680, 1338298677, 1338298673, 1338298660, 1338298656, 1338298653, 1338298650, 1338298647, 1338298643, 1338298621, 1338298617, 1338298612, 1338298608]} ##### 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.015255928039550781 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Wed Feb 19 00:26: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 After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20658013) 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 : 20658013 get user id for portfolio 20658013 get sub ptf for main ptf 20658013, type 3726 and hashtags ['autre_refus', 'flou', 'Teint_Dans_La_Masse', 'Carton_brun', 'cartonnette', 'mal_croppe', 'plastique', 'kraft', 'metal', 'Carton_gris', 'papier', 'environnement'] 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`=20658013 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','flou','Teint_Dans_La_Masse','Carton_brun','cartonnette','mal_croppe','plastique','kraft','metal','Carton_gris','papier','environnement')) 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`=20658013 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','flou','Teint_Dans_La_Masse','Carton_brun','cartonnette','mal_croppe','plastique','kraft','metal','Carton_gris','papier','environnement')) AND mptpi.`min_score`=0.5 To do To do query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__18022025_07_35_54_010137_3726_autre_refus_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__18022025_07_35_54_010137_3726_flou_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__18022025_07_35_54_010137_3726_Teint_Dans_La_Masse_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__18022025_07_35_54_010137_3726_Carton_brun_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__18022025_07_35_54_010137_3726_cartonnette_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__18022025_07_35_54_010137_3726_mal_croppe_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__18022025_07_35_54_010137_3726_plastique_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__18022025_07_35_54_010137_3726_kraft_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__18022025_07_35_54_010137_3726_metal_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__18022025_07_35_54_010137_3726_Carton_gris_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__18022025_07_35_54_010137_3726_papier_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__18022025_07_35_54_010137_3726_environnement_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio INSERT IGNORE INTO MTRPhoto.mtr_port_to_port_ids (`mtr_portfolio_id_1`, `mtr_portfolio_id_2`, `type`, `min_score`, `hashtag_id`, `mtr_user_id`) VALUES (%s,%s,%s,%s,%s,%s)[[20658013, 20658116, 3726, 0.5, 2107752406, 979], [20658013, 20658117, 3726, 0.5, 492777938, 979], [20658013, 20658118, 3726, 0.5, 2107752385, 979], [20658013, 20658119, 3726, 0.5, 2107753024, 979], [20658013, 20658120, 3726, 0.5, 702398920, 979], [20658013, 20658121, 3726, 0.5, 2107755527, 979], [20658013, 20658122, 3726, 0.5, 492725882, 979], [20658013, 20658123, 3726, 0.5, 493202403, 979], [20658013, 20658124, 3726, 0.5, 492628673, 979], [20658013, 20658125, 3726, 0.5, 2107753020, 979], [20658013, 20658126, 3726, 0.5, 492668766, 979], [20658013, 20658127, 3726, 0.5, 493012381, 979]] 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`=20658013 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','flou','Teint_Dans_La_Masse','Carton_brun','cartonnette','mal_croppe','plastique','kraft','metal','Carton_gris','papier','environnement')) 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`=20658013 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','flou','Teint_Dans_La_Masse','Carton_brun','cartonnette','mal_croppe','plastique','kraft','metal','Carton_gris','papier','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 20658013, 'sub_port_id': 20658116, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13310558, 'last_updated_at': datetime.datetime(2025, 2, 19, 0, 26, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 19, 0, 26, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 19, 0, 26, 58)}, 'flou': {'main_port_id': 20658013, 'sub_port_id': 20658117, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13310559, 'last_updated_at': datetime.datetime(2025, 2, 19, 0, 26, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 19, 0, 26, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 19, 0, 26, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 20658013, 'sub_port_id': 20658118, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13310560, 'last_updated_at': datetime.datetime(2025, 2, 19, 0, 26, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 19, 0, 26, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 19, 0, 26, 58)}, 'Carton_brun': {'main_port_id': 20658013, 'sub_port_id': 20658119, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13310561, 'last_updated_at': datetime.datetime(2025, 2, 19, 0, 26, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 19, 0, 26, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 19, 0, 26, 58)}, 'cartonnette': {'main_port_id': 20658013, 'sub_port_id': 20658120, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13310562, 'last_updated_at': datetime.datetime(2025, 2, 19, 0, 26, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 19, 0, 26, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 19, 0, 26, 58)}, 'mal_croppe': {'main_port_id': 20658013, 'sub_port_id': 20658121, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13310563, 'last_updated_at': datetime.datetime(2025, 2, 19, 0, 26, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 19, 0, 26, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 19, 0, 26, 58)}, 'plastique': {'main_port_id': 20658013, 'sub_port_id': 20658122, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13310564, 'last_updated_at': datetime.datetime(2025, 2, 19, 0, 26, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 19, 0, 26, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 19, 0, 26, 58)}, 'kraft': {'main_port_id': 20658013, 'sub_port_id': 20658123, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13310565, 'last_updated_at': datetime.datetime(2025, 2, 19, 0, 26, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 19, 0, 26, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 19, 0, 26, 58)}, 'metal': {'main_port_id': 20658013, 'sub_port_id': 20658124, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13310566, 'last_updated_at': datetime.datetime(2025, 2, 19, 0, 26, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 19, 0, 26, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 19, 0, 26, 58)}, 'Carton_gris': {'main_port_id': 20658013, 'sub_port_id': 20658125, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13310567, 'last_updated_at': datetime.datetime(2025, 2, 19, 0, 26, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 19, 0, 26, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 19, 0, 26, 58)}, 'papier': {'main_port_id': 20658013, 'sub_port_id': 20658126, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13310568, 'last_updated_at': datetime.datetime(2025, 2, 19, 0, 26, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 19, 0, 26, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 19, 0, 26, 58)}, 'environnement': {'main_port_id': 20658013, 'sub_port_id': 20658127, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13310569, 'last_updated_at': datetime.datetime(2025, 2, 19, 0, 26, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 19, 0, 26, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 19, 0, 26, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20658116 , 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=20658013 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 (20658116) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20658013) result : ((1338298608,), (1338298612,), (1338298617,), (1338298621,), (1338298643,), (1338298647,), (1338298650,), (1338298653,), (1338298656,), (1338298660,), (1338298673,), (1338298677,), (1338298680,), (1338298684,), (1338298705,), (1338298709,), (1338298713,), (1338298716,), (1338298721,), (1338298726,), (1338298736,), (1338298740,), (1338298745,), (1338298748,), (1338298755,), (1338298768,), (1338298771,), (1338298797,), (1338298801,), (1338298803,), (1338298808,), (1338298811,), (1338298828,), (1338298831,), (1338298835,), (1338298840,), (1338298844,), (1338298861,), (1338298864,), (1338298867,), (1338298869,), (1338298902,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20658117 , 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=20658013 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 (20658117) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20658013) result : ((1338298608,), (1338298612,), (1338298617,), (1338298621,), (1338298643,), (1338298647,), (1338298650,), (1338298653,), (1338298656,), (1338298660,), (1338298673,), (1338298677,), (1338298680,), (1338298684,), (1338298705,), (1338298709,), (1338298713,), (1338298716,), (1338298721,), (1338298726,), (1338298736,), (1338298740,), (1338298745,), (1338298748,), (1338298755,), (1338298768,), (1338298771,), (1338298797,), (1338298801,), (1338298803,), (1338298808,), (1338298811,), (1338298828,), (1338298831,), (1338298835,), (1338298840,), (1338298844,), (1338298861,), (1338298864,), (1338298867,), (1338298869,), (1338298902,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20658118 , 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=20658013 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 (20658118) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20658013) result : ((1338298608,), (1338298612,), (1338298617,), (1338298621,), (1338298643,), (1338298647,), (1338298650,), (1338298653,), (1338298656,), (1338298660,), (1338298673,), (1338298677,), (1338298680,), (1338298684,), (1338298705,), (1338298709,), (1338298713,), (1338298716,), (1338298721,), (1338298726,), (1338298736,), (1338298740,), (1338298745,), (1338298748,), (1338298755,), (1338298768,), (1338298771,), (1338298797,), (1338298801,), (1338298803,), (1338298808,), (1338298811,), (1338298828,), (1338298831,), (1338298835,), (1338298840,), (1338298844,), (1338298861,), (1338298864,), (1338298867,), (1338298869,), (1338298902,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20658119 , 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=20658013 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 (20658119) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20658013) result : ((1338298608,), (1338298612,), (1338298617,), (1338298621,), (1338298643,), (1338298647,), (1338298650,), (1338298653,), (1338298656,), (1338298660,), (1338298673,), (1338298677,), (1338298680,), (1338298684,), (1338298705,), (1338298709,), (1338298713,), (1338298716,), (1338298721,), (1338298726,), (1338298736,), (1338298740,), (1338298745,), (1338298748,), (1338298755,), (1338298768,), (1338298771,), (1338298797,), (1338298801,), (1338298803,), (1338298808,), (1338298811,), (1338298828,), (1338298831,), (1338298835,), (1338298840,), (1338298844,), (1338298861,), (1338298864,), (1338298867,), (1338298869,), (1338298902,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20658120 , 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=20658013 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 (20658120) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20658013) result : ((1338298608,), (1338298612,), (1338298617,), (1338298621,), (1338298643,), (1338298647,), (1338298650,), (1338298653,), (1338298656,), (1338298660,), (1338298673,), (1338298677,), (1338298680,), (1338298684,), (1338298705,), (1338298709,), (1338298713,), (1338298716,), (1338298721,), (1338298726,), (1338298736,), (1338298740,), (1338298745,), (1338298748,), (1338298755,), (1338298768,), (1338298771,), (1338298797,), (1338298801,), (1338298803,), (1338298808,), (1338298811,), (1338298828,), (1338298831,), (1338298835,), (1338298840,), (1338298844,), (1338298861,), (1338298864,), (1338298867,), (1338298869,), (1338298902,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20658121 , 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=20658013 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 (20658121) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20658013) result : ((1338298608,), (1338298612,), (1338298617,), (1338298621,), (1338298643,), (1338298647,), (1338298650,), (1338298653,), (1338298656,), (1338298660,), (1338298673,), (1338298677,), (1338298680,), (1338298684,), (1338298705,), (1338298709,), (1338298713,), (1338298716,), (1338298721,), (1338298726,), (1338298736,), (1338298740,), (1338298745,), (1338298748,), (1338298755,), (1338298768,), (1338298771,), (1338298797,), (1338298801,), (1338298803,), (1338298808,), (1338298811,), (1338298828,), (1338298831,), (1338298835,), (1338298840,), (1338298844,), (1338298861,), (1338298864,), (1338298867,), (1338298869,), (1338298902,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20658122 , 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=20658013 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 (20658122) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20658013) result : ((1338298608,), (1338298612,), (1338298617,), (1338298621,), (1338298643,), (1338298647,), (1338298650,), (1338298653,), (1338298656,), (1338298660,), (1338298673,), (1338298677,), (1338298680,), (1338298684,), (1338298705,), (1338298709,), (1338298713,), (1338298716,), (1338298721,), (1338298726,), (1338298736,), (1338298740,), (1338298745,), (1338298748,), (1338298755,), (1338298768,), (1338298771,), (1338298797,), (1338298801,), (1338298803,), (1338298808,), (1338298811,), (1338298828,), (1338298831,), (1338298835,), (1338298840,), (1338298844,), (1338298861,), (1338298864,), (1338298867,), (1338298869,), (1338298902,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20658123 , 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=20658013 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 (20658123) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20658013) result : ((1338298608,), (1338298612,), (1338298617,), (1338298621,), (1338298643,), (1338298647,), (1338298650,), (1338298653,), (1338298656,), (1338298660,), (1338298673,), (1338298677,), (1338298680,), (1338298684,), (1338298705,), (1338298709,), (1338298713,), (1338298716,), (1338298721,), (1338298726,), (1338298736,), (1338298740,), (1338298745,), (1338298748,), (1338298755,), (1338298768,), (1338298771,), (1338298797,), (1338298801,), (1338298803,), (1338298808,), (1338298811,), (1338298828,), (1338298831,), (1338298835,), (1338298840,), (1338298844,), (1338298861,), (1338298864,), (1338298867,), (1338298869,), (1338298902,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20658124 , 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=20658013 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 (20658124) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20658013) result : ((1338298608,), (1338298612,), (1338298617,), (1338298621,), (1338298643,), (1338298647,), (1338298650,), (1338298653,), (1338298656,), (1338298660,), (1338298673,), (1338298677,), (1338298680,), (1338298684,), (1338298705,), (1338298709,), (1338298713,), (1338298716,), (1338298721,), (1338298726,), (1338298736,), (1338298740,), (1338298745,), (1338298748,), (1338298755,), (1338298768,), (1338298771,), (1338298797,), (1338298801,), (1338298803,), (1338298808,), (1338298811,), (1338298828,), (1338298831,), (1338298835,), (1338298840,), (1338298844,), (1338298861,), (1338298864,), (1338298867,), (1338298869,), (1338298902,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20658125 , 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=20658013 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 (20658125) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20658013) result : ((1338298608,), (1338298612,), (1338298617,), (1338298621,), (1338298643,), (1338298647,), (1338298650,), (1338298653,), (1338298656,), (1338298660,), (1338298673,), (1338298677,), (1338298680,), (1338298684,), (1338298705,), (1338298709,), (1338298713,), (1338298716,), (1338298721,), (1338298726,), (1338298736,), (1338298740,), (1338298745,), (1338298748,), (1338298755,), (1338298768,), (1338298771,), (1338298797,), (1338298801,), (1338298803,), (1338298808,), (1338298811,), (1338298828,), (1338298831,), (1338298835,), (1338298840,), (1338298844,), (1338298861,), (1338298864,), (1338298867,), (1338298869,), (1338298902,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20658126 , 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=20658013 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 (20658126) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20658013) result : ((1338298608,), (1338298612,), (1338298617,), (1338298621,), (1338298643,), (1338298647,), (1338298650,), (1338298653,), (1338298656,), (1338298660,), (1338298673,), (1338298677,), (1338298680,), (1338298684,), (1338298705,), (1338298709,), (1338298713,), (1338298716,), (1338298721,), (1338298726,), (1338298736,), (1338298740,), (1338298745,), (1338298748,), (1338298755,), (1338298768,), (1338298771,), (1338298797,), (1338298801,), (1338298803,), (1338298808,), (1338298811,), (1338298828,), (1338298831,), (1338298835,), (1338298840,), (1338298844,), (1338298861,), (1338298864,), (1338298867,), (1338298869,), (1338298902,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20658127 , 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=20658013 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 (20658127) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20658013) result : ((1338298608,), (1338298612,), (1338298617,), (1338298621,), (1338298643,), (1338298647,), (1338298650,), (1338298653,), (1338298656,), (1338298660,), (1338298673,), (1338298677,), (1338298680,), (1338298684,), (1338298705,), (1338298709,), (1338298713,), (1338298716,), (1338298721,), (1338298726,), (1338298736,), (1338298740,), (1338298745,), (1338298748,), (1338298755,), (1338298768,), (1338298771,), (1338298797,), (1338298801,), (1338298803,), (1338298808,), (1338298811,), (1338298828,), (1338298831,), (1338298835,), (1338298840,), (1338298844,), (1338298861,), (1338298864,), (1338298867,), (1338298869,), (1338298902,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20658013 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','flou','Teint_Dans_La_Masse','Carton_brun','cartonnette','mal_croppe','plastique','kraft','metal','Carton_gris','papier','environnement')) 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`=20658013 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','flou','Teint_Dans_La_Masse','Carton_brun','cartonnette','mal_croppe','plastique','kraft','metal','Carton_gris','papier','environnement')) AND mptpi.`min_score`=0.5 To do To do query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__18022025_07_35_54_010137_4417_autre_refus_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__18022025_07_35_54_010137_4417_flou_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__18022025_07_35_54_010137_4417_Teint_Dans_La_Masse_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__18022025_07_35_54_010137_4417_Carton_brun_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__18022025_07_35_54_010137_4417_cartonnette_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__18022025_07_35_54_010137_4417_mal_croppe_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__18022025_07_35_54_010137_4417_plastique_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__18022025_07_35_54_010137_4417_kraft_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__18022025_07_35_54_010137_4417_metal_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__18022025_07_35_54_010137_4417_Carton_gris_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__18022025_07_35_54_010137_4417_papier_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__18022025_07_35_54_010137_4417_environnement_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio INSERT IGNORE INTO MTRPhoto.mtr_port_to_port_ids (`mtr_portfolio_id_1`, `mtr_portfolio_id_2`, `type`, `min_score`, `hashtag_id`, `mtr_user_id`) VALUES (%s,%s,%s,%s,%s,%s)[[20658013, 20658128, 4417, 0.5, 2107752406, 979], [20658013, 20658129, 4417, 0.5, 492777938, 979], [20658013, 20658130, 4417, 0.5, 2107752385, 979], [20658013, 20658131, 4417, 0.5, 2107753024, 979], [20658013, 20658132, 4417, 0.5, 702398920, 979], [20658013, 20658133, 4417, 0.5, 2107755527, 979], [20658013, 20658134, 4417, 0.5, 492725882, 979], [20658013, 20658135, 4417, 0.5, 493202403, 979], [20658013, 20658136, 4417, 0.5, 492628673, 979], [20658013, 20658137, 4417, 0.5, 2107753020, 979], [20658013, 20658138, 4417, 0.5, 492668766, 979], [20658013, 20658139, 4417, 0.5, 493012381, 979]] 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`=20658013 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','flou','Teint_Dans_La_Masse','Carton_brun','cartonnette','mal_croppe','plastique','kraft','metal','Carton_gris','papier','environnement')) 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`=20658013 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','flou','Teint_Dans_La_Masse','Carton_brun','cartonnette','mal_croppe','plastique','kraft','metal','Carton_gris','papier','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 20658013, 'sub_port_id': 20658128, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13310570, 'last_updated_at': datetime.datetime(2025, 2, 19, 0, 27), 'last_updated_at_desc': datetime.datetime(2025, 2, 19, 0, 27), 'last_updated_at_asc': datetime.datetime(2025, 2, 19, 0, 27)}, 'flou': {'main_port_id': 20658013, 'sub_port_id': 20658129, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13310571, 'last_updated_at': datetime.datetime(2025, 2, 19, 0, 27), 'last_updated_at_desc': datetime.datetime(2025, 2, 19, 0, 27), 'last_updated_at_asc': datetime.datetime(2025, 2, 19, 0, 27)}, 'Teint_Dans_La_Masse': {'main_port_id': 20658013, 'sub_port_id': 20658130, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13310572, 'last_updated_at': datetime.datetime(2025, 2, 19, 0, 27), 'last_updated_at_desc': datetime.datetime(2025, 2, 19, 0, 27), 'last_updated_at_asc': datetime.datetime(2025, 2, 19, 0, 27)}, 'Carton_brun': {'main_port_id': 20658013, 'sub_port_id': 20658131, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13310573, 'last_updated_at': datetime.datetime(2025, 2, 19, 0, 27), 'last_updated_at_desc': datetime.datetime(2025, 2, 19, 0, 27), 'last_updated_at_asc': datetime.datetime(2025, 2, 19, 0, 27)}, 'cartonnette': {'main_port_id': 20658013, 'sub_port_id': 20658132, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13310574, 'last_updated_at': datetime.datetime(2025, 2, 19, 0, 27), 'last_updated_at_desc': datetime.datetime(2025, 2, 19, 0, 27), 'last_updated_at_asc': datetime.datetime(2025, 2, 19, 0, 27)}, 'mal_croppe': {'main_port_id': 20658013, 'sub_port_id': 20658133, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13310575, 'last_updated_at': datetime.datetime(2025, 2, 19, 0, 27), 'last_updated_at_desc': datetime.datetime(2025, 2, 19, 0, 27), 'last_updated_at_asc': datetime.datetime(2025, 2, 19, 0, 27)}, 'plastique': {'main_port_id': 20658013, 'sub_port_id': 20658134, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13310576, 'last_updated_at': datetime.datetime(2025, 2, 19, 0, 27), 'last_updated_at_desc': datetime.datetime(2025, 2, 19, 0, 27), 'last_updated_at_asc': datetime.datetime(2025, 2, 19, 0, 27)}, 'kraft': {'main_port_id': 20658013, 'sub_port_id': 20658135, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13310577, 'last_updated_at': datetime.datetime(2025, 2, 19, 0, 27), 'last_updated_at_desc': datetime.datetime(2025, 2, 19, 0, 27), 'last_updated_at_asc': datetime.datetime(2025, 2, 19, 0, 27)}, 'metal': {'main_port_id': 20658013, 'sub_port_id': 20658136, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13310578, 'last_updated_at': datetime.datetime(2025, 2, 19, 0, 27), 'last_updated_at_desc': datetime.datetime(2025, 2, 19, 0, 27), 'last_updated_at_asc': datetime.datetime(2025, 2, 19, 0, 27)}, 'Carton_gris': {'main_port_id': 20658013, 'sub_port_id': 20658137, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13310579, 'last_updated_at': datetime.datetime(2025, 2, 19, 0, 27), 'last_updated_at_desc': datetime.datetime(2025, 2, 19, 0, 27), 'last_updated_at_asc': datetime.datetime(2025, 2, 19, 0, 27)}, 'papier': {'main_port_id': 20658013, 'sub_port_id': 20658138, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13310580, 'last_updated_at': datetime.datetime(2025, 2, 19, 0, 27), 'last_updated_at_desc': datetime.datetime(2025, 2, 19, 0, 27), 'last_updated_at_asc': datetime.datetime(2025, 2, 19, 0, 27)}, 'environnement': {'main_port_id': 20658013, 'sub_port_id': 20658139, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13310581, 'last_updated_at': datetime.datetime(2025, 2, 19, 0, 27), 'last_updated_at_desc': datetime.datetime(2025, 2, 19, 0, 27), 'last_updated_at_asc': datetime.datetime(2025, 2, 19, 0, 27)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20658128,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20658116 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20658129,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20658117 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20658130,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20658118 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20658131,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20658119 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20658132,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20658120 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20658133,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20658121 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20658134,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20658122 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20658135,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20658123 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20658136,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20658124 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20658137,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20658125 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20658138,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20658126 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20658139,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20658127 lien utilise dans velours : https://www.fotonower.com/velours/20658128,20658129,20658130,20658131,20658132,20658133,20658134,20658135,20658136,20658137,20658138,20658139?tags=autre_refus,flou,Teint_Dans_La_Masse,Carton_brun,cartonnette,mal_croppe,plastique,kraft,metal,Carton_gris,papier,environnement After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20658013]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1338298902, 1338298869, 1338298867, 1338298864, 1338298861, 1338298844, 1338298840, 1338298835, 1338298831, 1338298828, 1338298811, 1338298808, 1338298803, 1338298801, 1338298797, 1338298771, 1338298768, 1338298755, 1338298748, 1338298745, 1338298740, 1338298736, 1338298726, 1338298721, 1338298716, 1338298713, 1338298709, 1338298705, 1338298684, 1338298680, 1338298677, 1338298673, 1338298660, 1338298656, 1338298653, 1338298650, 1338298647, 1338298643, 1338298621, 1338298617, 1338298612, 1338298608] map_info['map_portfolio_photo'] : {20658013: [1338298902, 1338298869, 1338298867, 1338298864, 1338298861, 1338298844, 1338298840, 1338298835, 1338298831, 1338298828, 1338298811, 1338298808, 1338298803, 1338298801, 1338298797, 1338298771, 1338298768, 1338298755, 1338298748, 1338298745, 1338298740, 1338298736, 1338298726, 1338298721, 1338298716, 1338298713, 1338298709, 1338298705, 1338298684, 1338298680, 1338298677, 1338298673, 1338298660, 1338298656, 1338298653, 1338298650, 1338298647, 1338298643, 1338298621, 1338298617, 1338298612, 1338298608]} final : False mtd_id 4302 list_pids : [1338298902, 1338298869, 1338298867, 1338298864, 1338298861, 1338298844, 1338298840, 1338298835, 1338298831, 1338298828, 1338298811, 1338298808, 1338298803, 1338298801, 1338298797, 1338298771, 1338298768, 1338298755, 1338298748, 1338298745, 1338298740, 1338298736, 1338298726, 1338298721, 1338298716, 1338298713, 1338298709, 1338298705, 1338298684, 1338298680, 1338298677, 1338298673, 1338298660, 1338298656, 1338298653, 1338298650, 1338298647, 1338298643, 1338298621, 1338298617, 1338298612, 1338298608] Looping around the photos to save general results len do output : 1 /20658013. 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, '2598001') ('4302', '20658013', '1338298902', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298869', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298867', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298864', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298861', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298844', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298840', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298835', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298831', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298828', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298811', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298808', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298803', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298801', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298797', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298771', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298768', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298755', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298748', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298745', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298740', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298736', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298726', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298721', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298716', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298713', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298709', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298705', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298684', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298680', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298677', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298673', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298660', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298656', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298653', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298650', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298647', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298643', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298621', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298617', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298612', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298608', None, None, None, None, None, '2598001') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 43 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, '20658013', "{'autre_refus': 20658116, 'flou': 20658117, 'Teint_Dans_La_Masse': 20658118, 'Carton_brun': 20658119, 'cartonnette': 20658120, 'mal_croppe': 20658121, 'plastique': 20658122, 'kraft': 20658123, 'metal': 20658124, 'Carton_gris': 20658125, 'papier': 20658126, 'environnement': 20658127}", None, None, None, None, '2598001'), ('4302', '20658013', '1338298902', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298869', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298867', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298864', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298861', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298844', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298840', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298835', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298831', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298828', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298811', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298808', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298803', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298801', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298797', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298771', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298768', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298755', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298748', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298745', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298740', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298736', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298726', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298721', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298716', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298713', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298709', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298705', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298684', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298680', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298677', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298673', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298660', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298656', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298653', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298650', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298647', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298643', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298621', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298617', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298612', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298608', None, None, None, None, None, '2598001')] time used for this insertion : 0.025695085525512695 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.9905662536621094 time spend to save output : 0.02616286277770996 total time spend for step 1 : 2.0167291164398193 step2:final Wed Feb 19 00:27:00 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 (20658013) 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 20658013 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1338298621,1338298617,1338298612,1338298608,1338298660,1338298656,1338298653,1338298650,1338298647,1338298643,1338298684,1338298680,1338298677,1338298673,1338298726,1338298721,1338298716,1338298713,1338298709,1338298705,1338298755,1338298748,1338298745,1338298740,1338298736,1338298771,1338298768,1338298811,1338298808,1338298803,1338298801,1338298797,1338298844,1338298840,1338298835,1338298831,1338298828,1338298869,1338298867,1338298864,1338298861,1338298902); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20658013]) Inside saveOutput : final : False verbose : True original output for save of step final : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} new output for save of step final : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} [1338298902, 1338298869, 1338298867, 1338298864, 1338298861, 1338298844, 1338298840, 1338298835, 1338298831, 1338298828, 1338298811, 1338298808, 1338298803, 1338298801, 1338298797, 1338298771, 1338298768, 1338298755, 1338298748, 1338298745, 1338298740, 1338298736, 1338298726, 1338298721, 1338298716, 1338298713, 1338298709, 1338298705, 1338298684, 1338298680, 1338298677, 1338298673, 1338298660, 1338298656, 1338298653, 1338298650, 1338298647, 1338298643, 1338298621, 1338298617, 1338298612, 1338298608] map_info['map_portfolio_photo'] : {20658013: [1338298902, 1338298869, 1338298867, 1338298864, 1338298861, 1338298844, 1338298840, 1338298835, 1338298831, 1338298828, 1338298811, 1338298808, 1338298803, 1338298801, 1338298797, 1338298771, 1338298768, 1338298755, 1338298748, 1338298745, 1338298740, 1338298736, 1338298726, 1338298721, 1338298716, 1338298713, 1338298709, 1338298705, 1338298684, 1338298680, 1338298677, 1338298673, 1338298660, 1338298656, 1338298653, 1338298650, 1338298647, 1338298643, 1338298621, 1338298617, 1338298612, 1338298608]} final : False mtd_id 4302 list_pids : [1338298902, 1338298869, 1338298867, 1338298864, 1338298861, 1338298844, 1338298840, 1338298835, 1338298831, 1338298828, 1338298811, 1338298808, 1338298803, 1338298801, 1338298797, 1338298771, 1338298768, 1338298755, 1338298748, 1338298745, 1338298740, 1338298736, 1338298726, 1338298721, 1338298716, 1338298713, 1338298709, 1338298705, 1338298684, 1338298680, 1338298677, 1338298673, 1338298660, 1338298656, 1338298653, 1338298650, 1338298647, 1338298643, 1338298621, 1338298617, 1338298612, 1338298608] Looping around the photos to save general results len do output : 42 /1338298902.Didn't retrieve data . /1338298869.Didn't retrieve data . /1338298867.Didn't retrieve data . /1338298864.Didn't retrieve data . /1338298861.Didn't retrieve data . /1338298844.Didn't retrieve data . /1338298840.Didn't retrieve data . /1338298835.Didn't retrieve data . /1338298831.Didn't retrieve data . /1338298828.Didn't retrieve data . /1338298811.Didn't retrieve data . /1338298808.Didn't retrieve data . /1338298803.Didn't retrieve data . /1338298801.Didn't retrieve data . /1338298797.Didn't retrieve data . /1338298771.Didn't retrieve data . /1338298768.Didn't retrieve data . /1338298755.Didn't retrieve data . /1338298748.Didn't retrieve data . /1338298745.Didn't retrieve data . /1338298740.Didn't retrieve data . /1338298736.Didn't retrieve data . /1338298726.Didn't retrieve data . /1338298721.Didn't retrieve data . /1338298716.Didn't retrieve data . /1338298713.Didn't retrieve data . /1338298709.Didn't retrieve data . /1338298705.Didn't retrieve data . /1338298684.Didn't retrieve data . /1338298680.Didn't retrieve data . /1338298677.Didn't retrieve data . /1338298673.Didn't retrieve data . /1338298660.Didn't retrieve data . /1338298656.Didn't retrieve data . /1338298653.Didn't retrieve data . /1338298650.Didn't retrieve data . /1338298647.Didn't retrieve data . /1338298643.Didn't retrieve data . /1338298621.Didn't retrieve data . /1338298617.Didn't retrieve data . /1338298612.Didn't retrieve data . /1338298608.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, '2598001') ('4302', '20658013', '1338298902', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298869', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298867', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298864', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298861', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298844', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298840', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298835', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298831', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298828', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298811', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298808', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298803', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298801', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298797', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298771', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298768', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298755', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298748', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298745', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298740', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298736', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298726', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298721', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298716', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298713', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298709', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298705', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298684', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298680', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298677', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298673', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298660', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298656', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298653', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298650', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298647', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298643', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298621', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298617', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298612', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298608', None, None, None, None, None, '2598001') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 126 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', '20658013', '1338298902', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298869', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298867', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298864', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298861', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298844', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298840', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298835', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298831', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298828', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298811', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298808', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298803', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298801', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298797', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298771', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298768', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298755', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298748', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298745', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298740', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298736', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298726', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298721', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298716', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298713', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298709', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298705', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298684', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298680', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298677', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298673', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298660', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298656', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298653', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298650', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298647', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298643', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298621', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298617', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298612', '0.0', None, None, None, None, '2598001'), ('4302', '20658013', '1338298608', '0.0', None, None, None, None, '2598001')] time used for this insertion : 0.023546695709228516 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.013733863830566406 time spend to save output : 0.02522587776184082 total time spend for step 2 : 0.03895974159240723 step3:velours_tree Wed Feb 19 00:27:00 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 : {20658013: [{'autre_refus': 20658116, 'flou': 20658117, 'Teint_Dans_La_Masse': 20658118, 'Carton_brun': 20658119, 'cartonnette': 20658120, 'mal_croppe': 20658121, 'plastique': 20658122, 'kraft': 20658123, 'metal': 20658124, 'Carton_gris': 20658125, 'papier': 20658126, 'environnement': 20658127}]} input_args_next_step : {20658013: ()} output_args : {20658013: [{'autre_refus': 20658116, 'flou': 20658117, 'Teint_Dans_La_Masse': 20658118, 'Carton_brun': 20658119, 'cartonnette': 20658120, 'mal_croppe': 20658121, 'plastique': 20658122, 'kraft': 20658123, 'metal': 20658124, 'Carton_gris': 20658125, 'papier': 20658126, 'environnement': 20658127}]} args : 20658013 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'autre_refus': 20658116, 'flou': 20658117, 'Teint_Dans_La_Masse': 20658118, 'Carton_brun': 20658119, 'cartonnette': 20658120, 'mal_croppe': 20658121, 'plastique': 20658122, 'kraft': 20658123, 'metal': 20658124, 'Carton_gris': 20658125, 'papier': 20658126, 'environnement': 20658127},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20658013) 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([20658013]) 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.30468201637268066 time spend to save output : 5.054473876953125e-05 total time spend for step 3 : 0.3047325611114502 step4:send_mail_cod Wed Feb 19 00:27:00 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 : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} input_args_next_step : {1338298902: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298902 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298869 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298867 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298864 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298861 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298844 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298840 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298835 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298831 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298828 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298811 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298808 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298803 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298801 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298797 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298771 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298768 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298755 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298748 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298745 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298740 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298736 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298726 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298721 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298716 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298713 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298709 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298705 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298684 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298680 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298677 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298673 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298660 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298656 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298653 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298650 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298647 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298643 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298621 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298617 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298612 depend.output_id : 0 input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ()} output_args : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',)} args : 1338298608 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 : {20658013: [{'autre_refus': 20658116, 'flou': 20658117, 'Teint_Dans_La_Masse': 20658118, 'Carton_brun': 20658119, 'cartonnette': 20658120, 'mal_croppe': 20658121, 'plastique': 20658122, 'kraft': 20658123, 'metal': 20658124, 'Carton_gris': 20658125, 'papier': 20658126, 'environnement': 20658127}]} input_args_next_step : {1338298902: ('0.0',), 1338298869: ('0.0',), 1338298867: ('0.0',), 1338298864: ('0.0',), 1338298861: ('0.0',), 1338298844: ('0.0',), 1338298840: ('0.0',), 1338298835: ('0.0',), 1338298831: ('0.0',), 1338298828: ('0.0',), 1338298811: ('0.0',), 1338298808: ('0.0',), 1338298803: ('0.0',), 1338298801: ('0.0',), 1338298797: ('0.0',), 1338298771: ('0.0',), 1338298768: ('0.0',), 1338298755: ('0.0',), 1338298748: ('0.0',), 1338298745: ('0.0',), 1338298740: ('0.0',), 1338298736: ('0.0',), 1338298726: ('0.0',), 1338298721: ('0.0',), 1338298716: ('0.0',), 1338298713: ('0.0',), 1338298709: ('0.0',), 1338298705: ('0.0',), 1338298684: ('0.0',), 1338298680: ('0.0',), 1338298677: ('0.0',), 1338298673: ('0.0',), 1338298660: ('0.0',), 1338298656: ('0.0',), 1338298653: ('0.0',), 1338298650: ('0.0',), 1338298647: ('0.0',), 1338298643: ('0.0',), 1338298621: ('0.0',), 1338298617: ('0.0',), 1338298612: ('0.0',), 1338298608: ('0.0',), 20658013: ()} output_args : {20658013: [{'autre_refus': 20658116, 'flou': 20658117, 'Teint_Dans_La_Masse': 20658118, 'Carton_brun': 20658119, 'cartonnette': 20658120, 'mal_croppe': 20658121, 'plastique': 20658122, 'kraft': 20658123, 'metal': 20658124, 'Carton_gris': 20658125, 'papier': 20658126, 'environnement': 20658127}]} args : 20658013 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 :43, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20658013) 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 (1338298902,1338298869,1338298867,1338298864,1338298861,1338298844,1338298840,1338298835,1338298831,1338298828,1338298811,1338298808,1338298803,1338298801,1338298797,1338298771,1338298768,1338298755,1338298748,1338298745,1338298740,1338298736,1338298726,1338298721,1338298716,1338298713,1338298709,1338298705,1338298684,1338298680,1338298677,1338298673,1338298660,1338298656,1338298653,1338298650,1338298647,1338298643,1338298621,1338298617,1338298612,1338298608) Found this number of photos: 42 ##### Call download_photos : nb_thread : 5 begin to download photo : 1338298608 begin to download photo : 1338298660 begin to download photo : 1338298721 begin to download photo : 1338298797 begin to download photo : 1338298844 download finish for photo 1338298608 begin to download photo : 1338298612 download finish for photo 1338298660 begin to download photo : 1338298673 download finish for photo 1338298844 begin to download photo : 1338298861 download finish for photo 1338298721 begin to download photo : 1338298726 download finish for photo 1338298797 begin to download photo : 1338298801 download finish for photo 1338298673 begin to download photo : 1338298677 download finish for photo 1338298612 begin to download photo : 1338298617 download finish for photo 1338298861 begin to download photo : 1338298864 download finish for photo 1338298726 begin to download photo : 1338298736 download finish for photo 1338298801 begin to download photo : 1338298803 download finish for photo 1338298864 begin to download photo : 1338298867 download finish for photo 1338298677 begin to download photo : 1338298680 download finish for photo 1338298736 begin to download photo : 1338298740 download finish for photo 1338298617 begin to download photo : 1338298621 download finish for photo 1338298803 begin to download photo : 1338298808 download finish for photo 1338298867 begin to download photo : 1338298869 download finish for photo 1338298740 begin to download photo : 1338298745 download finish for photo 1338298621 begin to download photo : 1338298643 download finish for photo 1338298808 begin to download photo : 1338298811 download finish for photo 1338298745 begin to download photo : 1338298748 download finish for photo 1338298869 begin to download photo : 1338298902 download finish for photo 1338298643 begin to download photo : 1338298647 download finish for photo 1338298811 begin to download photo : 1338298828 download finish for photo 1338298748 begin to download photo : 1338298755 download finish for photo 1338298902 download finish for photo 1338298647 begin to download photo : 1338298650 download finish for photo 1338298680 begin to download photo : 1338298684 download finish for photo 1338298828 begin to download photo : 1338298831 download finish for photo 1338298755 begin to download photo : 1338298768 download finish for photo 1338298650 begin to download photo : 1338298653 download finish for photo 1338298684 begin to download photo : 1338298705 download finish for photo 1338298831 begin to download photo : 1338298835 download finish for photo 1338298705 begin to download photo : 1338298709 download finish for photo 1338298768 begin to download photo : 1338298771 download finish for photo 1338298653 begin to download photo : 1338298656 download finish for photo 1338298771 download finish for photo 1338298656 download finish for photo 1338298709 begin to download photo : 1338298713 download finish for photo 1338298835 begin to download photo : 1338298840 download finish for photo 1338298713 begin to download photo : 1338298716 download finish for photo 1338298840 download finish for photo 1338298716 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette206581161739921222/ imagette206581171739921222/ imagette206581201739921222/ imagette206581211739921222/ imagette206581221739921222/ imagette206581231739921222/ imagette206581241739921222/ imagette206581181739921222/ imagette206581191739921222/ imagette206581251739921222/ length of list_filenames : 42 ; length of list_pids : 42 ; length of list_args : 42 results_Auto_P20658013_19-02-2025_00_27_02.pdf 20658116 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=20658116 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette206581161739921222 20658117 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=20658117 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette206581171739921222 20658120 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=20658120 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette206581201739921222 20658121 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=20658121 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette206581211739921222 20658122 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=20658122 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette206581221739921222 20658123 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=20658123 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette206581231739921222 20658124 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=20658124 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette206581241739921222 20658118 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=20658118 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette206581181739921222 20658119 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=20658119 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette206581191739921222 20658125 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=20658125 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette206581251739921222 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20658013 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20658128,20658129,20658130,20658131,20658132,20658133,20658134,20658135,20658136,20658137,20658138,20658139?tags=autre_refus,flou,Teint_Dans_La_Masse,Carton_brun,cartonnette,mal_croppe,plastique,kraft,metal,Carton_gris,papier,environnement your option no_mail is active, we will not send the real mail to your client args[1338298902] : ('0.0',) no score found for photo 1338298902 We are sending mail with results at report@fotonower.com args[1338298869] : ('0.0',) no score found for photo 1338298869 We are sending mail with results at report@fotonower.com args[1338298867] : ('0.0',) no score found for photo 1338298867 We are sending mail with results at report@fotonower.com args[1338298864] : ('0.0',) no score found for photo 1338298864 We are sending mail with results at report@fotonower.com args[1338298861] : ('0.0',) no score found for photo 1338298861 We are sending mail with results at report@fotonower.com args[1338298844] : ('0.0',) no score found for photo 1338298844 We are sending mail with results at report@fotonower.com args[1338298840] : ('0.0',) no score found for photo 1338298840 We are sending mail with results at report@fotonower.com args[1338298835] : ('0.0',) no score found for photo 1338298835 We are sending mail with results at report@fotonower.com args[1338298831] : ('0.0',) no score found for photo 1338298831 We are sending mail with results at report@fotonower.com args[1338298828] : ('0.0',) no score found for photo 1338298828 We are sending mail with results at report@fotonower.com args[1338298811] : ('0.0',) no score found for photo 1338298811 We are sending mail with results at report@fotonower.com args[1338298808] : ('0.0',) no score found for photo 1338298808 We are sending mail with results at report@fotonower.com args[1338298803] : ('0.0',) no score found for photo 1338298803 We are sending mail with results at report@fotonower.com args[1338298801] : ('0.0',) no score found for photo 1338298801 We are sending mail with results at report@fotonower.com args[1338298797] : ('0.0',) no score found for photo 1338298797 We are sending mail with results at report@fotonower.com args[1338298771] : ('0.0',) no score found for photo 1338298771 We are sending mail with results at report@fotonower.com args[1338298768] : ('0.0',) no score found for photo 1338298768 We are sending mail with results at report@fotonower.com args[1338298755] : ('0.0',) no score found for photo 1338298755 We are sending mail with results at report@fotonower.com args[1338298748] : ('0.0',) no score found for photo 1338298748 We are sending mail with results at report@fotonower.com args[1338298745] : ('0.0',) no score found for photo 1338298745 We are sending mail with results at report@fotonower.com args[1338298740] : ('0.0',) no score found for photo 1338298740 We are sending mail with results at report@fotonower.com args[1338298736] : ('0.0',) no score found for photo 1338298736 We are sending mail with results at report@fotonower.com args[1338298726] : ('0.0',) no score found for photo 1338298726 We are sending mail with results at report@fotonower.com args[1338298721] : ('0.0',) no score found for photo 1338298721 We are sending mail with results at report@fotonower.com args[1338298716] : ('0.0',) no score found for photo 1338298716 We are sending mail with results at report@fotonower.com args[1338298713] : ('0.0',) no score found for photo 1338298713 We are sending mail with results at report@fotonower.com args[1338298709] : ('0.0',) no score found for photo 1338298709 We are sending mail with results at report@fotonower.com args[1338298705] : ('0.0',) no score found for photo 1338298705 We are sending mail with results at report@fotonower.com args[1338298684] : ('0.0',) no score found for photo 1338298684 We are sending mail with results at report@fotonower.com args[1338298680] : ('0.0',) no score found for photo 1338298680 We are sending mail with results at report@fotonower.com args[1338298677] : ('0.0',) no score found for photo 1338298677 We are sending mail with results at report@fotonower.com args[1338298673] : ('0.0',) no score found for photo 1338298673 We are sending mail with results at report@fotonower.com args[1338298660] : ('0.0',) no score found for photo 1338298660 We are sending mail with results at report@fotonower.com args[1338298656] : ('0.0',) no score found for photo 1338298656 We are sending mail with results at report@fotonower.com args[1338298653] : ('0.0',) no score found for photo 1338298653 We are sending mail with results at report@fotonower.com args[1338298650] : ('0.0',) no score found for photo 1338298650 We are sending mail with results at report@fotonower.com args[1338298647] : ('0.0',) no score found for photo 1338298647 We are sending mail with results at report@fotonower.com args[1338298643] : ('0.0',) no score found for photo 1338298643 We are sending mail with results at report@fotonower.com args[1338298621] : ('0.0',) no score found for photo 1338298621 We are sending mail with results at report@fotonower.com args[1338298617] : ('0.0',) no score found for photo 1338298617 We are sending mail with results at report@fotonower.com args[1338298612] : ('0.0',) no score found for photo 1338298612 We are sending mail with results at report@fotonower.com args[1338298608] : ('0.0',) no score found for photo 1338298608 We are sending mail with results at report@fotonower.com refus_total : 0.0 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=20658013 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_P20658013_19-02-2025_00_27_02.pdf results_Auto_P20658013_19-02-2025_00_27_02.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20658013_19-02-2025_00_27_02.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','20658013','results_Auto_P20658013_19-02-2025_00_27_02.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20658013_19-02-2025_00_27_02.pdf','pdf','','0.32','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20658013]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1338298902, 1338298869, 1338298867, 1338298864, 1338298861, 1338298844, 1338298840, 1338298835, 1338298831, 1338298828, 1338298811, 1338298808, 1338298803, 1338298801, 1338298797, 1338298771, 1338298768, 1338298755, 1338298748, 1338298745, 1338298740, 1338298736, 1338298726, 1338298721, 1338298716, 1338298713, 1338298709, 1338298705, 1338298684, 1338298680, 1338298677, 1338298673, 1338298660, 1338298656, 1338298653, 1338298650, 1338298647, 1338298643, 1338298621, 1338298617, 1338298612, 1338298608] map_info['map_portfolio_photo'] : {20658013: [1338298902, 1338298869, 1338298867, 1338298864, 1338298861, 1338298844, 1338298840, 1338298835, 1338298831, 1338298828, 1338298811, 1338298808, 1338298803, 1338298801, 1338298797, 1338298771, 1338298768, 1338298755, 1338298748, 1338298745, 1338298740, 1338298736, 1338298726, 1338298721, 1338298716, 1338298713, 1338298709, 1338298705, 1338298684, 1338298680, 1338298677, 1338298673, 1338298660, 1338298656, 1338298653, 1338298650, 1338298647, 1338298643, 1338298621, 1338298617, 1338298612, 1338298608]} final : False mtd_id 4302 list_pids : [1338298902, 1338298869, 1338298867, 1338298864, 1338298861, 1338298844, 1338298840, 1338298835, 1338298831, 1338298828, 1338298811, 1338298808, 1338298803, 1338298801, 1338298797, 1338298771, 1338298768, 1338298755, 1338298748, 1338298745, 1338298740, 1338298736, 1338298726, 1338298721, 1338298716, 1338298713, 1338298709, 1338298705, 1338298684, 1338298680, 1338298677, 1338298673, 1338298660, 1338298656, 1338298653, 1338298650, 1338298647, 1338298643, 1338298621, 1338298617, 1338298612, 1338298608] 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, '2598001') ('4302', '20658013', '1338298902', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298869', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298867', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298864', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298861', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298844', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298840', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298835', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298831', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298828', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298811', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298808', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298803', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298801', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298797', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298771', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298768', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298755', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298748', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298745', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298740', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298736', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298726', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298721', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298716', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298713', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298709', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298705', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298684', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298680', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298677', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298673', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298660', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298656', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298653', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298650', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298647', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298643', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298621', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298617', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298612', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298608', None, None, None, None, None, '2598001') 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', '20658013', '1338298902', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298869', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298867', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298864', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298861', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298844', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298840', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298835', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298831', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298828', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298811', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298808', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298803', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298801', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298797', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298771', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298768', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298755', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298748', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298745', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298740', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298736', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298726', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298721', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298716', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298713', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298709', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298705', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298684', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298680', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298677', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298673', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298660', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298656', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298653', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298650', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298647', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298643', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298621', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298617', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298612', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298608', None, None, None, None, None, '2598001')] time used for this insertion : 0.024529695510864258 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.972461700439453 time spend to save output : 0.025007963180541992 total time spend for step 4 : 3.997469663619995 step5:split_time_score Wed Feb 19 00:27: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 : ['20658013'] 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 : [('20658013',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20658013) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1338298844: {'path': 'temp/1739921220_1762138_1338298844_4a1a2a0366401c6479a7f91037213cb3.jpg', 'extension': 'jpg'}, 1338298861: {'path': 'temp/1739921220_1762138_1338298861_8c9c81812d76aef5e3543f00a5bc0248.jpg', 'extension': 'jpg'}, 1338298864: {'path': 'temp/1739921220_1762138_1338298864_315f06738b96b96d38c11db12c30fc1f.jpg', 'extension': 'jpg'}, 1338298867: {'path': 'temp/1739921220_1762138_1338298867_66eaf9249d6f65fdc2108e6ec4734c6f.jpg', 'extension': 'jpg'}, 1338298869: {'path': 'temp/1739921220_1762138_1338298869_e8e1b221c8e2516f70d34ed9e1bd3120.jpg', 'extension': 'jpg'}, 1338298902: {'path': 'temp/1739921220_1762138_1338298902_733d52b5639377ec7134c5b286b0b53d.jpg', 'extension': 'jpg'}, 1338298721: {'path': 'temp/1739921220_1762138_1338298721_37804db10dea1d031acdf756259a7a0f.jpg', 'extension': 'jpg'}, 1338298726: {'path': 'temp/1739921220_1762138_1338298726_765081a6fd8039aa9ac4dae7c59fa637.jpg', 'extension': 'jpg'}, 1338298736: {'path': 'temp/1739921220_1762138_1338298736_063394455d75b89e3afed4726cc18cc2.jpg', 'extension': 'jpg'}, 1338298740: {'path': 'temp/1739921220_1762138_1338298740_7c99307552bc852c4e2d1af9cee74bd8.jpg', 'extension': 'jpg'}, 1338298745: {'path': 'temp/1739921220_1762138_1338298745_137f564972f58cb96cf4c09f9c68dbda.jpg', 'extension': 'jpg'}, 1338298748: {'path': 'temp/1739921220_1762138_1338298748_9586efa509a6d8a673778bd2f939f1f4.jpg', 'extension': 'jpg'}, 1338298755: {'path': 'temp/1739921220_1762138_1338298755_6d3a941d8e22e033295a8498ee8492c9.jpg', 'extension': 'jpg'}, 1338298768: {'path': 'temp/1739921220_1762138_1338298768_8dd0cae64fd9faa7e0d4c5338ff1b369.jpg', 'extension': 'jpg'}, 1338298771: {'path': 'temp/1739921220_1762138_1338298771_2453f08341bc72c3eb197fb8f2907417.jpg', 'extension': 'jpg'}, 1338298608: {'path': 'temp/1739921220_1762138_1338298608_909ed3a1494daf62ca4e59860bcfaa08.jpg', 'extension': 'jpg'}, 1338298612: {'path': 'temp/1739921220_1762138_1338298612_60962488207f353c3640371e1117fc0f.jpg', 'extension': 'jpg'}, 1338298617: {'path': 'temp/1739921220_1762138_1338298617_c5234088a9081c02283904ca47a1e577.jpg', 'extension': 'jpg'}, 1338298621: {'path': 'temp/1739921220_1762138_1338298621_3ca6f5ba57abed2568a63fbf884c1475.jpg', 'extension': 'jpg'}, 1338298643: {'path': 'temp/1739921220_1762138_1338298643_6ae1899af2996d973b3178abb334805d.jpg', 'extension': 'jpg'}, 1338298647: {'path': 'temp/1739921220_1762138_1338298647_bddf3c18822ec95dc434df452c21b49d.jpg', 'extension': 'jpg'}, 1338298650: {'path': 'temp/1739921220_1762138_1338298650_fa88d6518de898affcd93684e288558c.jpg', 'extension': 'jpg'}, 1338298653: {'path': 'temp/1739921220_1762138_1338298653_c0aea78febebe273a97d08d08d196c4c.jpg', 'extension': 'jpg'}, 1338298656: {'path': 'temp/1739921220_1762138_1338298656_e42904104b209991a113d40584c50de3.jpg', 'extension': 'jpg'}, 1338298797: {'path': 'temp/1739921220_1762138_1338298797_49c934f29f4af3dc6b05a3fd96cefb15.jpg', 'extension': 'jpg'}, 1338298801: {'path': 'temp/1739921220_1762138_1338298801_49cc6a02dda6f4ac56aa7d3a032c14b0.jpg', 'extension': 'jpg'}, 1338298803: {'path': 'temp/1739921220_1762138_1338298803_70e173e4c212235dd24210d448b19b74.jpg', 'extension': 'jpg'}, 1338298808: {'path': 'temp/1739921220_1762138_1338298808_82d4fd7d6238deb4a8091c233b7f65ab.jpg', 'extension': 'jpg'}, 1338298811: {'path': 'temp/1739921220_1762138_1338298811_b87d12b5c184a96fcc44818f4546c7e4.jpg', 'extension': 'jpg'}, 1338298828: {'path': 'temp/1739921220_1762138_1338298828_69ceb39df22b0b148717925315131b1c.jpg', 'extension': 'jpg'}, 1338298831: {'path': 'temp/1739921220_1762138_1338298831_2f661a18899f8b0c50ae7e4187868846.jpg', 'extension': 'jpg'}, 1338298835: {'path': 'temp/1739921220_1762138_1338298835_7408b8228b5a212a3a651efe549add04.jpg', 'extension': 'jpg'}, 1338298840: {'path': 'temp/1739921220_1762138_1338298840_7e24001bb8a3c8a921952eedfa95a964.jpg', 'extension': 'jpg'}, 1338298660: {'path': 'temp/1739921220_1762138_1338298660_dea9d553d40b38291a4ac981fa285c03.jpg', 'extension': 'jpg'}, 1338298673: {'path': 'temp/1739921220_1762138_1338298673_31a4ef8e75bbb84e30303265ba7575dd.jpg', 'extension': 'jpg'}, 1338298677: {'path': 'temp/1739921220_1762138_1338298677_b1d5027878339edbe94ae06e0c8cd934.jpg', 'extension': 'jpg'}, 1338298680: {'path': 'temp/1739921220_1762138_1338298680_bbff11622eaadc5dee5efcf8f16b8677.jpg', 'extension': 'jpg'}, 1338298684: {'path': 'temp/1739921220_1762138_1338298684_b0851e749e568fec69f270883610b16f.jpg', 'extension': 'jpg'}, 1338298705: {'path': 'temp/1739921220_1762138_1338298705_29b35f36e485d8d656307a94db722c06.jpg', 'extension': 'jpg'}, 1338298709: {'path': 'temp/1739921220_1762138_1338298709_6c74ae00e906be7c4a3a8a5009da25b3.jpg', 'extension': 'jpg'}, 1338298713: {'path': 'temp/1739921220_1762138_1338298713_633284f3af717241254ca25e77c0e8ff.jpg', 'extension': 'jpg'}, 1338298716: {'path': 'temp/1739921220_1762138_1338298716_bc16fe5a510ad1ab1ab26d94e3b1702d.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 = 20658013; (('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 = 20658013 group by h (('07', 42),) 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=20658013 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 (20658013) 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 (20658013) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 18022025 20658013 Nombre de photos uploadées : 42 / 23040 (0%) 18022025 20658013 Nombre de photos taguées (types de déchets): 0 / 42 (0%) 18022025 20658013 Nombre de photos taguées (volume) : 0 / 42 (0%) [{'photo_id': 1338298621, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/3ca6f5ba57abed2568a63fbf884c1475.jpg', 'username': None, 'uploaded_at': 1739860626, 'text': 'image_18022025_07_35_54_10137.jpg'}, {'photo_id': 1338298617, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/c5234088a9081c02283904ca47a1e577.jpg', 'username': None, 'uploaded_at': 1739860626, 'text': 'image_18022025_07_36_15_10134.jpg'}, {'photo_id': 1338298612, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/60962488207f353c3640371e1117fc0f.jpg', 'username': None, 'uploaded_at': 1739860626, 'text': 'image_18022025_07_36_25_10145.jpg'}, {'photo_id': 1338298608, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/18/909ed3a1494daf62ca4e59860bcfaa08.jpg', 'username': None, 'uploaded_at': 1739860626, 'text': 'image_18022025_07_36_44_10138.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ?????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0020606517791748047 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20658013, '2025-02-18' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1609467,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02491617202758789 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= 1609467 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20627257, 'dashboard_result_id': 8963459, '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_P20627257_18-02-2025_05_17_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20627258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20627259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20627260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20627261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20627262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20627263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20627264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20627265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20627266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20627267, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20627268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20627269, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20627333, 'dashboard_result_id': 8963460, '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_P20627333_18-02-2025_05_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20627335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20627336, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20627337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20627338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20627339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20627340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20627341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20627342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20627343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20627344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20627345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20627346, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20627623, 'dashboard_result_id': 8963461, '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_P20627623_18-02-2025_05_49_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20627625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20627626, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20627627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20627628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20627629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20627630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20627631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20627632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20627633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20627634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20627635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20627636, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20628039, 'dashboard_result_id': 8963462, '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_P20628039_18-02-2025_06_01_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20628065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20628066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20628067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20628068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20628069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20628070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20628071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20628072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20628073, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20628074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20628075, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20628076, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20658008, 'dashboard_result_id': 8963463, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20658009, 'dashboard_result_id': 8963464, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20658010, 'dashboard_result_id': 8963465, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20658011, 'dashboard_result_id': 8963466, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20658012, 'dashboard_result_id': 8963467, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20658013, 'dashboard_result_id': 8963468, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20658014, 'dashboard_result_id': 8963469, '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_P20658014_19-02-2025_00_26_02.pdf'}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20658015, 'dashboard_result_id': 8963470, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': '', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20658092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20658093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20658094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20658095, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20658096, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20658097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20658098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20658099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20658100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20658101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20658102, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20658103, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20628629, 'dashboard_result_id': 8963471, '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_P20628629_18-02-2025_09_01_12.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20628637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20628638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20628639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20628640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20628641, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20628642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20628643, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20628644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20628645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20628646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20628647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20628648, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20628631, 'dashboard_result_id': 8963472, '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_P20628631_18-02-2025_09_02_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20628779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20628780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20628781, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20628782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20628783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20628784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20628785, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20628786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20628787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20628788, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20628789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20628790, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20628634, 'dashboard_result_id': 8963473, '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_P20628634_18-02-2025_09_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20628723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20628724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20628725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20628726, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20628727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20628728, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20628729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20628730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20628731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20628732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20628733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20628734, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20630461, 'dashboard_result_id': 8963474, '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_P20630461_18-02-2025_09_46_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20630463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20630464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20630465, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20630466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20630467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20630468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20630469, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20630470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20630471, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20630472, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20630473, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20630474, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20630937, 'dashboard_result_id': 8963475, '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_P20630937_18-02-2025_10_04_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20630938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20630939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20630940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20630941, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20630942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20630943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20630944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20630945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20630946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20630947, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20630948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20630949, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20631279, 'dashboard_result_id': 8963476, '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_P20631279_18-02-2025_10_16_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20631281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20631282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20631283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20631284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20631285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20631286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20631287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20631288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20631289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20631290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20631291, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20631292, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20631638, 'dashboard_result_id': 8963477, '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_P20631638_18-02-2025_10_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20631642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20631643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20631644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20631645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20631646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20631647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20631648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20631649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20631650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20631651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20631652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20631653, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20632085, 'dashboard_result_id': 8963478, '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_P20632085_18-02-2025_10_49_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20632116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20632117, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20632118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20632119, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20632120, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20632121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20632122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20632123, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20632124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20632125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20632126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20632127, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20632783, 'dashboard_result_id': 8963479, '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_P20632783_18-02-2025_11_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20632818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20632819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20632820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20632821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20632822, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20632823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20632824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20632825, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20632826, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20632827, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20632828, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20632829, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20633499, 'dashboard_result_id': 8963480, '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_P20633499_18-02-2025_11_16_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20633555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20633556, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20633557, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20633558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20633559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20633560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20633561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20633562, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20633563, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20633564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20633565, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20633566, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20634216, 'dashboard_result_id': 8963481, '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_P20634216_18-02-2025_11_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20634247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20634248, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20634249, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20634250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20634251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20634252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20634253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20634254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20634255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20634256, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20634257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20634258, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20634860, 'dashboard_result_id': 8963482, '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_P20634860_18-02-2025_11_49_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20634869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20634870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20634871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20634872, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20634873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20634874, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20634875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20634876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20634877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20634878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20634879, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20634880, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20635587, 'dashboard_result_id': 8963483, '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_P20635587_18-02-2025_12_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20635593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20635594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20635595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20635596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20635597, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20635598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20635599, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20635600, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20635601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20635602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20635603, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20635604, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20636115, 'dashboard_result_id': 8963484, '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_P20636115_18-02-2025_13_00_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20636123, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20636124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20636125, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20636126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20636127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20636128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20636129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20636130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20636131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20636132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20636133, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20636134, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20637505, 'dashboard_result_id': 8963485, '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_P20637505_18-02-2025_14_04_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20637507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20637508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20637509, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20637510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20637511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20637512, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20637513, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20637514, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20637515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20637516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20637517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20637518, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20637752, 'dashboard_result_id': 8963486, '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_P20637752_18-02-2025_14_17_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20637753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20637754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20637755, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20637756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20637757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20637758, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20637759, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20637760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20637761, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20637762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20637763, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20637764, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20638012, 'dashboard_result_id': 8963487, '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_P20638012_18-02-2025_14_34_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20638016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20638017, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20638018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20638019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20638020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20638021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20638022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20638023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20638024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20638025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20638026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20638027, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20638733, 'dashboard_result_id': 8963488, '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_P20638733_18-02-2025_14_49_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20638736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20638737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20638738, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20638739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20638740, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20638741, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20638742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20638743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20638744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20638745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20638746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20638747, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20639212, 'dashboard_result_id': 8963489, '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_P20639212_18-02-2025_15_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20639264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20639265, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20639266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20639267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20639268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20639269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20639270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20639271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20639272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20639273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20639274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20639275, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20639909, 'dashboard_result_id': 8963490, '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_P20639909_18-02-2025_15_16_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20639936, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20639937, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20639938, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20639939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20639940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20639941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20639942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20639943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20639944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20639945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20639946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20639947, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20640740, 'dashboard_result_id': 8963491, '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_P20640740_18-02-2025_15_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20640743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20640744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20640745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20640746, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20640747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20640748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20640749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20640750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20640751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20640752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20640753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20640754, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20640945, 'dashboard_result_id': 8963492, '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_P20640945_18-02-2025_16_02_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20640974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20640975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20640976, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20640977, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20640978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20640979, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20640980, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20640981, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20640982, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20640983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20640984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20640985, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20641544, 'dashboard_result_id': 8963493, '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_P20641544_18-02-2025_16_16_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20641546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20641547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20641548, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20641549, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20641550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20641551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20641552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20641553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20641554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20641555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20641556, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20641557, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20641942, 'dashboard_result_id': 8963494, '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_P20641942_18-02-2025_16_35_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20641983, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20641984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20641985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20641986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20641987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20641988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20641989, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20641990, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20641993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20641999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20642005, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20642006, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20642636, 'dashboard_result_id': 8963495, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 20642639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20642640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20642641, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20642642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20642643, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20642644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20642645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20642646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20642647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20642648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20642649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20642650, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20643020, 'dashboard_result_id': 8963496, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20643026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20643027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20643028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20643029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20643030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20643031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20643032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20643033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20643034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20643035, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20643036, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20643037, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20643840, 'dashboard_result_id': 8963497, '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_P20643840_18-02-2025_17_07_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20643842, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20643843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20643844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20643845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20643846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20643847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20643848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20643849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20643850, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20643851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20643852, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20643853, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20644649, 'dashboard_result_id': 8963498, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20644700, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20644701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20644702, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20644703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20644704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20644705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20644706, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20644707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20644708, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20644709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20644710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20644711, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20646322, 'dashboard_result_id': 8963499, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20646325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20646326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20646327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20646328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20646329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20646330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20646331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20646332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20646333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20646334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20646335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20646336, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20647473, 'dashboard_result_id': 8963500, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20647477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20647478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20647479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20647480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20647481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20647482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20647483, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20647484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20647485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20647486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20647487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20647488, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20647549, 'dashboard_result_id': 8963501, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20647576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20647577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20647578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20647579, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20647580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20647581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20647582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20647583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20647584, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20647585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20647586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20647587, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20648298, 'dashboard_result_id': 8963502, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20648302, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20648303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20648304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20648305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20648306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20648307, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20648308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20648309, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20648310, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20648311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20648312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20648313, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20649026, 'dashboard_result_id': 8963503, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20649031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20649032, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20649033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20649034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20649035, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20649036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20649037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20649038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20649039, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20649040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20649041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20649042, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20649585, 'dashboard_result_id': 8963504, '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_P20649585_18-02-2025_19_35_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20649622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20649623, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20649624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20649625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20649626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20649627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20649628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20649629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20649630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20649631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20649632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20649633, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20650403, 'dashboard_result_id': 8963505, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20650467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20650468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20650469, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20650470, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20650471, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20650472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20650473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20650474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20650475, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20650476, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20650477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20650478, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20650930, 'dashboard_result_id': 8963506, '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_P20650930_18-02-2025_20_05_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20650956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20650957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20650958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20650959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20650960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20650961, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20650962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20650963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20650964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20650965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20650966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20650967, 'pht': 3726}}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20651748, 'dashboard_result_id': 8963507, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20651800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20651801, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20651802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20651803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20651804, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20651805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20651806, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20651807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20651808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20651809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20651810, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20651811, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20652673, 'dashboard_result_id': 8963508, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20652701, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20652702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20652703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20652704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20652705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20652706, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20652707, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20652708, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20652709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20652710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20652711, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20652712, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1609467, 'dashboard_run_id': 1619413, 'mtr_portfolio_id': 20654148, 'dashboard_result_id': 8963509, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 20654224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20654225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20654226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20654227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20654228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20654229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20654230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20654231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20654232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20654233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20654234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20654235, 'pht': 3726}, 'url_report': ''}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20627257 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': 2595210, 'mtr_portfolio_id': 20627257, 'created_at': datetime.datetime(2025, 2, 18, 5, 17, 1), 'result': '0.06786332216492437', 'result_long': None, 'result_double': None}] Qualite : 0.06786332216492437 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20627257 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20627257_18-02-2025_05_17_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20627257 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_P20627257_18-02-2025_05_17_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20627258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20627259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20627260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20627261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20627262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20627263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20627264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20627265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20627266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20627267, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20627268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20627269, 'pht': 3726}}" where mtr_portfolio_id = 20627257 and dashboard_run_id = 1619413 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`=20627257 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963459, 0.06786332216492437, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20627257_18-02-2025_05_17_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20627258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20627259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20627260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20627261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20627262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20627263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20627264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20627265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20627266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20627267, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20627268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20627269, '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 = 20627333 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': 2595219, 'mtr_portfolio_id': 20627333, 'created_at': datetime.datetime(2025, 2, 18, 5, 33), 'result': '0.04616982787909256', 'result_long': None, 'result_double': None}] Qualite : 0.04616982787909256 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20627333 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20627333_18-02-2025_05_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20627333 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_P20627333_18-02-2025_05_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20627335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20627336, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20627337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20627338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20627339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20627340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20627341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20627342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20627343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20627344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20627345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20627346, 'pht': 3726}}" where mtr_portfolio_id = 20627333 and dashboard_run_id = 1619413 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`=20627333 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963460, 0.04616982787909256, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20627333_18-02-2025_05_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20627335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20627336, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20627337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20627338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20627339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20627340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20627341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20627342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20627343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20627344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20627345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20627346, '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 = 20627623 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': 2595302, 'mtr_portfolio_id': 20627623, 'created_at': datetime.datetime(2025, 2, 18, 5, 49, 30), 'result': '0.05980678691952014', 'result_long': None, 'result_double': None}] Qualite : 0.05980678691952014 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20627623 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20627623_18-02-2025_05_49_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20627623 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_P20627623_18-02-2025_05_49_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20627625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20627626, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20627627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20627628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20627629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20627630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20627631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20627632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20627633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20627634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20627635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20627636, 'pht': 3726}}" where mtr_portfolio_id = 20627623 and dashboard_run_id = 1619413 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`=20627623 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963461, 0.05980678691952014, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20627623_18-02-2025_05_49_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20627625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20627626, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20627627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20627628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20627629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20627630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20627631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20627632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20627633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20627634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20627635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20627636, '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 = 20628039 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': 2595330, 'mtr_portfolio_id': 20628039, 'created_at': datetime.datetime(2025, 2, 18, 6, 1), 'result': '0.04736872112657783', 'result_long': None, 'result_double': None}] Qualite : 0.04736872112657783 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20628039 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20628039_18-02-2025_06_01_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20628039 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_P20628039_18-02-2025_06_01_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20628065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20628066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20628067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20628068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20628069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20628070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20628071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20628072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20628073, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20628074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20628075, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20628076, 'pht': 3726}}" where mtr_portfolio_id = 20628039 and dashboard_run_id = 1619413 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`=20628039 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963462, 0.04736872112657783, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20628039_18-02-2025_06_01_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20628065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20628066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20628067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20628068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20628069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20628070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20628071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20628072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20628073, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20628074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20628075, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20628076, '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 = 20658008 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 = 20658008 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 = 20658008 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20658008%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20658008 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 = 20658008 and dashboard_run_id = 1619413 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20658009 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 = 20658009 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 = 20658009 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20658009%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20658009 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 = 20658009 and dashboard_run_id = 1619413 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20658010 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 = 20658010 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 = 20658010 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20658010%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20658010 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 = 20658010 and dashboard_run_id = 1619413 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20658011 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 = 20658011 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 = 20658011 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20658011%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20658011 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 = 20658011 and dashboard_run_id = 1619413 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20658012 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 = 20658012 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 = 20658012 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20658012%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20658012 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 = 20658012 and dashboard_run_id = 1619413 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20658013 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 = 20658013 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 = 20658013 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20658013 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 = 20658013 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 = 20658013 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20658013_19-02-2025_00_27_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20658013 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_P20658013_19-02-2025_00_27_02.pdf'}" where mtr_portfolio_id = 20658013 and dashboard_run_id = 1619413 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20658014 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 = 20658014 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 = 20658014 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20658014 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 = 20658014 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 = 20658014 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20658014_19-02-2025_00_26_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20658014 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_P20658014_19-02-2025_00_26_02.pdf'}" where mtr_portfolio_id = 20658014 and dashboard_run_id = 1619413 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20658015 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': 2598003, 'mtr_portfolio_id': 20658015, 'created_at': datetime.datetime(2025, 2, 19, 0, 26, 30), 'result': '0.044077613849228384', 'result_long': None, 'result_double': None}] Qualite : 0.044077613849228384 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20658015 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20658015%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20658015 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': '', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20658092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20658093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20658094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20658095, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20658096, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20658097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20658098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20658099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20658100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20658101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20658102, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20658103, 'pht': 3726}}" where mtr_portfolio_id = 20658015 and dashboard_run_id = 1619413 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`=20658015 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963470, 0.044077613849228384, "{'max_time_prod_two_photos': 0, 'url_report': '', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20658092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20658093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20658094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20658095, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20658096, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20658097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20658098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20658099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20658100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20658101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20658102, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20658103, '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 = 20628629 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 = 20628629 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 = 20628629 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20628629 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 = 20628629 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 = 20628629 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20628629_18-02-2025_09_01_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20628629 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_P20628629_18-02-2025_09_01_12.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20628637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20628638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20628639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20628640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20628641, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20628642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20628643, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20628644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20628645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20628646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20628647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20628648, 'pht': 3726}}" where mtr_portfolio_id = 20628629 and dashboard_run_id = 1619413 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20628631 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 = 20628631 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 = 20628631 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20628631 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 = 20628631 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 = 20628631 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20628631_18-02-2025_09_02_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20628631 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_P20628631_18-02-2025_09_02_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20628779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20628780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20628781, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20628782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20628783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20628784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20628785, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20628786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20628787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20628788, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20628789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20628790, 'pht': 3726}}" where mtr_portfolio_id = 20628631 and dashboard_run_id = 1619413 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20628634 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 = 20628634 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 = 20628634 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20628634 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 = 20628634 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 = 20628634 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20628634_18-02-2025_09_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20628634 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_P20628634_18-02-2025_09_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20628723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20628724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20628725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20628726, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20628727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20628728, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20628729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20628730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20628731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20628732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20628733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20628734, 'pht': 3726}}" where mtr_portfolio_id = 20628634 and dashboard_run_id = 1619413 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20630461 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': 2595679, 'mtr_portfolio_id': 20630461, 'created_at': datetime.datetime(2025, 2, 18, 9, 46, 31), 'result': '0.05760903405110679', 'result_long': None, 'result_double': None}] Qualite : 0.05760903405110679 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20630461 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20630461_18-02-2025_09_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20630461 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_P20630461_18-02-2025_09_46_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20630463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20630464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20630465, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20630466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20630467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20630468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20630469, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20630470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20630471, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20630472, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20630473, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20630474, 'pht': 3726}}" where mtr_portfolio_id = 20630461 and dashboard_run_id = 1619413 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`=20630461 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963474, 0.05760903405110679, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20630461_18-02-2025_09_46_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20630463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20630464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20630465, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20630466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20630467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20630468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20630469, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20630470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20630471, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20630472, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20630473, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20630474, '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 = 20630937 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': 2595716, 'mtr_portfolio_id': 20630937, 'created_at': datetime.datetime(2025, 2, 18, 10, 4, 59), 'result': '0.05578479073143196', 'result_long': None, 'result_double': None}] Qualite : 0.05578479073143196 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20630937 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20630937_18-02-2025_10_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20630937 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_P20630937_18-02-2025_10_04_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20630938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20630939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20630940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20630941, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20630942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20630943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20630944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20630945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20630946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20630947, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20630948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20630949, 'pht': 3726}}" where mtr_portfolio_id = 20630937 and dashboard_run_id = 1619413 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`=20630937 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963475, 0.05578479073143196, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20630937_18-02-2025_10_04_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20630938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20630939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20630940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20630941, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20630942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20630943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20630944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20630945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20630946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20630947, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20630948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20630949, '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 = 20631279 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': 2595767, 'mtr_portfolio_id': 20631279, 'created_at': datetime.datetime(2025, 2, 18, 10, 16, 57), 'result': '0.02051475109688736', 'result_long': None, 'result_double': None}] Qualite : 0.02051475109688736 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20631279 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20631279_18-02-2025_10_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20631279 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_P20631279_18-02-2025_10_16_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20631281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20631282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20631283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20631284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20631285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20631286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20631287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20631288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20631289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20631290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20631291, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20631292, 'pht': 3726}}" where mtr_portfolio_id = 20631279 and dashboard_run_id = 1619413 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`=20631279 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963476, 0.02051475109688736, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20631279_18-02-2025_10_16_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20631281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20631282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20631283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20631284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20631285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20631286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20631287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20631288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20631289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20631290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20631291, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20631292, '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 = 20631638 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': 2595795, 'mtr_portfolio_id': 20631638, 'created_at': datetime.datetime(2025, 2, 18, 10, 32, 58), 'result': '0.03606684867076426', 'result_long': None, 'result_double': None}] Qualite : 0.03606684867076426 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20631638 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20631638_18-02-2025_10_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20631638 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_P20631638_18-02-2025_10_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20631642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20631643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20631644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20631645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20631646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20631647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20631648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20631649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20631650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20631651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20631652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20631653, 'pht': 3726}}" where mtr_portfolio_id = 20631638 and dashboard_run_id = 1619413 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`=20631638 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963477, 0.03606684867076426, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20631638_18-02-2025_10_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20631642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20631643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20631644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20631645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20631646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20631647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20631648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20631649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20631650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20631651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20631652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20631653, '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 = 20632085 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': 2595841, 'mtr_portfolio_id': 20632085, 'created_at': datetime.datetime(2025, 2, 18, 10, 49, 1), 'result': '0.05291676371311583', 'result_long': None, 'result_double': None}] Qualite : 0.05291676371311583 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20632085 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20632085_18-02-2025_10_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20632085 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_P20632085_18-02-2025_10_49_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20632116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20632117, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20632118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20632119, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20632120, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20632121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20632122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20632123, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20632124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20632125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20632126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20632127, 'pht': 3726}}" where mtr_portfolio_id = 20632085 and dashboard_run_id = 1619413 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`=20632085 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963478, 0.05291676371311583, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20632085_18-02-2025_10_49_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20632116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20632117, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20632118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20632119, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20632120, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20632121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20632122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20632123, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20632124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20632125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20632126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20632127, '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 = 20632783 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': 2595916, 'mtr_portfolio_id': 20632783, 'created_at': datetime.datetime(2025, 2, 18, 11, 2, 59), 'result': '0.044721288732440884', 'result_long': None, 'result_double': None}] Qualite : 0.044721288732440884 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20632783 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20632783_18-02-2025_11_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20632783 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_P20632783_18-02-2025_11_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20632818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20632819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20632820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20632821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20632822, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20632823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20632824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20632825, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20632826, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20632827, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20632828, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20632829, 'pht': 3726}}" where mtr_portfolio_id = 20632783 and dashboard_run_id = 1619413 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`=20632783 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963479, 0.044721288732440884, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20632783_18-02-2025_11_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20632818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20632819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20632820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20632821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20632822, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20632823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20632824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20632825, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20632826, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20632827, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20632828, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20632829, '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 = 20633499 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': 2596010, 'mtr_portfolio_id': 20633499, 'created_at': datetime.datetime(2025, 2, 18, 11, 16, 57), 'result': '0.03543053146630357', 'result_long': None, 'result_double': None}] Qualite : 0.03543053146630357 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20633499 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20633499_18-02-2025_11_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20633499 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_P20633499_18-02-2025_11_16_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20633555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20633556, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20633557, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20633558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20633559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20633560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20633561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20633562, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20633563, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20633564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20633565, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20633566, 'pht': 3726}}" where mtr_portfolio_id = 20633499 and dashboard_run_id = 1619413 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`=20633499 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963480, 0.03543053146630357, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20633499_18-02-2025_11_16_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20633555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20633556, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20633557, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20633558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20633559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20633560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20633561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20633562, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20633563, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20633564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20633565, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20633566, '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 = 20634216 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': 2596065, 'mtr_portfolio_id': 20634216, 'created_at': datetime.datetime(2025, 2, 18, 11, 32, 59), 'result': '0.04353512102413895', 'result_long': None, 'result_double': None}] Qualite : 0.04353512102413895 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20634216 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20634216_18-02-2025_11_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20634216 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_P20634216_18-02-2025_11_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20634247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20634248, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20634249, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20634250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20634251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20634252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20634253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20634254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20634255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20634256, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20634257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20634258, 'pht': 3726}}" where mtr_portfolio_id = 20634216 and dashboard_run_id = 1619413 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`=20634216 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963481, 0.04353512102413895, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20634216_18-02-2025_11_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20634247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20634248, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20634249, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20634250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20634251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20634252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20634253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20634254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20634255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20634256, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20634257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20634258, '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 = 20634860 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': 2596121, 'mtr_portfolio_id': 20634860, 'created_at': datetime.datetime(2025, 2, 18, 11, 49), 'result': '0.03311861894715624', 'result_long': None, 'result_double': None}] Qualite : 0.03311861894715624 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20634860 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20634860_18-02-2025_11_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20634860 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_P20634860_18-02-2025_11_49_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20634869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20634870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20634871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20634872, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20634873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20634874, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20634875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20634876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20634877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20634878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20634879, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20634880, 'pht': 3726}}" where mtr_portfolio_id = 20634860 and dashboard_run_id = 1619413 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`=20634860 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963482, 0.03311861894715624, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20634860_18-02-2025_11_49_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20634869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20634870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20634871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20634872, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20634873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20634874, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20634875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20634876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20634877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20634878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20634879, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20634880, '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 = 20635587 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': 2596200, 'mtr_portfolio_id': 20635587, 'created_at': datetime.datetime(2025, 2, 18, 12, 3), 'result': '0.035533084813470624', 'result_long': None, 'result_double': None}] Qualite : 0.035533084813470624 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20635587 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20635587_18-02-2025_12_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20635587 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_P20635587_18-02-2025_12_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20635593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20635594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20635595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20635596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20635597, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20635598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20635599, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20635600, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20635601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20635602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20635603, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20635604, 'pht': 3726}}" where mtr_portfolio_id = 20635587 and dashboard_run_id = 1619413 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`=20635587 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963483, 0.035533084813470624, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20635587_18-02-2025_12_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20635593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20635594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20635595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20635596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20635597, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20635598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20635599, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20635600, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20635601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20635602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20635603, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20635604, '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 = 20636115 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': 2596254, 'mtr_portfolio_id': 20636115, 'created_at': datetime.datetime(2025, 2, 18, 13, 0, 34), 'result': '0.03801571630860518', 'result_long': None, 'result_double': None}] Qualite : 0.03801571630860518 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20636115 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20636115_18-02-2025_13_00_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20636115 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_P20636115_18-02-2025_13_00_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20636123, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20636124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20636125, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20636126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20636127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20636128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20636129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20636130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20636131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20636132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20636133, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20636134, 'pht': 3726}}" where mtr_portfolio_id = 20636115 and dashboard_run_id = 1619413 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`=20636115 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963484, 0.03801571630860518, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20636115_18-02-2025_13_00_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20636123, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20636124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20636125, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20636126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20636127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20636128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20636129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20636130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20636131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20636132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20636133, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20636134, '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 = 20637505 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': 2596457, 'mtr_portfolio_id': 20637505, 'created_at': datetime.datetime(2025, 2, 18, 14, 4, 58), 'result': '0.02499973836582598', 'result_long': None, 'result_double': None}] Qualite : 0.02499973836582598 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20637505 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20637505_18-02-2025_14_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20637505 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_P20637505_18-02-2025_14_04_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20637507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20637508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20637509, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20637510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20637511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20637512, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20637513, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20637514, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20637515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20637516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20637517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20637518, 'pht': 3726}}" where mtr_portfolio_id = 20637505 and dashboard_run_id = 1619413 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`=20637505 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963485, 0.02499973836582598, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20637505_18-02-2025_14_04_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20637507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20637508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20637509, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20637510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20637511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20637512, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20637513, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20637514, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20637515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20637516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20637517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20637518, '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 = 20637752 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': 2596481, 'mtr_portfolio_id': 20637752, 'created_at': datetime.datetime(2025, 2, 18, 14, 16, 59), 'result': '0.04742562686561427', 'result_long': None, 'result_double': None}] Qualite : 0.04742562686561427 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20637752 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20637752_18-02-2025_14_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20637752 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_P20637752_18-02-2025_14_17_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20637753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20637754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20637755, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20637756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20637757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20637758, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20637759, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20637760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20637761, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20637762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20637763, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20637764, 'pht': 3726}}" where mtr_portfolio_id = 20637752 and dashboard_run_id = 1619413 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`=20637752 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963486, 0.04742562686561427, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20637752_18-02-2025_14_17_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20637753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20637754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20637755, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20637756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20637757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20637758, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20637759, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20637760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20637761, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20637762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20637763, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20637764, '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 = 20638012 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': 2596504, 'mtr_portfolio_id': 20638012, 'created_at': datetime.datetime(2025, 2, 18, 14, 34, 57), 'result': '0.044665513347296876', 'result_long': None, 'result_double': None}] Qualite : 0.044665513347296876 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20638012 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20638012_18-02-2025_14_34_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20638012 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_P20638012_18-02-2025_14_34_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20638016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20638017, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20638018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20638019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20638020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20638021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20638022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20638023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20638024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20638025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20638026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20638027, 'pht': 3726}}" where mtr_portfolio_id = 20638012 and dashboard_run_id = 1619413 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`=20638012 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963487, 0.044665513347296876, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20638012_18-02-2025_14_34_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20638016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20638017, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20638018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20638019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20638020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20638021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20638022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20638023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20638024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20638025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20638026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20638027, '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 = 20638733 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': 2596552, 'mtr_portfolio_id': 20638733, 'created_at': datetime.datetime(2025, 2, 18, 14, 49, 1), 'result': '0.06035914072414135', 'result_long': None, 'result_double': None}] Qualite : 0.06035914072414135 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20638733 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20638733_18-02-2025_14_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20638733 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_P20638733_18-02-2025_14_49_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20638736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20638737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20638738, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20638739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20638740, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20638741, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20638742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20638743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20638744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20638745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20638746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20638747, 'pht': 3726}}" where mtr_portfolio_id = 20638733 and dashboard_run_id = 1619413 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`=20638733 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963488, 0.06035914072414135, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20638733_18-02-2025_14_49_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20638736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20638737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20638738, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20638739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20638740, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20638741, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20638742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20638743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20638744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20638745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20638746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20638747, '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 = 20639212 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': 2596581, 'mtr_portfolio_id': 20639212, 'created_at': datetime.datetime(2025, 2, 18, 15, 3), 'result': '0.032461567839285846', 'result_long': None, 'result_double': None}] Qualite : 0.032461567839285846 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20639212 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20639212_18-02-2025_15_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20639212 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_P20639212_18-02-2025_15_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20639264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20639265, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20639266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20639267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20639268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20639269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20639270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20639271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20639272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20639273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20639274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20639275, 'pht': 3726}}" where mtr_portfolio_id = 20639212 and dashboard_run_id = 1619413 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`=20639212 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963489, 0.032461567839285846, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20639212_18-02-2025_15_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20639264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20639265, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20639266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20639267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20639268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20639269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20639270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20639271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20639272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20639273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20639274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20639275, '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 = 20639909 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': 2596638, 'mtr_portfolio_id': 20639909, 'created_at': datetime.datetime(2025, 2, 18, 15, 16, 58), 'result': '0.03588712586654378', 'result_long': None, 'result_double': None}] Qualite : 0.03588712586654378 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20639909 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20639909_18-02-2025_15_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20639909 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_P20639909_18-02-2025_15_16_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20639936, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20639937, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20639938, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20639939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20639940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20639941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20639942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20639943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20639944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20639945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20639946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20639947, 'pht': 3726}}" where mtr_portfolio_id = 20639909 and dashboard_run_id = 1619413 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`=20639909 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963490, 0.03588712586654378, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20639909_18-02-2025_15_16_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20639936, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20639937, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20639938, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20639939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20639940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20639941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20639942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20639943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20639944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20639945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20639946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20639947, '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 = 20640740 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': 2596723, 'mtr_portfolio_id': 20640740, 'created_at': datetime.datetime(2025, 2, 18, 15, 46, 57), 'result': '0.023352821994835647', 'result_long': None, 'result_double': None}] Qualite : 0.023352821994835647 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20640740 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20640740_18-02-2025_15_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20640740 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_P20640740_18-02-2025_15_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20640743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20640744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20640745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20640746, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20640747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20640748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20640749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20640750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20640751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20640752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20640753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20640754, 'pht': 3726}}" where mtr_portfolio_id = 20640740 and dashboard_run_id = 1619413 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`=20640740 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963491, 0.023352821994835647, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20640740_18-02-2025_15_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20640743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20640744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20640745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20640746, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20640747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20640748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20640749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20640750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20640751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20640752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20640753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20640754, '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 = 20640945 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': 2596746, 'mtr_portfolio_id': 20640945, 'created_at': datetime.datetime(2025, 2, 18, 16, 2, 30), 'result': '0.04973677061202868', 'result_long': None, 'result_double': None}] Qualite : 0.04973677061202868 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20640945 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20640945_18-02-2025_16_02_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20640945 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_P20640945_18-02-2025_16_02_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20640974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20640975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20640976, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20640977, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20640978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20640979, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20640980, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20640981, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20640982, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20640983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20640984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20640985, 'pht': 3726}}" where mtr_portfolio_id = 20640945 and dashboard_run_id = 1619413 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`=20640945 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963492, 0.04973677061202868, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20640945_18-02-2025_16_02_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20640974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20640975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20640976, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20640977, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20640978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20640979, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20640980, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20640981, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20640982, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20640983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20640984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20640985, '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 = 20641544 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': 2596794, 'mtr_portfolio_id': 20641544, 'created_at': datetime.datetime(2025, 2, 18, 16, 16, 31), 'result': '0.05630390434785524', 'result_long': None, 'result_double': None}] Qualite : 0.05630390434785524 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20641544 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20641544_18-02-2025_16_16_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20641544 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_P20641544_18-02-2025_16_16_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20641546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20641547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20641548, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20641549, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20641550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20641551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20641552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20641553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20641554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20641555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20641556, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20641557, 'pht': 3726}}" where mtr_portfolio_id = 20641544 and dashboard_run_id = 1619413 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`=20641544 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963493, 0.05630390434785524, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20641544_18-02-2025_16_16_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20641546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20641547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20641548, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20641549, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20641550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20641551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20641552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20641553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20641554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20641555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20641556, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20641557, '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 = 20641942 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': 2596832, 'mtr_portfolio_id': 20641942, 'created_at': datetime.datetime(2025, 2, 18, 16, 35), 'result': '0.04479446681506629', 'result_long': None, 'result_double': None}] Qualite : 0.04479446681506629 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20641942 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20641942_18-02-2025_16_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20641942 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_P20641942_18-02-2025_16_35_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20641983, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20641984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20641985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20641986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20641987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20641988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20641989, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20641990, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20641993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20641999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20642005, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20642006, 'pht': 3726}}" where mtr_portfolio_id = 20641942 and dashboard_run_id = 1619413 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`=20641942 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963494, 0.04479446681506629, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20641942_18-02-2025_16_35_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20641983, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20641984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20641985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20641986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20641987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20641988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20641989, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20641990, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20641993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20641999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20642005, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20642006, '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 = 20642636 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': 2596892, 'mtr_portfolio_id': 20642636, 'created_at': datetime.datetime(2025, 2, 18, 16, 46, 30), 'result': '0.05831148600183564', 'result_long': None, 'result_double': None}] Qualite : 0.05831148600183564 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20642636 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20642636%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20642636 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 20642639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20642640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20642641, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20642642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20642643, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20642644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20642645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20642646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20642647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20642648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20642649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20642650, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 20642636 and dashboard_run_id = 1619413 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`=20642636 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963495, 0.05831148600183564, "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 20642639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20642640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20642641, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20642642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20642643, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20642644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20642645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20642646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20642647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20642648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20642649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20642650, 'pht': 3726}, 'url_report': ''}") 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 = 20643020 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': 2597011, 'mtr_portfolio_id': 20643020, 'created_at': datetime.datetime(2025, 2, 18, 17, 2, 28), 'result': '0.039461473488966975', 'result_long': None, 'result_double': None}] Qualite : 0.039461473488966975 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20643020 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20643020%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20643020 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20643026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20643027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20643028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20643029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20643030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20643031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20643032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20643033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20643034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20643035, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20643036, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20643037, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 20643020 and dashboard_run_id = 1619413 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`=20643020 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963496, 0.039461473488966975, "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20643026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20643027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20643028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20643029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20643030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20643031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20643032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20643033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20643034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20643035, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20643036, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20643037, 'pht': 3726}, 'url_report': ''}") 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 = 20643840 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': 2597070, 'mtr_portfolio_id': 20643840, 'created_at': datetime.datetime(2025, 2, 18, 17, 16, 59), 'result': '0.03877945402777816', 'result_long': None, 'result_double': None}] Qualite : 0.03877945402777816 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20643840 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20643840_18-02-2025_17_07_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20643840 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_P20643840_18-02-2025_17_07_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20643842, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20643843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20643844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20643845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20643846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20643847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20643848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20643849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20643850, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20643851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20643852, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20643853, 'pht': 3726}}" where mtr_portfolio_id = 20643840 and dashboard_run_id = 1619413 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`=20643840 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963497, 0.03877945402777816, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20643840_18-02-2025_17_07_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20643842, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20643843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20643844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20643845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20643846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20643847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20643848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20643849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20643850, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20643851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20643852, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20643853, '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 = 20644649 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': 2597104, 'mtr_portfolio_id': 20644649, 'created_at': datetime.datetime(2025, 2, 18, 17, 33), 'result': '0.054395406318915346', 'result_long': None, 'result_double': None}] Qualite : 0.054395406318915346 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20644649 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20644649%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20644649 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20644700, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20644701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20644702, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20644703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20644704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20644705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20644706, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20644707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20644708, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20644709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20644710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20644711, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 20644649 and dashboard_run_id = 1619413 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`=20644649 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963498, 0.054395406318915346, "{'max_time_prod_two_photos': 0, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20644700, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20644701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20644702, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20644703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20644704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20644705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20644706, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20644707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20644708, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20644709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20644710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20644711, 'pht': 3726}, 'url_report': ''}") 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 = 20646322 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': 2597213, 'mtr_portfolio_id': 20646322, 'created_at': datetime.datetime(2025, 2, 18, 18, 44, 29), 'result': '0.03682277761171508', 'result_long': None, 'result_double': None}] Qualite : 0.03682277761171508 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20646322 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20646322%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20646322 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20646325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20646326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20646327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20646328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20646329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20646330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20646331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20646332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20646333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20646334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20646335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20646336, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 20646322 and dashboard_run_id = 1619413 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`=20646322 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963499, 0.03682277761171508, "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20646325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20646326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20646327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20646328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20646329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20646330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20646331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20646332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20646333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20646334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20646335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20646336, 'pht': 3726}, 'url_report': ''}") 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 = 20647473 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': 2597291, 'mtr_portfolio_id': 20647473, 'created_at': datetime.datetime(2025, 2, 18, 18, 47), 'result': '0.03163335488112646', 'result_long': None, 'result_double': None}] Qualite : 0.03163335488112646 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20647473 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20647473%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20647473 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20647477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20647478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20647479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20647480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20647481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20647482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20647483, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20647484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20647485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20647486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20647487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20647488, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 20647473 and dashboard_run_id = 1619413 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`=20647473 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963500, 0.03163335488112646, "{'max_time_prod_two_photos': 0, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20647477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20647478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20647479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20647480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20647481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20647482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20647483, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20647484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20647485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20647486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20647487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20647488, 'pht': 3726}, 'url_report': ''}") 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 = 20647549 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': 2597297, 'mtr_portfolio_id': 20647549, 'created_at': datetime.datetime(2025, 2, 18, 19, 2, 57), 'result': '0.0416374154977994', 'result_long': None, 'result_double': None}] Qualite : 0.0416374154977994 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20647549 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20647549%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20647549 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20647576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20647577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20647578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20647579, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20647580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20647581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20647582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20647583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20647584, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20647585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20647586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20647587, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 20647549 and dashboard_run_id = 1619413 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`=20647549 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963501, 0.0416374154977994, "{'max_time_prod_two_photos': 0, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20647576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20647577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20647578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20647579, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20647580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20647581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20647582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20647583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20647584, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20647585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20647586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20647587, 'pht': 3726}, 'url_report': ''}") 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 = 20648298 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': 2597345, 'mtr_portfolio_id': 20648298, 'created_at': datetime.datetime(2025, 2, 18, 19, 17), 'result': '0.03799289322438351', 'result_long': None, 'result_double': None}] Qualite : 0.03799289322438351 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20648298 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20648298%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20648298 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20648302, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20648303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20648304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20648305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20648306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20648307, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20648308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20648309, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20648310, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20648311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20648312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20648313, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 20648298 and dashboard_run_id = 1619413 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`=20648298 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963502, 0.03799289322438351, "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20648302, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20648303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20648304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20648305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20648306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20648307, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20648308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20648309, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20648310, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20648311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20648312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20648313, 'pht': 3726}, 'url_report': ''}") 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 = 20649026 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': 2597379, 'mtr_portfolio_id': 20649026, 'created_at': datetime.datetime(2025, 2, 18, 19, 35), 'result': '0.035756524315015366', 'result_long': None, 'result_double': None}] Qualite : 0.035756524315015366 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20649026 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20649026%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20649026 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20649031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20649032, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20649033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20649034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20649035, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20649036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20649037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20649038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20649039, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20649040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20649041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20649042, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 20649026 and dashboard_run_id = 1619413 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`=20649026 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963503, 0.035756524315015366, "{'max_time_prod_two_photos': 0, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20649031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20649032, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20649033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20649034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20649035, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20649036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20649037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20649038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20649039, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20649040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20649041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20649042, 'pht': 3726}, 'url_report': ''}") 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 = 20649585 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': 2597414, 'mtr_portfolio_id': 20649585, 'created_at': datetime.datetime(2025, 2, 18, 19, 46, 59), 'result': '0.03892261891815917', 'result_long': None, 'result_double': None}] Qualite : 0.03892261891815917 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20649585 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20649585_18-02-2025_19_35_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20649585 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_P20649585_18-02-2025_19_35_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20649622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20649623, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20649624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20649625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20649626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20649627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20649628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20649629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20649630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20649631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20649632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20649633, 'pht': 3726}}" where mtr_portfolio_id = 20649585 and dashboard_run_id = 1619413 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`=20649585 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963504, 0.03892261891815917, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20649585_18-02-2025_19_35_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20649622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20649623, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20649624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20649625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20649626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20649627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20649628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20649629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20649630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20649631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20649632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20649633, '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 = 20650403 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': 2597455, 'mtr_portfolio_id': 20650403, 'created_at': datetime.datetime(2025, 2, 18, 20, 2, 57), 'result': '0.04600657526929947', 'result_long': None, 'result_double': None}] Qualite : 0.04600657526929947 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20650403 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20650403%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20650403 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20650467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20650468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20650469, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20650470, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20650471, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20650472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20650473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20650474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20650475, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20650476, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20650477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20650478, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 20650403 and dashboard_run_id = 1619413 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`=20650403 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963505, 0.04600657526929947, "{'max_time_prod_two_photos': 0, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20650467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20650468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20650469, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20650470, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20650471, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20650472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20650473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20650474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20650475, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20650476, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20650477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20650478, 'pht': 3726}, 'url_report': ''}") 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 = 20650930 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': 2597490, 'mtr_portfolio_id': 20650930, 'created_at': datetime.datetime(2025, 2, 18, 20, 18, 58), 'result': '0.03599330427141201', 'result_long': None, 'result_double': None}] Qualite : 0.03599330427141201 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20650930 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20650930_18-02-2025_20_05_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20650930 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_P20650930_18-02-2025_20_05_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20650956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20650957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20650958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20650959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20650960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20650961, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20650962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20650963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20650964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20650965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20650966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20650967, 'pht': 3726}}" where mtr_portfolio_id = 20650930 and dashboard_run_id = 1619413 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`=20650930 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963506, 0.03599330427141201, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20650930_18-02-2025_20_05_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20650956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20650957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20650958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20650959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20650960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20650961, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20650962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20650963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20650964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20650965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20650966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20650967, '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 = 20651748 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': 2597537, 'mtr_portfolio_id': 20651748, 'created_at': datetime.datetime(2025, 2, 18, 20, 32, 59), 'result': '0.050668646704690054', 'result_long': None, 'result_double': None}] Qualite : 0.050668646704690054 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20651748 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20651748%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20651748 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20651800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20651801, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20651802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20651803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20651804, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20651805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20651806, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20651807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20651808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20651809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20651810, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20651811, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 20651748 and dashboard_run_id = 1619413 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`=20651748 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963507, 0.050668646704690054, "{'max_time_prod_two_photos': 0, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20651800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20651801, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20651802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20651803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20651804, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20651805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20651806, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20651807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20651808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20651809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20651810, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20651811, 'pht': 3726}, 'url_report': ''}") 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 = 20652673 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': 2597581, 'mtr_portfolio_id': 20652673, 'created_at': datetime.datetime(2025, 2, 18, 21, 7), 'result': '0.03600070585191295', 'result_long': None, 'result_double': None}] Qualite : 0.03600070585191295 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20652673 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20652673%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20652673 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20652701, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20652702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20652703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20652704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20652705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20652706, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20652707, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20652708, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20652709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20652710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20652711, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20652712, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 20652673 and dashboard_run_id = 1619413 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`=20652673 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963508, 0.03600070585191295, "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20652701, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20652702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20652703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20652704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20652705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20652706, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20652707, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20652708, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20652709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20652710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20652711, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20652712, 'pht': 3726}, 'url_report': ''}") 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 = 20654148 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': 2597668, 'mtr_portfolio_id': 20654148, 'created_at': datetime.datetime(2025, 2, 18, 21, 19), 'result': '0.026416458550533737', 'result_long': None, 'result_double': None}] Qualite : 0.026416458550533737 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20654148 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20654148%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20654148 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 20654224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20654225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20654226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20654227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20654228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20654229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20654230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20654231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20654232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20654233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20654234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20654235, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 20654148 and dashboard_run_id = 1619413 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`=20654148 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8963509, 0.026416458550533737, "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 20654224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20654225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20654226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20654227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20654228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20654229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20654230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20654231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20654232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20654233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20654234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20654235, 'pht': 3726}, 'url_report': ''}") 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 (20627257,20627333,20627623,20628039,20658008,20658009,20658010,20658011,20658012,20658013,20658014,20658015,20628629,20628631,20628634,20630461,20630937,20631279,20631638,20632085,20632783,20633499,20634216,20634860,20635587,20636115,20637505,20637752,20638012,20638733,20639212,20639909,20640740,20640945,20641544,20641942,20642636,20643020,20643840,20644649,20646322,20647473,20647549,20648298,20649026,20649585,20650403,20650930,20651748,20652673,20654148) result : ((1338290931,), (1338290951,), (1338290982,), (1338291036,), (1338291208,), (1338291226,), (1338291533,), (1338291666,), (1338291685,), (1338291687,), (1338291802,), (1338291804,), (1338291822,), (1338291871,), (1338291873,), (1338291902,), (1338291903,), (1338291922,), (1338291924,), (1338291925,), (1338291945,), (1338291947,), (1338292657,), (1338292660,), (1338292662,), (1338292691,), (1338292679,), (1338292683,), (1338292685,), (1338292947,), (1338292948,), (1338292949,), (1338292950,), (1338292971,), (1338292972,), (1338292973,), (1338292974,), (1338293125,), (1338293182,), (1338293183,), (1338293184,), (1338293203,), (1338293204,), (1338293205,), (1338293206,), (1338293213,), (1338293219,), (1338293242,), (1338293243,), (1338293244,), (1338293245,), (1338293247,), (1338293249,), (1338293365,), (1338293461,), (1338293528,), (1338293556,), (1338293557,), (1338293558,), (1338293559,), (1338293561,), (1338293562,), (1338293584,), (1338293622,), (1338293629,), (1338293641,), (1338293651,), (1338293653,), (1338293779,), (1338293788,), (1338293790,), (1338293793,), (1338293806,), (1338293808,), (1338293810,), (1338293812,), (1338293815,), (1338293847,), (1338293849,), (1338293851,), (1338293853,), (1338293855,), (1338293870,), (1338293872,), (1338293875,), (1338293927,), (1338293929,), (1338293931,), (1338293933,), (1338293936,), (1338293938,), (1338293960,), (1338293964,), (1338293971,), (1338293975,), (1338293978,), (1338294010,), (1338294001,), (1338294003,), (1338294005,), (1338294007,), (1338294024,), (1338294050,), (1338294119,), (1338294204,), (1338294269,), (1338294651,), (1338294653,), (1338294655,), (1338294657,), (1338294659,), (1338294662,), (1338294702,), (1338294704,), (1338294706,), (1338294708,), (1338294733,), (1338294735,), (1338294738,), (1338294740,), (1338294742,), (1338294745,), (1338294757,), (1338294759,), (1338294761,), (1338294763,), (1338294765,), (1338294788,), (1338294790,), (1338294792,), (1338294794,), (1338294832,), (1338294835,), (1338294838,), (1338294842,), (1338294846,), (1338294849,), (1338294864,), (1338294868,), (1338294871,), (1338294874,), (1338294904,), (1338294906,), (1338294908,), (1338294919,), (1338294956,), (1338294960,), (1338294966,), (1338294968,), (1338294990,), (1338295012,), (1338295014,), (1338295016,), (1338295018,), (1338295041,), (1338295043,), (1338295408,), (1338295413,), (1338295417,), (1338295424,), (1338295430,), (1338295433,), (1338295434,), (1338295456,), (1338299997,), (1338299999,), (1338300002,), (1338300005,), (1338300008,), (1338300029,), (1338300030,), (1338300032,), (1338300034,), (1338300035,), (1338300038,), (1338300061,), (1338300063,), (1338300090,), (1338300091,), (1338300093,), (1338300094,), (1338300095,), (1338300099,), (1338300120,), (1338300123,), (1338300126,), (1338300128,), (1338300130,), (1338300152,), (1338300153,), (1338300155,), (1338300157,), (1338300187,), (1338300189,), (1338300192,), (1338300194,), (1338300196,), (1338300199,), (1338300222,), (1338300224,), (1338300226,), (1338300252,), (1338300255,), (1338300259,), (1338300263,), (1338300266,), (1338300270,), (1338300287,), (1338300289,), (1338300292,), (1338300295,), (1338300316,), (1338300319,), (1338300323,), (1338300327,), (1338300330,), (1338300333,), (1338300348,), (1338300350,), (1338300352,), (1338300355,), (1338300358,), (1338300379,), (1338300382,), (1338300386,), (1338300390,), (1338300392,), (1338300411,), (1338300414,), (1338300417,), (1338300420,), (1338300423,), (1338300426,), (1338300444,), (1338300447,), (1338300451,), (1338300455,), (1338300493,), (1338300479,), (1338300481,), (1338300483,), (1338300486,), (1338300489,), (1338300511,), (1338300514,), (1338300517,), (1338300519,), (1338300542,), (1338300545,), (1338300549,), (1338300555,), (1338300560,), (1338300565,), (1338300574,), (1338300581,), (1338300583,), (1338300586,), (1338300590,), (1338300593,), (1338300603,), (1338300605,), (1338300608,), (1338300628,), (1338300630,), (1338300632,), (1338300634,), (1338300636,), (1338300641,), (1338300654,), (1338300657,), (1338300660,), (1338300663,), (1338300684,), (1338300686,), (1338300689,), (1338300692,), (1338300695,), (1338300699,), (1338300714,), (1338300716,), (1338300719,), (1338300738,), (1338300740,), (1338300742,), (1338300744,), (1338300747,), (1338300763,), (1338300765,), (1338300768,), (1338300773,), (1338300777,), (1338300780,), (1338300796,), (1338300798,), (1338300801,), (1338300804,), (1338300829,), (1338300833,), (1338300837,), (1338300841,), (1338300845,), (1338300861,), (1338300863,), (1338300865,), (1338300868,), (1338300871,), (1338300892,), (1338300895,), (1338300924,), (1338300922,), (1338300946,), (1338300948,), (1338300950,), (1338300953,), (1338300957,), (1338300960,), (1338300974,), (1338300977,), (1338300980,), (1338300983,), (1338301007,), (1338301009,), (1338301012,), (1338301015,), (1338301019,), (1338301022,), (1338301046,), (1338301048,), (1338301050,), (1338301052,), (1338301077,), (1338301079,), (1338301082,), (1338301085,), (1338301088,), (1338301110,), (1338301111,), (1338301113,), (1338301115,), (1338301117,), (1338301143,), (1338301144,), (1338301146,), (1338301175,), (1338301176,), (1338301178,), (1338301180,), (1338301181,), (1338301183,), (1338301207,), (1338301208,), (1338301210,), (1338301236,), (1338301237,), (1338301239,), (1338301241,), (1338301242,), (1338301244,), (1338301269,), (1338301270,), (1338301272,), (1338301273,), (1338301299,), (1338301334,), (1338301338,), (1338301345,), (1338301351,), (1338301358,), (1338301364,), (1338301375,), (1338301377,), (1338301382,), (1338301387,), (1338301389,), (1338301413,), (1338303198,), (1338303803,), (1338303806,), (1338303809,), (1338303812,), (1338303831,), (1338303834,), (1338303837,), (1338303840,), (1338303843,), (1338303876,), (1338303880,), (1338303884,), (1338303907,), (1338303910,), (1338303917,), (1338303920,), (1338303945,), (1338303948,), (1338303976,), (1338303980,), (1338303987,), (1338303997,), (1338304121,), (1338304123,), (1338304127,), (1338304130,), (1338304133,), (1338304167,), (1338304174,), (1338304186,), (1338304193,), (1338304196,), (1338304199,), (1338304217,), (1338304220,), (1338304225,), (1338304262,), (1338304264,), (1338304267,), (1338304272,), (1338304276,), (1338304280,), (1338304301,), (1338304304,), (1338304307,), (1338304311,), (1338304314,), (1338304318,), (1338304348,), (1338304351,), (1338304355,), (1338304382,), (1338304387,), (1338304391,), (1338304418,), (1338304423,), (1338304428,), (1338304432,), (1338304465,), (1338304470,), (1338304507,), (1338304543,), (1338304546,), (1338304553,), (1338304564,), (1338304733,), (1338304738,), (1338304957,), (1338304991,), (1338305027,), (1338305205,), (1338305415,), (1338305447,), (1338306747,), (1338306717,), (1338306875,), (1338306878,), (1338307769,), (1338307840,), (1338307902,), (1338307904,), (1338307937,), (1338307978,), (1338307982,), (1338307987,), (1338307991,), (1338308021,), (1338308025,), (1338308029,), (1338308032,), (1338308037,), (1338308123,), (1338308129,), (1338308134,), (1338308138,), (1338308204,), (1338308208,), (1338308212,), (1338308216,), (1338308221,), (1338308267,), (1338308276,), (1338308279,), (1338308283,), (1338308309,), (1338308313,), (1338308345,), (1338308368,), (1338308374,), (1338308420,), (1338308422,), (1338308426,), (1338308430,), (1338308434,), (1338308438,), (1338308459,), (1338308539,), (1338308630,), (1338308656,), (1338308659,), (1338308710,), (1338308700,), (1338308703,), (1338308707,), (1338308736,), (1338308746,), (1338309125,), (1338309127,), (1338309256,), (1338309291,), (1338309293,), (1338309297,), (1338309299,), (1338309302,), (1338309341,), (1338309342,), (1338309344,), (1338309368,), (1338309411,), (1338309419,), (1338309422,), (1338309469,), (1338309470,), (1338309503,), (1338309505,), (1338309507,), (1338309508,), (1338309509,), (1338309511,), (1338309541,), (1338309543,), (1338309549,), (1338309551,), (1338309588,), (1338309590,), (1338309591,), (1338309593,), (1338309596,), (1338309600,), (1338309760,), (1338309761,), (1338309765,), (1338309768,), (1338309796,), (1338309798,), (1338309811,), (1338309814,), (1338309817,), (1338309819,), (1338309862,), (1338309864,), (1338309867,), (1338309872,), (1338309930,), (1338309934,), (1338309938,), (1338309943,), (1338309946,), (1338309949,), (1338309999,), (1338309985,), (1338309988,), (1338309991,), (1338309992,), (1338309995,), (1338310052,), (1338310061,), (1338310064,), (1338310109,), (1338310112,), (1338310115,), (1338310118,), (1338310122,), (1338310147,), (1338310149,), (1338310153,), (1338310156,), (1338310205,), (1338310206,), (1338310209,), (1338310212,), (1338310217,), (1338310389,), (1338310393,), (1338310397,), (1338310407,), (1338310412,), (1338310420,), (1338310574,), (1338310793,), (1338310973,), (1338311189,), (1338311384,), (1338311453,), (1338311462,), (1338311479,), (1338311497,), (1338311696,), (1338311699,), (1338311704,), (1338311710,), (1338311715,), (1338311744,), (1338311746,), (1338311749,), (1338311751,), (1338311783,), (1338311785,), (1338311788,), (1338311790,), (1338311793,), (1338311796,), (1338311828,), (1338311829,), (1338311832,), (1338311834,), (1338311891,), (1338311893,), (1338311896,), (1338311960,), (1338311965,), (1338311969,), (1338311973,), (1338311974,), (1338312004,), (1338312053,), (1338312057,), (1338312062,), (1338312064,), (1338312279,), (1338312242,), (1338312253,), (1338312257,), (1338312263,), (1338312275,), (1338312306,), (1338312310,), (1338312319,), (1338312331,), (1338312366,), (1338312370,), (1338312374,), (1338312379,), (1338312381,), (1338312460,), (1338312463,), (1338312467,), (1338313098,), (1338313103,), (1338313105,), (1338313108,), (1338313111,), (1338313143,), (1338313148,), (1338313151,), (1338313173,), (1338313176,), (1338313179,), (1338313254,), (1338313270,), (1338313272,), (1338313315,), (1338313317,), (1338313319,), (1338313333,), (1338313334,), (1338313341,), (1338313387,), (1338313389,), (1338313394,), (1338313400,), (1338313444,), (1338313447,), (1338313450,), (1338313451,), (1338313525,), (1338313531,), (1338313532,), (1338313535,), (1338313537,), (1338313581,), (1338313582,), (1338313584,), (1338313586,), (1338313666,), (1338313667,), (1338313670,), (1338313672,), (1338313779,), (1338313784,), (1338313788,), (1338313863,), (1338313861,), (1338313973,), (1338313975,), (1338313978,), (1338313982,), (1338314077,), (1338314078,), (1338314081,), (1338314084,), (1338314118,), (1338314120,), (1338314123,), (1338314125,), (1338314126,), (1338314131,), (1338314157,), (1338314158,), (1338314203,), (1338314204,), (1338314206,), (1338314217,), (1338314225,), (1338314233,), (1338314974,), (1338314977,), (1338314980,), (1338314985,), (1338315060,), (1338315137,), (1338315247,), (1338315254,), (1338315330,), (1338315517,), (1338315518,), (1338315520,), (1338315521,), (1338315524,), (1338315528,), (1338315552,), (1338315554,), (1338315558,), (1338315570,), (1338315572,), (1338315581,), (1338315623,), (1338315625,), (1338315627,), (1338315630,), (1338315633,), (1338315670,), (1338315706,), (1338315708,), (1338315710,), (1338315712,), (1338315752,), (1338315753,), (1338315755,), (1338315757,), (1338315805,), (1338315807,), (1338315809,), (1338315810,), (1338315812,), (1338315815,), (1338315865,), (1338315867,), (1338315869,), (1338315873,), (1338315876,), (1338315956,), (1338315929,), (1338315932,), (1338315935,), (1338315936,), (1338315992,), (1338315994,), (1338315997,), (1338316000,), (1338316002,), (1338316009,), (1338316036,), (1338316038,), (1338316061,), (1338316063,), (1338316068,), (1338316437,), (1338316500,), (1338316503,), (1338316638,), (1338316640,), (1338316724,), (1338316728,), (1338316732,), (1338316737,), (1338316739,), (1338316775,), (1338316779,), (1338316783,), (1338316787,), (1338316795,), (1338316847,), (1338316859,), (1338316862,), (1338316981,), (1338317011,), (1338317014,), (1338317016,), (1338317052,), (1338317054,), (1338317057,), (1338317059,), (1338317062,), (1338317064,), (1338317090,), (1338317091,), (1338317093,), (1338317100,), (1338317140,), (1338317142,), (1338317144,), (1338317146,), (1338317148,), (1338317624,), (1338317625,), (1338317628,), (1338317631,), (1338317828,), (1338317852,), (1338317904,), (1338317911,), (1338317949,), (1338317996,), (1338317997,), (1338317999,), (1338318009,), (1338318013,), (1338318032,), (1338318034,), (1338318039,), (1338318041,), (1338318104,), (1338318093,), (1338318096,), (1338318099,), (1338318102,), (1338318133,), (1338318134,), (1338318136,), (1338318167,), (1338318168,), (1338318170,), (1338318203,), (1338318204,), (1338318206,), (1338318226,), (1338318227,), (1338318229,), (1338318231,), (1338318232,), (1338318766,), (1338318797,), (1338318878,), (1338318888,), (1338318921,), (1338318925,), (1338319007,), (1338319009,), (1338319011,), (1338319013,), (1338319040,), (1338319041,), (1338319043,), (1338319045,), (1338319047,), (1338319049,), (1338319075,), (1338319076,), (1338319078,), (1338319080,), (1338319263,), (1338319267,), (1338319269,), (1338319292,), (1338319294,), (1338319297,), (1338319300,), (1338319323,), (1338319326,), (1338319337,), (1338319339,), (1338319341,), (1338319344,), (1338319357,), (1338319359,), (1338319362,), (1338319365,), (1338319385,), (1338319387,), (1338319888,), (1338319580,), (1338319978,), (1338319981,), (1338319992,), (1338319996,), (1338319998,), (1338320001,), (1338320095,), (1338320098,), (1338320102,), (1338320112,), (1338320122,), (1338321052,), (1338321124,), (1338321145,), (1338321149,), (1338321370,), (1338321374,), (1338321380,), (1338321383,), (1338321602,), (1338321607,), (1338321611,), (1338321614,), (1338321618,), (1338321645,), (1338321648,), (1338321653,), (1338321657,), (1338321741,), (1338321746,), (1338321750,), (1338321754,), (1338321822,), (1338321825,), (1338321829,), (1338321832,), (1338321836,), (1338321839,), (1338321860,), (1338321863,), (1338322028,), (1338322043,), (1338322112,), (1338322110,), (1338322139,), (1338322142,), (1338322184,), (1338322193,), (1338322196,), (1338322213,), (1338322313,), (1338322316,), (1338322425,), (1338322485,), (1338322575,), (1338322721,), (1338322725,), (1338322729,), (1338322731,), (1338322733,), (1338322753,), (1338322756,), (1338322759,), (1338322763,), (1338322766,), (1338322769,), (1338323435,), (1338323439,), (1338323443,), (1338323445,), (1338323448,), (1338323674,), (1338323677,), (1338323680,), (1338323684,), (1338323748,), (1338323752,), (1338323848,), (1338323859,), (1338323863,), (1338323866,), (1338323886,), (1338323889,), (1338323893,), (1338323897,), (1338323972,), (1338327767,), (1338336443,), (1338336479,), (1338336482,), (1338336485,), (1338336543,), (1338336590,), (1338336633,), (1338336745,), (1338336849,), (1338336942,), (1338337031,), (1338337088,), (1338337109,), (1338338909,), (1338339074,), (1338339133,), (1338339135,), (1338339136,), (1338339168,), (1338339170,), (1338339204,), (1338339205,), (1338339207,), (1338339209,), (1338339210,), (1338339237,), (1338339238,), (1338339240,), (1338339242,), (1338339245,), (1338339271,), (1338339272,), (1338339274,), (1338339298,), (1338339299,), (1338339301,), (1338339303,), (1338339304,), (1338339307,), (1338339332,), (1338339334,), (1338339423,), (1338339523,), (1338339617,), (1338339973,), (1338339978,), (1338340006,), (1338340008,), (1338340010,), (1338340013,), (1338340015,), (1338340016,), (1338340033,), (1338340035,), (1338340038,), (1338340041,), (1338340045,), (1338340083,), (1338340070,), (1338340075,), (1338340078,), (1338340080,), (1338340305,), (1338340306,), (1338340363,), (1338340365,), (1338340368,), (1338340370,), (1338340426,), (1338340429,), (1338340435,), (1338340440,), (1338340519,), (1338340522,), (1338340525,), (1338340561,), (1338340563,), (1338340566,), (1338340568,), (1338340618,), (1338340619,), (1338340622,), (1338340629,), (1338341646,), (1338341704,), (1338341796,), (1338341857,), (1338341947,), (1338342421,), (1338342440,), (1338342473,), (1338342495,), (1338342522,), (1338342523,), (1338342524,), (1338342526,), (1338342539,), (1338342565,), (1338342567,), (1338342578,), (1338342580,), (1338342581,), (1338342715,), (1338342785,), (1338342860,), (1338342880,), (1338342916,), (1338342918,), (1338342920,), (1338342921,), (1338342924,), (1338342927,), (1338342945,), (1338342947,), (1338342994,), (1338342998,), (1338343000,), (1338344096,), (1338343972,), (1338343973,), (1338343974,), (1338344091,), (1338344195,), (1338344196,), (1338344247,), (1338344248,), (1338344250,), (1338344252,), (1338344253,), (1338344325,), (1338344327,), (1338344328,), (1338344330,), (1338344333,), (1338344336,), (1338344354,), (1338344355,), (1338344357,), (1338344359,), (1338344387,), (1338344391,), (1338344397,), (1338344402,), (1338344405,), (1338344451,), (1338344455,), (1338344457,), (1338344459,), (1338344460,), (1338344487,), (1338344488,), (1338344490,), (1338344497,), (1338344505,), (1338344530,), (1338344533,), (1338344535,), (1338344564,), (1338344567,), (1338344571,), (1338344577,), (1338344583,), (1338344586,), (1338344630,), (1338344631,), (1338344633,), (1338344635,), (1338344638,), (1338344659,), (1338344660,), (1338344662,), (1338344664,), (1338344665,), (1338344715,), (1338344718,), (1338344742,), (1338344745,), (1338344755,), (1338344924,), (1338344780,), (1338344783,), (1338344785,), (1338344808,), (1338345004,), (1338345021,), (1338345023,), (1338345041,), (1338345045,), (1338345046,), (1338345086,), (1338345087,), (1338345089,), (1338345091,), (1338345131,), (1338345134,), (1338345136,), (1338345138,), (1338345140,), (1338345142,), (1338345157,), (1338345159,), (1338345161,), (1338345188,), (1338345197,), (1338345200,), (1338345201,), (1338345204,), (1338345236,), (1338345239,), (1338345242,), (1338345245,), (1338345247,), (1338345277,), (1338345283,), (1338345383,), (1338345425,), (1338345429,), (1338345450,), (1338345451,), (1338345485,), (1338345487,), (1338345489,), (1338345491,), (1338345494,), (1338345511,), (1338345515,), (1338345516,), (1338345518,), (1338345539,), (1338345541,), (1338345543,), (1338345545,), (1338345613,), (1338345627,), (1338345652,), (1338345662,), (1338345688,), (1338345718,), (1338345720,), (1338345723,), (1338345726,), (1338345729,), (1338345788,), (1338345777,), (1338345781,), (1338345784,), (1338345969,), (1338346371,), (1338346374,), (1338346377,), (1338346412,), (1338346414,), (1338346417,), (1338346420,), (1338346425,), (1338346458,), (1338346476,), (1338346679,), (1338346846,), (1338346986,), (1338347155,), (1338347157,), (1338347160,), (1338347163,), (1338347165,), (1338347272,), (1338347336,), (1338347395,), (1338347401,), (1338347405,), (1338347504,), (1338347507,), (1338347512,), (1338347517,), (1338347535,), (1338347547,), (1338347549,), (1338347573,), (1338347590,), (1338347597,), (1338347628,), (1338347630,), (1338347738,), (1338347741,), (1338347744,), (1338347748,), (1338347751,), (1338347820,), (1338347822,), (1338347825,), (1338347867,), (1338347880,), (1338347882,), (1338347885,), (1338347888,), (1338347890,), (1338347915,), (1338347917,), (1338347920,), (1338347943,), (1338347946,), (1338347949,), (1338347952,), (1338347954,), (1338347973,), (1338349314,), (1338349393,), (1338349394,), (1338349396,), (1338349566,), (1338349571,), (1338349573,), (1338349617,), (1338349620,), (1338349622,), (1338349624,), (1338349627,), (1338349640,), (1338349643,), (1338349646,), (1338349649,), (1338349653,), (1338349654,), (1338349665,), (1338349667,), (1338349669,), (1338349671,), (1338349674,), (1338349690,), (1338349691,), (1338349693,), (1338349727,), (1338349728,), (1338349734,), (1338349742,), (1338349759,), (1338349763,), (1338349827,), (1338349829,), (1338349831,), (1338349840,), (1338349844,), (1338349872,), (1338349933,), (1338349928,), (1338349929,), (1338349931,), (1338349956,), (1338349957,), (1338349959,), (1338349961,), (1338349987,), (1338349988,), (1338349990,), (1338349992,), (1338349994,), (1338350322,), (1338350323,), (1338350325,), (1338350327,), (1338350350,), (1338350351,), (1338350353,), (1338350355,), (1338350376,), (1338350383,), (1338350387,), (1338350389,), (1338350451,), (1338350453,), (1338350468,), (1338350472,), (1338350538,), (1338350541,), (1338350578,), (1338350657,), (1338350660,), (1338350683,), (1338350688,), (1338350692,), (1338350696,), (1338350812,), (1338350815,), (1338350822,), (1338350824,), (1338350992,), (1338350998,), (1338351004,), (1338351015,), (1338351027,), (1338351087,), (1338351074,), (1338351077,), (1338351080,), (1338351083,), (1338351109,), (1338351112,), (1338351115,), (1338351117,), (1338351128,), (1338351151,), (1338351198,), (1338351244,), (1338351259,), (1338351715,), (1338351793,), (1338351986,), (1338352078,), (1338352081,), (1338352255,), (1338352263,), (1338352267,), (1338352359,), (1338352362,), (1338352390,), (1338352392,), (1338352396,), (1338352425,), (1338352427,), (1338352433,), (1338352436,), (1338352466,), (1338352467,), (1338352471,), (1338352572,), (1338352576,), (1338352581,), (1338352642,), (1338352649,), (1338352652,), (1338352689,), (1338352694,), (1338352697,), (1338352699,), (1338352709,), (1338352713,), (1338352771,), (1338352773,), (1338352776,), (1338352779,), (1338352784,), (1338352795,), (1338352883,), (1338352886,), (1338352889,), (1338352893,), (1338353031,), (1338352977,), (1338352980,), (1338352982,), (1338352984,), (1338353096,), (1338353104,), (1338353114,), (1338353128,), (1338353136,), (1338353317,), (1338353384,), (1338353387,), (1338353390,), (1338353439,), (1338353441,), (1338353463,), (1338353468,), (1338353482,), (1338353576,), (1338353579,), (1338353630,), (1338353637,), (1338353641,), (1338353642,), (1338353725,), (1338353727,), (1338353730,), (1338353955,), (1338354179,), (1338355074,), (1338355175,), (1338355179,), (1338355205,), (1338355208,), (1338355211,), (1338355256,), (1338355260,), (1338355274,), (1338355283,), (1338355287,), (1338355290,), (1338355347,), (1338355348,), (1338355350,), (1338355351,), (1338355411,), (1338356399,), (1338356392,), (1338356394,), (1338356397,), (1338356418,), (1338356422,), (1338356425,), (1338356428,), (1338356432,), (1338356453,), (1338356458,), (1338356462,), (1338356682,), (1338356685,), (1338356711,), (1338356719,), (1338356723,), (1338356726,), (1338356729,), (1338356732,), (1338356778,), (1338356786,), (1338356792,), (1338356825,), (1338356829,), (1338356833,), (1338356835,), (1338356852,), (1338356855,), (1338356857,), (1338356865,), (1338356913,), (1338356916,), (1338356919,), (1338356923,), (1338356943,), (1338356946,), (1338356953,), (1338356961,), (1338356965,), (1338356991,), (1338356994,), (1338356998,), (1338357006,), (1338357014,), (1338357042,), (1338357045,), (1338357053,), (1338357059,), (1338357096,), (1338357085,), (1338357088,), (1338357308,), (1338357311,), (1338357315,), (1338357319,), (1338357321,), (1338357324,), (1338357364,), (1338357368,), (1338357372,), (1338357400,), (1338357403,), (1338357406,), (1338357413,), (1338357418,), (1338357449,), (1338357454,), (1338357457,), (1338357489,), (1338357492,), (1338357495,), (1338357545,), (1338357550,), (1338357552,), (1338357816,), (1338358354,), (1338358343,), (1338358346,), (1338358349,), (1338358352,), (1338358371,), (1338359576,), (1338359579,), (1338359582,), (1338359735,), (1338359997,), (1338360001,), (1338360002,), (1338360005,), (1338360008,), (1338360012,), (1338360683,), (1338360932,), (1338360934,), (1338361005,), (1338361025,), (1338361150,), (1338361453,), (1338361461,), (1338361465,), (1338361468,), (1338361470,), (1338361498,), (1338361499,), (1338361502,), (1338361506,), (1338361508,), (1338361527,), (1338361530,), (1338361533,), (1338361574,), (1338361575,), (1338361578,), (1338361581,), (1338361585,), (1338361587,), (1338361613,), (1338361615,), (1338361618,), (1338361621,), (1338361633,), (1338361646,), (1338361647,), (1338361650,), (1338361653,), (1338361655,), (1338361658,), (1338361696,), (1338361697,), (1338361730,), (1338361743,), (1338361862,), (1338361856,), (1338361857,), (1338361859,), (1338361861,), (1338362142,), (1338362145,), (1338362147,), (1338362314,), (1338362317,), (1338362319,), (1338362339,), (1338362423,), (1338362519,), (1338362616,), (1338362621,), (1338362624,), (1338362626,), (1338362658,), (1338362660,), (1338362755,), (1338362784,), (1338362785,), (1338362789,), (1338362791,), (1338362973,), (1338362986,), (1338362987,), (1338362990,), (1338362992,), (1338363019,), (1338363041,), (1338363045,), (1338363047,), (1338363073,), (1338363102,), (1338363104,), (1338363106,), (1338363108,), (1338363130,), (1338363131,), (1338363133,), (1338363135,), (1338363139,), (1338363160,), (1338363163,), (1338363166,), (1338363167,), (1338363220,), (1338363221,), (1338363224,), (1338363286,), (1338363293,), (1338363296,), (1338363306,), (1338363309,), (1338363325,), (1338366640,), (1338366641,), (1338367309,), (1338367409,), (1338367504,), (1338367589,), (1338367791,), (1338367798,), (1338367815,), (1338367854,), (1338367855,), (1338367868,), (1338367913,), (1338367923,), (1338367924,), (1338367933,), (1338367935,), (1338367969,), (1338367971,), (1338367973,), (1338367996,), (1338367997,), (1338368000,), (1338368020,), (1338368042,), (1338368044,), (1338368048,), (1338368050,), (1338368069,), (1338368070,), (1338368072,), (1338368074,), (1338368097,), (1338370687,), (1338370229,), (1338370679,), (1338370684,), (1338370764,), (1338370766,), (1338370769,), (1338370783,), (1338371274,), (1338371310,), (1338371396,), (1338371388,), (1338371390,), (1338371419,), (1338371421,), (1338371424,), (1338371427,), (1338371429,), (1338371438,), (1338371709,), (1338371800,), (1338371803,), (1338371830,), (1338371943,), (1338371944,), (1338371948,), (1338371950,), (1338371978,), (1338371980,), (1338371983,), (1338371988,), (1338372009,), (1338372018,), (1338372127,), (1338372130,), (1338372133,), (1338372134,), (1338372289,), (1338372332,), (1338372377,), (1338372790,), (1338372799,), (1338372804,), (1338372810,), (1338372815,), (1338372832,), (1338372841,), (1338372844,), (1338372849,), (1338372851,), (1338372871,), (1338372873,), (1338372881,), (1338372885,), (1338372921,), (1338372923,), (1338372926,), (1338372928,), (1338372964,), (1338372966,), (1338372969,), (1338372971,), (1338372973,), (1338373116,), (1338373120,), (1338373124,), (1338373129,), (1338373148,), (1338373166,), (1338373168,), (1338373173,), (1338373194,), (1338373189,), (1338373192,), (1338373218,), (1338373219,), (1338373220,), (1338373222,), (1338373227,), (1338373237,), (1338373255,), (1338373256,), (1338373258,), (1338373284,), (1338373440,), (1338373782,), (1338373825,), (1338373847,), (1338373895,), (1338373909,), (1338373912,), (1338373927,), (1338373932,), (1338373934,), (1338373951,), (1338373953,), (1338373961,), (1338373966,), (1338373993,), (1338373997,), (1338374001,), (1338374003,), (1338374030,), (1338374032,), (1338374035,), (1338374057,), (1338374061,), (1338374065,), (1338374088,), (1338374090,), (1338374094,), (1338374096,), (1338374102,), (1338374106,), (1338374119,), (1338374120,), (1338374122,), (1338374124,), (1338374179,), (1338374181,), (1338374183,), (1338374185,), (1338374213,), (1338374216,), (1338374219,), (1338374239,), (1338374253,), (1338374262,), (1338374265,), (1338374272,), (1338374299,), (1338374301,), (1338374303,), (1338374306,), (1338374331,), (1338374332,), (1338374335,), (1338374341,), (1338374357,), (1338374365,), (1338374554,), (1338374389,), (1338374391,), (1338374399,), (1338374738,), (1338374810,), (1338374825,), (1338374891,), (1338374899,), (1338374901,), (1338374903,), (1338374905,), (1338374907,), (1338374924,), (1338374925,), (1338374927,), (1338374929,), (1338374931,), (1338374973,), (1338374974,), (1338374976,), (1338374978,), (1338375024,), (1338375025,), (1338375027,), (1338375029,), (1338375031,), (1338375076,), (1338375077,), (1338375079,), (1338375084,), (1338375282,), (1338375283,), (1338375285,), (1338375383,), (1338375385,), (1338376295,), (1338376208,), (1338376264,), (1338376265,), (1338376288,), (1338376291,), (1338376432,), (1338376433,), (1338376435,), (1338376437,), (1338376438,), (1338376634,), (1338376636,), (1338376638,), (1338376687,), (1338376689,), (1338376692,), (1338376729,), (1338376730,), (1338376733,), (1338376737,), (1338376739,), (1338376740,), (1338376758,), (1338376760,), (1338376762,), (1338376766,), (1338376784,), (1338376785,), (1338376787,), (1338376816,), (1338376820,), (1338376823,), (1338376826,), (1338376830,), (1338376871,), (1338376881,), (1338376883,), (1338376887,), (1338376895,), (1338376905,), (1338376929,), (1338376931,), (1338376933,), (1338376934,), (1338376937,), (1338376949,), (1338376989,), (1338376991,), (1338376994,), (1338377000,), (1338377038,), (1338377042,), (1338377045,), (1338377060,), (1338377079,), (1338377081,), (1338377083,), (1338377085,), (1338377089,), (1338377124,), (1338377116,), (1338377117,), (1338377151,), (1338377152,), (1338377159,), (1338377258,), (1338377465,), (1338377470,), (1338377472,), (1338377473,), (1338377475,), (1338377961,), (1338377966,), (1338377974,), (1338377982,), (1338377983,), (1338377985,), (1338378027,), (1338378031,), (1338378034,), (1338378039,), (1338378041,), (1338378061,), (1338378065,), (1338378069,), (1338378073,), (1338378076,), (1338378079,), (1338378116,), (1338378118,), (1338378121,), (1338378147,), (1338378157,), (1338378247,), (1338378248,), (1338378285,), (1338378286,), (1338378330,), (1338378332,), (1338378334,), (1338378336,), (1338378337,), (1338378339,), (1338378365,), (1338378366,), (1338378368,), (1338378370,), (1338378372,), (1338378374,), (1338378401,), (1338378402,), (1338378404,), (1338378439,), (1338378441,), (1338378443,), (1338378445,), (1338378447,), (1338378450,), (1338378461,), (1338378462,), (1338378464,), (1338378468,), (1338378474,), (1338378476,), (1338378510,), (1338378515,), (1338378518,), (1338378522,), (1338378540,), (1338378542,), (1338378567,), (1338378558,), (1338378560,), (1338378562,), (1338378564,), (1338378565,), (1338378581,), (1338378582,), (1338378585,), (1338378610,), (1338378611,), (1338378641,), (1338378660,), (1338379026,), (1338379045,), (1338379047,), (1338379049,), (1338379270,), (1338379286,), (1338379296,), (1338379298,), (1338379300,), (1338379310,), (1338379449,), (1338379453,), (1338379455,), (1338379457,), (1338379458,), (1338379473,), (1338379474,), (1338379476,), (1338379508,), (1338379509,), (1338379511,), (1338379750,), (1338379901,), (1338379902,), (1338379906,), (1338379954,), (1338379955,), (1338379968,), (1338379982,), (1338379996,), (1338379999,), (1338380002,), (1338380005,), (1338380007,), (1338380088,), (1338380089,), (1338380091,), (1338380209,), (1338380210,), (1338380211,), (1338380213,), (1338380215,), (1338380218,), (1338380323,), (1338380305,), (1338380310,), (1338380317,), (1338380322,), (1338380335,), (1338380339,), (1338380343,), (1338380356,), (1338380364,), (1338380387,), (1338380422,), (1338380495,), (1338380508,), (1338380512,), (1338380514,), (1338380549,), (1338380657,), (1338380770,), (1338381010,), (1338381178,), (1338381351,), (1338381353,), (1338381355,), (1338381357,), (1338381361,), (1338381403,), (1338381430,), (1338381431,), (1338381433,), (1338381436,), (1338381438,), (1338381441,), (1338381454,), (1338381457,), (1338381465,), (1338381471,), (1338381489,), (1338381490,), (1338381492,), (1338381494,), (1338381496,), (1338381504,), (1338381604,), (1338381697,), (1338381790,), (1338381883,), (1338381969,), (1338382199,), (1338382225,), (1338382227,), (1338382228,), (1338382230,), (1338382260,), (1338382261,), (1338382263,), (1338382265,), (1338382266,), (1338382268,), (1338382521,), (1338382522,), (1338382525,), (1338382531,), (1338382574,), (1338382578,), (1338382581,), (1338382583,), (1338382587,), (1338382591,), (1338382601,), (1338382602,), (1338382604,), (1338382607,), (1338382610,), (1338382627,), (1338382634,), (1338382642,), (1338382656,), (1338382737,), (1338382725,), (1338382728,), (1338382731,), (1338382734,), (1338382980,), (1338382981,), (1338382983,), (1338382989,), (1338382993,), (1338383463,), (1338383519,), (1338383528,), (1338383541,), (1338383542,), (1338383638,), (1338383640,), (1338383645,), (1338383648,), (1338383672,), (1338383673,), (1338383675,), (1338383678,), (1338383682,), (1338383768,), (1338383770,), (1338383775,), (1338383779,), (1338383982,), (1338384007,), (1338384021,), (1338384031,), (1338384039,), (1338384099,), (1338384101,), (1338384103,), (1338384104,), (1338384105,), (1338384111,), (1338384127,), (1338384128,), (1338384130,), (1338384152,), (1338384153,), (1338384155,), (1338384157,), (1338384159,), (1338384166,), (1338384167,), (1338384169,), (1338384171,), (1338386903,), (1338386837,), (1338386897,), (1338387109,), (1338387116,), (1338387193,), (1338387284,), (1338387286,), (1338387375,), (1338295452,), (1338295454,), (1338295524,), (1338295579,), (1338295632,), (1338295656,), (1338295708,), (1338295773,), (1338295775,), (1338295777,), (1338295779,), (1338295781,), (1338295783,), (1338296370,), (1338296372,), (1338296374,), (1338296376,), (1338296600,), (1338296602,), (1338296640,), (1338296644,), (1338296660,), (1338296662,), (1338296664,), (1338296666,), (1338296668,), (1338296670,), (1338296685,), (1338296688,), (1338296691,), (1338296694,), (1338296708,), (1338296710,), (1338296712,), (1338296715,), (1338296718,), (1338296730,), (1338296732,), (1338296734,), (1338296736,), (1338296739,), (1338296742,), (1338296759,), (1338296761,), (1338296763,), (1338296765,), (1338296781,), (1338296783,), (1338296785,), (1338296787,), (1338296789,), (1338296811,), (1338296812,), (1338296813,), (1338296831,), (1338296832,), (1338296833,), (1338296834,), (1338296836,), (1338296837,), (1338296853,), (1338296854,), (1338296855,), (1338296856,), (1338296858,), (1338296860,), (1338296877,), (1338296879,), (1338296880,), (1338296881,), (1338296907,), (1338296900,), (1338296901,), (1338296902,), (1338296903,), (1338296905,), (1338296924,), (1338296925,), (1338296927,), (1338296928,), (1338296943,), (1338296944,), (1338296945,), (1338296947,), (1338296950,), (1338296954,), (1338296970,), (1338296971,), (1338296973,), (1338296976,), (1338296978,), (1338296982,), (1338296997,), (1338296999,), (1338297001,), (1338297004,), (1338297007,), (1338297022,), (1338297024,), (1338297025,), (1338297026,), (1338297028,), (1338297030,), (1338297047,), (1338297048,), (1338297049,), (1338297050,), (1338297069,), (1338297070,), (1338297071,), (1338297072,), (1338297073,), (1338297075,), (1338297093,), (1338297094,), (1338297095,), (1338297096,), (1338297098,), (1338297100,), (1338297117,), (1338297118,), (1338297119,), (1338297120,), (1338297139,), (1338297140,), (1338297141,), (1338297142,), (1338297143,), (1338297145,), (1338297163,), (1338297164,), (1338297165,), (1338297166,), (1338297190,), (1338297192,), (1338297194,), (1338297196,), (1338297197,), (1338297199,), (1338297219,), (1338297220,), (1338297221,), (1338297222,), (1338297224,), (1338297225,), (1338297243,), (1338297244,), (1338297246,), (1338297283,), (1338297282,), (1338297302,), (1338297303,), (1338297304,), (1338297305,), (1338297328,), (1338297329,), (1338297331,), (1338297334,), (1338297337,), (1338297341,), (1338297353,), (1338297355,), (1338297357,), (1338297359,), (1338297374,), (1338297377,), (1338297378,), (1338297382,), (1338297397,), (1338297399,), (1338297400,), (1338297404,), (1338297406,), (1338297424,), (1338297428,), (1338297429,), (1338297432,), (1338297450,), (1338297453,), (1338297456,), (1338297458,), (1338297461,), (1338297475,), (1338297477,), (1338297479,), (1338297482,), (1338297485,), (1338297489,), (1338297498,), (1338297501,), (1338297518,), (1338297520,), (1338297522,), (1338297525,), (1338297543,), (1338297546,), (1338297549,), (1338297554,), (1338297557,), (1338297566,), (1338297571,), (1338297573,), (1338297576,), (1338297581,), (1338297591,), (1338297593,), (1338297597,), (1338297600,), (1338297631,), (1338297619,), (1338297621,), (1338297624,), (1338297626,), (1338297628,), (1338297643,), (1338297648,), (1338297651,), (1338297653,), (1338297666,), (1338297669,), (1338297672,), (1338297675,), (1338297678,), (1338297689,), (1338297692,), (1338297694,), (1338297696,), (1338297699,), (1338297704,), (1338297716,), (1338297719,), (1338297721,), (1338297738,), (1338297740,), (1338297742,), (1338297744,), (1338297745,), (1338297750,), (1338297762,), (1338297764,), (1338297766,), (1338297768,), (1338297770,), (1338297782,), (1338297789,), (1338297792,), (1338297798,), (1338297809,), (1338297811,), (1338297813,), (1338297815,), (1338297818,), (1338297822,), (1338297831,), (1338297834,), (1338297836,), (1338297837,), (1338297840,), (1338297845,), (1338297860,), (1338297862,), (1338297880,), (1338297881,), (1338297883,), (1338297884,), (1338297903,), (1338297904,), (1338297905,), (1338297907,), (1338297925,), (1338297929,), (1338297934,), (1338297946,), (1338297948,), (1338297951,), (1338297952,), (1338297954,), (1338297980,), (1338297958,), (1338297963,), (1338297967,), (1338297971,), (1338297976,), (1338297994,), (1338297998,), (1338298002,), (1338298025,), (1338298027,), (1338298031,), (1338298034,), (1338298039,), (1338298044,), (1338298057,), (1338298059,), (1338298061,), (1338298064,), (1338298067,), (1338298072,), (1338298089,), (1338298092,), (1338298095,), (1338298096,), (1338298119,), (1338298122,), (1338298125,), (1338298127,), (1338298130,), (1338298149,), (1338298151,), (1338298153,), (1338298155,), (1338298159,), (1338298180,), (1338298184,), (1338298186,), (1338298189,), (1338298191,), (1338298214,), (1338298217,), (1338298219,), (1338298222,), (1338298224,), (1338298229,), (1338298246,), (1338298251,), (1338298257,), (1338298262,), (1338298269,), (1338298277,), (1338298283,), (1338298285,), (1338298286,), (1338298292,), (1338298297,), (1338298306,), (1338298322,), (1338298325,), (1338298327,), (1338298329,), (1338298331,), (1338298336,), (1338298349,), (1338298355,), (1338298359,), (1338298364,), (1338298367,), (1338298369,), (1338298608,), (1338298612,), (1338298617,), (1338298621,), (1338298643,), (1338298647,), (1338298650,), (1338298653,), (1338298656,), (1338298660,), (1338298673,), (1338298677,), (1338298680,), (1338298684,), (1338298705,), (1338298709,), (1338298713,), (1338298716,), (1338298721,), (1338298726,), (1338298736,), (1338298740,), (1338298745,), (1338298748,), (1338298755,), (1338298768,), (1338298771,), (1338298797,), (1338298801,), (1338298803,), (1338298808,), (1338298811,), (1338298828,), (1338298831,), (1338298835,), (1338298840,), (1338298844,), (1338298861,), (1338298864,), (1338298867,), (1338298869,), (1338298902,), (1338298893,), (1338298898,), (1338298921,), (1338298930,), (1338298933,), (1338298936,), (1338298939,), (1338298943,), (1338298955,), (1338298958,), (1338298961,), (1338298964,), (1338298987,), (1338298993,), (1338298994,), (1338298999,), (1338299004,), (1338299009,), (1338299028,), (1338299033,), (1338299039,), (1338299045,), (1338299051,), (1338299054,), (1338299067,), (1338299071,), (1338299100,), (1338299103,), (1338299130,), (1338299134,), (1338299136,), (1338299140,), (1338299143,), (1338299162,), (1338299198,), (1338299264,), (1338299268,), (1338299272,), (1338299276,), (1338299280,), (1338299306,), (1338299310,), (1338299315,), (1338299348,), (1338299353,), (1338299358,), (1338299363,), (1338299369,), (1338299401,), (1338299391,), (1338299395,), (1338299398,), (1338299429,), (1338299433,), (1338299438,), (1338299443,), (1338299448,), (1338299472,), (1338299475,), (1338299477,), (1338299480,), (1338299513,), (1338299517,), (1338299522,), (1338299526,), (1338299529,), (1338299558,), (1338299564,), (1338299569,), (1338299575,), (1338299582,), (1338299587,), (1338299606,), (1338299610,), (1338299615,), (1338299620,), (1338299648,), (1338299652,), (1338299656,), (1338299660,), (1338299692,), (1338299697,), (1338299702,), (1338299706,), (1338299709,), (1338299739,), (1338299742,), (1338299746,), (1338299750,), (1338299787,), (1338299791,), (1338299795,), (1338299799,), (1338299803,), (1338299806,), (1338299832,), (1338299837,), (1338299874,), (1338299878,), (1338300010,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'18022025': {'nb_upload': 42, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20658013]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1338298902, 1338298869, 1338298867, 1338298864, 1338298861, 1338298844, 1338298840, 1338298835, 1338298831, 1338298828, 1338298811, 1338298808, 1338298803, 1338298801, 1338298797, 1338298771, 1338298768, 1338298755, 1338298748, 1338298745, 1338298740, 1338298736, 1338298726, 1338298721, 1338298716, 1338298713, 1338298709, 1338298705, 1338298684, 1338298680, 1338298677, 1338298673, 1338298660, 1338298656, 1338298653, 1338298650, 1338298647, 1338298643, 1338298621, 1338298617, 1338298612, 1338298608] map_info['map_portfolio_photo'] : {20658013: [1338298902, 1338298869, 1338298867, 1338298864, 1338298861, 1338298844, 1338298840, 1338298835, 1338298831, 1338298828, 1338298811, 1338298808, 1338298803, 1338298801, 1338298797, 1338298771, 1338298768, 1338298755, 1338298748, 1338298745, 1338298740, 1338298736, 1338298726, 1338298721, 1338298716, 1338298713, 1338298709, 1338298705, 1338298684, 1338298680, 1338298677, 1338298673, 1338298660, 1338298656, 1338298653, 1338298650, 1338298647, 1338298643, 1338298621, 1338298617, 1338298612, 1338298608]} final : True mtd_id 4302 list_pids : [1338298902, 1338298869, 1338298867, 1338298864, 1338298861, 1338298844, 1338298840, 1338298835, 1338298831, 1338298828, 1338298811, 1338298808, 1338298803, 1338298801, 1338298797, 1338298771, 1338298768, 1338298755, 1338298748, 1338298745, 1338298740, 1338298736, 1338298726, 1338298721, 1338298716, 1338298713, 1338298709, 1338298705, 1338298684, 1338298680, 1338298677, 1338298673, 1338298660, 1338298656, 1338298653, 1338298650, 1338298647, 1338298643, 1338298621, 1338298617, 1338298612, 1338298608] Looping around the photos to save general results len do output : 1 /20658013Didn'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, '2598001') ('4302', '20658013', '1338298902', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298869', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298867', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298864', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298861', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298844', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298840', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298835', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298831', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298828', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298811', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298808', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298803', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298801', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298797', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298771', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298768', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298755', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298748', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298745', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298740', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298736', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298726', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298721', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298716', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298713', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298709', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298705', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298684', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298680', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298677', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298673', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298660', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298656', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298653', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298650', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298647', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298643', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298621', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298617', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298612', None, None, None, None, None, '2598001') ('4302', None, None, None, None, None, None, None, '2598001') ('4302', '20658013', '1338298608', None, None, None, None, None, '2598001') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 43 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, '20658013', 'None', None, None, None, None, '2598001'), ('4302', '20658013', '1338298902', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298869', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298867', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298864', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298861', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298844', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298840', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298835', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298831', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298828', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298811', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298808', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298803', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298801', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298797', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298771', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298768', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298755', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298748', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298745', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298740', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298736', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298726', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298721', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298716', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298713', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298709', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298705', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298684', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298680', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298677', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298673', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298660', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298656', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298653', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298650', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298647', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298643', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298621', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298617', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298612', None, None, None, None, None, '2598001'), ('4302', '20658013', '1338298608', None, None, None, None, None, '2598001')] time used for this insertion : 0.022901296615600586 save_final save missing photos in datou_result : time spend for datou_step_exec : 16.9499089717865 time spend to save output : 0.023305177688598633 total time spend for step 5 : 16.973214149475098 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 (2598001) 2.98user 2.65system 0:27.34elapsed 20%CPU (0avgtext+0avgdata 161928maxresident)k 680inputs+25944outputs (0major+74672minor)pagefaults 0swaps