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 : 2054753 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 (2711115) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2711115) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21929460 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2711115'] with mtr_portfolio_ids : ['21929460'] and first list_photo_ids : [] new path : /proc/2054753/ Name: python3 Umask: 0002 State: R (running) Tgid: 2054753 Ngid: 0 Pid: 2054753 PPid: 2054752 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2054753 NSpid: 2054753 NSpgid: 2053829 NSsid: 2053829 VmPeak: 1106928 kB VmSize: 1106928 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99396 kB VmRSS: 99396 kB RssAnon: 59764 kB RssFile: 39632 kB RssShmem: 0 kB VmData: 865676 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 624 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 40 nonvoluntary_ctxt_switches: 131 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2054753', 'Ngid': '0', 'Pid': '2054753', 'PPid': '2054752', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2054753', 'NSpid': '2054753', 'NSpgid': '2053829', 'NSsid': '2053829', 'VmPeak': '1106928 kB', 'VmSize': '1106928 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99396 kB', 'VmRSS': '99396 kB', 'RssAnon': '59764 kB', 'RssFile': '39632 kB', 'RssShmem': '0 kB', 'VmData': '865676 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '624 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '40', 'nonvoluntary_ctxt_switches': '131'} ('datou_batch_current', '2054753', '1106928', '0', '1106928', '865676', '99396', b'', 'marlene', '2711115') 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 (21929460) 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 (2711115 ) ) 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 (21929460) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1348963424, 'portfolio_id': 21929460}, {'photo_id': 1348963355, 'portfolio_id': 21929460}, {'photo_id': 1348963351, 'portfolio_id': 21929460}, {'photo_id': 1348963346, 'portfolio_id': 21929460}, {'photo_id': 1348963343, 'portfolio_id': 21929460}, {'photo_id': 1348963310, 'portfolio_id': 21929460}, {'photo_id': 1348963304, 'portfolio_id': 21929460}, {'photo_id': 1348963300, 'portfolio_id': 21929460}, {'photo_id': 1348963296, 'portfolio_id': 21929460}, {'photo_id': 1348963293, 'portfolio_id': 21929460}, {'photo_id': 1348963246, 'portfolio_id': 21929460}, {'photo_id': 1348963241, 'portfolio_id': 21929460}, {'photo_id': 1348963237, 'portfolio_id': 21929460}, {'photo_id': 1348963195, 'portfolio_id': 21929460}, {'photo_id': 1348963191, 'portfolio_id': 21929460}, {'photo_id': 1348963162, 'portfolio_id': 21929460}, {'photo_id': 1348963157, 'portfolio_id': 21929460}, {'photo_id': 1348963152, 'portfolio_id': 21929460}, {'photo_id': 1348963145, 'portfolio_id': 21929460}, {'photo_id': 1348963142, 'portfolio_id': 21929460}, {'photo_id': 1348963129, 'portfolio_id': 21929460}, {'photo_id': 1348963084, 'portfolio_id': 21929460}, {'photo_id': 1348963080, 'portfolio_id': 21929460}, {'photo_id': 1348963046, 'portfolio_id': 21929460}, {'photo_id': 1348963042, 'portfolio_id': 21929460}, {'photo_id': 1348963036, 'portfolio_id': 21929460}, {'photo_id': 1348963031, 'portfolio_id': 21929460}, {'photo_id': 1348963027, 'portfolio_id': 21929460}, {'photo_id': 1348962991, 'portfolio_id': 21929460}, {'photo_id': 1348962985, 'portfolio_id': 21929460}, {'photo_id': 1348962982, 'portfolio_id': 21929460}, {'photo_id': 1348962977, 'portfolio_id': 21929460}, {'photo_id': 1348962972, 'portfolio_id': 21929460}, {'photo_id': 1348962939, 'portfolio_id': 21929460}, {'photo_id': 1348962936, 'portfolio_id': 21929460}, {'photo_id': 1348962933, 'portfolio_id': 21929460}, {'photo_id': 1348962903, 'portfolio_id': 21929460}, {'photo_id': 1348962898, 'portfolio_id': 21929460}, {'photo_id': 1348962894, 'portfolio_id': 21929460}, {'photo_id': 1348962888, 'portfolio_id': 21929460}, {'photo_id': 1348962858, 'portfolio_id': 21929460}, {'photo_id': 1348962854, 'portfolio_id': 21929460}, {'photo_id': 1348962851, 'portfolio_id': 21929460}, {'photo_id': 1348962815, 'portfolio_id': 21929460}, {'photo_id': 1348962811, 'portfolio_id': 21929460}, {'photo_id': 1348962808, 'portfolio_id': 21929460}, {'photo_id': 1348962773, 'portfolio_id': 21929460}, {'photo_id': 1348962770, 'portfolio_id': 21929460}, {'photo_id': 1348962734, 'portfolio_id': 21929460}, {'photo_id': 1348962729, 'portfolio_id': 21929460}] map_portfolio_id_photo_id: {21929460: [1348963424, 1348963355, 1348963351, 1348963346, 1348963343, 1348963310, 1348963304, 1348963300, 1348963296, 1348963293, 1348963246, 1348963241, 1348963237, 1348963195, 1348963191, 1348963162, 1348963157, 1348963152, 1348963145, 1348963142, 1348963129, 1348963084, 1348963080, 1348963046, 1348963042, 1348963036, 1348963031, 1348963027, 1348962991, 1348962985, 1348962982, 1348962977, 1348962972, 1348962939, 1348962936, 1348962933, 1348962903, 1348962898, 1348962894, 1348962888, 1348962858, 1348962854, 1348962851, 1348962815, 1348962811, 1348962808, 1348962773, 1348962770, 1348962734, 1348962729]} ##### 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.01817607879638672 #### 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 Tue Apr 1 01:01:26 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21929460) 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 : 21929460 get user id for portfolio 21929460 get sub ptf for main ptf 21929460, type 3726 and hashtags ['Teint_Dans_La_Masse', 'autre_refus', 'Carton_gris', 'kraft', 'papier', 'cartonnette', 'environnement', 'plastique', 'Carton_brun', 'metal', 'mal_croppe', 'flou'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21929460 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','autre_refus','Carton_gris','kraft','papier','cartonnette','environnement','plastique','Carton_brun','metal','mal_croppe','flou')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21929460 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','autre_refus','Carton_gris','kraft','papier','cartonnette','environnement','plastique','Carton_brun','metal','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do To do query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__31032025_09_31_04_010143_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__31032025_09_31_04_010143_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__31032025_09_31_04_010143_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__31032025_09_31_04_010143_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__31032025_09_31_04_010143_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__31032025_09_31_04_010143_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__31032025_09_31_04_010143_3726_environnement_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__31032025_09_31_04_010143_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__31032025_09_31_04_010143_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__31032025_09_31_04_010143_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__31032025_09_31_04_010143_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__31032025_09_31_04_010143_3726_flou_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)[[21929460, 21929515, 3726, 0.5, 2107752385, 979], [21929460, 21929516, 3726, 0.5, 2107752406, 979], [21929460, 21929517, 3726, 0.5, 2107753020, 979], [21929460, 21929518, 3726, 0.5, 493202403, 979], [21929460, 21929519, 3726, 0.5, 492668766, 979], [21929460, 21929520, 3726, 0.5, 702398920, 979], [21929460, 21929521, 3726, 0.5, 493012381, 979], [21929460, 21929522, 3726, 0.5, 492725882, 979], [21929460, 21929523, 3726, 0.5, 2107753024, 979], [21929460, 21929524, 3726, 0.5, 492628673, 979], [21929460, 21929525, 3726, 0.5, 2107755527, 979], [21929460, 21929526, 3726, 0.5, 492777938, 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`=21929460 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','autre_refus','Carton_gris','kraft','papier','cartonnette','environnement','plastique','Carton_brun','metal','mal_croppe','flou')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21929460 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','autre_refus','Carton_gris','kraft','papier','cartonnette','environnement','plastique','Carton_brun','metal','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 21929460, 'sub_port_id': 21929515, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14434040, 'last_updated_at': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 1, 1, 27)}, 'autre_refus': {'main_port_id': 21929460, 'sub_port_id': 21929516, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14434041, 'last_updated_at': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 1, 1, 27)}, 'Carton_gris': {'main_port_id': 21929460, 'sub_port_id': 21929517, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14434042, 'last_updated_at': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 1, 1, 27)}, 'kraft': {'main_port_id': 21929460, 'sub_port_id': 21929518, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14434043, 'last_updated_at': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 1, 1, 27)}, 'papier': {'main_port_id': 21929460, 'sub_port_id': 21929519, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14434044, 'last_updated_at': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 1, 1, 27)}, 'cartonnette': {'main_port_id': 21929460, 'sub_port_id': 21929520, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14434045, 'last_updated_at': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 1, 1, 27)}, 'environnement': {'main_port_id': 21929460, 'sub_port_id': 21929521, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14434046, 'last_updated_at': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 1, 1, 27)}, 'plastique': {'main_port_id': 21929460, 'sub_port_id': 21929522, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14434047, 'last_updated_at': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 1, 1, 27)}, 'Carton_brun': {'main_port_id': 21929460, 'sub_port_id': 21929523, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14434048, 'last_updated_at': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 1, 1, 27)}, 'metal': {'main_port_id': 21929460, 'sub_port_id': 21929524, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14434049, 'last_updated_at': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 1, 1, 27)}, 'mal_croppe': {'main_port_id': 21929460, 'sub_port_id': 21929525, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14434050, 'last_updated_at': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 1, 1, 27)}, 'flou': {'main_port_id': 21929460, 'sub_port_id': 21929526, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14434051, 'last_updated_at': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 1, 1, 27)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21929515 , 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=21929460 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 (21929515) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21929460) result : ((1348962729,), (1348962734,), (1348962770,), (1348962773,), (1348962808,), (1348962811,), (1348962815,), (1348962851,), (1348962854,), (1348962858,), (1348962888,), (1348962894,), (1348962898,), (1348962903,), (1348962933,), (1348962936,), (1348962939,), (1348962972,), (1348962977,), (1348962982,), (1348962985,), (1348962991,), (1348963027,), (1348963031,), (1348963036,), (1348963042,), (1348963046,), (1348963080,), (1348963084,), (1348963129,), (1348963142,), (1348963145,), (1348963152,), (1348963157,), (1348963162,), (1348963191,), (1348963195,), (1348963237,), (1348963241,), (1348963246,), (1348963293,), (1348963296,), (1348963300,), (1348963304,), (1348963310,), (1348963343,), (1348963346,), (1348963351,), (1348963355,), (1348963424,)) 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 (1348963300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21929516 , 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=21929460 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 (21929516) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21929460) result : ((1348962729,), (1348962734,), (1348962770,), (1348962773,), (1348962808,), (1348962811,), (1348962815,), (1348962851,), (1348962854,), (1348962858,), (1348962888,), (1348962894,), (1348962898,), (1348962903,), (1348962933,), (1348962936,), (1348962939,), (1348962972,), (1348962977,), (1348962982,), (1348962985,), (1348962991,), (1348963027,), (1348963031,), (1348963036,), (1348963042,), (1348963046,), (1348963080,), (1348963084,), (1348963129,), (1348963142,), (1348963145,), (1348963152,), (1348963157,), (1348963162,), (1348963191,), (1348963195,), (1348963237,), (1348963241,), (1348963246,), (1348963293,), (1348963296,), (1348963300,), (1348963304,), (1348963310,), (1348963343,), (1348963346,), (1348963351,), (1348963355,), (1348963424,)) 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 (1348963300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21929517 , 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=21929460 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 (21929517) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21929460) result : ((1348962729,), (1348962734,), (1348962770,), (1348962773,), (1348962808,), (1348962811,), (1348962815,), (1348962851,), (1348962854,), (1348962858,), (1348962888,), (1348962894,), (1348962898,), (1348962903,), (1348962933,), (1348962936,), (1348962939,), (1348962972,), (1348962977,), (1348962982,), (1348962985,), (1348962991,), (1348963027,), (1348963031,), (1348963036,), (1348963042,), (1348963046,), (1348963080,), (1348963084,), (1348963129,), (1348963142,), (1348963145,), (1348963152,), (1348963157,), (1348963162,), (1348963191,), (1348963195,), (1348963237,), (1348963241,), (1348963246,), (1348963293,), (1348963296,), (1348963300,), (1348963304,), (1348963310,), (1348963343,), (1348963346,), (1348963351,), (1348963355,), (1348963424,)) 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 (1348963300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21929518 , 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=21929460 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 (21929518) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21929460) result : ((1348962729,), (1348962734,), (1348962770,), (1348962773,), (1348962808,), (1348962811,), (1348962815,), (1348962851,), (1348962854,), (1348962858,), (1348962888,), (1348962894,), (1348962898,), (1348962903,), (1348962933,), (1348962936,), (1348962939,), (1348962972,), (1348962977,), (1348962982,), (1348962985,), (1348962991,), (1348963027,), (1348963031,), (1348963036,), (1348963042,), (1348963046,), (1348963080,), (1348963084,), (1348963129,), (1348963142,), (1348963145,), (1348963152,), (1348963157,), (1348963162,), (1348963191,), (1348963195,), (1348963237,), (1348963241,), (1348963246,), (1348963293,), (1348963296,), (1348963300,), (1348963304,), (1348963310,), (1348963343,), (1348963346,), (1348963351,), (1348963355,), (1348963424,)) 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 (1348963300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21929519 , 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=21929460 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 (21929519) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21929460) result : ((1348962729,), (1348962734,), (1348962770,), (1348962773,), (1348962808,), (1348962811,), (1348962815,), (1348962851,), (1348962854,), (1348962858,), (1348962888,), (1348962894,), (1348962898,), (1348962903,), (1348962933,), (1348962936,), (1348962939,), (1348962972,), (1348962977,), (1348962982,), (1348962985,), (1348962991,), (1348963027,), (1348963031,), (1348963036,), (1348963042,), (1348963046,), (1348963080,), (1348963084,), (1348963129,), (1348963142,), (1348963145,), (1348963152,), (1348963157,), (1348963162,), (1348963191,), (1348963195,), (1348963237,), (1348963241,), (1348963246,), (1348963293,), (1348963296,), (1348963300,), (1348963304,), (1348963310,), (1348963343,), (1348963346,), (1348963351,), (1348963355,), (1348963424,)) 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 (1348963300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21929520 , 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=21929460 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 (21929520) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21929460) result : ((1348962729,), (1348962734,), (1348962770,), (1348962773,), (1348962808,), (1348962811,), (1348962815,), (1348962851,), (1348962854,), (1348962858,), (1348962888,), (1348962894,), (1348962898,), (1348962903,), (1348962933,), (1348962936,), (1348962939,), (1348962972,), (1348962977,), (1348962982,), (1348962985,), (1348962991,), (1348963027,), (1348963031,), (1348963036,), (1348963042,), (1348963046,), (1348963080,), (1348963084,), (1348963129,), (1348963142,), (1348963145,), (1348963152,), (1348963157,), (1348963162,), (1348963191,), (1348963195,), (1348963237,), (1348963241,), (1348963246,), (1348963293,), (1348963296,), (1348963300,), (1348963304,), (1348963310,), (1348963343,), (1348963346,), (1348963351,), (1348963355,), (1348963424,)) 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 (1348963300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21929521 , 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=21929460 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 (21929521) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21929460) result : ((1348962729,), (1348962734,), (1348962770,), (1348962773,), (1348962808,), (1348962811,), (1348962815,), (1348962851,), (1348962854,), (1348962858,), (1348962888,), (1348962894,), (1348962898,), (1348962903,), (1348962933,), (1348962936,), (1348962939,), (1348962972,), (1348962977,), (1348962982,), (1348962985,), (1348962991,), (1348963027,), (1348963031,), (1348963036,), (1348963042,), (1348963046,), (1348963080,), (1348963084,), (1348963129,), (1348963142,), (1348963145,), (1348963152,), (1348963157,), (1348963162,), (1348963191,), (1348963195,), (1348963237,), (1348963241,), (1348963246,), (1348963293,), (1348963296,), (1348963300,), (1348963304,), (1348963310,), (1348963343,), (1348963346,), (1348963351,), (1348963355,), (1348963424,)) 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 (1348963300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21929522 , 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=21929460 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 (21929522) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21929460) result : ((1348962729,), (1348962734,), (1348962770,), (1348962773,), (1348962808,), (1348962811,), (1348962815,), (1348962851,), (1348962854,), (1348962858,), (1348962888,), (1348962894,), (1348962898,), (1348962903,), (1348962933,), (1348962936,), (1348962939,), (1348962972,), (1348962977,), (1348962982,), (1348962985,), (1348962991,), (1348963027,), (1348963031,), (1348963036,), (1348963042,), (1348963046,), (1348963080,), (1348963084,), (1348963129,), (1348963142,), (1348963145,), (1348963152,), (1348963157,), (1348963162,), (1348963191,), (1348963195,), (1348963237,), (1348963241,), (1348963246,), (1348963293,), (1348963296,), (1348963300,), (1348963304,), (1348963310,), (1348963343,), (1348963346,), (1348963351,), (1348963355,), (1348963424,)) 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 (1348963300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21929523 , 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=21929460 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 (21929523) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21929460) result : ((1348962729,), (1348962734,), (1348962770,), (1348962773,), (1348962808,), (1348962811,), (1348962815,), (1348962851,), (1348962854,), (1348962858,), (1348962888,), (1348962894,), (1348962898,), (1348962903,), (1348962933,), (1348962936,), (1348962939,), (1348962972,), (1348962977,), (1348962982,), (1348962985,), (1348962991,), (1348963027,), (1348963031,), (1348963036,), (1348963042,), (1348963046,), (1348963080,), (1348963084,), (1348963129,), (1348963142,), (1348963145,), (1348963152,), (1348963157,), (1348963162,), (1348963191,), (1348963195,), (1348963237,), (1348963241,), (1348963246,), (1348963293,), (1348963296,), (1348963300,), (1348963304,), (1348963310,), (1348963343,), (1348963346,), (1348963351,), (1348963355,), (1348963424,)) 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 (1348963300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21929524 , 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=21929460 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 (21929524) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21929460) result : ((1348962729,), (1348962734,), (1348962770,), (1348962773,), (1348962808,), (1348962811,), (1348962815,), (1348962851,), (1348962854,), (1348962858,), (1348962888,), (1348962894,), (1348962898,), (1348962903,), (1348962933,), (1348962936,), (1348962939,), (1348962972,), (1348962977,), (1348962982,), (1348962985,), (1348962991,), (1348963027,), (1348963031,), (1348963036,), (1348963042,), (1348963046,), (1348963080,), (1348963084,), (1348963129,), (1348963142,), (1348963145,), (1348963152,), (1348963157,), (1348963162,), (1348963191,), (1348963195,), (1348963237,), (1348963241,), (1348963246,), (1348963293,), (1348963296,), (1348963300,), (1348963304,), (1348963310,), (1348963343,), (1348963346,), (1348963351,), (1348963355,), (1348963424,)) 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 (1348963300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21929525 , 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=21929460 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 (21929525) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21929460) result : ((1348962729,), (1348962734,), (1348962770,), (1348962773,), (1348962808,), (1348962811,), (1348962815,), (1348962851,), (1348962854,), (1348962858,), (1348962888,), (1348962894,), (1348962898,), (1348962903,), (1348962933,), (1348962936,), (1348962939,), (1348962972,), (1348962977,), (1348962982,), (1348962985,), (1348962991,), (1348963027,), (1348963031,), (1348963036,), (1348963042,), (1348963046,), (1348963080,), (1348963084,), (1348963129,), (1348963142,), (1348963145,), (1348963152,), (1348963157,), (1348963162,), (1348963191,), (1348963195,), (1348963237,), (1348963241,), (1348963246,), (1348963293,), (1348963296,), (1348963300,), (1348963304,), (1348963310,), (1348963343,), (1348963346,), (1348963351,), (1348963355,), (1348963424,)) 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 (1348963300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21929526 , 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=21929460 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 (21929526) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21929460) result : ((1348962729,), (1348962734,), (1348962770,), (1348962773,), (1348962808,), (1348962811,), (1348962815,), (1348962851,), (1348962854,), (1348962858,), (1348962888,), (1348962894,), (1348962898,), (1348962903,), (1348962933,), (1348962936,), (1348962939,), (1348962972,), (1348962977,), (1348962982,), (1348962985,), (1348962991,), (1348963027,), (1348963031,), (1348963036,), (1348963042,), (1348963046,), (1348963080,), (1348963084,), (1348963129,), (1348963142,), (1348963145,), (1348963152,), (1348963157,), (1348963162,), (1348963191,), (1348963195,), (1348963237,), (1348963241,), (1348963246,), (1348963293,), (1348963296,), (1348963300,), (1348963304,), (1348963310,), (1348963343,), (1348963346,), (1348963351,), (1348963355,), (1348963424,)) 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 (1348963300) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21929460 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','autre_refus','Carton_gris','kraft','papier','cartonnette','environnement','plastique','Carton_brun','metal','mal_croppe','flou')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21929460 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','autre_refus','Carton_gris','kraft','papier','cartonnette','environnement','plastique','Carton_brun','metal','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do To do query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__31032025_09_31_04_010143_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__31032025_09_31_04_010143_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__31032025_09_31_04_010143_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__31032025_09_31_04_010143_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__31032025_09_31_04_010143_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__31032025_09_31_04_010143_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__31032025_09_31_04_010143_4417_environnement_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__31032025_09_31_04_010143_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__31032025_09_31_04_010143_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__31032025_09_31_04_010143_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__31032025_09_31_04_010143_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__31032025_09_31_04_010143_4417_flou_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)[[21929460, 21929527, 4417, 0.5, 2107752385, 979], [21929460, 21929528, 4417, 0.5, 2107752406, 979], [21929460, 21929529, 4417, 0.5, 2107753020, 979], [21929460, 21929530, 4417, 0.5, 493202403, 979], [21929460, 21929531, 4417, 0.5, 492668766, 979], [21929460, 21929532, 4417, 0.5, 702398920, 979], [21929460, 21929533, 4417, 0.5, 493012381, 979], [21929460, 21929534, 4417, 0.5, 492725882, 979], [21929460, 21929535, 4417, 0.5, 2107753024, 979], [21929460, 21929536, 4417, 0.5, 492628673, 979], [21929460, 21929537, 4417, 0.5, 2107755527, 979], [21929460, 21929538, 4417, 0.5, 492777938, 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`=21929460 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','autre_refus','Carton_gris','kraft','papier','cartonnette','environnement','plastique','Carton_brun','metal','mal_croppe','flou')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21929460 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','autre_refus','Carton_gris','kraft','papier','cartonnette','environnement','plastique','Carton_brun','metal','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 21929460, 'sub_port_id': 21929527, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14434052, 'last_updated_at': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 1, 1, 27)}, 'autre_refus': {'main_port_id': 21929460, 'sub_port_id': 21929528, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14434053, 'last_updated_at': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 1, 1, 27)}, 'Carton_gris': {'main_port_id': 21929460, 'sub_port_id': 21929529, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14434054, 'last_updated_at': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 1, 1, 27)}, 'kraft': {'main_port_id': 21929460, 'sub_port_id': 21929530, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14434055, 'last_updated_at': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 1, 1, 27)}, 'papier': {'main_port_id': 21929460, 'sub_port_id': 21929531, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14434056, 'last_updated_at': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 1, 1, 27)}, 'cartonnette': {'main_port_id': 21929460, 'sub_port_id': 21929532, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14434057, 'last_updated_at': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 1, 1, 27)}, 'environnement': {'main_port_id': 21929460, 'sub_port_id': 21929533, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14434058, 'last_updated_at': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 1, 1, 27)}, 'plastique': {'main_port_id': 21929460, 'sub_port_id': 21929534, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14434059, 'last_updated_at': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 1, 1, 27)}, 'Carton_brun': {'main_port_id': 21929460, 'sub_port_id': 21929535, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14434060, 'last_updated_at': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 1, 1, 27)}, 'metal': {'main_port_id': 21929460, 'sub_port_id': 21929536, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14434061, 'last_updated_at': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 1, 1, 27)}, 'mal_croppe': {'main_port_id': 21929460, 'sub_port_id': 21929537, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14434062, 'last_updated_at': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 1, 1, 27)}, 'flou': {'main_port_id': 21929460, 'sub_port_id': 21929538, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14434063, 'last_updated_at': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 1, 1, 27), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 1, 1, 27)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21929527,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21929515 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21929528,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21929516 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21929529,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21929517 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21929530,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21929518 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21929531,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21929519 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21929532,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21929520 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21929533,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21929521 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21929534,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21929522 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21929535,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21929523 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21929536,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21929524 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21929537,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21929525 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21929538,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21929526 lien utilise dans velours : https://www.fotonower.com/velours/21929527,21929528,21929529,21929530,21929531,21929532,21929533,21929534,21929535,21929536,21929537,21929538?tags=Teint_Dans_La_Masse,autre_refus,Carton_gris,kraft,papier,cartonnette,environnement,plastique,Carton_brun,metal,mal_croppe,flou After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21929460]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1348963424, 1348963355, 1348963351, 1348963346, 1348963343, 1348963310, 1348963304, 1348963300, 1348963296, 1348963293, 1348963246, 1348963241, 1348963237, 1348963195, 1348963191, 1348963162, 1348963157, 1348963152, 1348963145, 1348963142, 1348963129, 1348963084, 1348963080, 1348963046, 1348963042, 1348963036, 1348963031, 1348963027, 1348962991, 1348962985, 1348962982, 1348962977, 1348962972, 1348962939, 1348962936, 1348962933, 1348962903, 1348962898, 1348962894, 1348962888, 1348962858, 1348962854, 1348962851, 1348962815, 1348962811, 1348962808, 1348962773, 1348962770, 1348962734, 1348962729] map_info['map_portfolio_photo'] : {21929460: [1348963424, 1348963355, 1348963351, 1348963346, 1348963343, 1348963310, 1348963304, 1348963300, 1348963296, 1348963293, 1348963246, 1348963241, 1348963237, 1348963195, 1348963191, 1348963162, 1348963157, 1348963152, 1348963145, 1348963142, 1348963129, 1348963084, 1348963080, 1348963046, 1348963042, 1348963036, 1348963031, 1348963027, 1348962991, 1348962985, 1348962982, 1348962977, 1348962972, 1348962939, 1348962936, 1348962933, 1348962903, 1348962898, 1348962894, 1348962888, 1348962858, 1348962854, 1348962851, 1348962815, 1348962811, 1348962808, 1348962773, 1348962770, 1348962734, 1348962729]} final : False mtd_id 4302 list_pids : [1348963424, 1348963355, 1348963351, 1348963346, 1348963343, 1348963310, 1348963304, 1348963300, 1348963296, 1348963293, 1348963246, 1348963241, 1348963237, 1348963195, 1348963191, 1348963162, 1348963157, 1348963152, 1348963145, 1348963142, 1348963129, 1348963084, 1348963080, 1348963046, 1348963042, 1348963036, 1348963031, 1348963027, 1348962991, 1348962985, 1348962982, 1348962977, 1348962972, 1348962939, 1348962936, 1348962933, 1348962903, 1348962898, 1348962894, 1348962888, 1348962858, 1348962854, 1348962851, 1348962815, 1348962811, 1348962808, 1348962773, 1348962770, 1348962734, 1348962729] Looping around the photos to save general results len do output : 1 /21929460. 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, '2711115') ('4302', '21929460', '1348963424', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963355', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963351', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963346', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963343', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963310', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963304', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963300', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963296', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963293', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963246', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963241', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963237', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963195', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963191', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963162', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963157', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963152', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963145', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963142', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963129', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963084', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963080', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963046', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963042', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963036', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963031', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963027', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962991', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962985', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962982', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962977', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962972', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962939', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962936', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962933', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962903', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962898', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962894', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962888', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962858', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962854', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962851', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962815', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962811', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962808', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962773', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962770', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962734', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962729', None, None, None, None, None, '2711115') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 51 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, '21929460', "{'Teint_Dans_La_Masse': 21929515, 'autre_refus': 21929516, 'Carton_gris': 21929517, 'kraft': 21929518, 'papier': 21929519, 'cartonnette': 21929520, 'environnement': 21929521, 'plastique': 21929522, 'Carton_brun': 21929523, 'metal': 21929524, 'mal_croppe': 21929525, 'flou': 21929526}", None, None, None, None, '2711115'), ('4302', '21929460', '1348963424', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963355', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963351', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963346', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963343', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963310', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963304', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963300', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963296', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963293', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963246', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963241', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963237', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963195', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963191', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963162', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963157', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963152', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963145', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963142', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963129', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963084', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963080', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963046', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963042', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963036', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963031', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963027', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962991', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962985', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962982', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962977', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962972', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962939', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962936', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962933', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962903', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962898', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962894', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962888', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962858', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962854', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962851', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962815', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962811', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962808', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962773', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962770', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962734', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962729', None, None, None, None, None, '2711115')] time used for this insertion : 0.028437137603759766 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.3513760566711426 time spend to save output : 0.029041051864624023 total time spend for step 1 : 1.3804171085357666 step2:final Tue Apr 1 01:01:27 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 (21929460) 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 21929460 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1348962734,1348962729,1348962773,1348962770,1348962815,1348962811,1348962808,1348962858,1348962854,1348962851,1348962903,1348962898,1348962894,1348962888,1348962939,1348962936,1348962933,1348962991,1348962985,1348962982,1348962977,1348962972,1348963046,1348963042,1348963036,1348963031,1348963027,1348963084,1348963080,1348963162,1348963157,1348963129,1348963152,1348963145,1348963142,1348963195,1348963191,1348963246,1348963241,1348963237,1348963310,1348963304,1348963300,1348963296,1348963293,1348963355,1348963351,1348963346,1348963343,1348963424); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21929460]) Inside saveOutput : final : False verbose : True original output for save of step final : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} new output for save of step final : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} [1348963424, 1348963355, 1348963351, 1348963346, 1348963343, 1348963310, 1348963304, 1348963300, 1348963296, 1348963293, 1348963246, 1348963241, 1348963237, 1348963195, 1348963191, 1348963162, 1348963157, 1348963152, 1348963145, 1348963142, 1348963129, 1348963084, 1348963080, 1348963046, 1348963042, 1348963036, 1348963031, 1348963027, 1348962991, 1348962985, 1348962982, 1348962977, 1348962972, 1348962939, 1348962936, 1348962933, 1348962903, 1348962898, 1348962894, 1348962888, 1348962858, 1348962854, 1348962851, 1348962815, 1348962811, 1348962808, 1348962773, 1348962770, 1348962734, 1348962729] map_info['map_portfolio_photo'] : {21929460: [1348963424, 1348963355, 1348963351, 1348963346, 1348963343, 1348963310, 1348963304, 1348963300, 1348963296, 1348963293, 1348963246, 1348963241, 1348963237, 1348963195, 1348963191, 1348963162, 1348963157, 1348963152, 1348963145, 1348963142, 1348963129, 1348963084, 1348963080, 1348963046, 1348963042, 1348963036, 1348963031, 1348963027, 1348962991, 1348962985, 1348962982, 1348962977, 1348962972, 1348962939, 1348962936, 1348962933, 1348962903, 1348962898, 1348962894, 1348962888, 1348962858, 1348962854, 1348962851, 1348962815, 1348962811, 1348962808, 1348962773, 1348962770, 1348962734, 1348962729]} final : False mtd_id 4302 list_pids : [1348963424, 1348963355, 1348963351, 1348963346, 1348963343, 1348963310, 1348963304, 1348963300, 1348963296, 1348963293, 1348963246, 1348963241, 1348963237, 1348963195, 1348963191, 1348963162, 1348963157, 1348963152, 1348963145, 1348963142, 1348963129, 1348963084, 1348963080, 1348963046, 1348963042, 1348963036, 1348963031, 1348963027, 1348962991, 1348962985, 1348962982, 1348962977, 1348962972, 1348962939, 1348962936, 1348962933, 1348962903, 1348962898, 1348962894, 1348962888, 1348962858, 1348962854, 1348962851, 1348962815, 1348962811, 1348962808, 1348962773, 1348962770, 1348962734, 1348962729] Looping around the photos to save general results len do output : 50 /1348963424.Didn't retrieve data . /1348963355.Didn't retrieve data . /1348963351.Didn't retrieve data . /1348963346.Didn't retrieve data . /1348963343.Didn't retrieve data . /1348963310.Didn't retrieve data . /1348963304.Didn't retrieve data . /1348963300.Didn't retrieve data . /1348963296.Didn't retrieve data . /1348963293.Didn't retrieve data . /1348963246.Didn't retrieve data . /1348963241.Didn't retrieve data . /1348963237.Didn't retrieve data . /1348963195.Didn't retrieve data . /1348963191.Didn't retrieve data . /1348963162.Didn't retrieve data . /1348963157.Didn't retrieve data . /1348963152.Didn't retrieve data . /1348963145.Didn't retrieve data . /1348963142.Didn't retrieve data . /1348963129.Didn't retrieve data . /1348963084.Didn't retrieve data . /1348963080.Didn't retrieve data . /1348963046.Didn't retrieve data . /1348963042.Didn't retrieve data . /1348963036.Didn't retrieve data . /1348963031.Didn't retrieve data . /1348963027.Didn't retrieve data . /1348962991.Didn't retrieve data . /1348962985.Didn't retrieve data . /1348962982.Didn't retrieve data . /1348962977.Didn't retrieve data . /1348962972.Didn't retrieve data . /1348962939.Didn't retrieve data . /1348962936.Didn't retrieve data . /1348962933.Didn't retrieve data . /1348962903.Didn't retrieve data . /1348962898.Didn't retrieve data . /1348962894.Didn't retrieve data . /1348962888.Didn't retrieve data . /1348962858.Didn't retrieve data . /1348962854.Didn't retrieve data . /1348962851.Didn't retrieve data . /1348962815.Didn't retrieve data . /1348962811.Didn't retrieve data . /1348962808.Didn't retrieve data . /1348962773.Didn't retrieve data . /1348962770.Didn't retrieve data . /1348962734.Didn't retrieve data . /1348962729.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, '2711115') ('4302', '21929460', '1348963424', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963355', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963351', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963346', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963343', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963310', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963304', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963300', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963296', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963293', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963246', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963241', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963237', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963195', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963191', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963162', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963157', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963152', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963145', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963142', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963129', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963084', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963080', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963046', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963042', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963036', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963031', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963027', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962991', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962985', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962982', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962977', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962972', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962939', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962936', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962933', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962903', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962898', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962894', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962888', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962858', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962854', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962851', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962815', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962811', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962808', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962773', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962770', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962734', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962729', None, None, None, None, None, '2711115') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 150 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', '21929460', '1348963424', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963355', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963351', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963346', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963343', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963310', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963304', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963300', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963296', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963293', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963246', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963241', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963237', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963195', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963191', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963162', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963157', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963152', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963145', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963142', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963129', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963084', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963080', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963046', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963042', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963036', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963031', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348963027', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348962991', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348962985', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348962982', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348962977', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348962972', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348962939', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348962936', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348962933', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348962903', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348962898', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348962894', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348962888', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348962858', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348962854', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348962851', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348962815', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348962811', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348962808', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348962773', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348962770', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348962734', '0.0', None, None, None, None, '2711115'), ('4302', '21929460', '1348962729', '0.0', None, None, None, None, '2711115')] time used for this insertion : 0.0232546329498291 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.022043704986572266 time spend to save output : 0.02480173110961914 total time spend for step 2 : 0.046845436096191406 step3:velours_tree Tue Apr 1 01:01:27 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 : {21929460: [{'Teint_Dans_La_Masse': 21929515, 'autre_refus': 21929516, 'Carton_gris': 21929517, 'kraft': 21929518, 'papier': 21929519, 'cartonnette': 21929520, 'environnement': 21929521, 'plastique': 21929522, 'Carton_brun': 21929523, 'metal': 21929524, 'mal_croppe': 21929525, 'flou': 21929526}]} input_args_next_step : {21929460: ()} output_args : {21929460: [{'Teint_Dans_La_Masse': 21929515, 'autre_refus': 21929516, 'Carton_gris': 21929517, 'kraft': 21929518, 'papier': 21929519, 'cartonnette': 21929520, 'environnement': 21929521, 'plastique': 21929522, 'Carton_brun': 21929523, 'metal': 21929524, 'mal_croppe': 21929525, 'flou': 21929526}]} args : 21929460 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Teint_Dans_La_Masse': 21929515, 'autre_refus': 21929516, 'Carton_gris': 21929517, 'kraft': 21929518, 'papier': 21929519, 'cartonnette': 21929520, 'environnement': 21929521, 'plastique': 21929522, 'Carton_brun': 21929523, 'metal': 21929524, 'mal_croppe': 21929525, 'flou': 21929526},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21929460) 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([21929460]) 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.361208438873291 time spend to save output : 4.267692565917969e-05 total time spend for step 3 : 0.3612511157989502 step4:send_mail_cod Tue Apr 1 01:01:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} input_args_next_step : {1348963424: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963424 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963355 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963351 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963346 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963343 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963310 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963304 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963300 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963296 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963293 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963246 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963241 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963237 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963195 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963191 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963162 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963157 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963152 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963145 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963142 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963129 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963084 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963080 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963046 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963042 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963036 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963031 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348963027 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348962991 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348962985 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348962982 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348962977 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348962972 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348962939 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348962936 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348962933 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348962903 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348962898 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348962894 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348962888 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348962858 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348962854 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348962851 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348962815 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348962811 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348962808 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348962773 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348962770 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348962734 depend.output_id : 0 input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ()} output_args : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',)} args : 1348962729 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 : {21929460: [{'Teint_Dans_La_Masse': 21929515, 'autre_refus': 21929516, 'Carton_gris': 21929517, 'kraft': 21929518, 'papier': 21929519, 'cartonnette': 21929520, 'environnement': 21929521, 'plastique': 21929522, 'Carton_brun': 21929523, 'metal': 21929524, 'mal_croppe': 21929525, 'flou': 21929526}]} input_args_next_step : {1348963424: ('0.0',), 1348963355: ('0.0',), 1348963351: ('0.0',), 1348963346: ('0.0',), 1348963343: ('0.0',), 1348963310: ('0.0',), 1348963304: ('0.0',), 1348963300: ('0.0',), 1348963296: ('0.0',), 1348963293: ('0.0',), 1348963246: ('0.0',), 1348963241: ('0.0',), 1348963237: ('0.0',), 1348963195: ('0.0',), 1348963191: ('0.0',), 1348963162: ('0.0',), 1348963157: ('0.0',), 1348963152: ('0.0',), 1348963145: ('0.0',), 1348963142: ('0.0',), 1348963129: ('0.0',), 1348963084: ('0.0',), 1348963080: ('0.0',), 1348963046: ('0.0',), 1348963042: ('0.0',), 1348963036: ('0.0',), 1348963031: ('0.0',), 1348963027: ('0.0',), 1348962991: ('0.0',), 1348962985: ('0.0',), 1348962982: ('0.0',), 1348962977: ('0.0',), 1348962972: ('0.0',), 1348962939: ('0.0',), 1348962936: ('0.0',), 1348962933: ('0.0',), 1348962903: ('0.0',), 1348962898: ('0.0',), 1348962894: ('0.0',), 1348962888: ('0.0',), 1348962858: ('0.0',), 1348962854: ('0.0',), 1348962851: ('0.0',), 1348962815: ('0.0',), 1348962811: ('0.0',), 1348962808: ('0.0',), 1348962773: ('0.0',), 1348962770: ('0.0',), 1348962734: ('0.0',), 1348962729: ('0.0',), 21929460: ()} output_args : {21929460: [{'Teint_Dans_La_Masse': 21929515, 'autre_refus': 21929516, 'Carton_gris': 21929517, 'kraft': 21929518, 'papier': 21929519, 'cartonnette': 21929520, 'environnement': 21929521, 'plastique': 21929522, 'Carton_brun': 21929523, 'metal': 21929524, 'mal_croppe': 21929525, 'flou': 21929526}]} args : 21929460 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 :51, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21929460) 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 (1348963424,1348963355,1348963351,1348963346,1348963343,1348963310,1348963304,1348963300,1348963296,1348963293,1348963246,1348963241,1348963237,1348963195,1348963191,1348963162,1348963157,1348963152,1348963145,1348963142,1348963129,1348963084,1348963080,1348963046,1348963042,1348963036,1348963031,1348963027,1348962991,1348962985,1348962982,1348962977,1348962972,1348962939,1348962936,1348962933,1348962903,1348962898,1348962894,1348962888,1348962858,1348962854,1348962851,1348962815,1348962811,1348962808,1348962773,1348962770,1348962734,1348962729) Found this number of photos: 50 ##### Call download_photos : nb_thread : 5 begin to download photo : 1348962729 begin to download photo : 1348962894 begin to download photo : 1348963027 begin to download photo : 1348963157 begin to download photo : 1348963310 download finish for photo 1348963310 begin to download photo : 1348963343 download finish for photo 1348963027 begin to download photo : 1348963031 download finish for photo 1348962894 begin to download photo : 1348962898 download finish for photo 1348963157 begin to download photo : 1348963162 download finish for photo 1348962729 begin to download photo : 1348962734 download finish for photo 1348963343 begin to download photo : 1348963346 download finish for photo 1348963162 begin to download photo : 1348963191 download finish for photo 1348963031 begin to download photo : 1348963036 download finish for photo 1348962734 begin to download photo : 1348962770 download finish for photo 1348962898 begin to download photo : 1348962903 download finish for photo 1348963346 begin to download photo : 1348963351 download finish for photo 1348963191 begin to download photo : 1348963195 download finish for photo 1348962770 begin to download photo : 1348962773 download finish for photo 1348963036 begin to download photo : 1348963042 download finish for photo 1348962903 begin to download photo : 1348962933 download finish for photo 1348963195 begin to download photo : 1348963237 download finish for photo 1348963351 begin to download photo : 1348963355 download finish for photo 1348962773 begin to download photo : 1348962808 download finish for photo 1348963237 begin to download photo : 1348963241 download finish for photo 1348962933 begin to download photo : 1348962936 download finish for photo 1348963355 begin to download photo : 1348963424 download finish for photo 1348962808 begin to download photo : 1348962811 download finish for photo 1348963042 begin to download photo : 1348963046 download finish for photo 1348962936 begin to download photo : 1348962939 download finish for photo 1348963241 begin to download photo : 1348963246 download finish for photo 1348962811 begin to download photo : 1348962815 download finish for photo 1348963424 download finish for photo 1348963046 begin to download photo : 1348963080 download finish for photo 1348962939 begin to download photo : 1348962972 download finish for photo 1348963246 begin to download photo : 1348963293 download finish for photo 1348962815 begin to download photo : 1348962851 download finish for photo 1348963080 begin to download photo : 1348963084 download finish for photo 1348963293 begin to download photo : 1348963296 download finish for photo 1348962972 begin to download photo : 1348962977 download finish for photo 1348962851 begin to download photo : 1348962854 download finish for photo 1348963084 begin to download photo : 1348963129 download finish for photo 1348963296 begin to download photo : 1348963300 download finish for photo 1348962977 begin to download photo : 1348962982 download finish for photo 1348962854 begin to download photo : 1348962858 download finish for photo 1348963300 begin to download photo : 1348963304 download finish for photo 1348963129 begin to download photo : 1348963142 download finish for photo 1348962982 begin to download photo : 1348962985 download finish for photo 1348963142 begin to download photo : 1348963145 download finish for photo 1348963304 download finish for photo 1348962858 begin to download photo : 1348962888 download finish for photo 1348962985 begin to download photo : 1348962991 download finish for photo 1348963145 begin to download photo : 1348963152 download finish for photo 1348962888 download finish for photo 1348962991 download finish for photo 1348963152 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette219295161743462090/ imagette219295181743462090/ imagette219295201743462090/ imagette219295221743462090/ imagette219295241743462090/ imagette219295251743462090/ imagette219295261743462090/ imagette219295151743462090/ imagette219295171743462090/ imagette219295231743462090/ length of list_filenames : 50 ; length of list_pids : 50 ; length of list_args : 50 results_Auto_P21929460_01-04-2025_01_01_30.pdf 21929516 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=21929516 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette219295161743462090 21929518 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=21929518 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette219295181743462090 21929520 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=21929520 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette219295201743462090 21929522 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=21929522 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette219295221743462090 21929524 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=21929524 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette219295241743462090 21929525 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=21929525 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette219295251743462090 21929526 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=21929526 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette219295261743462090 21929515 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=21929515 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette219295151743462090 21929517 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=21929517 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette219295171743462090 21929523 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=21929523 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette219295231743462090 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21929460 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21929527,21929528,21929529,21929530,21929531,21929532,21929533,21929534,21929535,21929536,21929537,21929538?tags=Teint_Dans_La_Masse,autre_refus,Carton_gris,kraft,papier,cartonnette,environnement,plastique,Carton_brun,metal,mal_croppe,flou your option no_mail is active, we will not send the real mail to your client args[1348963424] : ('0.0',) no score found for photo 1348963424 We are sending mail with results at report@fotonower.com args[1348963355] : ('0.0',) no score found for photo 1348963355 We are sending mail with results at report@fotonower.com args[1348963351] : ('0.0',) no score found for photo 1348963351 We are sending mail with results at report@fotonower.com args[1348963346] : ('0.0',) no score found for photo 1348963346 We are sending mail with results at report@fotonower.com args[1348963343] : ('0.0',) no score found for photo 1348963343 We are sending mail with results at report@fotonower.com args[1348963310] : ('0.0',) no score found for photo 1348963310 We are sending mail with results at report@fotonower.com args[1348963304] : ('0.0',) no score found for photo 1348963304 We are sending mail with results at report@fotonower.com args[1348963300] : ('0.0',) no score found for photo 1348963300 We are sending mail with results at report@fotonower.com args[1348963296] : ('0.0',) no score found for photo 1348963296 We are sending mail with results at report@fotonower.com args[1348963293] : ('0.0',) no score found for photo 1348963293 We are sending mail with results at report@fotonower.com args[1348963246] : ('0.0',) no score found for photo 1348963246 We are sending mail with results at report@fotonower.com args[1348963241] : ('0.0',) no score found for photo 1348963241 We are sending mail with results at report@fotonower.com args[1348963237] : ('0.0',) no score found for photo 1348963237 We are sending mail with results at report@fotonower.com args[1348963195] : ('0.0',) no score found for photo 1348963195 We are sending mail with results at report@fotonower.com args[1348963191] : ('0.0',) no score found for photo 1348963191 We are sending mail with results at report@fotonower.com args[1348963162] : ('0.0',) no score found for photo 1348963162 We are sending mail with results at report@fotonower.com args[1348963157] : ('0.0',) no score found for photo 1348963157 We are sending mail with results at report@fotonower.com args[1348963152] : ('0.0',) no score found for photo 1348963152 We are sending mail with results at report@fotonower.com args[1348963145] : ('0.0',) no score found for photo 1348963145 We are sending mail with results at report@fotonower.com args[1348963142] : ('0.0',) no score found for photo 1348963142 We are sending mail with results at report@fotonower.com args[1348963129] : ('0.0',) no score found for photo 1348963129 We are sending mail with results at report@fotonower.com args[1348963084] : ('0.0',) no score found for photo 1348963084 We are sending mail with results at report@fotonower.com args[1348963080] : ('0.0',) no score found for photo 1348963080 We are sending mail with results at report@fotonower.com args[1348963046] : ('0.0',) no score found for photo 1348963046 We are sending mail with results at report@fotonower.com args[1348963042] : ('0.0',) no score found for photo 1348963042 We are sending mail with results at report@fotonower.com args[1348963036] : ('0.0',) no score found for photo 1348963036 We are sending mail with results at report@fotonower.com args[1348963031] : ('0.0',) no score found for photo 1348963031 We are sending mail with results at report@fotonower.com args[1348963027] : ('0.0',) no score found for photo 1348963027 We are sending mail with results at report@fotonower.com args[1348962991] : ('0.0',) no score found for photo 1348962991 We are sending mail with results at report@fotonower.com args[1348962985] : ('0.0',) no score found for photo 1348962985 We are sending mail with results at report@fotonower.com args[1348962982] : ('0.0',) no score found for photo 1348962982 We are sending mail with results at report@fotonower.com args[1348962977] : ('0.0',) no score found for photo 1348962977 We are sending mail with results at report@fotonower.com args[1348962972] : ('0.0',) no score found for photo 1348962972 We are sending mail with results at report@fotonower.com args[1348962939] : ('0.0',) no score found for photo 1348962939 We are sending mail with results at report@fotonower.com args[1348962936] : ('0.0',) no score found for photo 1348962936 We are sending mail with results at report@fotonower.com args[1348962933] : ('0.0',) no score found for photo 1348962933 We are sending mail with results at report@fotonower.com args[1348962903] : ('0.0',) no score found for photo 1348962903 We are sending mail with results at report@fotonower.com args[1348962898] : ('0.0',) no score found for photo 1348962898 We are sending mail with results at report@fotonower.com args[1348962894] : ('0.0',) no score found for photo 1348962894 We are sending mail with results at report@fotonower.com args[1348962888] : ('0.0',) no score found for photo 1348962888 We are sending mail with results at report@fotonower.com args[1348962858] : ('0.0',) no score found for photo 1348962858 We are sending mail with results at report@fotonower.com args[1348962854] : ('0.0',) no score found for photo 1348962854 We are sending mail with results at report@fotonower.com args[1348962851] : ('0.0',) no score found for photo 1348962851 We are sending mail with results at report@fotonower.com args[1348962815] : ('0.0',) no score found for photo 1348962815 We are sending mail with results at report@fotonower.com args[1348962811] : ('0.0',) no score found for photo 1348962811 We are sending mail with results at report@fotonower.com args[1348962808] : ('0.0',) no score found for photo 1348962808 We are sending mail with results at report@fotonower.com args[1348962773] : ('0.0',) no score found for photo 1348962773 We are sending mail with results at report@fotonower.com args[1348962770] : ('0.0',) no score found for photo 1348962770 We are sending mail with results at report@fotonower.com args[1348962734] : ('0.0',) no score found for photo 1348962734 We are sending mail with results at report@fotonower.com args[1348962729] : ('0.0',) no score found for photo 1348962729 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=21929460 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_P21929460_01-04-2025_01_01_30.pdf results_Auto_P21929460_01-04-2025_01_01_30.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21929460_01-04-2025_01_01_30.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','21929460','results_Auto_P21929460_01-04-2025_01_01_30.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21929460_01-04-2025_01_01_30.pdf','pdf','','0.34','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21929460]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1348963424, 1348963355, 1348963351, 1348963346, 1348963343, 1348963310, 1348963304, 1348963300, 1348963296, 1348963293, 1348963246, 1348963241, 1348963237, 1348963195, 1348963191, 1348963162, 1348963157, 1348963152, 1348963145, 1348963142, 1348963129, 1348963084, 1348963080, 1348963046, 1348963042, 1348963036, 1348963031, 1348963027, 1348962991, 1348962985, 1348962982, 1348962977, 1348962972, 1348962939, 1348962936, 1348962933, 1348962903, 1348962898, 1348962894, 1348962888, 1348962858, 1348962854, 1348962851, 1348962815, 1348962811, 1348962808, 1348962773, 1348962770, 1348962734, 1348962729] map_info['map_portfolio_photo'] : {21929460: [1348963424, 1348963355, 1348963351, 1348963346, 1348963343, 1348963310, 1348963304, 1348963300, 1348963296, 1348963293, 1348963246, 1348963241, 1348963237, 1348963195, 1348963191, 1348963162, 1348963157, 1348963152, 1348963145, 1348963142, 1348963129, 1348963084, 1348963080, 1348963046, 1348963042, 1348963036, 1348963031, 1348963027, 1348962991, 1348962985, 1348962982, 1348962977, 1348962972, 1348962939, 1348962936, 1348962933, 1348962903, 1348962898, 1348962894, 1348962888, 1348962858, 1348962854, 1348962851, 1348962815, 1348962811, 1348962808, 1348962773, 1348962770, 1348962734, 1348962729]} final : False mtd_id 4302 list_pids : [1348963424, 1348963355, 1348963351, 1348963346, 1348963343, 1348963310, 1348963304, 1348963300, 1348963296, 1348963293, 1348963246, 1348963241, 1348963237, 1348963195, 1348963191, 1348963162, 1348963157, 1348963152, 1348963145, 1348963142, 1348963129, 1348963084, 1348963080, 1348963046, 1348963042, 1348963036, 1348963031, 1348963027, 1348962991, 1348962985, 1348962982, 1348962977, 1348962972, 1348962939, 1348962936, 1348962933, 1348962903, 1348962898, 1348962894, 1348962888, 1348962858, 1348962854, 1348962851, 1348962815, 1348962811, 1348962808, 1348962773, 1348962770, 1348962734, 1348962729] 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, '2711115') ('4302', '21929460', '1348963424', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963355', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963351', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963346', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963343', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963310', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963304', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963300', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963296', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963293', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963246', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963241', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963237', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963195', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963191', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963162', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963157', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963152', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963145', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963142', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963129', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963084', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963080', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963046', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963042', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963036', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963031', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963027', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962991', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962985', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962982', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962977', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962972', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962939', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962936', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962933', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962903', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962898', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962894', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962888', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962858', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962854', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962851', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962815', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962811', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962808', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962773', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962770', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962734', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962729', None, None, None, None, None, '2711115') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 50 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', '21929460', '1348963424', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963355', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963351', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963346', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963343', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963310', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963304', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963300', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963296', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963293', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963246', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963241', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963237', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963195', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963191', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963162', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963157', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963152', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963145', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963142', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963129', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963084', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963080', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963046', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963042', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963036', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963031', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963027', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962991', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962985', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962982', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962977', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962972', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962939', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962936', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962933', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962903', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962898', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962894', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962888', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962858', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962854', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962851', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962815', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962811', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962808', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962773', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962770', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962734', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962729', None, None, None, None, None, '2711115')] time used for this insertion : 1.9474060535430908 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.711772918701172 time spend to save output : 1.948009967803955 total time spend for step 4 : 6.659782886505127 step5:split_time_score Tue Apr 1 01:01:34 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 : ['21929460'] 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 : [('21929460',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21929460) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1348963310: {'path': 'temp/1743462088_2054753_1348963310_fb9e36ccb225ae1f3471c04ea27839a3.jpg', 'extension': 'jpg'}, 1348963343: {'path': 'temp/1743462088_2054753_1348963343_bbfcb4f99bf682bdd6c0e25fc854b785.jpg', 'extension': 'jpg'}, 1348963346: {'path': 'temp/1743462088_2054753_1348963346_30d7031a92baf818e4c6577a53a41c3b.jpg', 'extension': 'jpg'}, 1348963351: {'path': 'temp/1743462088_2054753_1348963351_9c87749d12c2eaa172bcb70ba94acd05.jpg', 'extension': 'jpg'}, 1348963355: {'path': 'temp/1743462088_2054753_1348963355_01362eee005c6acf266349040445ad17.jpg', 'extension': 'jpg'}, 1348963424: {'path': 'temp/1743462088_2054753_1348963424_21be96d296082f65324b7655a97cfc44.jpg', 'extension': 'jpg'}, 1348963157: {'path': 'temp/1743462088_2054753_1348963157_fb66eaf58ccc7bc507e9f95c154315b3.jpg', 'extension': 'jpg'}, 1348963162: {'path': 'temp/1743462088_2054753_1348963162_4b5066fbecee053d3a0bc2904c8eb207.jpg', 'extension': 'jpg'}, 1348963191: {'path': 'temp/1743462088_2054753_1348963191_c45340bc2962cf032ffacbc43fafc8a6.jpg', 'extension': 'jpg'}, 1348963195: {'path': 'temp/1743462088_2054753_1348963195_94f2eaa6b15d8e4cdf7e8c860c389a77.jpg', 'extension': 'jpg'}, 1348963237: {'path': 'temp/1743462088_2054753_1348963237_f39f369b994e448342115a7d0c4f2b40.jpg', 'extension': 'jpg'}, 1348963241: {'path': 'temp/1743462088_2054753_1348963241_60a81dad4d2293b705372fa5d804ccec.jpg', 'extension': 'jpg'}, 1348963246: {'path': 'temp/1743462088_2054753_1348963246_4e44f7ebd58ff54318970d86e14ac927.jpg', 'extension': 'jpg'}, 1348963293: {'path': 'temp/1743462088_2054753_1348963293_615c79701b11472d53308d07e1216538.jpg', 'extension': 'jpg'}, 1348963296: {'path': 'temp/1743462088_2054753_1348963296_5fb5ac210f3cf1d33958f1dbf88cdd5d.jpg', 'extension': 'jpg'}, 1348963300: {'path': 'temp/1743462088_2054753_1348963300_d152b837e7d1fea80ba46f3f35349267.jpg', 'extension': 'jpg'}, 1348963304: {'path': 'temp/1743462088_2054753_1348963304_9710ca51d2be58233b0444bf11f8dafc.jpg', 'extension': 'jpg'}, 1348962729: {'path': 'temp/1743462088_2054753_1348962729_c2239222e0aa79ead31af99873caff5c.jpg', 'extension': 'jpg'}, 1348962734: {'path': 'temp/1743462088_2054753_1348962734_653dc188b4b3d49d18294950103676ec.jpg', 'extension': 'jpg'}, 1348962770: {'path': 'temp/1743462088_2054753_1348962770_bed375fe3e9c95dc0df0311de42ef45f.jpg', 'extension': 'jpg'}, 1348962773: {'path': 'temp/1743462088_2054753_1348962773_31fcb7954bf80af5e2c4b08ea323fa31.jpg', 'extension': 'jpg'}, 1348962808: {'path': 'temp/1743462088_2054753_1348962808_56d2b67a435b6d500b1ac4f39a6b6a19.jpg', 'extension': 'jpg'}, 1348962811: {'path': 'temp/1743462088_2054753_1348962811_25d3bba126e76e245712733b711dfe87.jpg', 'extension': 'jpg'}, 1348962815: {'path': 'temp/1743462088_2054753_1348962815_77bc46406591db0f2358d6bd4ae618a7.jpg', 'extension': 'jpg'}, 1348962851: {'path': 'temp/1743462088_2054753_1348962851_2065fa2a2814d554ba75456e3c493644.jpg', 'extension': 'jpg'}, 1348962854: {'path': 'temp/1743462088_2054753_1348962854_c39a1b34890f680527d349e9b46b2189.jpg', 'extension': 'jpg'}, 1348962858: {'path': 'temp/1743462088_2054753_1348962858_ad3a957224fb11ad19171d7389f171a2.jpg', 'extension': 'jpg'}, 1348962888: {'path': 'temp/1743462088_2054753_1348962888_214e19b3e6af776d5291f1d80ec46d99.jpg', 'extension': 'jpg'}, 1348962894: {'path': 'temp/1743462088_2054753_1348962894_ffb29242da046d6ef9b7d8c6a5ad4f9f.jpg', 'extension': 'jpg'}, 1348962898: {'path': 'temp/1743462088_2054753_1348962898_df76e16b65f851edc32db802dbc0458d.jpg', 'extension': 'jpg'}, 1348962903: {'path': 'temp/1743462088_2054753_1348962903_e3a784cc0650bda54f641c662c93aa0d.jpg', 'extension': 'jpg'}, 1348962933: {'path': 'temp/1743462088_2054753_1348962933_719f5508fca2c37ec3581a27844efd4a.jpg', 'extension': 'jpg'}, 1348962936: {'path': 'temp/1743462088_2054753_1348962936_e5a8bc371984e153a0f287e5c97a7656.jpg', 'extension': 'jpg'}, 1348962939: {'path': 'temp/1743462088_2054753_1348962939_07b9a35d4eab18c4b370ac8de17e3a5e.jpg', 'extension': 'jpg'}, 1348962972: {'path': 'temp/1743462088_2054753_1348962972_24830e84e40d25e0896809c778c3d17d.jpg', 'extension': 'jpg'}, 1348962977: {'path': 'temp/1743462088_2054753_1348962977_75370949bbbb62501025001cee5c073e.jpg', 'extension': 'jpg'}, 1348962982: {'path': 'temp/1743462088_2054753_1348962982_7ed2264362f20803ff6aa7489c5cf84e.jpg', 'extension': 'jpg'}, 1348962985: {'path': 'temp/1743462088_2054753_1348962985_e59651589c979c1a3aedc8a99d3469fa.jpg', 'extension': 'jpg'}, 1348962991: {'path': 'temp/1743462088_2054753_1348962991_6e9183e0679bfa4df825679bb4224606.jpg', 'extension': 'jpg'}, 1348963027: {'path': 'temp/1743462088_2054753_1348963027_d8d897bfad59c6b3d079444d9bd78b1c.jpg', 'extension': 'jpg'}, 1348963031: {'path': 'temp/1743462088_2054753_1348963031_a893da90978a46ea320e2526860836ce.jpg', 'extension': 'jpg'}, 1348963036: {'path': 'temp/1743462088_2054753_1348963036_1a1e073e32b7a777334c752c223150fd.jpg', 'extension': 'jpg'}, 1348963042: {'path': 'temp/1743462088_2054753_1348963042_c0c21cc1637752033fdb85e397237e1d.jpg', 'extension': 'jpg'}, 1348963046: {'path': 'temp/1743462088_2054753_1348963046_f1f596b0228747e9594170307d0d7e6c.jpg', 'extension': 'jpg'}, 1348963080: {'path': 'temp/1743462088_2054753_1348963080_ca986225bafa882f90fb1253fb8de6a1.jpg', 'extension': 'jpg'}, 1348963084: {'path': 'temp/1743462088_2054753_1348963084_f691aa90361867e29c9eaed5d82b9fda.jpg', 'extension': 'jpg'}, 1348963129: {'path': 'temp/1743462088_2054753_1348963129_051822effa8e67644e24cf5bacb5caa3.jpg', 'extension': 'jpg'}, 1348963142: {'path': 'temp/1743462088_2054753_1348963142_fae5925b8a4170e8cdb2b2b97c7f276f.jpg', 'extension': 'jpg'}, 1348963145: {'path': 'temp/1743462088_2054753_1348963145_708f711110a9e1d8e925614a0af106ae.jpg', 'extension': 'jpg'}, 1348963152: {'path': 'temp/1743462088_2054753_1348963152_d899b47d64b218e3b3396d1709fdaf1f.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 = 21929460; (('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 = 21929460 group by h (('09', 50),) 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=21929460 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 (21929460) 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 (21929460) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 31032025 21929460 Nombre de photos uploadées : 50 / 23040 (0%) 31032025 21929460 Nombre de photos taguées (types de déchets): 0 / 50 (0%) 31032025 21929460 Nombre de photos taguées (volume) : 0 / 50 (0%) [{'photo_id': 1348962734, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/653dc188b4b3d49d18294950103676ec.jpg', 'username': None, 'uploaded_at': 1743406327, 'text': 'image_31032025_09_31_04_10143.jpg'}, {'photo_id': 1348962729, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/c2239222e0aa79ead31af99873caff5c.jpg', 'username': None, 'uploaded_at': 1743406327, 'text': 'image_31032025_09_31_44_10133.jpg'}, {'photo_id': 1348962773, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/31fcb7954bf80af5e2c4b08ea323fa31.jpg', 'username': None, 'uploaded_at': 1743406387, 'text': 'image_31032025_09_31_54_10135.jpg'}, {'photo_id': 1348962770, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/31/bed375fe3e9c95dc0df0311de42ef45f.jpg', 'username': None, 'uploaded_at': 1743406387, 'text': 'image_31032025_09_32_24_10135.jpg'}] 0 [] elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 8.106231689453125e-06 ?????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0021810531616210938 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21929460, '2025-03-31' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1702716,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02931809425354004 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= 1702716 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21894766, 'dashboard_result_id': 9774711, '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_P21894766_31-03-2025_05_46_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21894769, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21894770, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21894771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21894772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21894773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21894774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21894775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21894776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21894777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21894778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21894779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21894780, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21895072, 'dashboard_result_id': 9774712, '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_P21895072_31-03-2025_06_02_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21895074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21895075, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21895076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21895077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21895078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21895079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21895080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21895081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21895082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21895083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21895084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21895085, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21895527, 'dashboard_result_id': 9774713, '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_P21895527_31-03-2025_06_17_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21895531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21895532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21895533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21895534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21895535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21895536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21895537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21895538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21895539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21895540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21895541, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21895542, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21895913, 'dashboard_result_id': 9774714, '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_P21895913_31-03-2025_06_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21895940, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21895941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21895942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21895943, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21895944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21895945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21895946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21895947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21895948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21895949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21895950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21895951, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21896296, 'dashboard_result_id': 9774715, '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_P21896296_31-03-2025_06_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21896323, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21896324, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21896325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21896326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21896327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21896328, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21896329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21896330, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21896331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21896332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21896333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21896334, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21896727, 'dashboard_result_id': 9774716, '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_P21896727_31-03-2025_07_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21896730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21896731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21896732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21896733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21896734, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21896735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21896736, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21896737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21896738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21896739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21896740, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21896741, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21897245, 'dashboard_result_id': 9774717, '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_P21897245_31-03-2025_07_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21897277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21897278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21897279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21897280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21897281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21897282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21897283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21897284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21897285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21897286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21897287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21897288, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21897602, 'dashboard_result_id': 9774718, '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_P21897602_31-03-2025_07_33_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21897610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21897611, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21897612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21897613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21897614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21897615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21897616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21897617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21897618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21897619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21897620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21897621, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21898451, 'dashboard_result_id': 9774719, '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_P21898451_31-03-2025_07_49_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21898498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21898499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21898500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21898501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21898502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21898503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21898504, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21898505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21898506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21898507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21898508, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21898509, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21899135, 'dashboard_result_id': 9774720, '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_P21899135_31-03-2025_08_02_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21899162, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21899163, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21899164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21899165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21899166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21899167, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21899168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21899169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21899170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21899171, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21899172, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21899173, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21899830, 'dashboard_result_id': 9774721, '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_P21899830_31-03-2025_08_28_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21899858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21899859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21899860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21899861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21899862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21899863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21899864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21899865, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21899866, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21899867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21899868, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21899869, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21901031, 'dashboard_result_id': 9774722, '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_P21901031_01-04-2025_01_01_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21901034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21901036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901037, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901038, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901041, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901045, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21929460, 'dashboard_result_id': 9774723, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21929461, 'dashboard_result_id': 9774724, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21901310, 'dashboard_result_id': 9774725, '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_P21901310_31-03-2025_10_49_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21901400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901402, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901404, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901406, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901408, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901410, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21901411, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21901313, 'dashboard_result_id': 9774726, '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_P21901313_31-03-2025_10_49_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901392, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21901394, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21901395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901399, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21901316, 'dashboard_result_id': 9774727, '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_P21901316_31-03-2025_10_49_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21901328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901329, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901334, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21901335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901337, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901338, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21901611, 'dashboard_result_id': 9774728, '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_P21901611_31-03-2025_11_04_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901673, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21901675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901676, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901677, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21901678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901679, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901681, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901682, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901683, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901684, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21902723, 'dashboard_result_id': 9774729, '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_P21902723_31-03-2025_11_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21902792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21902793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21902794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21902795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21902796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21902797, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21902798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21902799, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21902800, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21902801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21902802, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21902803, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21904049, 'dashboard_result_id': 9774730, '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_P21904049_31-03-2025_11_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21904106, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21904107, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21904108, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21904109, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21904110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21904111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21904112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21904113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21904114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21904115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21904116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21904117, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21904764, 'dashboard_result_id': 9774731, '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_P21904764_31-03-2025_11_46_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21904766, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21904767, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21904768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21904769, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21904770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21904771, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21904772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21904773, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21904774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21904775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21904776, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21904777, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21905185, 'dashboard_result_id': 9774732, '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_P21905185_31-03-2025_12_03_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21905199, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21905200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21905201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21905202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21905203, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21905204, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21905205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21905206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21905207, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21905208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21905209, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21905210, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21905761, 'dashboard_result_id': 9774733, '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_P21905761_01-04-2025_01_01_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21905789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21905790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21905791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21905792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21905793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21905794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21905795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21905796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21905797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21905798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21905799, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21905800, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21907306, 'dashboard_result_id': 9774734, '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_P21907306_31-03-2025_13_46_43.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21907309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21907310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21907311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21907312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21907313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21907314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21907315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21907316, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21907317, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21907318, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21907319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21907320, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21907627, 'dashboard_result_id': 9774735, '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_P21907627_31-03-2025_14_05_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21907629, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21907630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21907631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21907632, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21907633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21907634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21907635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21907636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21907637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21907638, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21907639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21907640, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21908086, 'dashboard_result_id': 9774736, '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_P21908086_31-03-2025_14_17_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21908088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21908089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21908090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21908091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21908092, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21908093, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21908094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21908095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21908096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21908097, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21908098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21908099, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21908892, 'dashboard_result_id': 9774737, '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_P21908892_31-03-2025_14_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21908911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21908912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21908913, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21908914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21908915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21908916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21908917, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21908918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21908919, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21908920, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21908921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21908922, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21909447, 'dashboard_result_id': 9774738, '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_P21909447_31-03-2025_14_47_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21909451, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21909452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21909453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21909454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21909455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21909456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21909457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21909458, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21909459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21909460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21909461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21909462, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21910000, 'dashboard_result_id': 9774739, '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_P21910000_31-03-2025_15_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21910118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21910119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21910120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21910121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21910122, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21910123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21910124, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21910125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21910126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21910127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21910128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21910129, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21910689, 'dashboard_result_id': 9774740, '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_P21910689_31-03-2025_15_17_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21910733, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21910734, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21910735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21910736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21910737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21910738, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21910739, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21910740, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21910741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21910742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21910743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21910744, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21911420, 'dashboard_result_id': 9774741, '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_P21911420_31-03-2025_15_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21911427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21911428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21911429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21911430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21911431, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21911432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21911433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21911434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21911435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21911436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21911437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21911438, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21911861, 'dashboard_result_id': 9774742, '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_P21911861_31-03-2025_15_48_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21911935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21911936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21911937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21911938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21911939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21911940, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21911941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21911942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21911943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21911944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21911945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21911946, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21912622, 'dashboard_result_id': 9774743, '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_P21912622_31-03-2025_16_03_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21912627, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21912628, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21912629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21912630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21912631, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21912632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21912633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21912634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21912635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21912636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21912637, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21912638, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21913164, 'dashboard_result_id': 9774744, '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_P21913164_31-03-2025_16_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21913167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21913168, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21913169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21913170, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21913171, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21913172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21913173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21913174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21913175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21913176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21913177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21913178, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21913884, 'dashboard_result_id': 9774745, '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_P21913884_31-03-2025_16_33_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21913888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21913889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21913890, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21913891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21913892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21913893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21913894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21913895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21913896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21913897, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21913898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21913899, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21914431, 'dashboard_result_id': 9774746, '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_P21914431_31-03-2025_16_47_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21914461, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21914462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21914463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21914464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21914465, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21914466, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21914467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21914468, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21914469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21914470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21914471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21914472, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21915225, 'dashboard_result_id': 9774747, '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_P21915225_31-03-2025_17_03_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21915230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21915231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21915232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21915233, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21915234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21915235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21915236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21915237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21915238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21915239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21915240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21915241, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21915815, 'dashboard_result_id': 9774748, '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_P21915815_31-03-2025_17_16_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21915818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21915819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21915820, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21915821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21915822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21915823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21915824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21915825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21915826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21915827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21915828, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21915829, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21916470, 'dashboard_result_id': 9774749, '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_P21916470_31-03-2025_17_33_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21916473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21916474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21916475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21916476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21916477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21916478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21916479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21916480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21916481, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21916482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21916483, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21916484, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21917495, 'dashboard_result_id': 9774750, '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_P21917495_31-03-2025_18_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21917499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21917500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21917501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21917502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21917503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21917504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21917505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21917506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21917507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21917508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21917509, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21917510, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21918094, 'dashboard_result_id': 9774751, '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_P21918094_31-03-2025_18_33_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21918136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21918137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21918138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21918139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21918140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21918141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21918142, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21918143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21918144, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21918145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21918146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21918147, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21918550, 'dashboard_result_id': 9774752, '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_P21918550_31-03-2025_18_46_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21918621, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21918622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21918623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21918624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21918625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21918626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21918627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21918628, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21918630, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21918631, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21918632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21918633, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21919314, 'dashboard_result_id': 9774753, '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_P21919314_31-03-2025_19_12_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21919316, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21919317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21919318, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21919319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21919320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21919321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21919322, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21919323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21919324, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21919325, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21919326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21919327, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21919984, 'dashboard_result_id': 9774754, '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_P21919984_31-03-2025_19_19_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21920005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21920006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21920007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21920008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21920009, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21920010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21920011, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21920012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21920013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21920014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21920015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21920016, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21920157, 'dashboard_result_id': 9774755, '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_P21920157_31-03-2025_19_32_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21920160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21920161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21920162, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21920163, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21920164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21920165, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21920166, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21920167, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21920168, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21920169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21920170, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21920171, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21920706, 'dashboard_result_id': 9774756, '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_P21920706_31-03-2025_19_49_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21920710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21920711, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21920712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21920713, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21920714, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21920715, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21920716, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21920717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21920718, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21920719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21920720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21920721, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21921325, 'dashboard_result_id': 9774757, '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_P21921325_31-03-2025_20_02_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21921328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21921329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21921330, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21921331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21921332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21921333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21921334, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21921335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21921336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21921337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21921338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21921339, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21922020, 'dashboard_result_id': 9774758, '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_P21922020_31-03-2025_20_19_09.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21922024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21922025, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21922026, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21922027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21922028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21922029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21922030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21922031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21922032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21922033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21922034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21922035, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21922748, 'dashboard_result_id': 9774759, '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_P21922748_31-03-2025_20_33_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21922753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21922754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21922755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21922756, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21922757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21922758, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21922759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21922760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21922761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21922762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21922763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21922764, 'pht': 3726}}"}, {'dashboat_entry_day': 1702716, 'dashboard_run_id': 1713177, 'mtr_portfolio_id': 21923380, 'dashboard_result_id': 9774760, '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_P21923380_31-03-2025_21_06_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21923395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21923396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21923397, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21923398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21923399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21923400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21923401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21923402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21923403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21923404, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21923405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21923406, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21894766 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': 2707533, 'mtr_portfolio_id': 21894766, 'created_at': datetime.datetime(2025, 3, 31, 5, 46, 28), 'result': '0.04651116738950886', 'result_long': None, 'result_double': None}] Qualite : 0.04651116738950886 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21894766 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21894766_31-03-2025_05_46_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21894766 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_P21894766_31-03-2025_05_46_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21894769, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21894770, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21894771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21894772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21894773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21894774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21894775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21894776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21894777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21894778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21894779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21894780, 'pht': 3726}}" where mtr_portfolio_id = 21894766 and dashboard_run_id = 1713177 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`=21894766 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774711, 0.04651116738950886, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21894766_31-03-2025_05_46_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21894769, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21894770, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21894771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21894772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21894773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21894774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21894775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21894776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21894777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21894778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21894779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21894780, '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 = 21895072 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': 2707556, 'mtr_portfolio_id': 21895072, 'created_at': datetime.datetime(2025, 3, 31, 6, 2, 30), 'result': '0.06015366598297821', 'result_long': None, 'result_double': None}] Qualite : 0.06015366598297821 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21895072 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21895072_31-03-2025_06_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21895072 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_P21895072_31-03-2025_06_02_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21895074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21895075, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21895076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21895077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21895078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21895079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21895080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21895081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21895082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21895083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21895084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21895085, 'pht': 3726}}" where mtr_portfolio_id = 21895072 and dashboard_run_id = 1713177 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`=21895072 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774712, 0.06015366598297821, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21895072_31-03-2025_06_02_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21895074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21895075, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21895076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21895077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21895078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21895079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21895080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21895081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21895082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21895083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21895084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21895085, '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 = 21895527 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': 2707599, 'mtr_portfolio_id': 21895527, 'created_at': datetime.datetime(2025, 3, 31, 6, 16, 59), 'result': '0.05816836839600503', 'result_long': None, 'result_double': None}] Qualite : 0.05816836839600503 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21895527 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21895527_31-03-2025_06_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21895527 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_P21895527_31-03-2025_06_17_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21895531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21895532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21895533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21895534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21895535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21895536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21895537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21895538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21895539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21895540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21895541, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21895542, 'pht': 3726}}" where mtr_portfolio_id = 21895527 and dashboard_run_id = 1713177 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`=21895527 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774713, 0.05816836839600503, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21895527_31-03-2025_06_17_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21895531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21895532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21895533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21895534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21895535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21895536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21895537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21895538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21895539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21895540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21895541, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21895542, '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 = 21895913 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': 2707629, 'mtr_portfolio_id': 21895913, 'created_at': datetime.datetime(2025, 3, 31, 6, 32, 59), 'result': '0.055414999960161776', 'result_long': None, 'result_double': None}] Qualite : 0.055414999960161776 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21895913 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21895913_31-03-2025_06_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21895913 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_P21895913_31-03-2025_06_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21895940, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21895941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21895942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21895943, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21895944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21895945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21895946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21895947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21895948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21895949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21895950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21895951, 'pht': 3726}}" where mtr_portfolio_id = 21895913 and dashboard_run_id = 1713177 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`=21895913 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774714, 0.055414999960161776, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21895913_31-03-2025_06_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21895940, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21895941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21895942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21895943, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21895944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21895945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21895946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21895947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21895948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21895949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21895950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21895951, '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 = 21896296 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': 2707659, 'mtr_portfolio_id': 21896296, 'created_at': datetime.datetime(2025, 3, 31, 6, 48, 59), 'result': '0.05072503151039568', 'result_long': None, 'result_double': None}] Qualite : 0.05072503151039568 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21896296 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21896296_31-03-2025_06_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21896296 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_P21896296_31-03-2025_06_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21896323, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21896324, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21896325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21896326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21896327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21896328, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21896329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21896330, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21896331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21896332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21896333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21896334, 'pht': 3726}}" where mtr_portfolio_id = 21896296 and dashboard_run_id = 1713177 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`=21896296 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774715, 0.05072503151039568, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21896296_31-03-2025_06_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21896323, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21896324, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21896325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21896326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21896327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21896328, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21896329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21896330, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21896331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21896332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21896333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21896334, '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 = 21896727 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': 2707691, 'mtr_portfolio_id': 21896727, 'created_at': datetime.datetime(2025, 3, 31, 7, 2, 59), 'result': '0.04685553469612216', 'result_long': None, 'result_double': None}] Qualite : 0.04685553469612216 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21896727 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21896727_31-03-2025_07_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21896727 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_P21896727_31-03-2025_07_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21896730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21896731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21896732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21896733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21896734, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21896735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21896736, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21896737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21896738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21896739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21896740, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21896741, 'pht': 3726}}" where mtr_portfolio_id = 21896727 and dashboard_run_id = 1713177 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`=21896727 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774716, 0.04685553469612216, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21896727_31-03-2025_07_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21896730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21896731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21896732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21896733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21896734, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21896735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21896736, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21896737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21896738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21896739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21896740, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21896741, '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 = 21897245 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': 2707748, 'mtr_portfolio_id': 21897245, 'created_at': datetime.datetime(2025, 3, 31, 7, 32, 58), 'result': '0.033457148608079905', 'result_long': None, 'result_double': None}] Qualite : 0.033457148608079905 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21897245 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21897245_31-03-2025_07_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21897245 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_P21897245_31-03-2025_07_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21897277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21897278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21897279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21897280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21897281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21897282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21897283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21897284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21897285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21897286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21897287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21897288, 'pht': 3726}}" where mtr_portfolio_id = 21897245 and dashboard_run_id = 1713177 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`=21897245 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774717, 0.033457148608079905, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21897245_31-03-2025_07_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21897277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21897278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21897279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21897280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21897281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21897282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21897283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21897284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21897285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21897286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21897287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21897288, '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 = 21897602 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': 2707783, 'mtr_portfolio_id': 21897602, 'created_at': datetime.datetime(2025, 3, 31, 7, 33, 3), 'result': '0.04626413731483952', 'result_long': None, 'result_double': None}] Qualite : 0.04626413731483952 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21897602 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21897602_31-03-2025_07_33_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21897602 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_P21897602_31-03-2025_07_33_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21897610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21897611, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21897612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21897613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21897614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21897615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21897616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21897617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21897618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21897619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21897620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21897621, 'pht': 3726}}" where mtr_portfolio_id = 21897602 and dashboard_run_id = 1713177 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`=21897602 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774718, 0.04626413731483952, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21897602_31-03-2025_07_33_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21897610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21897611, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21897612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21897613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21897614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21897615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21897616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21897617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21897618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21897619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21897620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21897621, '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 = 21898451 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': 2707838, 'mtr_portfolio_id': 21898451, 'created_at': datetime.datetime(2025, 3, 31, 7, 49, 2), 'result': '0.043962513316538554', 'result_long': None, 'result_double': None}] Qualite : 0.043962513316538554 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21898451 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21898451_31-03-2025_07_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21898451 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_P21898451_31-03-2025_07_49_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21898498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21898499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21898500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21898501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21898502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21898503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21898504, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21898505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21898506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21898507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21898508, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21898509, 'pht': 3726}}" where mtr_portfolio_id = 21898451 and dashboard_run_id = 1713177 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`=21898451 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774719, 0.043962513316538554, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21898451_31-03-2025_07_49_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21898498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21898499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21898500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21898501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21898502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21898503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21898504, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21898505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21898506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21898507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21898508, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21898509, '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 = 21899135 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': 2707876, 'mtr_portfolio_id': 21899135, 'created_at': datetime.datetime(2025, 3, 31, 8, 2, 58), 'result': '0.0500926937161679', 'result_long': None, 'result_double': None}] Qualite : 0.0500926937161679 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21899135 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21899135_31-03-2025_08_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21899135 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_P21899135_31-03-2025_08_02_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21899162, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21899163, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21899164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21899165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21899166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21899167, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21899168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21899169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21899170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21899171, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21899172, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21899173, 'pht': 3726}}" where mtr_portfolio_id = 21899135 and dashboard_run_id = 1713177 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`=21899135 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774720, 0.0500926937161679, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21899135_31-03-2025_08_02_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21899162, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21899163, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21899164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21899165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21899166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21899167, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21899168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21899169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21899170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21899171, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21899172, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21899173, '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 = 21899830 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': 2707940, 'mtr_portfolio_id': 21899830, 'created_at': datetime.datetime(2025, 3, 31, 8, 28, 31), 'result': '0.04917407496109062', 'result_long': None, 'result_double': None}] Qualite : 0.04917407496109062 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21899830 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21899830_31-03-2025_08_28_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21899830 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_P21899830_31-03-2025_08_28_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21899858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21899859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21899860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21899861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21899862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21899863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21899864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21899865, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21899866, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21899867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21899868, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21899869, 'pht': 3726}}" where mtr_portfolio_id = 21899830 and dashboard_run_id = 1713177 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`=21899830 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774721, 0.04917407496109062, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21899830_31-03-2025_08_28_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21899858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21899859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21899860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21899861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21899862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21899863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21899864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21899865, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21899866, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21899867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21899868, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21899869, '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 = 21901031 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': 2708060, 'mtr_portfolio_id': 21901031, 'created_at': datetime.datetime(2025, 4, 1, 1, 1, 2), 'result': '0.05884572600962365', 'result_long': None, 'result_double': None}] Qualite : 0.05884572600962365 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21901031 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21901031_01-04-2025_01_01_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21901031 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_P21901031_01-04-2025_01_01_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21901034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21901036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901037, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901038, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901041, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901045, 'pht': 3726}}" where mtr_portfolio_id = 21901031 and dashboard_run_id = 1713177 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`=21901031 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774722, 0.05884572600962365, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21901031_01-04-2025_01_01_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21901034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21901036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901037, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901038, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901041, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901045, '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 = 21929460 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 = 21929460 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 = 21929460 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21929460 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 = 21929460 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 = 21929460 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21929460_01-04-2025_01_01_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21929460 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_P21929460_01-04-2025_01_01_30.pdf'}" where mtr_portfolio_id = 21929460 and dashboard_run_id = 1713177 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21929461 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 = 21929461 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 = 21929461 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21929461%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21929461 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 = 21929461 and dashboard_run_id = 1713177 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21901310 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 = 21901310 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 = 21901310 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21901310 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 = 21901310 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 = 21901310 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21901310_31-03-2025_10_49_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21901310 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_P21901310_31-03-2025_10_49_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21901400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901402, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901404, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901406, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901408, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901410, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21901411, 'pht': 3726}}" where mtr_portfolio_id = 21901310 and dashboard_run_id = 1713177 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21901313 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 = 21901313 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 = 21901313 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21901313 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 = 21901313 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 = 21901313 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21901313_31-03-2025_10_49_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21901313 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_P21901313_31-03-2025_10_49_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901392, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21901394, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21901395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901399, 'pht': 3726}}" where mtr_portfolio_id = 21901313 and dashboard_run_id = 1713177 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21901316 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 = 21901316 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 = 21901316 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21901316 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 = 21901316 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 = 21901316 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21901316_31-03-2025_10_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21901316 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_P21901316_31-03-2025_10_49_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21901328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901329, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901334, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21901335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901337, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901338, 'pht': 3726}}" where mtr_portfolio_id = 21901316 and dashboard_run_id = 1713177 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21901611 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': 2708196, 'mtr_portfolio_id': 21901611, 'created_at': datetime.datetime(2025, 3, 31, 11, 4, 57), 'result': '0.027437227852020955', 'result_long': None, 'result_double': None}] Qualite : 0.027437227852020955 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21901611 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21901611_31-03-2025_11_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21901611 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_P21901611_31-03-2025_11_04_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901673, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21901675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901676, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901677, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21901678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901679, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901681, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901682, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901683, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901684, 'pht': 3726}}" where mtr_portfolio_id = 21901611 and dashboard_run_id = 1713177 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`=21901611 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774728, 0.027437227852020955, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21901611_31-03-2025_11_04_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21901673, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21901674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21901675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21901676, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21901677, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21901678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21901679, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21901680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21901681, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21901682, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21901683, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21901684, '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 = 21902723 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': 2708383, 'mtr_portfolio_id': 21902723, 'created_at': datetime.datetime(2025, 3, 31, 11, 18, 59), 'result': '0.05526830409655477', 'result_long': None, 'result_double': None}] Qualite : 0.05526830409655477 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21902723 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21902723_31-03-2025_11_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21902723 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_P21902723_31-03-2025_11_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21902792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21902793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21902794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21902795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21902796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21902797, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21902798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21902799, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21902800, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21902801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21902802, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21902803, 'pht': 3726}}" where mtr_portfolio_id = 21902723 and dashboard_run_id = 1713177 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`=21902723 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774729, 0.05526830409655477, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21902723_31-03-2025_11_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21902792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21902793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21902794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21902795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21902796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21902797, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21902798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21902799, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21902800, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21902801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21902802, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21902803, '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 = 21904049 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': 2708508, 'mtr_portfolio_id': 21904049, 'created_at': datetime.datetime(2025, 3, 31, 11, 32, 58), 'result': '0.05922607044556936', 'result_long': None, 'result_double': None}] Qualite : 0.05922607044556936 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21904049 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21904049_31-03-2025_11_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21904049 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_P21904049_31-03-2025_11_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21904106, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21904107, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21904108, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21904109, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21904110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21904111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21904112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21904113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21904114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21904115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21904116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21904117, 'pht': 3726}}" where mtr_portfolio_id = 21904049 and dashboard_run_id = 1713177 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`=21904049 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774730, 0.05922607044556936, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21904049_31-03-2025_11_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21904106, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21904107, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21904108, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21904109, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21904110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21904111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21904112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21904113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21904114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21904115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21904116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21904117, '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 = 21904764 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': 2708591, 'mtr_portfolio_id': 21904764, 'created_at': datetime.datetime(2025, 3, 31, 11, 46, 58), 'result': '0.040890135111659134', 'result_long': None, 'result_double': None}] Qualite : 0.040890135111659134 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21904764 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21904764_31-03-2025_11_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21904764 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_P21904764_31-03-2025_11_46_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21904766, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21904767, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21904768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21904769, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21904770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21904771, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21904772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21904773, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21904774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21904775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21904776, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21904777, 'pht': 3726}}" where mtr_portfolio_id = 21904764 and dashboard_run_id = 1713177 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`=21904764 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774731, 0.040890135111659134, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21904764_31-03-2025_11_46_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21904766, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21904767, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21904768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21904769, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21904770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21904771, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21904772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21904773, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21904774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21904775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21904776, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21904777, '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 = 21905185 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': 2708623, 'mtr_portfolio_id': 21905185, 'created_at': datetime.datetime(2025, 3, 31, 12, 3, 1), 'result': '0.04535504526441637', 'result_long': None, 'result_double': None}] Qualite : 0.04535504526441637 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21905185 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21905185_31-03-2025_12_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21905185 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_P21905185_31-03-2025_12_03_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21905199, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21905200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21905201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21905202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21905203, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21905204, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21905205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21905206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21905207, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21905208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21905209, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21905210, 'pht': 3726}}" where mtr_portfolio_id = 21905185 and dashboard_run_id = 1713177 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`=21905185 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774732, 0.04535504526441637, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21905185_31-03-2025_12_03_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21905199, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21905200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21905201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21905202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21905203, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21905204, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21905205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21905206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21905207, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21905208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21905209, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21905210, '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 = 21905761 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': 2708690, 'mtr_portfolio_id': 21905761, 'created_at': datetime.datetime(2025, 4, 1, 1, 1, 1), 'result': '0.027481713240955677', 'result_long': None, 'result_double': None}] Qualite : 0.027481713240955677 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21905761 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21905761_01-04-2025_01_01_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21905761 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_P21905761_01-04-2025_01_01_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21905789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21905790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21905791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21905792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21905793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21905794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21905795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21905796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21905797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21905798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21905799, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21905800, 'pht': 3726}}" where mtr_portfolio_id = 21905761 and dashboard_run_id = 1713177 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`=21905761 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774733, 0.027481713240955677, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21905761_01-04-2025_01_01_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21905789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21905790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21905791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21905792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21905793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21905794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21905795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21905796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21905797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21905798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21905799, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21905800, '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 = 21907306 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': 2708971, 'mtr_portfolio_id': 21907306, 'created_at': datetime.datetime(2025, 3, 31, 13, 46, 37), 'result': '0.0510025409211988', 'result_long': None, 'result_double': None}] Qualite : 0.0510025409211988 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21907306 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21907306_31-03-2025_13_46_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21907306 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_P21907306_31-03-2025_13_46_43.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21907309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21907310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21907311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21907312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21907313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21907314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21907315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21907316, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21907317, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21907318, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21907319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21907320, 'pht': 3726}}" where mtr_portfolio_id = 21907306 and dashboard_run_id = 1713177 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`=21907306 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774734, 0.0510025409211988, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21907306_31-03-2025_13_46_43.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21907309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21907310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21907311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21907312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21907313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21907314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21907315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21907316, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21907317, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21907318, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21907319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21907320, '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 = 21907627 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': 2708999, 'mtr_portfolio_id': 21907627, 'created_at': datetime.datetime(2025, 3, 31, 14, 5, 31), 'result': '0.07949287031517037', 'result_long': None, 'result_double': None}] Qualite : 0.07949287031517037 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21907627 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21907627_31-03-2025_14_05_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21907627 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_P21907627_31-03-2025_14_05_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21907629, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21907630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21907631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21907632, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21907633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21907634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21907635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21907636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21907637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21907638, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21907639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21907640, 'pht': 3726}}" where mtr_portfolio_id = 21907627 and dashboard_run_id = 1713177 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`=21907627 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774735, 0.07949287031517037, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21907627_31-03-2025_14_05_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21907629, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21907630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21907631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21907632, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21907633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21907634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21907635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21907636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21907637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21907638, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21907639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21907640, '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 = 21908086 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': 2709061, 'mtr_portfolio_id': 21908086, 'created_at': datetime.datetime(2025, 3, 31, 14, 17, 1), 'result': '0.03995046359869548', 'result_long': None, 'result_double': None}] Qualite : 0.03995046359869548 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21908086 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21908086_31-03-2025_14_17_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21908086 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_P21908086_31-03-2025_14_17_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21908088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21908089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21908090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21908091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21908092, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21908093, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21908094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21908095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21908096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21908097, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21908098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21908099, 'pht': 3726}}" where mtr_portfolio_id = 21908086 and dashboard_run_id = 1713177 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`=21908086 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774736, 0.03995046359869548, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21908086_31-03-2025_14_17_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21908088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21908089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21908090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21908091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21908092, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21908093, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21908094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21908095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21908096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21908097, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21908098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21908099, '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 = 21908892 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': 2709111, 'mtr_portfolio_id': 21908892, 'created_at': datetime.datetime(2025, 3, 31, 14, 33), 'result': '0.042700684942732686', 'result_long': None, 'result_double': None}] Qualite : 0.042700684942732686 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21908892 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21908892_31-03-2025_14_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21908892 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_P21908892_31-03-2025_14_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21908911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21908912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21908913, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21908914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21908915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21908916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21908917, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21908918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21908919, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21908920, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21908921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21908922, 'pht': 3726}}" where mtr_portfolio_id = 21908892 and dashboard_run_id = 1713177 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`=21908892 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774737, 0.042700684942732686, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21908892_31-03-2025_14_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21908911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21908912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21908913, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21908914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21908915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21908916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21908917, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21908918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21908919, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21908920, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21908921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21908922, '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 = 21909447 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': 2709164, 'mtr_portfolio_id': 21909447, 'created_at': datetime.datetime(2025, 3, 31, 14, 47, 1), 'result': '0.04225638340611619', 'result_long': None, 'result_double': None}] Qualite : 0.04225638340611619 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21909447 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21909447_31-03-2025_14_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21909447 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_P21909447_31-03-2025_14_47_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21909451, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21909452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21909453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21909454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21909455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21909456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21909457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21909458, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21909459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21909460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21909461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21909462, 'pht': 3726}}" where mtr_portfolio_id = 21909447 and dashboard_run_id = 1713177 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`=21909447 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774738, 0.04225638340611619, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21909447_31-03-2025_14_47_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21909451, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21909452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21909453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21909454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21909455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21909456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21909457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21909458, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21909459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21909460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21909461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21909462, '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 = 21910000 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': 2709211, 'mtr_portfolio_id': 21910000, 'created_at': datetime.datetime(2025, 3, 31, 15, 2, 59), 'result': '0.032644247813827756', 'result_long': None, 'result_double': None}] Qualite : 0.032644247813827756 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21910000 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21910000_31-03-2025_15_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21910000 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_P21910000_31-03-2025_15_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21910118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21910119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21910120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21910121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21910122, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21910123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21910124, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21910125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21910126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21910127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21910128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21910129, 'pht': 3726}}" where mtr_portfolio_id = 21910000 and dashboard_run_id = 1713177 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`=21910000 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774739, 0.032644247813827756, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21910000_31-03-2025_15_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21910118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21910119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21910120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21910121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21910122, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21910123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21910124, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21910125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21910126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21910127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21910128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21910129, '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 = 21910689 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': 2709277, 'mtr_portfolio_id': 21910689, 'created_at': datetime.datetime(2025, 3, 31, 15, 17, 33), 'result': '0.031122794138091547', 'result_long': None, 'result_double': None}] Qualite : 0.031122794138091547 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21910689 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21910689_31-03-2025_15_17_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21910689 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_P21910689_31-03-2025_15_17_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21910733, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21910734, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21910735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21910736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21910737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21910738, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21910739, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21910740, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21910741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21910742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21910743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21910744, 'pht': 3726}}" where mtr_portfolio_id = 21910689 and dashboard_run_id = 1713177 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`=21910689 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774740, 0.031122794138091547, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21910689_31-03-2025_15_17_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21910733, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21910734, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21910735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21910736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21910737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21910738, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21910739, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21910740, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21910741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21910742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21910743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21910744, '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 = 21911420 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': 2709323, 'mtr_portfolio_id': 21911420, 'created_at': datetime.datetime(2025, 3, 31, 15, 32, 58), 'result': '0.056611714205457374', 'result_long': None, 'result_double': None}] Qualite : 0.056611714205457374 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21911420 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21911420_31-03-2025_15_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21911420 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_P21911420_31-03-2025_15_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21911427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21911428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21911429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21911430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21911431, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21911432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21911433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21911434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21911435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21911436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21911437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21911438, 'pht': 3726}}" where mtr_portfolio_id = 21911420 and dashboard_run_id = 1713177 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`=21911420 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774741, 0.056611714205457374, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21911420_31-03-2025_15_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21911427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21911428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21911429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21911430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21911431, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21911432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21911433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21911434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21911435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21911436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21911437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21911438, '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 = 21911861 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': 2709418, 'mtr_portfolio_id': 21911861, 'created_at': datetime.datetime(2025, 3, 31, 15, 48, 29), 'result': '0.03129860960265445', 'result_long': None, 'result_double': None}] Qualite : 0.03129860960265445 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21911861 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21911861_31-03-2025_15_48_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21911861 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_P21911861_31-03-2025_15_48_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21911935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21911936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21911937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21911938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21911939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21911940, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21911941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21911942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21911943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21911944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21911945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21911946, 'pht': 3726}}" where mtr_portfolio_id = 21911861 and dashboard_run_id = 1713177 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`=21911861 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774742, 0.03129860960265445, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21911861_31-03-2025_15_48_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21911935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21911936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21911937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21911938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21911939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21911940, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21911941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21911942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21911943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21911944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21911945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21911946, '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 = 21912622 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': 2709477, 'mtr_portfolio_id': 21912622, 'created_at': datetime.datetime(2025, 3, 31, 16, 3), 'result': '0.05281745004942989', 'result_long': None, 'result_double': None}] Qualite : 0.05281745004942989 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21912622 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21912622_31-03-2025_16_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21912622 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_P21912622_31-03-2025_16_03_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21912627, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21912628, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21912629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21912630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21912631, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21912632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21912633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21912634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21912635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21912636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21912637, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21912638, 'pht': 3726}}" where mtr_portfolio_id = 21912622 and dashboard_run_id = 1713177 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`=21912622 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774743, 0.05281745004942989, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21912622_31-03-2025_16_03_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21912627, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21912628, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21912629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21912630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21912631, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21912632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21912633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21912634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21912635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21912636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21912637, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21912638, '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 = 21913164 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': 2709543, 'mtr_portfolio_id': 21913164, 'created_at': datetime.datetime(2025, 3, 31, 16, 17), 'result': '0.03587903776507425', 'result_long': None, 'result_double': None}] Qualite : 0.03587903776507425 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21913164 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21913164_31-03-2025_16_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21913164 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_P21913164_31-03-2025_16_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21913167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21913168, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21913169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21913170, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21913171, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21913172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21913173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21913174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21913175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21913176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21913177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21913178, 'pht': 3726}}" where mtr_portfolio_id = 21913164 and dashboard_run_id = 1713177 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`=21913164 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774744, 0.03587903776507425, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21913164_31-03-2025_16_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21913167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21913168, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21913169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21913170, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21913171, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21913172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21913173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21913174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21913175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21913176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21913177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21913178, '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 = 21913884 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': 2709590, 'mtr_portfolio_id': 21913884, 'created_at': datetime.datetime(2025, 3, 31, 16, 33, 1), 'result': '0.035654363824717386', 'result_long': None, 'result_double': None}] Qualite : 0.035654363824717386 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21913884 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21913884_31-03-2025_16_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21913884 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_P21913884_31-03-2025_16_33_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21913888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21913889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21913890, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21913891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21913892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21913893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21913894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21913895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21913896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21913897, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21913898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21913899, 'pht': 3726}}" where mtr_portfolio_id = 21913884 and dashboard_run_id = 1713177 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`=21913884 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774745, 0.035654363824717386, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21913884_31-03-2025_16_33_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21913888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21913889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21913890, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21913891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21913892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21913893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21913894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21913895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21913896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21913897, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21913898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21913899, '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 = 21914431 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': 2709654, 'mtr_portfolio_id': 21914431, 'created_at': datetime.datetime(2025, 3, 31, 16, 47), 'result': '0.03604852935870458', 'result_long': None, 'result_double': None}] Qualite : 0.03604852935870458 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21914431 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21914431_31-03-2025_16_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21914431 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_P21914431_31-03-2025_16_47_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21914461, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21914462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21914463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21914464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21914465, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21914466, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21914467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21914468, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21914469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21914470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21914471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21914472, 'pht': 3726}}" where mtr_portfolio_id = 21914431 and dashboard_run_id = 1713177 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`=21914431 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774746, 0.03604852935870458, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21914431_31-03-2025_16_47_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21914461, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21914462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21914463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21914464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21914465, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21914466, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21914467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21914468, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21914469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21914470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21914471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21914472, '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 = 21915225 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': 2709710, 'mtr_portfolio_id': 21915225, 'created_at': datetime.datetime(2025, 3, 31, 17, 3, 1), 'result': '0.03260065306735251', 'result_long': None, 'result_double': None}] Qualite : 0.03260065306735251 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21915225 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21915225_31-03-2025_17_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21915225 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_P21915225_31-03-2025_17_03_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21915230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21915231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21915232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21915233, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21915234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21915235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21915236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21915237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21915238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21915239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21915240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21915241, 'pht': 3726}}" where mtr_portfolio_id = 21915225 and dashboard_run_id = 1713177 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`=21915225 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774747, 0.03260065306735251, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21915225_31-03-2025_17_03_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21915230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21915231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21915232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21915233, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21915234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21915235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21915236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21915237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21915238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21915239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21915240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21915241, '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 = 21915815 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': 2709773, 'mtr_portfolio_id': 21915815, 'created_at': datetime.datetime(2025, 3, 31, 17, 16, 59), 'result': '0.03571320320064125', 'result_long': None, 'result_double': None}] Qualite : 0.03571320320064125 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21915815 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21915815_31-03-2025_17_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21915815 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_P21915815_31-03-2025_17_16_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21915818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21915819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21915820, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21915821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21915822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21915823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21915824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21915825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21915826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21915827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21915828, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21915829, 'pht': 3726}}" where mtr_portfolio_id = 21915815 and dashboard_run_id = 1713177 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`=21915815 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774748, 0.03571320320064125, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21915815_31-03-2025_17_16_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21915818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21915819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21915820, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21915821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21915822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21915823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21915824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21915825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21915826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21915827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21915828, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21915829, '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 = 21916470 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': 2709825, 'mtr_portfolio_id': 21916470, 'created_at': datetime.datetime(2025, 3, 31, 17, 33, 1), 'result': '0.04301678811216186', 'result_long': None, 'result_double': None}] Qualite : 0.04301678811216186 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21916470 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21916470_31-03-2025_17_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21916470 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_P21916470_31-03-2025_17_33_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21916473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21916474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21916475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21916476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21916477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21916478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21916479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21916480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21916481, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21916482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21916483, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21916484, 'pht': 3726}}" where mtr_portfolio_id = 21916470 and dashboard_run_id = 1713177 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`=21916470 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774749, 0.04301678811216186, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21916470_31-03-2025_17_33_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21916473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21916474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21916475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21916476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21916477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21916478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21916479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21916480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21916481, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21916482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21916483, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21916484, '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 = 21917495 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': 2709988, 'mtr_portfolio_id': 21917495, 'created_at': datetime.datetime(2025, 3, 31, 18, 19), 'result': '0.04382491078363229', 'result_long': None, 'result_double': None}] Qualite : 0.04382491078363229 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21917495 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21917495_31-03-2025_18_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21917495 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_P21917495_31-03-2025_18_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21917499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21917500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21917501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21917502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21917503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21917504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21917505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21917506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21917507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21917508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21917509, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21917510, 'pht': 3726}}" where mtr_portfolio_id = 21917495 and dashboard_run_id = 1713177 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`=21917495 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774750, 0.04382491078363229, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21917495_31-03-2025_18_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21917499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21917500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21917501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21917502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21917503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21917504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21917505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21917506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21917507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21917508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21917509, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21917510, '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 = 21918094 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': 2710027, 'mtr_portfolio_id': 21918094, 'created_at': datetime.datetime(2025, 3, 31, 18, 33, 1), 'result': '0.0626150115406201', 'result_long': None, 'result_double': None}] Qualite : 0.0626150115406201 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21918094 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21918094_31-03-2025_18_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21918094 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_P21918094_31-03-2025_18_33_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21918136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21918137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21918138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21918139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21918140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21918141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21918142, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21918143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21918144, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21918145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21918146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21918147, 'pht': 3726}}" where mtr_portfolio_id = 21918094 and dashboard_run_id = 1713177 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`=21918094 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774751, 0.0626150115406201, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21918094_31-03-2025_18_33_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21918136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21918137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21918138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21918139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21918140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21918141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21918142, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21918143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21918144, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21918145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21918146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21918147, '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 = 21918550 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': 2710071, 'mtr_portfolio_id': 21918550, 'created_at': datetime.datetime(2025, 3, 31, 18, 46, 30), 'result': '0.05988044429187582', 'result_long': None, 'result_double': None}] Qualite : 0.05988044429187582 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21918550 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21918550_31-03-2025_18_46_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21918550 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_P21918550_31-03-2025_18_46_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21918621, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21918622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21918623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21918624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21918625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21918626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21918627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21918628, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21918630, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21918631, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21918632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21918633, 'pht': 3726}}" where mtr_portfolio_id = 21918550 and dashboard_run_id = 1713177 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`=21918550 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774752, 0.05988044429187582, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21918550_31-03-2025_18_46_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21918621, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21918622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21918623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21918624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21918625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21918626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21918627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21918628, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21918630, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21918631, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21918632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21918633, '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 = 21919314 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': 2710124, 'mtr_portfolio_id': 21919314, 'created_at': datetime.datetime(2025, 3, 31, 19, 12, 31), 'result': '0.06320302812922542', 'result_long': None, 'result_double': None}] Qualite : 0.06320302812922542 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21919314 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21919314_31-03-2025_19_12_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21919314 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_P21919314_31-03-2025_19_12_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21919316, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21919317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21919318, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21919319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21919320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21919321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21919322, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21919323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21919324, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21919325, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21919326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21919327, 'pht': 3726}}" where mtr_portfolio_id = 21919314 and dashboard_run_id = 1713177 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`=21919314 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774753, 0.06320302812922542, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21919314_31-03-2025_19_12_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21919316, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21919317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21919318, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21919319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21919320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21919321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21919322, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21919323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21919324, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21919325, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21919326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21919327, '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 = 21919984 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': 2710214, 'mtr_portfolio_id': 21919984, 'created_at': datetime.datetime(2025, 3, 31, 19, 19), 'result': '0.06856901800862131', 'result_long': None, 'result_double': None}] Qualite : 0.06856901800862131 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21919984 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21919984_31-03-2025_19_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21919984 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_P21919984_31-03-2025_19_19_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21920005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21920006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21920007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21920008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21920009, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21920010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21920011, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21920012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21920013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21920014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21920015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21920016, 'pht': 3726}}" where mtr_portfolio_id = 21919984 and dashboard_run_id = 1713177 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`=21919984 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774754, 0.06856901800862131, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21919984_31-03-2025_19_19_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21920005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21920006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21920007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21920008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21920009, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21920010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21920011, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21920012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21920013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21920014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21920015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21920016, '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 = 21920157 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': 2710224, 'mtr_portfolio_id': 21920157, 'created_at': datetime.datetime(2025, 3, 31, 19, 32, 31), 'result': '0.04504679609204653', 'result_long': None, 'result_double': None}] Qualite : 0.04504679609204653 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21920157 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21920157_31-03-2025_19_32_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21920157 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_P21920157_31-03-2025_19_32_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21920160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21920161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21920162, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21920163, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21920164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21920165, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21920166, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21920167, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21920168, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21920169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21920170, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21920171, 'pht': 3726}}" where mtr_portfolio_id = 21920157 and dashboard_run_id = 1713177 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`=21920157 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774755, 0.04504679609204653, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21920157_31-03-2025_19_32_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21920160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21920161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21920162, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21920163, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21920164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21920165, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21920166, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21920167, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21920168, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21920169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21920170, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21920171, '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 = 21920706 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': 2710295, 'mtr_portfolio_id': 21920706, 'created_at': datetime.datetime(2025, 3, 31, 19, 49, 29), 'result': '0.04084429568675987', 'result_long': None, 'result_double': None}] Qualite : 0.04084429568675987 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21920706 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21920706_31-03-2025_19_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21920706 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_P21920706_31-03-2025_19_49_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21920710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21920711, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21920712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21920713, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21920714, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21920715, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21920716, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21920717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21920718, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21920719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21920720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21920721, 'pht': 3726}}" where mtr_portfolio_id = 21920706 and dashboard_run_id = 1713177 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`=21920706 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774756, 0.04084429568675987, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21920706_31-03-2025_19_49_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21920710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21920711, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21920712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21920713, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21920714, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21920715, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21920716, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21920717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21920718, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21920719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21920720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21920721, '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 = 21921325 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': 2710338, 'mtr_portfolio_id': 21921325, 'created_at': datetime.datetime(2025, 3, 31, 20, 2, 58), 'result': '0.03905935403756122', 'result_long': None, 'result_double': None}] Qualite : 0.03905935403756122 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21921325 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21921325_31-03-2025_20_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21921325 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_P21921325_31-03-2025_20_02_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21921328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21921329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21921330, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21921331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21921332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21921333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21921334, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21921335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21921336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21921337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21921338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21921339, 'pht': 3726}}" where mtr_portfolio_id = 21921325 and dashboard_run_id = 1713177 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`=21921325 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774757, 0.03905935403756122, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21921325_31-03-2025_20_02_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21921328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21921329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21921330, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21921331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21921332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21921333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21921334, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21921335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21921336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21921337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21921338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21921339, '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 = 21922020 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': 2710400, 'mtr_portfolio_id': 21922020, 'created_at': datetime.datetime(2025, 3, 31, 20, 18, 59), 'result': '0.046184011133238764', 'result_long': None, 'result_double': None}] Qualite : 0.046184011133238764 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21922020 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21922020_31-03-2025_20_19_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21922020 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_P21922020_31-03-2025_20_19_09.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21922024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21922025, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21922026, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21922027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21922028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21922029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21922030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21922031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21922032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21922033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21922034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21922035, 'pht': 3726}}" where mtr_portfolio_id = 21922020 and dashboard_run_id = 1713177 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`=21922020 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774758, 0.046184011133238764, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21922020_31-03-2025_20_19_09.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21922024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21922025, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21922026, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21922027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21922028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21922029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21922030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21922031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21922032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21922033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21922034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21922035, '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 = 21922748 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': 2710451, 'mtr_portfolio_id': 21922748, 'created_at': datetime.datetime(2025, 3, 31, 20, 33, 3), 'result': '0.060548517491046984', 'result_long': None, 'result_double': None}] Qualite : 0.060548517491046984 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21922748 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21922748_31-03-2025_20_33_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21922748 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_P21922748_31-03-2025_20_33_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21922753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21922754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21922755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21922756, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21922757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21922758, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21922759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21922760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21922761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21922762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21922763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21922764, 'pht': 3726}}" where mtr_portfolio_id = 21922748 and dashboard_run_id = 1713177 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`=21922748 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774759, 0.060548517491046984, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21922748_31-03-2025_20_33_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21922753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21922754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21922755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21922756, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21922757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21922758, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21922759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21922760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21922761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21922762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21922763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21922764, '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 = 21923380 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': 2710507, 'mtr_portfolio_id': 21923380, 'created_at': datetime.datetime(2025, 3, 31, 21, 6, 58), 'result': '0.055452934941089146', 'result_long': None, 'result_double': None}] Qualite : 0.055452934941089146 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21923380 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21923380_31-03-2025_21_06_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21923380 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_P21923380_31-03-2025_21_06_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21923395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21923396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21923397, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21923398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21923399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21923400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21923401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21923402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21923403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21923404, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21923405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21923406, 'pht': 3726}}" where mtr_portfolio_id = 21923380 and dashboard_run_id = 1713177 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`=21923380 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9774760, 0.055452934941089146, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21923380_31-03-2025_21_06_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21923395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21923396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21923397, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21923398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21923399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21923400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21923401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21923402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21923403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21923404, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21923405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21923406, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21894766,21895072,21895527,21895913,21896296,21896727,21897245,21897602,21898451,21899135,21899830,21901031,21929460,21929461,21901310,21901313,21901316,21901611,21902723,21904049,21904764,21905185,21905761,21907306,21907627,21908086,21908892,21909447,21910000,21910689,21911420,21911861,21912622,21913164,21913884,21914431,21915225,21915815,21916470,21917495,21918094,21918550,21919314,21919984,21920157,21920706,21921325,21922020,21922748,21923380) result : ((1348938488,), (1348938517,), (1348938520,), (1348938546,), (1348938551,), (1348938555,), (1348938559,), (1348938564,), (1348938581,), (1348938584,), (1348938585,), (1348938587,), (1348938595,), (1348938619,), (1348938621,), (1348938646,), (1348938647,), (1348938648,), (1348938649,), (1348938686,), (1348938688,), (1348938690,), (1348938692,), (1348938694,), (1348938721,), (1348938723,), (1348938725,), (1348938729,), (1348938765,), (1348938767,), (1348938789,), (1348938791,), (1348938792,), (1348938795,), (1348938798,), (1348938806,), (1348938825,), (1348938827,), (1348938830,), (1348938833,), (1348938853,), (1348938855,), (1348938858,), (1348938860,), (1348938863,), (1348938872,), (1348938900,), (1348938894,), (1348938896,), (1348938898,), (1348938920,), (1348938924,), (1348938925,), (1348938928,), (1348938931,), (1348938933,), (1348938968,), (1348938971,), (1348938974,), (1348938978,), (1348938982,), (1348938983,), (1348938998,), (1348939001,), (1348939003,), (1348939035,), (1348939037,), (1348939039,), (1348939041,), (1348939042,), (1348939045,), (1348939068,), (1348939069,), (1348939070,), (1348939102,), (1348939108,), (1348939110,), (1348939132,), (1348939133,), (1348939135,), (1348939136,), (1348939137,), (1348939171,), (1348939180,), (1348939187,), (1348939189,), (1348939191,), (1348939212,), (1348939213,), (1348939214,), (1348939215,), (1348939254,), (1348939256,), (1348939258,), (1348939260,), (1348939262,), (1348939264,), (1348939284,), (1348939285,), (1348939286,), (1348939287,), (1348939297,), (1348939442,), (1348939468,), (1348939493,), (1348940518,), (1348940539,), (1348940565,), (1348940570,), (1348940581,), (1348940592,), (1348940809,), (1348940768,), (1348940796,), (1348940839,), (1348940843,), (1348940847,), (1348940853,), (1348940857,), (1348940884,), (1348940887,), (1348940888,), (1348940893,), (1348940898,), (1348940903,), (1348940934,), (1348940939,), (1348940943,), (1348940975,), (1348940979,), (1348940984,), (1348940989,), (1348940997,), (1348941022,), (1348941026,), (1348941036,), (1348941046,), (1348941050,), (1348941056,), (1348941076,), (1348941080,), (1348941083,), (1348941087,), (1348941117,), (1348941121,), (1348941125,), (1348941129,), (1348941131,), (1348941162,), (1348941165,), (1348941167,), (1348941170,), (1348941175,), (1348941218,), (1348941227,), (1348941230,), (1348941233,), (1348941239,), (1348941270,), (1348941281,), (1348941284,), (1348941289,), (1348941299,), (1348941308,), (1348941325,), (1348941329,), (1348941331,), (1348941364,), (1348941368,), (1348941372,), (1348941376,), (1348941381,), (1348941386,), (1348941415,), (1348941421,), (1348941433,), (1348941437,), (1348941441,), (1348941445,), (1348941464,), (1348941466,), (1348941470,), (1348941473,), (1348941522,), (1348941516,), (1348941519,), (1348941556,), (1348941558,), (1348941560,), (1348941562,), (1348941603,), (1348941606,), (1348941609,), (1348941612,), (1348941658,), (1348941660,), (1348941662,), (1348941665,), (1348941710,), (1348941713,), (1348941716,), (1348941719,), (1348941723,), (1348941728,), (1348941760,), (1348941763,), (1348941765,), (1348941767,), (1348941811,), (1348941812,), (1348941814,), (1348941816,), (1348941818,), (1348941852,), (1348941853,), (1348941855,), (1348941857,), (1348941860,), (1348941900,), (1348941906,), (1348941913,), (1348941952,), (1348941954,), (1348941956,), (1348941958,), (1348941962,), (1348941965,), (1348941991,), (1348941992,), (1348942001,), (1348942010,), (1348942013,), (1348942020,), (1348942045,), (1348942047,), (1348942049,), (1348942081,), (1348942083,), (1348942084,), (1348942086,), (1348942091,), (1348942093,), (1348942117,), (1348942120,), (1348942123,), (1348942126,), (1348942156,), (1348942157,), (1348942159,), (1348942167,), (1348942212,), (1348942199,), (1348942200,), (1348942202,), (1348942204,), (1348942209,), (1348942240,), (1348942244,), (1348942246,), (1348942277,), (1348942279,), (1348942282,), (1348942285,), (1348942288,), (1348942293,), (1348942334,), (1348942342,), (1348942344,), (1348942346,), (1348942349,), (1348942353,), (1348942374,), (1348942376,), (1348942378,), (1348942410,), (1348942415,), (1348942417,), (1348942419,), (1348942444,), (1348942447,), (1348942449,), (1348942452,), (1348942494,), (1348942496,), (1348942497,), (1348942499,), (1348942503,), (1348942508,), (1348942526,), (1348942529,), (1348942532,), (1348942565,), (1348942566,), (1348942567,), (1348942568,), (1348942571,), (1348942574,), (1348942602,), (1348942604,), (1348942606,), (1348942607,), (1348942609,), (1348942613,), (1348942643,), (1348942644,), (1348942645,), (1348942647,), (1348942672,), (1348942674,), (1348942676,), (1348942678,), (1348942680,), (1348942708,), (1348942717,), (1348942726,), (1348942742,), (1348942745,), (1348942748,), (1348942770,), (1348942773,), (1348942775,), (1348942777,), (1348942826,), (1348942815,), (1348942816,), (1348942817,), (1348942818,), (1348942822,), (1348942855,), (1348942859,), (1348942863,), (1348942868,), (1348942870,), (1348942896,), (1348942897,), (1348942898,), (1348942902,), (1348942914,), (1348942917,), (1348942942,), (1348942944,), (1348942945,), (1348942948,), (1348942952,), (1348943001,), (1348943002,), (1348943038,), (1348943040,), (1348943042,), (1348943044,), (1348943047,), (1348943051,), (1348943082,), (1348943083,), (1348943088,), (1348943096,), (1348943100,), (1348943105,), (1348943127,), (1348943130,), (1348943134,), (1348943137,), (1348943177,), (1348943179,), (1348943181,), (1348943183,), (1348943188,), (1348943192,), (1348943209,), (1348943212,), (1348943215,), (1348943218,), (1348943221,), (1348943260,), (1348943266,), (1348943268,), (1348943269,), (1348943272,), (1348943299,), (1348943301,), (1348943303,), (1348943305,), (1348943309,), (1348943317,), (1348943587,), (1348943635,), (1348943676,), (1348943722,), (1348943768,), (1348944568,), (1348944592,), (1348944597,), (1348944606,), (1348944645,), (1348944674,), (1348944697,), (1348944712,), (1348944771,), (1348944748,), (1348944752,), (1348944755,), (1348944758,), (1348944763,), (1348944789,), (1348944794,), (1348944799,), (1348944802,), (1348944892,), (1348944894,), (1348944899,), (1348944940,), (1348944943,), (1348944947,), (1348945005,), (1348945009,), (1348945077,), (1348945089,), (1348945098,), (1348945104,), (1348945240,), (1348945263,), (1348945266,), (1348945551,), (1348945555,), (1348945571,), (1348945589,), (1348945729,), (1348945733,), (1348945750,), (1348945753,), (1348946210,), (1348946218,), (1348946231,), (1348946237,), (1348946310,), (1348946372,), (1348946390,), (1348946397,), (1348946403,), (1348946416,), (1348946420,), (1348946433,), (1348946517,), (1348946528,), (1348946593,), (1348946602,), (1348946606,), (1348946611,), (1348946622,), (1348946638,), (1348946749,), (1348946752,), (1348946755,), (1348946823,), (1348946826,), (1348946829,), (1348946832,), (1348946835,), (1348946839,), (1348946884,), (1348946921,), (1348945847,), (1348945857,), (1348945867,), (1348945876,), (1348945886,), (1348945895,), (1348945910,), (1348945914,), (1348945918,), (1348945922,), (1348945931,), (1348945937,), (1348945960,), (1348945965,), (1348945969,), (1348945973,), (1348945976,), (1348945979,), (1348945991,), (1348945995,), (1348946000,), (1348946008,), (1348946016,), (1348946025,), (1348946043,), (1348946045,), (1348946049,), (1348946052,), (1348946055,), (1348946059,), (1348946078,), (1348946084,), (1348946091,), (1348946098,), (1348946104,), (1348946108,), (1348946134,), (1348946138,), (1348946146,), (1348946151,), (1348946157,), (1348946163,), (1348946192,), (1348946196,), (1348946249,), (1348946259,), (1348946271,), (1348946290,), (1348946296,), (1348946322,), (1348946350,), (1348946354,), (1348946360,), (1348946368,), (1348946467,), (1348946479,), (1348946491,), (1348946509,), (1348946735,), (1348946739,), (1348946744,), (1348946768,), (1348946773,), (1348946779,), (1348946785,), (1348946790,), (1348946798,), (1348946879,), (1348946859,), (1348946864,), (1348946869,), (1348946873,), (1348946925,), (1348946931,), (1348946960,), (1348946993,), (1348947028,), (1348947038,), (1348947040,), (1348947046,), (1348947050,), (1348947057,), (1348947140,), (1348947161,), (1348947339,), (1348947347,), (1348947432,), (1348947435,), (1348947633,), (1348947787,), (1348947840,), (1348947842,), (1348947843,), (1348947898,), (1348947904,), (1348947910,), (1348947975,), (1348947987,), (1348948001,), (1348948005,), (1348948019,), (1348948086,), (1348948096,), (1348948100,), (1348948113,), (1348948117,), (1348948132,), (1348948387,), (1348948391,), (1348948395,), (1348948398,), (1348948400,), (1348948442,), (1348948444,), (1348948448,), (1348948453,), (1348948459,), (1348948514,), (1348948502,), (1348948505,), (1348948511,), (1348948639,), (1348948641,), (1348948645,), (1348948816,), (1348948844,), (1348948851,), (1348949048,), (1348949051,), (1348949055,), (1348949059,), (1348949062,), (1348949109,), (1348949114,), (1348949123,), (1348949124,), (1348949134,), (1348949206,), (1348949209,), (1348949212,), (1348949263,), (1348949264,), (1348949268,), (1348949276,), (1348949370,), (1348949373,), (1348949375,), (1348949378,), (1348949383,), (1348949574,), (1348949576,), (1348949602,), (1348949603,), (1348949654,), (1348949657,), (1348949660,), (1348949663,), (1348949711,), (1348949712,), (1348949714,), (1348949716,), (1348949720,), (1348950001,), (1348950039,), (1348950068,), (1348950099,), (1348950110,), (1348950309,), (1348950310,), (1348950321,), (1348950722,), (1348950762,), (1348950816,), (1348950849,), (1348950880,), (1348951229,), (1348951614,), (1348951677,), (1348951740,), (1348951853,), (1348951881,), (1348951438,), (1348951491,), (1348951557,), (1348951973,), (1348952017,), (1348952074,), (1348952118,), (1348952169,), (1348952814,), (1348952847,), (1348952881,), (1348952910,), (1348952951,), (1348952987,), (1348953259,), (1348953276,), (1348953313,), (1348953661,), (1348953684,), (1348953700,), (1348953707,), (1348953757,), (1348953772,), (1348953812,), (1348953817,), (1348953822,), (1348953847,), (1348953864,), (1348953878,), (1348954017,), (1348954030,), (1348954054,), (1348954081,), (1348954314,), (1348954326,), (1348954333,), (1348954352,), (1348954363,), (1348954456,), (1348954459,), (1348954463,), (1348954469,), (1348954474,), (1348954478,), (1348954567,), (1348954571,), (1348954580,), (1348954586,), (1348954595,), (1348954610,), (1348954672,), (1348954676,), (1348954681,), (1348954744,), (1348954750,), (1348954754,), (1348954842,), (1348954847,), (1348957259,), (1348960054,), (1348960168,), (1348960172,), (1348960177,), (1348960230,), (1348960233,), (1348960238,), (1348960243,), (1348960249,), (1348960366,), (1348960381,), (1348960388,), (1348960520,), (1348960522,), (1348960526,), (1348960530,), (1348960534,), (1348960563,), (1348960678,), (1348960686,), (1348960694,), (1348960706,), (1348960713,), (1348960718,), (1348960847,), (1348960851,), (1348960899,), (1348960902,), (1348960907,), (1348960910,), (1348960914,), (1348960918,), (1348960973,), (1348960981,), (1348960983,), (1348960988,), (1348960993,), (1348961027,), (1348961030,), (1348961069,), (1348961074,), (1348961079,), (1348961081,), (1348961114,), (1348961118,), (1348961122,), (1348961126,), (1348961157,), (1348961160,), (1348961165,), (1348961168,), (1348961226,), (1348961233,), (1348961242,), (1348961252,), (1348961259,), (1348961299,), (1348964131,), (1348964134,), (1348964138,), (1348964186,), (1348964189,), (1348964193,), (1348964238,), (1348964241,), (1348964245,), (1348964248,), (1348964284,), (1348964287,), (1348964292,), (1348964331,), (1348964333,), (1348964337,), (1348964341,), (1348964389,), (1348964393,), (1348964398,), (1348964401,), (1348964406,), (1348964410,), (1348964445,), (1348964450,), (1348964454,), (1348964457,), (1348964492,), (1348964497,), (1348964501,), (1348964505,), (1348964508,), (1348964515,), (1348964544,), (1348964547,), (1348964551,), (1348964555,), (1348964560,), (1348964565,), (1348964599,), (1348964602,), (1348964606,), (1348964609,), (1348964644,), (1348964646,), (1348964651,), (1348964694,), (1348964698,), (1348964702,), (1348964705,), (1348964708,), (1348964748,), (1348964749,), (1348964752,), (1348964754,), (1348964791,), (1348964794,), (1348964797,), (1348964800,), (1348964803,), (1348964806,), (1348964843,), (1348964846,), (1348964851,), (1348964853,), (1348964910,), (1348964902,), (1348964904,), (1348964907,), (1348964953,), (1348964957,), (1348964962,), (1348964965,), (1348964992,), (1348964997,), (1348965003,), (1348965007,), (1348965011,), (1348965045,), (1348965049,), (1348965088,), (1348965129,), (1348965132,), (1348965135,), (1348965139,), (1348965167,), (1348965170,), (1348965174,), (1348965178,), (1348965182,), (1348965215,), (1348965216,), (1348965221,), (1348965223,), (1348965253,), (1348965257,), (1348965261,), (1348965298,), (1348965301,), (1348965304,), (1348965307,), (1348965311,), (1348965315,), (1348965347,), (1348965350,), (1348965354,), (1348965359,), (1348965363,), (1348965367,), (1348965393,), (1348965397,), (1348965400,), (1348965434,), (1348965436,), (1348965439,), (1348965442,), (1348965445,), (1348965449,), (1348965474,), (1348965477,), (1348965481,), (1348965571,), (1348965557,), (1348965561,), (1348965566,), (1348965613,), (1348965616,), (1348965618,), (1348965650,), (1348965653,), (1348965656,), (1348965659,), (1348965662,), (1348965696,), (1348965697,), (1348965699,), (1348965701,), (1348965704,), (1348965707,), (1348965742,), (1348965743,), (1348965746,), (1348965784,), (1348965785,), (1348965787,), (1348965821,), (1348965822,), (1348965825,), (1348965828,), (1348965861,), (1348965863,), (1348965868,), (1348965871,), (1348965877,), (1348965912,), (1348965916,), (1348965918,), (1348965953,), (1348965955,), (1348965959,), (1348965962,), (1348965965,), (1348965971,), (1348966008,), (1348966010,), (1348966013,), (1348966015,), (1348966020,), (1348966025,), (1348966055,), (1348966058,), (1348966061,), (1348966064,), (1348966098,), (1348966100,), (1348966103,), (1348966106,), (1348966110,), (1348966149,), (1348966151,), (1348966155,), (1348966158,), (1348966161,), (1348966191,), (1348966193,), (1348966196,), (1348966244,), (1348966239,), (1348966282,), (1348966429,), (1348966473,), (1348966476,), (1348966479,), (1348966480,), (1348966485,), (1348966488,), (1348966550,), (1348966553,), (1348966556,), (1348966585,), (1348966746,), (1348966749,), (1348966752,), (1348966816,), (1348966818,), (1348966834,), (1348966930,), (1348966934,), (1348966950,), (1348966955,), (1348966960,), (1348967035,), (1348967038,), (1348967041,), (1348967114,), (1348967142,), (1348967170,), (1348967200,), (1348967228,), (1348967458,), (1348967459,), (1348967479,), (1348967507,), (1348967537,), (1348967555,), (1348968639,), (1348968736,), (1348968833,), (1348968922,), (1348969263,), (1348969351,), (1348969411,), (1348969472,), (1348969549,), (1348969966,), (1348969781,), (1348969809,), (1348969845,), (1348969873,), (1348969920,), (1348971090,), (1348971177,), (1348971258,), (1348971336,), (1348971400,), (1348972166,), (1348972200,), (1348972274,), (1348972352,), (1348972759,), (1348972762,), (1348972767,), (1348972772,), (1348972777,), (1348972850,), (1348972880,), (1348972911,), (1348972948,), (1348972990,), (1348973383,), (1348973417,), (1348973457,), (1348974155,), (1348974250,), (1348974745,), (1348974800,), (1348974847,), (1348974893,), (1348974936,), (1348975325,), (1348975348,), (1348975368,), (1348975396,), (1348975425,), (1348975633,), (1348975644,), (1348975670,), (1348975707,), (1348975978,), (1348976018,), (1348976068,), (1348976114,), (1348976146,), (1348977622,), (1348977707,), (1348977711,), (1348977718,), (1348977880,), (1348977889,), (1348977894,), (1348977899,), (1348978312,), (1348978366,), (1348978553,), (1348978563,), (1348978704,), (1348978708,), (1348978713,), (1348978719,), (1348978726,), (1348978730,), (1348978825,), (1348978780,), (1348978784,), (1348978790,), (1348978795,), (1348978909,), (1348978912,), (1348978921,), (1348978952,), (1348979096,), (1348979116,), (1348979142,), (1348979418,), (1348979421,), (1348979454,), (1348979499,), (1348979668,), (1348979677,), (1348979683,), (1348979689,), (1348979782,), (1348979797,), (1348979831,), (1348979855,), (1348979880,), (1348980297,), (1348980323,), (1348980372,), (1348980424,), (1348980444,), (1348980656,), (1348980658,), (1348980711,), (1348980713,), (1348980715,), (1348980761,), (1348980830,), (1348980835,), (1348980839,), (1348981084,), (1348981086,), (1348981294,), (1348981295,), (1348981339,), (1348981399,), (1348981400,), (1348981402,), (1348981444,), (1348981447,), (1348981709,), (1348981712,), (1348981799,), (1348981967,), (1348981996,), (1348982355,), (1348982807,), (1348982890,), (1348982913,), (1348983050,), (1348983076,), (1348983103,), (1348983118,), (1348983121,), (1348983186,), (1348983181,), (1348983182,), (1348983184,), (1348983394,), (1348983406,), (1348983479,), (1348983481,), (1348983555,), (1348983557,), (1348983562,), (1348983577,), (1348983618,), (1348983854,), (1348983868,), (1348983887,), (1348983891,), (1348983911,), (1348983926,), (1348983960,), (1348983963,), (1348983966,), (1348984005,), (1348984007,), (1348984013,), (1348984016,), (1348984020,), (1348984061,), (1348984065,), (1348984270,), (1348984364,), (1348984382,), (1348984387,), (1348987079,), (1348987792,), (1348987850,), (1348987907,), (1348988359,), (1348988365,), (1348988375,), (1348988407,), (1348988827,), (1348988891,), (1348988913,), (1348988972,), (1348989227,), (1348989246,), (1348989254,), (1348989735,), (1348989737,), (1348989740,), (1348989743,), (1348989747,), (1348989787,), (1348989789,), (1348989793,), (1348989862,), (1348989863,), (1348989950,), (1348989969,), (1348989990,), (1348990018,), (1348990272,), (1348990273,), (1348990275,), (1349002335,), (1349002379,), (1349002737,), (1349002739,), (1349002791,), (1349002833,), (1349002837,), (1349002841,), (1349002845,), (1349002908,), (1349002913,), (1349002916,), (1349002919,), (1349002966,), (1349002969,), (1349002973,), (1349003023,), (1349003024,), (1349003029,), (1349003032,), (1349003094,), (1349003102,), (1349003125,), (1349003127,), (1349003299,), (1349003410,), (1349003442,), (1349003445,), (1349003449,), (1349003514,), (1349003516,), (1349003534,), (1349003605,), (1349003613,), (1349003695,), (1349003707,), (1349003750,), (1349003753,), (1349003957,), (1349003960,), (1349003965,), (1349003970,), (1349004018,), (1349004020,), (1349004022,), (1349004024,), (1349004027,), (1349004054,), (1349004058,), (1349004063,), (1349004070,), (1349004104,), (1349004107,), (1349004110,), (1349004113,), (1349004117,), (1349004142,), (1349004146,), (1349004150,), (1349004153,), (1349004161,), (1349004164,), (1349004192,), (1349004202,), (1349004204,), (1349004209,), (1349004213,), (1349004237,), (1349004242,), (1349004480,), (1349004532,), (1349004584,), (1349004637,), (1349005507,), (1349005543,), (1349005594,), (1349005647,), (1349005707,), (1349005771,), (1349005911,), (1349005995,), (1349006485,), (1349006321,), (1349006350,), (1349006386,), (1349006423,), (1349006454,), (1349006586,), (1349006604,), (1349006611,), (1349006632,), (1349006678,), (1349006779,), (1349006785,), (1349006792,), (1349006797,), (1349006804,), (1349006834,), (1349006935,), (1349006940,), (1349006965,), (1349006973,), (1349006992,), (1349007098,), (1349007123,), (1349007132,), (1349007138,), (1349007151,), (1349007162,), (1349007258,), (1349007262,), (1349007281,), (1349007359,), (1349007362,), (1349007366,), (1349007372,), (1349007377,), (1349007529,), (1349007535,), (1349007548,), (1349007551,), (1349007559,), (1349007568,), (1349007646,), (1349007649,), (1349007863,), (1349007887,), (1349007903,), (1349007910,), (1349007922,), (1349007985,), (1349007987,), (1349007993,), (1349007997,), (1349008039,), (1349008041,), (1349008044,), (1349008307,), (1349008329,), (1349008410,), (1349008543,), (1349008498,), (1349008516,), (1349008680,), (1349008688,), (1349008694,), (1349008698,), (1349009042,), (1349009135,), (1349009153,), (1349009158,), (1349009178,), (1349009314,), (1349009318,), (1349009322,), (1349009325,), (1349009329,), (1349009332,), (1349009377,), (1349009379,), (1349009383,), (1349009387,), (1349009429,), (1349009484,), (1349009742,), (1349009760,), (1349009785,), (1349009929,), (1349009933,), (1349009936,), (1349009941,), (1349009948,), (1349009957,), (1349010008,), (1349010011,), (1349010015,), (1349010019,), (1349010024,), (1349010046,), (1349010050,), (1349010057,), (1349010067,), (1349010098,), (1349010102,), (1349010108,), (1349010112,), (1349010118,), (1349010162,), (1349010180,), (1349010187,), (1349010190,), (1349010194,), (1349010226,), (1349010247,), (1349010258,), (1349010424,), (1349010470,), (1349010476,), (1349010481,), (1349010486,), (1349010588,), (1349010591,), (1349010593,), (1349010601,), (1349010634,), (1349010777,), (1349010781,), (1349010784,), (1349010847,), (1349010826,), (1349010829,), (1349010832,), (1349010836,), (1349010839,), (1349010891,), (1349010893,), (1349010895,), (1349010912,), (1349010921,), (1349010929,), (1349011048,), (1349011050,), (1349011080,), (1349011161,), (1349011166,), (1349011170,), (1349011173,), (1349011202,), (1349011206,), (1349011209,), (1349011215,), (1349011224,), (1349011314,), (1349011338,), (1349011354,), (1349011366,), (1349011401,), (1349011406,), (1349011410,), (1349011417,), (1349011424,), (1349011506,), (1349011510,), (1349011533,), (1349011539,), (1349011560,), (1349011627,), (1349011631,), (1349011635,), (1349011734,), (1349011736,), (1349011739,), (1349011742,), (1349011747,), (1349011753,), (1349011787,), (1349011791,), (1349011796,), (1349011798,), (1349011802,), (1349011806,), (1349011841,), (1349011845,), (1349011848,), (1349011853,), (1349011887,), (1349011890,), (1349011945,), (1349012008,), (1349012017,), (1349012075,), (1349012065,), (1349012069,), (1349012072,), (1349012144,), (1349012172,), (1349012208,), (1349012212,), (1349012215,), (1349012273,), (1349012284,), (1349012287,), (1349012292,), (1349012296,), (1349012335,), (1349012338,), (1349012509,), (1349012512,), (1349012516,), (1349012520,), (1349012560,), (1349012568,), (1349012572,), (1349012576,), (1349012608,), (1349012610,), (1349012615,), (1349012620,), (1349012626,), (1349012631,), (1349012654,), (1349012657,), (1349012661,), (1349012664,), (1349012708,), (1349012710,), (1349012715,), (1349012717,), (1349012724,), (1349012728,), (1349012758,), (1349012763,), (1349012767,), (1349012772,), (1349012775,), (1349012806,), (1349012810,), (1349012815,), (1349012821,), (1349012871,), (1349012874,), (1349012881,), (1349012883,), (1349012889,), (1349012893,), (1349013119,), (1349013151,), (1349013213,), (1349013996,), (1349014032,), (1349014087,), (1349014131,), (1349014168,), (1349014199,), (1349014238,), (1349014257,), (1349014280,), (1349014330,), (1349014294,), (1349014299,), (1349014303,), (1349014622,), (1349014636,), (1349014642,), (1349014645,), (1349014650,), (1349014655,), (1349014793,), (1349014840,), (1349014873,), (1349014946,), (1349015181,), (1349015209,), (1349015241,), (1349015284,), (1349015648,), (1349015681,), (1349015710,), (1349015743,), (1349015778,), (1349015934,), (1349015952,), (1349015964,), (1349015968,), (1349015982,), (1349016012,), (1349016185,), (1349016232,), (1349016281,), (1349016313,), (1349016488,), (1349016499,), (1349016528,), (1349016557,), (1349016653,), (1349016691,), (1349016812,), (1349016891,), (1349016894,), (1349016906,), (1349016937,), (1349017106,), (1349017108,), (1349017147,), (1349017158,), (1349017164,), (1349017410,), (1349017414,), (1349017418,), (1349017423,), (1349017443,), (1349017503,), (1349017511,), (1349017535,), (1349017555,), (1349017597,), (1349017599,), (1349017628,), (1349017631,), (1349017635,), (1349017639,), (1349017704,), (1349017708,), (1349017713,), (1349017718,), (1349017872,), (1349017885,), (1349017894,), (1349017905,), (1349017908,), (1349017914,), (1349017958,), (1349017942,), (1349017947,), (1349017952,), (1349017998,), (1349018011,), (1349018017,), (1349018158,), (1349018169,), (1349018173,), (1349018179,), (1349018185,), (1349018269,), (1349018325,), (1349018337,), (1349018341,), (1349018531,), (1349018579,), (1349018584,), (1349018588,), (1349018657,), (1349018660,), (1349018707,), (1349018711,), (1349018718,), (1349018731,), (1349018740,), (1349018752,), (1349018768,), (1349018772,), (1349018776,), (1349018781,), (1349018785,), (1349018789,), (1349018818,), (1349018822,), (1349018827,), (1349018860,), (1349018863,), (1349018865,), (1349018869,), (1349018875,), (1349018879,), (1349018921,), (1349018924,), (1349018928,), (1349018931,), (1349018936,), (1349018981,), (1349019072,), (1349019089,), (1349019105,), (1349019109,), (1349019139,), (1349019143,), (1349019147,), (1349019152,), (1349019157,), (1349019159,), (1349019189,), (1349019193,), (1349019196,), (1349019302,), (1349019308,), (1349019313,), (1349019318,), (1349019323,), (1349019328,), (1349019384,), (1349019359,), (1349019362,), (1349019367,), (1349019371,), (1349019378,), (1349019423,), (1349019426,), (1349019430,), (1349019495,), (1349019498,), (1349019502,), (1349019505,), (1349019509,), (1349019512,), (1349019539,), (1349019541,), (1349019545,), (1349019549,), (1349019565,), (1349019738,), (1349019753,), (1349019760,), (1349019786,), (1349019911,), (1349019915,), (1349019919,), (1349019925,), (1349019954,), (1349019959,), (1349020005,), (1349020009,), (1349020038,), (1349020317,), (1349020321,), (1349020326,), (1349020340,), (1349020343,), (1349020372,), (1349020375,), (1349020381,), (1349020388,), (1349020483,), (1349020553,), (1349020558,), (1349020604,), (1349020661,), (1349020712,), (1349020716,), (1349020719,), (1349020724,), (1349020730,), (1349020938,), (1349020992,), (1349021059,), (1349021119,), (1349021143,), (1349021148,), (1349021236,), (1349021241,), (1349021254,), (1349021485,), (1349021544,), (1349021606,), (1349021700,), (1349021742,), (1349021863,), (1349021869,), (1349021872,), (1349021876,), (1349021883,), (1349021889,), (1349022005,), (1349021983,), (1349021989,), (1349021995,), (1349022055,), (1349022058,), (1349022216,), (1349022218,), (1349022221,), (1349022276,), (1349022281,), (1349022294,), (1349022507,), (1349022508,), (1349022512,), (1349022514,), (1349022519,), (1349022524,), (1349022578,), (1349022581,), (1349022585,), (1349022587,), (1349022647,), (1349022651,), (1349022655,), (1349022660,), (1349022663,), (1349022671,), (1349022708,), (1349022710,), (1349022713,), (1349022715,), (1349022721,), (1349022763,), (1349022765,), (1349022768,), (1349022813,), (1349022816,), (1349022819,), (1349022868,), (1349022870,), (1349022872,), (1349022876,), (1349022878,), (1349022882,), (1349022924,), (1349022927,), (1349022961,), (1349023059,), (1349023110,), (1349023114,), (1349023117,), (1349023119,), (1349023173,), (1349023184,), (1349023200,), (1349023217,), (1349023237,), (1349023289,), (1349023294,), (1349023300,), (1349023304,), (1349023309,), (1349023634,), (1349023563,), (1349023596,), (1349024293,), (1349024361,), (1349024417,), (1349024466,), (1349024522,), (1349025289,), (1349025376,), (1349025442,), (1349025514,), (1349025576,), (1349025628,), (1349026009,), (1349026063,), (1349026101,), (1349026162,), (1349026554,), (1349026570,), (1349026574,), (1349026579,), (1349026631,), (1349027011,), (1349027028,), (1349027060,), (1349027092,), (1349027103,), (1349027107,), (1349027248,), (1349027253,), (1349027280,), (1349027301,), (1349027597,), (1349027601,), (1349027623,), (1349027636,), (1349027721,), (1349027737,), (1349027759,), (1349027769,), (1349027983,), (1349027994,), (1349028002,), (1349028006,), (1349028136,), (1349028145,), (1349028147,), (1349028159,), (1349028173,), (1349028246,), (1349028254,), (1349028261,), (1349029259,), (1349029302,), (1349029298,), (1349029301,), (1349029382,), (1349029389,), (1349029433,), (1349029439,), (1349029448,), (1349029455,), (1349029470,), (1349029499,), (1349029611,), (1349029613,), (1349029618,), (1349029622,), (1349029631,), (1349030427,), (1349030430,), (1349030434,), (1349030439,), (1349030629,), (1349030720,), (1349030754,), (1349030758,), (1349030785,), (1349030846,), (1349031018,), (1349031194,), (1349031198,), (1349031204,), (1349031247,), (1349031253,), (1349031262,), (1349031281,), (1349031286,), (1349031320,), (1349031322,), (1349031327,), (1349031331,), (1349031337,), (1349031374,), (1349031378,), (1349031392,), (1349031399,), (1349031406,), (1349031547,), (1349031501,), (1349031505,), (1349031543,), (1349031666,), (1349031684,), (1349031692,), (1349031720,), (1349031727,), (1349031877,), (1349031883,), (1349031887,), (1349031897,), (1349031921,), (1349032055,), (1349032129,), (1349032167,), (1349032175,), (1349032282,), (1349032286,), (1349032290,), (1349032319,), (1349032468,), (1349032527,), (1349032556,), (1349032582,), (1349032610,), (1349032622,), (1349032712,), (1349032772,), (1349032791,), (1349032802,), (1349032889,), (1349032925,), (1349032959,), (1349032982,), (1349033071,), (1349033075,), (1349033330,), (1349033334,), (1349033339,), (1349033460,), (1349033463,), (1349033466,), (1349033469,), (1349033473,), (1349033491,), (1349033526,), (1349033529,), (1349033533,), (1349033537,), (1349033645,), (1349033729,), (1349033769,), (1349033807,), (1349034186,), (1349034223,), (1349034267,), (1349034307,), (1349034419,), (1349034443,), (1349034464,), (1349034468,), (1349034495,), (1349034673,), (1349034657,), (1349034660,), (1349034723,), (1349034725,), (1349034854,), (1349034922,), (1349034927,), (1349034930,), (1349034936,), (1349035034,), (1349035038,), (1349035048,), (1349035049,), (1349035084,), (1349035177,), (1349035180,), (1349035183,), (1349035186,), (1349035189,), (1349035294,), (1349035329,), (1349035414,), (1349036122,), (1349036126,), (1349036134,), (1349036139,), (1349036144,), (1349036150,), (1349036236,), (1349036238,), (1349036252,), (1349036256,), (1349036340,), (1349036346,), (1349036350,), (1349036352,), (1349036357,), (1349036496,), (1349036497,), (1349036498,), (1349036499,), (1349036503,), (1349036508,), (1349036527,), (1349036530,), (1349036535,), (1349036540,), (1349036546,), (1349036548,), (1349036553,), (1349036616,), (1349036627,), (1349036631,), (1349036636,), (1349036696,), (1349036699,), (1349036702,), (1349036704,), (1349036707,), (1349036710,), (1349037690,), (1349037744,), (1349037804,), (1349037892,), (1349037946,), (1349038071,), (1349038128,), (1349038182,), (1349038247,), (1349038617,), (1349038527,), (1349038561,), (1349038590,), (1349039246,), (1349039272,), (1349039288,), (1349039296,), (1349039304,), (1349039474,), (1349039502,), (1349039542,), (1349041085,), (1349041104,), (1349041110,), (1349041113,), (1349041124,), (1349041145,), (1349041184,), (1349041278,), (1349041315,), (1349041356,), (1349041401,), (1349041604,), (1349041637,), (1349041652,), (1349041814,), (1349041832,), (1349041836,), (1349041839,), (1349041862,), (1349041870,), (1349041955,), (1349041957,), (1349041961,), (1349041964,), (1349041967,), (1349042069,), (1349042097,), (1349042129,), (1349042147,), (1349042301,), (1349042328,), (1349042355,), (1349042372,), (1349042523,), (1349042528,), (1349042568,), (1349042574,), (1349042624,), (1349042725,), (1349042728,), (1349042733,), (1349042794,), (1349042798,), (1349042814,), (1349042829,), (1349043018,), (1349043075,), (1349043102,), (1349043128,), (1349043172,), (1349043175,), (1349043177,), (1349043181,), (1349043219,), (1349043228,), (1349043230,), (1349043233,), (1349043283,), (1349043286,), (1349043327,), (1349043331,), (1349043334,), (1349043399,), (1349043402,), (1349043405,), (1349043411,), (1349043433,), (1349043438,), (1349043841,), (1349043861,), (1349043875,), (1349043880,), (1349043979,), (1349043991,), (1349043994,), (1349044044,), (1349044049,), (1349044065,), (1349044068,), (1349044074,), (1349044162,), (1349044167,), (1349044175,), (1349044191,), (1349044202,), (1349044251,), (1349044253,), (1349044256,), (1349044263,), (1349044335,), (1349044337,), (1349044340,), (1349044349,), (1349044357,), (1349044422,), (1349049159,), (1349049192,), (1349049222,), (1349049599,), (1349049614,), (1349049619,), (1349049650,), (1349049655,), (1349049658,), (1349049828,), (1349049833,), (1349049956,), (1349049964,), (1349049969,), (1349049974,), (1349050053,), (1349050061,), (1349050093,), (1349050144,), (1349050176,), (1349050182,), (1349050204,), (1349050208,), (1349050225,), (1349050228,), (1349050278,), (1349050439,), (1349050441,), (1349050444,), (1349050447,), (1349050619,), (1349050663,), (1349050699,), (1349050731,), (1349050770,), (1349050773,), (1349050884,), (1349050902,), (1349050913,), (1349050917,), (1349051030,), (1349051035,), (1349051039,), (1349051064,), (1349051076,), (1349051083,), (1349051342,), (1349051374,), (1349051392,), (1349051398,), (1349051409,), (1349051415,), (1349051573,), (1349051578,), (1349051594,), (1349051615,), (1349051645,), (1349051725,), (1349051727,), (1349051731,), (1349051734,), (1349052437,), (1349052377,), (1349052387,), (1349052390,), (1349052397,), (1349052404,), (1349052613,), (1349052710,), (1349052716,), (1349052729,), (1349052926,), (1349052952,), (1349052974,), (1349053003,), (1349053032,), (1349053087,), (1349053197,), (1349053458,), (1349053461,), (1349053672,), (1349053688,), (1349053829,), (1349053858,), (1349053868,), (1349053891,), (1349054189,), (1349054191,), (1349054194,), (1349054196,), (1349054200,), (1349054349,), (1349054373,), (1349054406,), (1349054435,), (1349054443,), (1349054748,), (1349054785,), (1349054830,), (1349054988,), (1349054997,), (1349054999,), (1349055002,), (1349055005,), (1349055034,), (1349055036,), (1349055040,), (1349055042,), (1349055046,), (1349055048,), (1349055090,), (1349055098,), (1349055103,), (1349055106,), (1349055144,), (1349055146,), (1349055150,), (1349055214,), (1349055222,), (1349055228,), (1349055235,), (1349055244,), (1349055257,), (1349055316,), (1349055284,), (1349055287,), (1349055297,), (1349055304,), (1349055311,), (1349055408,), (1349055424,), (1349055446,), (1349055556,), (1349055561,), (1349055566,), (1349055837,), (1349055873,), (1349055880,), (1349055884,), (1349055888,), (1349055922,), (1349055929,), (1349055939,), (1349055945,), (1349056036,), (1349056039,), (1349056044,), (1349056049,), (1349056053,), (1349056063,), (1349056200,), (1349056208,), (1349056214,), (1349056225,), (1349056228,), (1349056230,), (1349056290,), (1349056293,), (1349056311,), (1349056351,), (1349056357,), (1349056398,), (1349056399,), (1349056401,), (1349056403,), (1349056502,), (1349056559,), (1349056562,), (1349056564,), (1349056569,), (1349056703,), (1349056711,), (1349056717,), (1349056721,), (1349056808,), (1349056813,), (1349056816,), (1349056831,), (1349057084,), (1349057085,), (1349057088,), (1349057112,), (1349057117,), (1349057163,), (1349057165,), (1349057169,), (1349057172,), (1349057175,), (1349057182,), (1349057240,), (1349057235,), (1349057237,), (1349057402,), (1349057429,), (1349057465,), (1349057468,), (1349057471,), (1349057547,), (1349057587,), (1349057589,), (1349057593,), (1349057596,), (1349057604,), (1349057608,), (1349057786,), (1349057797,), (1349057910,), (1349057915,), (1349057917,), (1349057921,), (1349057925,), (1349057951,), (1349057952,), (1349057954,), (1349057956,), (1349058002,), (1349058004,), (1349058007,), (1349058011,), (1349058015,), (1349058058,), (1349058059,), (1349058062,), (1349058064,), (1349058127,), (1349058131,), (1349058134,), (1349058138,), (1349058142,), (1349058172,), (1349058175,), (1349058179,), (1349058213,), (1349058219,), (1349058225,), (1349058254,), (1349058258,), (1349058262,), (1349058266,), (1349058270,), (1349058367,), (1349058396,), (1349058425,), (1349058454,), (1349058484,), (1349058517,), (1349058604,), (1349058611,), (1349058619,), (1349058624,), (1349058630,), (1349063380,), (1349063347,), (1349063425,), (1349063429,), (1349063437,), (1349063442,), (1349063474,), (1349063478,), (1349063482,), (1349063487,), (1349063494,), (1349063523,), (1349063527,), (1349063529,), (1349063585,), (1349063589,), (1349063593,), (1349063596,), (1349063603,), (1349063691,), (1349063666,), (1349063669,), (1349063672,), (1349063679,), (1349063938,), (1349063942,), (1349063947,), (1349063952,), (1349063976,), (1349064064,), (1349064067,), (1349064088,), (1349064195,), (1349064198,), (1349064202,), (1349064206,), (1349064209,), (1349064212,), (1349064254,), (1349064256,), (1349064261,), (1349064271,), (1349064274,), (1349064277,), (1349064344,), (1349064371,), (1349064385,), (1349064442,), (1349064445,), (1349064453,), (1349064456,), (1349064469,), (1349064505,), (1349064613,), (1349064615,), (1349064633,), (1349064634,), (1349064638,), (1349064640,), (1349064665,), (1349064669,), (1349064675,), (1349064808,), (1349064827,), (1349064831,), (1349064834,), (1349064839,), (1349064947,), (1349064980,), (1349064985,), (1349064990,), (1349065005,), (1349065017,), (1349065183,), (1349065214,), (1349065218,), (1349065222,), (1349065226,), (1349065316,), (1349065338,), (1349065344,), (1349065384,), (1349065431,), (1349065433,), (1349065436,), (1349065439,), (1349065443,), (1349065448,), (1349065490,), (1349065496,), (1349065501,), (1349065687,), (1349065558,), (1349065560,), (1349065564,), (1349065575,), (1349065665,), (1349065764,), (1349065779,), (1349065787,), (1349065791,), (1349065794,), (1349065887,), (1349065891,), (1349065895,), (1349066002,), (1349066011,), (1349066063,), (1349066076,), (1349066089,), (1349066195,), (1349066204,), (1349066207,), (1349066211,), (1349066215,), (1349066227,), (1349066333,), (1349066338,), (1349066346,), (1349066354,), (1349066396,), (1349066398,), (1349066412,), (1349066415,), (1349066419,), (1349066429,), (1349066505,), (1349066511,), (1349066517,), (1349066556,), (1349066559,), (1349066563,), (1349066565,), (1349066639,), (1349066746,), (1349066749,), (1349066757,), (1349066771,), (1349066797,), (1349066884,), (1349066890,), (1349066894,), (1349066917,), (1349066921,), (1349066926,), (1349066950,), (1349066953,), (1349066958,), (1349066966,), (1349067101,), (1349067105,), (1349067110,), (1349067126,), (1349067131,), (1349067225,), (1349067251,), (1349067256,), (1349067261,), (1349067265,), (1349067279,), (1349067304,), (1349067307,), (1349067313,), (1349067317,), (1349067544,), (1349067518,), (1349067524,), (1349067528,), (1349067532,), (1349067536,), (1349067675,), (1349067678,), (1349067690,), (1349067700,), (1349067711,), (1349067840,), (1349067874,), (1349067892,), (1349067920,), (1349067946,), (1349068230,), (1349068260,), (1349068290,), (1349068320,), (1349068348,), (1349068385,), (1349068413,), (1349068420,), (1349068434,), (1349068506,), (1349068509,), (1349068517,), (1349068523,), (1349068532,), (1349068565,), (1349068584,), (1349068588,), (1349068592,), (1349068598,), (1349068705,), (1349068710,), (1349068714,), (1349068718,), (1349068750,), (1349068752,), (1349068755,), (1349068760,), (1349068762,), (1349068767,), (1349068791,), (1349068794,), (1349068797,), (1349068801,), (1349068806,), (1349068841,), (1349068843,), (1349068846,), (1349068849,), (1349068855,), (1349069072,), (1349069091,), (1349069097,), (1349069100,), (1349069106,), (1349069128,), (1349069533,), (1349069567,), (1349069598,), (1349069905,), (1349069937,), (1349069973,), (1349070008,), (1349070469,), (1349070401,), (1349070432,), (1349070709,), (1349070735,), (1349070767,), (1349070804,), (1349070824,), (1349070829,), (1349070949,), (1349070956,), (1349070968,), (1349070972,), (1349070999,), (1349071005,), (1349071098,), (1349071137,), (1349071146,), (1349071153,), (1349071196,), (1349071290,), (1349071294,), (1349071297,), (1349071317,), (1349071322,), (1349071327,), (1349071370,), (1349071379,), (1349071388,), (1349071393,), (1349071397,), (1349071401,), (1349071444,), (1349071448,), (1349071452,), (1349071519,), (1349071526,), (1349071530,), (1349071534,), (1349071538,), (1349071541,), (1349071584,), (1349071592,), (1349071594,), (1349071660,), (1349071675,), (1349071688,), (1349071699,), (1349071702,), (1349071994,), (1349072026,), (1349072482,), (1349072520,), (1349072535,), (1349072542,), (1349072662,), (1349072667,), (1349072669,), (1349072671,), (1349072673,), (1349072883,), (1349072887,), (1349072892,), (1349073010,), (1349073016,), (1349073021,), (1349073043,), (1349073064,), (1349073803,), (1349073391,), (1349073417,), (1349073446,), (1349073502,), (1349073553,), (1349073871,), (1349073876,), (1349074027,), (1349074041,), (1349074044,), (1349074052,), (1349074059,), (1349074062,), (1349074208,), (1349074237,), (1349074260,), (1349074283,), (1349074309,), (1349074317,), (1349074455,), (1349074475,), (1349074478,), (1349074534,), (1349074543,), (1349074547,), (1349074550,), (1349074580,), (1349074625,), (1349074730,), (1349074734,), (1349074738,), (1349074741,), (1349074745,), (1349074805,), (1349074807,), (1349074817,), (1349074853,), (1349074858,), (1349074862,), (1349074872,), (1349074877,), (1349074881,), (1349074908,), (1349074913,), (1349074916,), (1349074919,), (1349074921,), (1349074973,), (1349075011,), (1349075023,), (1349075081,), (1349075083,), (1349075085,), (1349075087,), (1349075092,), (1349075128,), (1349075132,), (1349075136,), (1349075142,), (1349075201,), (1349075204,), (1349075205,), (1349075206,), (1349075211,), (1349075214,), (1349075267,), (1349075269,), (1349075271,), (1349075372,), (1349075354,), (1349075356,), (1349075358,), (1349075364,), (1349075368,), (1349075414,), (1349075423,), (1349075432,), (1349075438,), (1349075441,), (1349075447,), (1349075519,), (1349075522,), (1349075525,), (1349075528,), (1349075582,), (1349075586,), (1349075588,), (1349075592,), (1349075596,), (1349075599,), (1349075634,), (1349075635,), (1349075637,), (1349075639,), (1349075642,), (1349075645,), (1349075688,), (1349075691,), (1349075696,), (1349075790,), (1349075813,), (1349075822,), (1349075830,), (1349075836,), (1349075909,), (1349075947,), (1349075988,), (1349075991,), (1349076040,), (1349076048,), (1349076167,), (1349076171,), (1349076373,), (1349076375,), (1349076378,), (1349076381,), (1349076383,), (1349080940,), (1348962729,), (1348962734,), (1348962770,), (1348962773,), (1348962808,), (1348962811,), (1348962815,), (1348962851,), (1348962854,), (1348962858,), (1348962888,), (1348962894,), (1348962898,), (1348962903,), (1348962933,), (1348962936,), (1348962939,), (1348962972,), (1348962977,), (1348962982,), (1348962985,), (1348962991,), (1348963027,), (1348963031,), (1348963036,), (1348963042,), (1348963046,), (1348963080,), (1348963084,), (1348963129,), (1348963142,), (1348963145,), (1348963152,), (1348963157,), (1348963162,), (1348963191,), (1348963195,), (1348963237,), (1348963241,), (1348963246,), (1348963293,), (1348963296,), (1348963300,), (1348963304,), (1348963310,), (1348963343,), (1348963346,), (1348963351,), (1348963355,), (1348963424,), (1348963398,), (1348963401,), (1348963404,), (1348963419,), (1348963447,), (1348963452,), (1348963456,), (1348963459,), (1348963464,), (1348963495,), (1348963497,), (1348963501,), (1348963504,), (1348963509,), (1348963546,), (1348963550,), (1348963554,), (1348963558,), (1348963597,), (1348963608,), (1348963611,), (1348963615,), (1348963619,), (1348963642,), (1348963645,), (1348963649,), (1348963653,), (1348963659,), (1348963663,), (1348963694,), (1348963696,), (1348963698,), (1348963739,), (1348963741,), (1348963744,), (1348963747,), (1348963752,), (1348963756,), (1348963792,), (1348963850,), (1348963855,), (1348963944,), (1348963946,), (1348964053,), (1348964063,), (1348964089,), (1348964142,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'31032025': {'nb_upload': 50, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21929460]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1348963424, 1348963355, 1348963351, 1348963346, 1348963343, 1348963310, 1348963304, 1348963300, 1348963296, 1348963293, 1348963246, 1348963241, 1348963237, 1348963195, 1348963191, 1348963162, 1348963157, 1348963152, 1348963145, 1348963142, 1348963129, 1348963084, 1348963080, 1348963046, 1348963042, 1348963036, 1348963031, 1348963027, 1348962991, 1348962985, 1348962982, 1348962977, 1348962972, 1348962939, 1348962936, 1348962933, 1348962903, 1348962898, 1348962894, 1348962888, 1348962858, 1348962854, 1348962851, 1348962815, 1348962811, 1348962808, 1348962773, 1348962770, 1348962734, 1348962729] map_info['map_portfolio_photo'] : {21929460: [1348963424, 1348963355, 1348963351, 1348963346, 1348963343, 1348963310, 1348963304, 1348963300, 1348963296, 1348963293, 1348963246, 1348963241, 1348963237, 1348963195, 1348963191, 1348963162, 1348963157, 1348963152, 1348963145, 1348963142, 1348963129, 1348963084, 1348963080, 1348963046, 1348963042, 1348963036, 1348963031, 1348963027, 1348962991, 1348962985, 1348962982, 1348962977, 1348962972, 1348962939, 1348962936, 1348962933, 1348962903, 1348962898, 1348962894, 1348962888, 1348962858, 1348962854, 1348962851, 1348962815, 1348962811, 1348962808, 1348962773, 1348962770, 1348962734, 1348962729]} final : True mtd_id 4302 list_pids : [1348963424, 1348963355, 1348963351, 1348963346, 1348963343, 1348963310, 1348963304, 1348963300, 1348963296, 1348963293, 1348963246, 1348963241, 1348963237, 1348963195, 1348963191, 1348963162, 1348963157, 1348963152, 1348963145, 1348963142, 1348963129, 1348963084, 1348963080, 1348963046, 1348963042, 1348963036, 1348963031, 1348963027, 1348962991, 1348962985, 1348962982, 1348962977, 1348962972, 1348962939, 1348962936, 1348962933, 1348962903, 1348962898, 1348962894, 1348962888, 1348962858, 1348962854, 1348962851, 1348962815, 1348962811, 1348962808, 1348962773, 1348962770, 1348962734, 1348962729] Looping around the photos to save general results len do output : 1 /21929460Didn'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, '2711115') ('4302', '21929460', '1348963424', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963355', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963351', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963346', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963343', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963310', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963304', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963300', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963296', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963293', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963246', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963241', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963237', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963195', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963191', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963162', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963157', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963152', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963145', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963142', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963129', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963084', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963080', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963046', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963042', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963036', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963031', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348963027', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962991', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962985', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962982', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962977', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962972', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962939', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962936', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962933', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962903', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962898', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962894', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962888', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962858', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962854', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962851', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962815', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962811', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962808', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962773', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962770', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962734', None, None, None, None, None, '2711115') ('4302', None, None, None, None, None, None, None, '2711115') ('4302', '21929460', '1348962729', None, None, None, None, None, '2711115') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 51 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, '21929460', 'None', None, None, None, None, '2711115'), ('4302', '21929460', '1348963424', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963355', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963351', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963346', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963343', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963310', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963304', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963300', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963296', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963293', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963246', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963241', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963237', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963195', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963191', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963162', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963157', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963152', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963145', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963142', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963129', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963084', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963080', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963046', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963042', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963036', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963031', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348963027', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962991', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962985', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962982', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962977', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962972', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962939', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962936', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962933', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962903', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962898', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962894', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962888', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962858', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962854', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962851', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962815', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962811', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962808', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962773', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962770', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962734', None, None, None, None, None, '2711115'), ('4302', '21929460', '1348962729', None, None, None, None, None, '2711115')] time used for this insertion : 0.1967318058013916 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.0043628215789795 time spend to save output : 0.1976919174194336 total time spend for step 5 : 4.202054738998413 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 (2711115) 3.52user 2.39system 0:14.56elapsed 40%CPU (0avgtext+0avgdata 163080maxresident)k 3048inputs+26000outputs (39major+85232minor)pagefaults 0swaps