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 : 1158130 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 (2602994) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2602994) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20696011 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2602994'] with mtr_portfolio_ids : ['20696011'] and first list_photo_ids : [] new path : /proc/1158130/ Name: python3 Umask: 0002 State: R (running) Tgid: 1158130 Ngid: 0 Pid: 1158130 PPid: 1158129 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1158130 NSpid: 1158130 NSpgid: 1157275 NSsid: 1157275 VmPeak: 1106840 kB VmSize: 1106840 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99900 kB VmRSS: 99900 kB RssAnon: 59748 kB RssFile: 40152 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 580 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 3/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: 52 nonvoluntary_ctxt_switches: 151 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1158130', 'Ngid': '0', 'Pid': '1158130', 'PPid': '1158129', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1158130', 'NSpid': '1158130', 'NSpgid': '1157275', 'NSsid': '1157275', 'VmPeak': '1106840 kB', 'VmSize': '1106840 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99900 kB', 'VmRSS': '99900 kB', 'RssAnon': '59748 kB', 'RssFile': '40152 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '580 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '3/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': '52', 'nonvoluntary_ctxt_switches': '151'} ('datou_batch_current', '1158130', '1106840', '0', '1106840', '865592', '99900', b'', 'marlene', '2602994') 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 (20696011) 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 (2602994 ) ) 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 (20696011) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1338682387, 'portfolio_id': 20696011}, {'photo_id': 1338682314, 'portfolio_id': 20696011}, {'photo_id': 1338682310, 'portfolio_id': 20696011}, {'photo_id': 1338682307, 'portfolio_id': 20696011}, {'photo_id': 1338682304, 'portfolio_id': 20696011}, {'photo_id': 1338682301, 'portfolio_id': 20696011}, {'photo_id': 1338682298, 'portfolio_id': 20696011}, {'photo_id': 1338682240, 'portfolio_id': 20696011}, {'photo_id': 1338682237, 'portfolio_id': 20696011}, {'photo_id': 1338682234, 'portfolio_id': 20696011}, {'photo_id': 1338682233, 'portfolio_id': 20696011}, {'photo_id': 1338682231, 'portfolio_id': 20696011}, {'photo_id': 1338682220, 'portfolio_id': 20696011}, {'photo_id': 1338682217, 'portfolio_id': 20696011}, {'photo_id': 1338682212, 'portfolio_id': 20696011}, {'photo_id': 1338682208, 'portfolio_id': 20696011}, {'photo_id': 1338682204, 'portfolio_id': 20696011}, {'photo_id': 1338682200, 'portfolio_id': 20696011}, {'photo_id': 1338682173, 'portfolio_id': 20696011}, {'photo_id': 1338682168, 'portfolio_id': 20696011}, {'photo_id': 1338682165, 'portfolio_id': 20696011}, {'photo_id': 1338682160, 'portfolio_id': 20696011}, {'photo_id': 1338682143, 'portfolio_id': 20696011}, {'photo_id': 1338682140, 'portfolio_id': 20696011}, {'photo_id': 1338682138, 'portfolio_id': 20696011}, {'photo_id': 1338682136, 'portfolio_id': 20696011}, {'photo_id': 1338682135, 'portfolio_id': 20696011}, {'photo_id': 1338682134, 'portfolio_id': 20696011}, {'photo_id': 1338682112, 'portfolio_id': 20696011}, {'photo_id': 1338682110, 'portfolio_id': 20696011}, {'photo_id': 1338682108, 'portfolio_id': 20696011}, {'photo_id': 1338682106, 'portfolio_id': 20696011}, {'photo_id': 1338682104, 'portfolio_id': 20696011}, {'photo_id': 1338682066, 'portfolio_id': 20696011}, {'photo_id': 1338682063, 'portfolio_id': 20696011}, {'photo_id': 1338682062, 'portfolio_id': 20696011}, {'photo_id': 1338681083, 'portfolio_id': 20696011}, {'photo_id': 1338681081, 'portfolio_id': 20696011}, {'photo_id': 1338681054, 'portfolio_id': 20696011}, {'photo_id': 1338681051, 'portfolio_id': 20696011}] map_portfolio_id_photo_id: {20696011: [1338682387, 1338682314, 1338682310, 1338682307, 1338682304, 1338682301, 1338682298, 1338682240, 1338682237, 1338682234, 1338682233, 1338682231, 1338682220, 1338682217, 1338682212, 1338682208, 1338682204, 1338682200, 1338682173, 1338682168, 1338682165, 1338682160, 1338682143, 1338682140, 1338682138, 1338682136, 1338682135, 1338682134, 1338682112, 1338682110, 1338682108, 1338682106, 1338682104, 1338682066, 1338682063, 1338682062, 1338681083, 1338681081, 1338681054, 1338681051]} ##### 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.6303374767303467 #### 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 Fri Feb 21 05:54:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20696011) 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 : 20696011 get user id for portfolio 20696011 get sub ptf for main ptf 20696011, type 3726 and hashtags ['kraft', 'Teint_Dans_La_Masse', 'environnement', 'cartonnette', 'Carton_gris', 'metal', 'mal_croppe', 'plastique', 'papier', 'flou', 'Carton_brun', 'autre_refus'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20696011 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Teint_Dans_La_Masse','environnement','cartonnette','Carton_gris','metal','mal_croppe','plastique','papier','flou','Carton_brun','autre_refus')) 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`=20696011 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Teint_Dans_La_Masse','environnement','cartonnette','Carton_gris','metal','mal_croppe','plastique','papier','flou','Carton_brun','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 20696011, 'sub_port_id': 20696074, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13344768, 'last_updated_at': datetime.datetime(2025, 2, 20, 22, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 20, 22, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 20, 22, 42, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 20696011, 'sub_port_id': 20696075, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13344769, 'last_updated_at': datetime.datetime(2025, 2, 20, 22, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 20, 22, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 20, 22, 42, 58)}, 'metal': {'main_port_id': 20696011, 'sub_port_id': 20696076, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13344770, 'last_updated_at': datetime.datetime(2025, 2, 20, 22, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 20, 22, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 20, 22, 42, 58)}, 'cartonnette': {'main_port_id': 20696011, 'sub_port_id': 20696077, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13344771, 'last_updated_at': datetime.datetime(2025, 2, 20, 22, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 20, 22, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 20, 22, 42, 58)}, 'papier': {'main_port_id': 20696011, 'sub_port_id': 20696078, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13344772, 'last_updated_at': datetime.datetime(2025, 2, 20, 22, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 20, 22, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 20, 22, 42, 58)}, 'environnement': {'main_port_id': 20696011, 'sub_port_id': 20696079, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13344773, 'last_updated_at': datetime.datetime(2025, 2, 20, 22, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 20, 22, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 20, 22, 42, 58)}, 'plastique': {'main_port_id': 20696011, 'sub_port_id': 20696080, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13344774, 'last_updated_at': datetime.datetime(2025, 2, 20, 22, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 20, 22, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 20, 22, 42, 58)}, 'Carton_gris': {'main_port_id': 20696011, 'sub_port_id': 20696081, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13344775, 'last_updated_at': datetime.datetime(2025, 2, 20, 22, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 20, 22, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 20, 22, 42, 58)}, 'flou': {'main_port_id': 20696011, 'sub_port_id': 20696082, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13344776, 'last_updated_at': datetime.datetime(2025, 2, 20, 22, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 20, 22, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 20, 22, 42, 58)}, 'Carton_brun': {'main_port_id': 20696011, 'sub_port_id': 20696083, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13344777, 'last_updated_at': datetime.datetime(2025, 2, 20, 22, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 20, 22, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 20, 22, 42, 58)}, 'kraft': {'main_port_id': 20696011, 'sub_port_id': 20696084, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13344778, 'last_updated_at': datetime.datetime(2025, 2, 20, 22, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 20, 22, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 20, 22, 42, 58)}, 'autre_refus': {'main_port_id': 20696011, 'sub_port_id': 20696085, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13344779, 'last_updated_at': datetime.datetime(2025, 2, 20, 22, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 20, 22, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 20, 22, 42, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20696074 , 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=20696011 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 (20696074) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20696011) result : ((1338681051,), (1338681054,), (1338681081,), (1338681083,), (1338682062,), (1338682063,), (1338682066,), (1338682104,), (1338682106,), (1338682108,), (1338682110,), (1338682112,), (1338682134,), (1338682135,), (1338682136,), (1338682138,), (1338682140,), (1338682143,), (1338682160,), (1338682165,), (1338682168,), (1338682173,), (1338682200,), (1338682204,), (1338682208,), (1338682212,), (1338682217,), (1338682220,), (1338682231,), (1338682233,), (1338682234,), (1338682237,), (1338682240,), (1338682298,), (1338682301,), (1338682304,), (1338682307,), (1338682310,), (1338682314,), (1338682387,)) 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 (1338682200) 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 20696075 , 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=20696011 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 (20696075) result : ((1338682375,), (1338682376,), (1338682934,), (1338683254,), (1338683255,), (1338683256,), (1338689367,), (1338689975,), (1338690001,), (1338690002,), (1338690003,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20696011) result : ((1338681051,), (1338681054,), (1338681081,), (1338681083,), (1338682062,), (1338682063,), (1338682066,), (1338682104,), (1338682106,), (1338682108,), (1338682110,), (1338682112,), (1338682134,), (1338682135,), (1338682136,), (1338682138,), (1338682140,), (1338682143,), (1338682160,), (1338682165,), (1338682168,), (1338682173,), (1338682200,), (1338682204,), (1338682208,), (1338682212,), (1338682217,), (1338682220,), (1338682231,), (1338682233,), (1338682234,), (1338682237,), (1338682240,), (1338682298,), (1338682301,), (1338682304,), (1338682307,), (1338682310,), (1338682314,), (1338682387,)) 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 (1338682200) 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 20696076 , 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=20696011 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 (20696076) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20696011) result : ((1338681051,), (1338681054,), (1338681081,), (1338681083,), (1338682062,), (1338682063,), (1338682066,), (1338682104,), (1338682106,), (1338682108,), (1338682110,), (1338682112,), (1338682134,), (1338682135,), (1338682136,), (1338682138,), (1338682140,), (1338682143,), (1338682160,), (1338682165,), (1338682168,), (1338682173,), (1338682200,), (1338682204,), (1338682208,), (1338682212,), (1338682217,), (1338682220,), (1338682231,), (1338682233,), (1338682234,), (1338682237,), (1338682240,), (1338682298,), (1338682301,), (1338682304,), (1338682307,), (1338682310,), (1338682314,), (1338682387,)) 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 (1338682200) 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 20696077 , 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=20696011 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 (20696077) result : ((1338682954,), (1338683260,), (1338683261,), (1338689373,), (1338689374,), (1338690006,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20696011) result : ((1338681051,), (1338681054,), (1338681081,), (1338681083,), (1338682062,), (1338682063,), (1338682066,), (1338682104,), (1338682106,), (1338682108,), (1338682110,), (1338682112,), (1338682134,), (1338682135,), (1338682136,), (1338682138,), (1338682140,), (1338682143,), (1338682160,), (1338682165,), (1338682168,), (1338682173,), (1338682200,), (1338682204,), (1338682208,), (1338682212,), (1338682217,), (1338682220,), (1338682231,), (1338682233,), (1338682234,), (1338682237,), (1338682240,), (1338682298,), (1338682301,), (1338682304,), (1338682307,), (1338682310,), (1338682314,), (1338682387,)) 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 (1338682200) 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 20696078 , 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=20696011 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 (20696078) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20696011) result : ((1338681051,), (1338681054,), (1338681081,), (1338681083,), (1338682062,), (1338682063,), (1338682066,), (1338682104,), (1338682106,), (1338682108,), (1338682110,), (1338682112,), (1338682134,), (1338682135,), (1338682136,), (1338682138,), (1338682140,), (1338682143,), (1338682160,), (1338682165,), (1338682168,), (1338682173,), (1338682200,), (1338682204,), (1338682208,), (1338682212,), (1338682217,), (1338682220,), (1338682231,), (1338682233,), (1338682234,), (1338682237,), (1338682240,), (1338682298,), (1338682301,), (1338682304,), (1338682307,), (1338682310,), (1338682314,), (1338682387,)) 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 (1338682200) 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 20696079 , 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=20696011 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 (20696079) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20696011) result : ((1338681051,), (1338681054,), (1338681081,), (1338681083,), (1338682062,), (1338682063,), (1338682066,), (1338682104,), (1338682106,), (1338682108,), (1338682110,), (1338682112,), (1338682134,), (1338682135,), (1338682136,), (1338682138,), (1338682140,), (1338682143,), (1338682160,), (1338682165,), (1338682168,), (1338682173,), (1338682200,), (1338682204,), (1338682208,), (1338682212,), (1338682217,), (1338682220,), (1338682231,), (1338682233,), (1338682234,), (1338682237,), (1338682240,), (1338682298,), (1338682301,), (1338682304,), (1338682307,), (1338682310,), (1338682314,), (1338682387,)) 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 (1338682200) 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 20696080 , 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=20696011 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 (20696080) result : ((1338682386,), (1338682936,), (1338682937,), (1338682958,), (1338682959,), (1338683268,), (1338689977,), (1338689978,), (1338689979,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20696011) result : ((1338681051,), (1338681054,), (1338681081,), (1338681083,), (1338682062,), (1338682063,), (1338682066,), (1338682104,), (1338682106,), (1338682108,), (1338682110,), (1338682112,), (1338682134,), (1338682135,), (1338682136,), (1338682138,), (1338682140,), (1338682143,), (1338682160,), (1338682165,), (1338682168,), (1338682173,), (1338682200,), (1338682204,), (1338682208,), (1338682212,), (1338682217,), (1338682220,), (1338682231,), (1338682233,), (1338682234,), (1338682237,), (1338682240,), (1338682298,), (1338682301,), (1338682304,), (1338682307,), (1338682310,), (1338682314,), (1338682387,)) 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 (1338682200) 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 20696081 , 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=20696011 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 (20696081) result : ((1338682381,), (1338682951,), (1338682952,), (1338689369,), (1338689370,), (1338690004,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20696011) result : ((1338681051,), (1338681054,), (1338681081,), (1338681083,), (1338682062,), (1338682063,), (1338682066,), (1338682104,), (1338682106,), (1338682108,), (1338682110,), (1338682112,), (1338682134,), (1338682135,), (1338682136,), (1338682138,), (1338682140,), (1338682143,), (1338682160,), (1338682165,), (1338682168,), (1338682173,), (1338682200,), (1338682204,), (1338682208,), (1338682212,), (1338682217,), (1338682220,), (1338682231,), (1338682233,), (1338682234,), (1338682237,), (1338682240,), (1338682298,), (1338682301,), (1338682304,), (1338682307,), (1338682310,), (1338682314,), (1338682387,)) 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 (1338682200) 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 20696082 , 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=20696011 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 (20696082) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20696011) result : ((1338681051,), (1338681054,), (1338681081,), (1338681083,), (1338682062,), (1338682063,), (1338682066,), (1338682104,), (1338682106,), (1338682108,), (1338682110,), (1338682112,), (1338682134,), (1338682135,), (1338682136,), (1338682138,), (1338682140,), (1338682143,), (1338682160,), (1338682165,), (1338682168,), (1338682173,), (1338682200,), (1338682204,), (1338682208,), (1338682212,), (1338682217,), (1338682220,), (1338682231,), (1338682233,), (1338682234,), (1338682237,), (1338682240,), (1338682298,), (1338682301,), (1338682304,), (1338682307,), (1338682310,), (1338682314,), (1338682387,)) 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 (1338682200) 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 20696083 , 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=20696011 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 (20696083) result : ((1338682163,), (1338682164,), (1338682382,), (1338682383,), (1338682384,), (1338682956,), (1338682957,), (1338683263,), (1338683264,), (1338683265,), (1338683266,), (1338689295,), (1338689297,), (1338690012,), (1338690013,), (1338690014,), (1338690015,), (1338690016,), (1338690017,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20696011) result : ((1338681051,), (1338681054,), (1338681081,), (1338681083,), (1338682062,), (1338682063,), (1338682066,), (1338682104,), (1338682106,), (1338682108,), (1338682110,), (1338682112,), (1338682134,), (1338682135,), (1338682136,), (1338682138,), (1338682140,), (1338682143,), (1338682160,), (1338682165,), (1338682168,), (1338682173,), (1338682200,), (1338682204,), (1338682208,), (1338682212,), (1338682217,), (1338682220,), (1338682231,), (1338682233,), (1338682234,), (1338682237,), (1338682240,), (1338682298,), (1338682301,), (1338682304,), (1338682307,), (1338682310,), (1338682314,), (1338682387,)) 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 (1338682200) 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 20696084 , 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=20696011 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 (20696084) result : ((1338682389,), (1338683269,), (1338683270,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20696011) result : ((1338681051,), (1338681054,), (1338681081,), (1338681083,), (1338682062,), (1338682063,), (1338682066,), (1338682104,), (1338682106,), (1338682108,), (1338682110,), (1338682112,), (1338682134,), (1338682135,), (1338682136,), (1338682138,), (1338682140,), (1338682143,), (1338682160,), (1338682165,), (1338682168,), (1338682173,), (1338682200,), (1338682204,), (1338682208,), (1338682212,), (1338682217,), (1338682220,), (1338682231,), (1338682233,), (1338682234,), (1338682237,), (1338682240,), (1338682298,), (1338682301,), (1338682304,), (1338682307,), (1338682310,), (1338682314,), (1338682387,)) 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 (1338682200) 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 20696085 , 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=20696011 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 (20696085) result : ((1338682162,), (1338682378,), (1338682379,), (1338683258,), (1338689291,), (1338689292,), (1338689368,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20696011) result : ((1338681051,), (1338681054,), (1338681081,), (1338681083,), (1338682062,), (1338682063,), (1338682066,), (1338682104,), (1338682106,), (1338682108,), (1338682110,), (1338682112,), (1338682134,), (1338682135,), (1338682136,), (1338682138,), (1338682140,), (1338682143,), (1338682160,), (1338682165,), (1338682168,), (1338682173,), (1338682200,), (1338682204,), (1338682208,), (1338682212,), (1338682217,), (1338682220,), (1338682231,), (1338682233,), (1338682234,), (1338682237,), (1338682240,), (1338682298,), (1338682301,), (1338682304,), (1338682307,), (1338682310,), (1338682314,), (1338682387,)) 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 (1338682200) 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`=20696011 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Teint_Dans_La_Masse','environnement','cartonnette','Carton_gris','metal','mal_croppe','plastique','papier','flou','Carton_brun','autre_refus')) 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`=20696011 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Teint_Dans_La_Masse','environnement','cartonnette','Carton_gris','metal','mal_croppe','plastique','papier','flou','Carton_brun','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 20696011, 'sub_port_id': 20696086, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13344780, 'last_updated_at': datetime.datetime(2025, 2, 20, 22, 42, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 20, 22, 42, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 20, 22, 42, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 20696011, 'sub_port_id': 20696087, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13344781, 'last_updated_at': datetime.datetime(2025, 2, 20, 22, 42, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 20, 22, 42, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 20, 22, 42, 59)}, 'metal': {'main_port_id': 20696011, 'sub_port_id': 20696088, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13344782, 'last_updated_at': datetime.datetime(2025, 2, 20, 22, 42, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 20, 22, 42, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 20, 22, 42, 59)}, 'cartonnette': {'main_port_id': 20696011, 'sub_port_id': 20696089, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13344783, 'last_updated_at': datetime.datetime(2025, 2, 20, 22, 42, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 20, 22, 42, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 20, 22, 42, 59)}, 'papier': {'main_port_id': 20696011, 'sub_port_id': 20696090, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13344784, 'last_updated_at': datetime.datetime(2025, 2, 20, 22, 42, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 20, 22, 42, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 20, 22, 42, 59)}, 'environnement': {'main_port_id': 20696011, 'sub_port_id': 20696091, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13344785, 'last_updated_at': datetime.datetime(2025, 2, 20, 22, 42, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 20, 22, 42, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 20, 22, 42, 59)}, 'plastique': {'main_port_id': 20696011, 'sub_port_id': 20696092, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13344786, 'last_updated_at': datetime.datetime(2025, 2, 20, 22, 42, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 20, 22, 42, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 20, 22, 42, 59)}, 'Carton_gris': {'main_port_id': 20696011, 'sub_port_id': 20696093, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13344787, 'last_updated_at': datetime.datetime(2025, 2, 20, 22, 42, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 20, 22, 42, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 20, 22, 42, 59)}, 'flou': {'main_port_id': 20696011, 'sub_port_id': 20696094, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13344788, 'last_updated_at': datetime.datetime(2025, 2, 20, 22, 42, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 20, 22, 42, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 20, 22, 42, 59)}, 'Carton_brun': {'main_port_id': 20696011, 'sub_port_id': 20696095, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13344789, 'last_updated_at': datetime.datetime(2025, 2, 20, 22, 42, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 20, 22, 42, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 20, 22, 42, 59)}, 'kraft': {'main_port_id': 20696011, 'sub_port_id': 20696096, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13344790, 'last_updated_at': datetime.datetime(2025, 2, 20, 22, 42, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 20, 22, 42, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 20, 22, 42, 59)}, 'autre_refus': {'main_port_id': 20696011, 'sub_port_id': 20696097, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13344791, 'last_updated_at': datetime.datetime(2025, 2, 20, 22, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 20, 22, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 20, 22, 42, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20696086,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20696074 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20696087,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20696075 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20696088,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20696076 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20696089,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20696077 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20696090,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20696078 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20696091,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20696079 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20696092,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20696080 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20696093,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20696081 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20696094,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20696082 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20696095,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20696083 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20696096,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20696084 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20696097,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20696085 lien utilise dans velours : https://www.fotonower.com/velours/20696086,20696087,20696088,20696089,20696090,20696091,20696092,20696093,20696094,20696095,20696096,20696097?tags=mal_croppe,Teint_Dans_La_Masse,metal,cartonnette,papier,environnement,plastique,Carton_gris,flou,Carton_brun,kraft,autre_refus After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20696011]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1338682387, 1338682314, 1338682310, 1338682307, 1338682304, 1338682301, 1338682298, 1338682240, 1338682237, 1338682234, 1338682233, 1338682231, 1338682220, 1338682217, 1338682212, 1338682208, 1338682204, 1338682200, 1338682173, 1338682168, 1338682165, 1338682160, 1338682143, 1338682140, 1338682138, 1338682136, 1338682135, 1338682134, 1338682112, 1338682110, 1338682108, 1338682106, 1338682104, 1338682066, 1338682063, 1338682062, 1338681083, 1338681081, 1338681054, 1338681051] map_info['map_portfolio_photo'] : {20696011: [1338682387, 1338682314, 1338682310, 1338682307, 1338682304, 1338682301, 1338682298, 1338682240, 1338682237, 1338682234, 1338682233, 1338682231, 1338682220, 1338682217, 1338682212, 1338682208, 1338682204, 1338682200, 1338682173, 1338682168, 1338682165, 1338682160, 1338682143, 1338682140, 1338682138, 1338682136, 1338682135, 1338682134, 1338682112, 1338682110, 1338682108, 1338682106, 1338682104, 1338682066, 1338682063, 1338682062, 1338681083, 1338681081, 1338681054, 1338681051]} final : False mtd_id 4302 list_pids : [1338682387, 1338682314, 1338682310, 1338682307, 1338682304, 1338682301, 1338682298, 1338682240, 1338682237, 1338682234, 1338682233, 1338682231, 1338682220, 1338682217, 1338682212, 1338682208, 1338682204, 1338682200, 1338682173, 1338682168, 1338682165, 1338682160, 1338682143, 1338682140, 1338682138, 1338682136, 1338682135, 1338682134, 1338682112, 1338682110, 1338682108, 1338682106, 1338682104, 1338682066, 1338682063, 1338682062, 1338681083, 1338681081, 1338681054, 1338681051] Looping around the photos to save general results len do output : 1 /20696011. 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, '2602994') ('4302', '20696011', '1338682387', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682314', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682310', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682307', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682304', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682301', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682298', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682240', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682237', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682234', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682233', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682231', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682220', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682217', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682212', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682208', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682204', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682200', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682173', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682168', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682165', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682160', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682143', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682140', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682138', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682136', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682135', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682134', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682112', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682110', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682108', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682106', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682104', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682066', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682063', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682062', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338681083', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338681081', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338681054', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338681051', None, None, None, None, None, '2602994') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '20696011', "{'mal_croppe': 20696074, 'Teint_Dans_La_Masse': 20696075, 'metal': 20696076, 'cartonnette': 20696077, 'papier': 20696078, 'environnement': 20696079, 'plastique': 20696080, 'Carton_gris': 20696081, 'flou': 20696082, 'Carton_brun': 20696083, 'kraft': 20696084, 'autre_refus': 20696085}", None, None, None, None, '2602994'), ('4302', '20696011', '1338682387', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682314', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682310', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682307', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682304', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682301', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682298', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682240', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682237', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682234', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682233', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682231', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682220', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682217', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682212', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682208', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682204', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682200', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682173', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682168', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682165', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682160', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682143', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682140', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682138', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682136', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682135', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682134', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682112', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682110', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682108', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682106', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682104', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682066', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682063', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682062', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338681083', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338681081', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338681054', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338681051', None, None, None, None, None, '2602994')] time used for this insertion : 0.021887779235839844 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6305744647979736 time spend to save output : 0.022937774658203125 total time spend for step 1 : 0.6535122394561768 step2:final Fri Feb 21 05:54:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20696011) 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 20696011 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1338681054,1338681051,1338681083,1338681081,1338682066,1338682063,1338682062,1338682112,1338682110,1338682108,1338682106,1338682104,1338682143,1338682140,1338682138,1338682136,1338682135,1338682134,1338682173,1338682168,1338682165,1338682160,1338682220,1338682217,1338682212,1338682208,1338682204,1338682200,1338682240,1338682237,1338682234,1338682233,1338682231,1338682314,1338682310,1338682307,1338682304,1338682301,1338682298,1338682387); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20696011]) Inside saveOutput : final : False verbose : True original output for save of step final : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} new output for save of step final : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} [1338682387, 1338682314, 1338682310, 1338682307, 1338682304, 1338682301, 1338682298, 1338682240, 1338682237, 1338682234, 1338682233, 1338682231, 1338682220, 1338682217, 1338682212, 1338682208, 1338682204, 1338682200, 1338682173, 1338682168, 1338682165, 1338682160, 1338682143, 1338682140, 1338682138, 1338682136, 1338682135, 1338682134, 1338682112, 1338682110, 1338682108, 1338682106, 1338682104, 1338682066, 1338682063, 1338682062, 1338681083, 1338681081, 1338681054, 1338681051] map_info['map_portfolio_photo'] : {20696011: [1338682387, 1338682314, 1338682310, 1338682307, 1338682304, 1338682301, 1338682298, 1338682240, 1338682237, 1338682234, 1338682233, 1338682231, 1338682220, 1338682217, 1338682212, 1338682208, 1338682204, 1338682200, 1338682173, 1338682168, 1338682165, 1338682160, 1338682143, 1338682140, 1338682138, 1338682136, 1338682135, 1338682134, 1338682112, 1338682110, 1338682108, 1338682106, 1338682104, 1338682066, 1338682063, 1338682062, 1338681083, 1338681081, 1338681054, 1338681051]} final : False mtd_id 4302 list_pids : [1338682387, 1338682314, 1338682310, 1338682307, 1338682304, 1338682301, 1338682298, 1338682240, 1338682237, 1338682234, 1338682233, 1338682231, 1338682220, 1338682217, 1338682212, 1338682208, 1338682204, 1338682200, 1338682173, 1338682168, 1338682165, 1338682160, 1338682143, 1338682140, 1338682138, 1338682136, 1338682135, 1338682134, 1338682112, 1338682110, 1338682108, 1338682106, 1338682104, 1338682066, 1338682063, 1338682062, 1338681083, 1338681081, 1338681054, 1338681051] Looping around the photos to save general results len do output : 40 /1338682387.Didn't retrieve data . /1338682314.Didn't retrieve data . /1338682310.Didn't retrieve data . /1338682307.Didn't retrieve data . /1338682304.Didn't retrieve data . /1338682301.Didn't retrieve data . /1338682298.Didn't retrieve data . /1338682240.Didn't retrieve data . /1338682237.Didn't retrieve data . /1338682234.Didn't retrieve data . /1338682233.Didn't retrieve data . /1338682231.Didn't retrieve data . /1338682220.Didn't retrieve data . /1338682217.Didn't retrieve data . /1338682212.Didn't retrieve data . /1338682208.Didn't retrieve data . /1338682204.Didn't retrieve data . /1338682200.Didn't retrieve data . /1338682173.Didn't retrieve data . /1338682168.Didn't retrieve data . /1338682165.Didn't retrieve data . /1338682160.Didn't retrieve data . /1338682143.Didn't retrieve data . /1338682140.Didn't retrieve data . /1338682138.Didn't retrieve data . /1338682136.Didn't retrieve data . /1338682135.Didn't retrieve data . /1338682134.Didn't retrieve data . /1338682112.Didn't retrieve data . /1338682110.Didn't retrieve data . /1338682108.Didn't retrieve data . /1338682106.Didn't retrieve data . /1338682104.Didn't retrieve data . /1338682066.Didn't retrieve data . /1338682063.Didn't retrieve data . /1338682062.Didn't retrieve data . /1338681083.Didn't retrieve data . /1338681081.Didn't retrieve data . /1338681054.Didn't retrieve data . /1338681051.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, '2602994') ('4302', '20696011', '1338682387', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682314', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682310', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682307', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682304', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682301', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682298', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682240', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682237', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682234', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682233', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682231', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682220', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682217', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682212', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682208', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682204', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682200', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682173', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682168', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682165', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682160', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682143', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682140', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682138', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682136', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682135', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682134', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682112', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682110', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682108', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682106', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682104', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682066', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682063', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682062', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338681083', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338681081', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338681054', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338681051', None, None, None, None, None, '2602994') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 120 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', '20696011', '1338682387', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682314', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682310', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682307', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682304', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682301', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682298', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682240', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682237', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682234', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682233', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682231', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682220', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682217', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682212', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682208', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682204', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682200', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682173', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682168', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682165', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682160', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682143', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682140', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682138', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682136', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682135', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682134', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682112', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682110', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682108', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682106', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682104', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682066', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682063', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338682062', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338681083', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338681081', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338681054', '0.061629002884540644', None, None, None, None, '2602994'), ('4302', '20696011', '1338681051', '0.061629002884540644', None, None, None, None, '2602994')] time used for this insertion : 0.01857471466064453 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07726716995239258 time spend to save output : 0.019907236099243164 total time spend for step 2 : 0.09717440605163574 step3:velours_tree Fri Feb 21 05:54:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {20696011: [{'mal_croppe': 20696074, 'Teint_Dans_La_Masse': 20696075, 'metal': 20696076, 'cartonnette': 20696077, 'papier': 20696078, 'environnement': 20696079, 'plastique': 20696080, 'Carton_gris': 20696081, 'flou': 20696082, 'Carton_brun': 20696083, 'kraft': 20696084, 'autre_refus': 20696085}]} input_args_next_step : {20696011: ()} output_args : {20696011: [{'mal_croppe': 20696074, 'Teint_Dans_La_Masse': 20696075, 'metal': 20696076, 'cartonnette': 20696077, 'papier': 20696078, 'environnement': 20696079, 'plastique': 20696080, 'Carton_gris': 20696081, 'flou': 20696082, 'Carton_brun': 20696083, 'kraft': 20696084, 'autre_refus': 20696085}]} args : 20696011 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 : ({'mal_croppe': 20696074, 'Teint_Dans_La_Masse': 20696075, 'metal': 20696076, 'cartonnette': 20696077, 'papier': 20696078, 'environnement': 20696079, 'plastique': 20696080, 'Carton_gris': 20696081, 'flou': 20696082, 'Carton_brun': 20696083, 'kraft': 20696084, 'autre_refus': 20696085},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20696011) 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([20696011]) 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.36988067626953125 time spend to save output : 8.392333984375e-05 total time spend for step 3 : 0.369964599609375 step4:send_mail_cod Fri Feb 21 05:54:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} input_args_next_step : {1338682387: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682387 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682314 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682310 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682307 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682304 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682301 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682298 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682240 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682237 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682234 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682233 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682231 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682220 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682217 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682212 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682208 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682204 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682200 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682173 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682168 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682165 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682160 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682143 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682140 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682138 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682136 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682135 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682134 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682112 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682110 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682108 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682106 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682104 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682066 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682063 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338682062 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338681083 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338681081 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338681054 depend.output_id : 0 input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ()} output_args : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',)} args : 1338681051 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 : {20696011: [{'mal_croppe': 20696074, 'Teint_Dans_La_Masse': 20696075, 'metal': 20696076, 'cartonnette': 20696077, 'papier': 20696078, 'environnement': 20696079, 'plastique': 20696080, 'Carton_gris': 20696081, 'flou': 20696082, 'Carton_brun': 20696083, 'kraft': 20696084, 'autre_refus': 20696085}]} input_args_next_step : {1338682387: ('0.061629002884540644',), 1338682314: ('0.061629002884540644',), 1338682310: ('0.061629002884540644',), 1338682307: ('0.061629002884540644',), 1338682304: ('0.061629002884540644',), 1338682301: ('0.061629002884540644',), 1338682298: ('0.061629002884540644',), 1338682240: ('0.061629002884540644',), 1338682237: ('0.061629002884540644',), 1338682234: ('0.061629002884540644',), 1338682233: ('0.061629002884540644',), 1338682231: ('0.061629002884540644',), 1338682220: ('0.061629002884540644',), 1338682217: ('0.061629002884540644',), 1338682212: ('0.061629002884540644',), 1338682208: ('0.061629002884540644',), 1338682204: ('0.061629002884540644',), 1338682200: ('0.061629002884540644',), 1338682173: ('0.061629002884540644',), 1338682168: ('0.061629002884540644',), 1338682165: ('0.061629002884540644',), 1338682160: ('0.061629002884540644',), 1338682143: ('0.061629002884540644',), 1338682140: ('0.061629002884540644',), 1338682138: ('0.061629002884540644',), 1338682136: ('0.061629002884540644',), 1338682135: ('0.061629002884540644',), 1338682134: ('0.061629002884540644',), 1338682112: ('0.061629002884540644',), 1338682110: ('0.061629002884540644',), 1338682108: ('0.061629002884540644',), 1338682106: ('0.061629002884540644',), 1338682104: ('0.061629002884540644',), 1338682066: ('0.061629002884540644',), 1338682063: ('0.061629002884540644',), 1338682062: ('0.061629002884540644',), 1338681083: ('0.061629002884540644',), 1338681081: ('0.061629002884540644',), 1338681054: ('0.061629002884540644',), 1338681051: ('0.061629002884540644',), 20696011: ()} output_args : {20696011: [{'mal_croppe': 20696074, 'Teint_Dans_La_Masse': 20696075, 'metal': 20696076, 'cartonnette': 20696077, 'papier': 20696078, 'environnement': 20696079, 'plastique': 20696080, 'Carton_gris': 20696081, 'flou': 20696082, 'Carton_brun': 20696083, 'kraft': 20696084, 'autre_refus': 20696085}]} args : 20696011 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 :41, first value : ('0.061629002884540644',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20696011) 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 (1338682387,1338682314,1338682310,1338682307,1338682304,1338682301,1338682298,1338682240,1338682237,1338682234,1338682233,1338682231,1338682220,1338682217,1338682212,1338682208,1338682204,1338682200,1338682173,1338682168,1338682165,1338682160,1338682143,1338682140,1338682138,1338682136,1338682135,1338682134,1338682112,1338682110,1338682108,1338682106,1338682104,1338682066,1338682063,1338682062,1338681083,1338681081,1338681054,1338681051) Found this number of photos: 40 ##### Call download_photos : nb_thread : 5 begin to download photo : 1338681051 begin to download photo : 1338682108 begin to download photo : 1338682160 begin to download photo : 1338682220 begin to download photo : 1338682307 download finish for photo 1338681051 begin to download photo : 1338681054 download finish for photo 1338682307 begin to download photo : 1338682310 download finish for photo 1338682108 begin to download photo : 1338682110 download finish for photo 1338682220 begin to download photo : 1338682231 download finish for photo 1338682160 begin to download photo : 1338682165 download finish for photo 1338681054 begin to download photo : 1338681081 download finish for photo 1338682310 begin to download photo : 1338682314 download finish for photo 1338681081 begin to download photo : 1338681083 download finish for photo 1338682110 begin to download photo : 1338682112 download finish for photo 1338682165 begin to download photo : 1338682168 download finish for photo 1338682231 begin to download photo : 1338682233 download finish for photo 1338682112 begin to download photo : 1338682134 download finish for photo 1338682314 begin to download photo : 1338682387 download finish for photo 1338681083 begin to download photo : 1338682062 download finish for photo 1338682168 begin to download photo : 1338682173 download finish for photo 1338682233 begin to download photo : 1338682234 download finish for photo 1338682134 begin to download photo : 1338682135 download finish for photo 1338682173 begin to download photo : 1338682200 download finish for photo 1338682387 download finish for photo 1338682234 begin to download photo : 1338682237 download finish for photo 1338682062 begin to download photo : 1338682063 download finish for photo 1338682200 begin to download photo : 1338682204 download finish for photo 1338682237 begin to download photo : 1338682240 download finish for photo 1338682135 begin to download photo : 1338682136 download finish for photo 1338682063 begin to download photo : 1338682066 download finish for photo 1338682204 begin to download photo : 1338682208 download finish for photo 1338682240 begin to download photo : 1338682298 download finish for photo 1338682066 begin to download photo : 1338682104 download finish for photo 1338682136 begin to download photo : 1338682138 download finish for photo 1338682208 begin to download photo : 1338682212 download finish for photo 1338682298 begin to download photo : 1338682301 download finish for photo 1338682138 begin to download photo : 1338682140 download finish for photo 1338682212 begin to download photo : 1338682217 download finish for photo 1338682104 begin to download photo : 1338682106 download finish for photo 1338682301 begin to download photo : 1338682304 download finish for photo 1338682217 download finish for photo 1338682140 begin to download photo : 1338682143 download finish for photo 1338682106 download finish for photo 1338682304 download finish for photo 1338682143 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette206960741740113672/ imagette206960761740113672/ length of list_filenames : 40 ; length of list_pids : 40 ; length of list_args : 40 results_Auto_P20696011_21-02-2025_05_54_32.pdf 20696074 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=20696074 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette206960741740113672 20696076 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=20696076 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette206960761740113672 20696077 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=20696077 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1338682954: '1740088053_2873002_1338682233_256c5f21b5cf54705fc09a088548adc0_rle_crop_3681128306_0.png', 1338683260: '1740088232_2881369_1338682220_ce575d3bfef8e6eedf37b3b12722970a_rle_crop_3681128578_0.png', 1338683261: '1740088232_2881369_1338682220_ce575d3bfef8e6eedf37b3b12722970a_rle_crop_3681128576_0.png', 1338689373: '1740090304_2952912_1338681054_bb5b262169244c62e9039162a7880d5e_rle_crop_3681164779_0.png', 1338689374: '1740090304_2952912_1338681051_c828acdd1735f5153a8857f0807d9fe8_rle_crop_3681165359_0.png', 1338690006: '1740090774_2965270_1338682200_6bbdceb3bc8e73f20f10515ee8a2205e_rle_crop_3681126713_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2f483f947d04fc9a908b6d0b4a73bbbf_62429099.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e95cfeb726ee24d916ec89a8043ce54e_12558146.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ebc94587f369e92090e264cd4b9ae653_10575589.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fee0ac85e78f77c82aaa80c49bd82e0e_32544869.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cd0dae5c57ef813a66894cc2ac793bf8_17958604.png change filename to text .imagette206960771740113672/ imagette206960771740113672/1740088232_2881369_1338682220_ce575d3bfef8e6eedf37b3b12722970a_rle_crop_3681128578_0.png.png imagette206960771740113672/1740088232_2881369_1338682220_ce575d3bfef8e6eedf37b3b12722970a_rle_crop_3681128576_0.png.png imagette206960771740113672/1740090774_2965270_1338682200_6bbdceb3bc8e73f20f10515ee8a2205e_rle_crop_3681126713_0.png.png imagette206960771740113672/1740088053_2873002_1338682233_256c5f21b5cf54705fc09a088548adc0_rle_crop_3681128306_0.png.png imagette206960771740113672/1740090304_2952912_1338681054_bb5b262169244c62e9039162a7880d5e_rle_crop_3681164779_0.png.png imagette206960771740113672/1740090304_2952912_1338681051_c828acdd1735f5153a8857f0807d9fe8_rle_crop_3681165359_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fa03020c530581d10351d100f7906f20_87320918.png imagette206960771740113672 20696080 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=20696080 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1338682386: '1740087873_2868239_1338682104_108d2edb6d00875716fab5673046060a_rle_crop_3681125092_0.png', 1338682936: '1740088034_2872823_1338682307_32038441ac1c7b2e677ba51d4981eadd_rle_crop_3681128192_0.png', 1338682937: '1740088034_2872823_1338682304_5b906d3d24c7bb15090dd31297e6b279_rle_crop_3681128210_0.png', 1338682958: '1740088053_2873002_1338682314_64ab6a72e54ac246f0295a7c8e42427c_rle_crop_3681128282_0.png', 1338682959: '1740088053_2873002_1338682231_899eb9263755cf3aec4f926f155d6e25_rle_crop_3681128317_0.png', 1338683268: '1740088232_2881369_1338682160_7c796703c577d15fa99c9a6d86fef641_rle_crop_3681128753_0.png', 1338689977: '1740090735_2964071_1338682387_bac8deedeed6b549db41a4621d826546_rle_crop_3681170989_0.png', 1338689978: '1740090735_2964071_1338682307_32038441ac1c7b2e677ba51d4981eadd_rle_crop_3681128192_0.png', 1338689979: '1740090735_2964071_1338682304_5b906d3d24c7bb15090dd31297e6b279_rle_crop_3681128210_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/95b823a063ab20ce811f50dfea1f09ef_27386274.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/60563cba3b4766f4694006cbd6651cf5_37088092.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/10f4b30f1c16e1b1a49e9e52852f1504_83134495.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/930d321606941a21fc597a6e3d8915b1_43302762.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/405559f366b3c3fda453dc72470518eb_94187634.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e3e748726b87fa2e1803be241e3cb0ba_92901098.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ea1da4ae05e43f4caf2fdcfa0bdce18b_5027402.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/60563cba3b4766f4694006cbd6651cf5_98210132.png change filename to text .imagette206960801740113672/ imagette206960801740113672/1740090735_2964071_1338682387_bac8deedeed6b549db41a4621d826546_rle_crop_3681170989_0.png.png imagette206960801740113672/1740088232_2881369_1338682160_7c796703c577d15fa99c9a6d86fef641_rle_crop_3681128753_0.png.png imagette206960801740113672/1740088034_2872823_1338682304_5b906d3d24c7bb15090dd31297e6b279_rle_crop_3681128210_0.png.png imagette206960801740113672/1740088034_2872823_1338682307_32038441ac1c7b2e677ba51d4981eadd_rle_crop_3681128192_0.png.png imagette206960801740113672/1740090735_2964071_1338682304_5b906d3d24c7bb15090dd31297e6b279_rle_crop_3681128210_0.png.png imagette206960801740113672/1740090735_2964071_1338682307_32038441ac1c7b2e677ba51d4981eadd_rle_crop_3681128192_0.png.png imagette206960801740113672/1740088053_2873002_1338682314_64ab6a72e54ac246f0295a7c8e42427c_rle_crop_3681128282_0.png.png imagette206960801740113672/1740088053_2873002_1338682231_899eb9263755cf3aec4f926f155d6e25_rle_crop_3681128317_0.png.png imagette206960801740113672/1740087873_2868239_1338682104_108d2edb6d00875716fab5673046060a_rle_crop_3681125092_0.png.png imagette206960821740113673/ wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/10f4b30f1c16e1b1a49e9e52852f1504_17914053.png imagette206960801740113672 20696082 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=20696082 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette206960821740113673 20696084 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=20696084 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1338682389: '1740087873_2868239_1338682104_108d2edb6d00875716fab5673046060a_rle_crop_3681125097_0.png', 1338683269: '1740088232_2881369_1338682165_a06293155841d794a37df8e90a964fa3_rle_crop_3681128724_0.png', 1338683270: '1740088232_2881369_1338682160_7c796703c577d15fa99c9a6d86fef641_rle_crop_3681128746_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c550dbc1a4ed1aa1b844e5a58b093ab4_79885439.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fc37f483aa0813604bd1bb09a8e14ddb_79676462.png change filename to text .imagette206960841740113673/ imagette206960841740113673/1740087873_2868239_1338682104_108d2edb6d00875716fab5673046060a_rle_crop_3681125097_0.png.png imagette206960841740113673/1740088232_2881369_1338682165_a06293155841d794a37df8e90a964fa3_rle_crop_3681128724_0.png.png imagette206960841740113673/1740088232_2881369_1338682160_7c796703c577d15fa99c9a6d86fef641_rle_crop_3681128746_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/37bfcae57981be4f8e57889114bddfb9_73849541.png imagette206960841740113673 20696085 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=20696085 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1338682162: '1740087674_2862011_1338682062_2ece86c786fbf079906f2d2d9a55975a_rle_crop_3681123123_0.png', 1338682378: '1740087873_2868239_1338682110_ecefa4ec85f883c5651d3aa3cad1b6d8_rle_crop_3681124294_0.png', 1338682379: '1740087873_2868239_1338682110_ecefa4ec85f883c5651d3aa3cad1b6d8_rle_crop_3681124295_0.png', 1338683258: '1740088232_2881369_1338682168_ce7d20c95ef17dde99a7ce43f17c7c56_rle_crop_3681128600_0.png', 1338689291: '1740090172_2943454_1338682062_2ece86c786fbf079906f2d2d9a55975a_bib_crop_3681123123_0.jpg', 1338689292: '1740090172_2943454_1338682062_2ece86c786fbf079906f2d2d9a55975a_rle_crop_3681164534_0.png', 1338689368: '1740090304_2952912_1338681054_bb5b262169244c62e9039162a7880d5e_rle_crop_3681164780_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f7e34da9b8734c61835945298511054b_60608184.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/08f2cf809aae3d5c2f26cbe1f43f4470_48931359.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6ad25fff04c306af130875c5caff71cf_51042457.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b774460af03f0434d5a1f0545c2b690c_93702106.png change filename to text .wget -O 5.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/480e5077e800ce00807684ba4afe365f_8177860.jpg change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e4c8b0651e8e8de15e4e2cb09c898c09_84124407.png change filename to text .imagette206960851740113674/ imagette206960851740113674/1740090172_2943454_1338682062_2ece86c786fbf079906f2d2d9a55975a_bib_crop_3681123123_0.jpg.jpg imagette206960851740113674/1740090304_2952912_1338681054_bb5b262169244c62e9039162a7880d5e_rle_crop_3681164780_0.png.png imagette206960851740113674/1740087873_2868239_1338682110_ecefa4ec85f883c5651d3aa3cad1b6d8_rle_crop_3681124294_0.png.png imagette206960851740113674/1740090172_2943454_1338682062_2ece86c786fbf079906f2d2d9a55975a_rle_crop_3681164534_0.png.png imagette206960851740113674/1740088232_2881369_1338682168_ce7d20c95ef17dde99a7ce43f17c7c56_rle_crop_3681128600_0.png.png imagette206960851740113674/1740087674_2862011_1338682062_2ece86c786fbf079906f2d2d9a55975a_rle_crop_3681123123_0.png.png imagette206960851740113674/1740087873_2868239_1338682110_ecefa4ec85f883c5651d3aa3cad1b6d8_rle_crop_3681124295_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/31c4ce793ef0cbe2dbb0c4780c1e871d_10549318.png imagette206960851740113674 20696075 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=20696075 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1338682375: '1740087873_2868239_1338682143_0c1886e55875695a082ad7a0e4dd72e7_rle_crop_3681124286_0.png', 1338682376: '1740087873_2868239_1338682106_f02d24bfd87e4c685bec3cbd70ba578b_rle_crop_3681124327_0.png', 1338682934: '1740088034_2872823_1338682298_a56e39d0b4e999816f2bc9ffc98c7078_rle_crop_3681128254_0.png', 1338683254: '1740088232_2881369_1338682220_ce575d3bfef8e6eedf37b3b12722970a_rle_crop_3681128580_0.png', 1338683255: '1740088232_2881369_1338682168_ce7d20c95ef17dde99a7ce43f17c7c56_rle_crop_3681128604_0.png', 1338683256: '1740088232_2881369_1338682160_7c796703c577d15fa99c9a6d86fef641_rle_crop_3681128754_0.png', 1338689367: '1740090304_2952912_1338681051_c828acdd1735f5153a8857f0807d9fe8_rle_crop_3681165368_0.png', 1338689975: '1740090735_2964071_1338682298_a56e39d0b4e999816f2bc9ffc98c7078_rle_crop_3681128254_0.png', 1338690001: '1740090774_2965270_1338682240_3adbcdba5c2b60c96ffbf01623fd23f6_bib_crop_3681172098_0.jpg', 1338690002: '1740090774_2965270_1338682240_3adbcdba5c2b60c96ffbf01623fd23f6_bib_crop_3681172093_0.jpg', 1338690003: '1740090774_2965270_1338682217_ae63fd5d7a06b681371674e04aa58bd2_bib_crop_3681125398_0.jpg'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eff98d7926f432b30384de5627d79760_43302002.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b9f15d8c17081f7e36fed2c60b14cf1d_81842039.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0ff8f9f46f9cb66b8f702b2d01863b11_37942097.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8cbc15d949927566a6a163a050d3564b_35105469.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9efbf6624053c3bf68a59bbc45f30193_56146803.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/668cebae6aa4563c0c3ae50f07d6256b_79149083.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/de675dae9794fb50550030f717c553d8_4596095.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0ff8f9f46f9cb66b8f702b2d01863b11_81620900.png change filename to text .wget -O 9.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/08255a0d0b6d5d7ddfaa38bc3e32bdaf_17069810.jpg change filename to text .wget -O 10.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8216141506eeb451ee0390f607cf997a_21324795.jpg change filename to text .imagette206960751740113674/ imagette206960751740113674/1740087873_2868239_1338682143_0c1886e55875695a082ad7a0e4dd72e7_rle_crop_3681124286_0.png.png imagette206960751740113674/1740088232_2881369_1338682168_ce7d20c95ef17dde99a7ce43f17c7c56_rle_crop_3681128604_0.png.png imagette206960751740113674/1740087873_2868239_1338682106_f02d24bfd87e4c685bec3cbd70ba578b_rle_crop_3681124327_0.png.png imagette206960751740113674/1740088232_2881369_1338682220_ce575d3bfef8e6eedf37b3b12722970a_rle_crop_3681128580_0.png.png imagette206960751740113674/1740090774_2965270_1338682240_3adbcdba5c2b60c96ffbf01623fd23f6_bib_crop_3681172093_0.jpg.jpg imagette206960751740113674/1740088232_2881369_1338682160_7c796703c577d15fa99c9a6d86fef641_rle_crop_3681128754_0.png.png imagette206960751740113674/1740090774_2965270_1338682217_ae63fd5d7a06b681371674e04aa58bd2_bib_crop_3681125398_0.jpg.jpg imagette206960751740113674/1740090304_2952912_1338681051_c828acdd1735f5153a8857f0807d9fe8_rle_crop_3681165368_0.png.png imagette206960751740113674/1740090735_2964071_1338682298_a56e39d0b4e999816f2bc9ffc98c7078_rle_crop_3681128254_0.png.png imagette206960751740113674/1740090774_2965270_1338682240_3adbcdba5c2b60c96ffbf01623fd23f6_bib_crop_3681172098_0.jpg.jpg imagette206960751740113674/1740088034_2872823_1338682298_a56e39d0b4e999816f2bc9ffc98c7078_rle_crop_3681128254_0.png.png wget -O 11.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/454b16356b361297fb53fb9fa72def13_14187502.jpg imagette206960751740113674 20696081 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=20696081 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1338682381: '1740087873_2868239_1338682110_ecefa4ec85f883c5651d3aa3cad1b6d8_rle_crop_3681124298_0.png', 1338682951: '1740088053_2873002_1338682314_64ab6a72e54ac246f0295a7c8e42427c_rle_crop_3681128279_0.png', 1338682952: '1740088053_2873002_1338682314_64ab6a72e54ac246f0295a7c8e42427c_rle_crop_3681128269_0.png', 1338689369: '1740090304_2952912_1338681083_7eddbb43b486bbd49a92027c4fb1b76f_rle_crop_3681164758_0.png', 1338689370: '1740090304_2952912_1338681054_bb5b262169244c62e9039162a7880d5e_rle_crop_3681164771_0.png', 1338690004: '1740090774_2965270_1338682217_ae63fd5d7a06b681371674e04aa58bd2_bib_crop_3681125388_0.jpg'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/468a81da5c405a00516fd4ce388d603a_95401292.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0b89b58ab6acdf8b0d1113fafca8f271_65886543.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b91de9a3c2e44f517775e7a059c79b28_14083006.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cfcc4199377d62ff1194be28b49b22b9_53929145.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d18f1e9b5f7f0978eebd51230b22ca96_26693368.png change filename to text .imagette206960811740113675/ imagette206960811740113675/1740090304_2952912_1338681083_7eddbb43b486bbd49a92027c4fb1b76f_rle_crop_3681164758_0.png.png imagette206960811740113675/1740088053_2873002_1338682314_64ab6a72e54ac246f0295a7c8e42427c_rle_crop_3681128279_0.png.png imagette206960811740113675/1740088053_2873002_1338682314_64ab6a72e54ac246f0295a7c8e42427c_rle_crop_3681128269_0.png.png imagette206960811740113675/1740087873_2868239_1338682110_ecefa4ec85f883c5651d3aa3cad1b6d8_rle_crop_3681124298_0.png.png imagette206960811740113675/1740090774_2965270_1338682217_ae63fd5d7a06b681371674e04aa58bd2_bib_crop_3681125388_0.jpg.jpg imagette206960811740113675/1740090304_2952912_1338681054_bb5b262169244c62e9039162a7880d5e_rle_crop_3681164771_0.png.png wget -O 6.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a9f3346284b90d9aeb84ee897c04e4fb_26166426.jpg imagette206960811740113675 20696083 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=20696083 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1338683265: '1740088232_2881369_1338682160_7c796703c577d15fa99c9a6d86fef641_rle_crop_3681128749_0.png', 1338690017: '1740090774_2965270_1338682200_6bbdceb3bc8e73f20f10515ee8a2205e_rle_crop_3681126721_0.png', 1338690016: '1740090774_2965270_1338682200_6bbdceb3bc8e73f20f10515ee8a2205e_rle_crop_3681126715_0.png', 1338690015: '1740090774_2965270_1338682204_f035986d7a4d6f7b2f87e1d84870e216_bib_crop_3681126703_0.jpg', 1338690014: '1740090774_2965270_1338682212_17bf3680b76c3cfbf17dbda9fa980a9d_bib_crop_3681126134_0.jpg', 1338690013: '1740090774_2965270_1338682217_ae63fd5d7a06b681371674e04aa58bd2_bib_crop_3681125393_0.jpg', 1338690012: '1740090774_2965270_1338682240_3adbcdba5c2b60c96ffbf01623fd23f6_bib_crop_3681172094_0.jpg', 1338689297: '1740090172_2943454_1338682062_2ece86c786fbf079906f2d2d9a55975a_rle_crop_3681123120_0.png', 1338689295: '1740090172_2943454_1338682062_2ece86c786fbf079906f2d2d9a55975a_rle_crop_3681123122_0.png', 1338683266: '1740088232_2881369_1338682160_7c796703c577d15fa99c9a6d86fef641_rle_crop_3681128751_0.png', 1338682163: '1740087674_2862011_1338682062_2ece86c786fbf079906f2d2d9a55975a_rle_crop_3681123122_0.png', 1338683264: '1740088232_2881369_1338682165_a06293155841d794a37df8e90a964fa3_rle_crop_3681128729_0.png', 1338683263: '1740088232_2881369_1338682220_ce575d3bfef8e6eedf37b3b12722970a_rle_crop_3681128577_0.png', 1338682957: '1740088053_2873002_1338682231_899eb9263755cf3aec4f926f155d6e25_rle_crop_3681128318_0.png', 1338682956: '1740088053_2873002_1338682314_64ab6a72e54ac246f0295a7c8e42427c_rle_crop_3681128273_0.png', 1338682384: '1740087873_2868239_1338682106_f02d24bfd87e4c685bec3cbd70ba578b_rle_crop_3681124329_0.png', 1338682383: '1740087873_2868239_1338682108_f087f94b9d7929c769653328c46aa90a_rle_crop_3681124317_0.png', 1338682382: '1740087873_2868239_1338682143_0c1886e55875695a082ad7a0e4dd72e7_rle_crop_3681124279_0.png', 1338682164: '1740087674_2862011_1338682062_2ece86c786fbf079906f2d2d9a55975a_rle_crop_3681123120_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6a1c1dd2e5abea75799cf55656dca27f_69300063.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e7c4043a5eb06b978ed4fcfc5f127e84_81174667.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/20d58f075277512f3d872a6d933f606d_57518438.png change filename to text .wget -O 4.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3cca3634b6c94ba0da81c54f4e74ea2d_55735366.jpg change filename to text .wget -O 5.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bc4e22fe606ce8a3059f8a455f9d1baa_36178667.jpg change filename to text .wget -O 6.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/28ddf23e9b3ef3a1794a09a213c97525_10590147.jpg change filename to text .wget -O 7.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c34f4067cbcc0e2f1eae41e646d6c778_37125531.jpg change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/31f7bcaca1ae2ac83934a48940bce5ca_77887001.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cbc815c469b72f14b78556d4c8470c22_27737529.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/260453b8ba917933f51b97f929671e57_16203947.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cbc815c469b72f14b78556d4c8470c22_60956357.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d61456882c8cba6743ee2286855ccecd_2459318.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9f6fe2905e2e82ca9417293158a4a0cc_15565856.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9e0df3f7cf350c70bae59b0a0a88586e_77832090.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/631db04b35266dc1cc8688d3da55718b_82569103.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/55a858e2263109600eb73f22ad8f4be2_1163077.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/09062ce9d1c019ebaa000902a49b5365_41760324.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bce2a982a311e0a43e5d0911e8d37cc0_69639465.png change filename to text .imagette206960831740113677/ imagette206960831740113677/1740090774_2965270_1338682204_f035986d7a4d6f7b2f87e1d84870e216_bib_crop_3681126703_0.jpg.jpg imagette206960831740113677/1740090774_2965270_1338682200_6bbdceb3bc8e73f20f10515ee8a2205e_rle_crop_3681126715_0.png.png imagette206960831740113677/1740090774_2965270_1338682212_17bf3680b76c3cfbf17dbda9fa980a9d_bib_crop_3681126134_0.jpg.jpg imagette206960831740113677/1740090774_2965270_1338682240_3adbcdba5c2b60c96ffbf01623fd23f6_bib_crop_3681172094_0.jpg.jpg imagette206960831740113677/1740088232_2881369_1338682165_a06293155841d794a37df8e90a964fa3_rle_crop_3681128729_0.png.png imagette206960831740113677/1740090172_2943454_1338682062_2ece86c786fbf079906f2d2d9a55975a_rle_crop_3681123122_0.png.png imagette206960831740113677/1740090774_2965270_1338682217_ae63fd5d7a06b681371674e04aa58bd2_bib_crop_3681125393_0.jpg.jpg imagette206960831740113677/1740088232_2881369_1338682160_7c796703c577d15fa99c9a6d86fef641_rle_crop_3681128749_0.png.png imagette206960831740113677/1740088053_2873002_1338682231_899eb9263755cf3aec4f926f155d6e25_rle_crop_3681128318_0.png.png imagette206960831740113677/1740087873_2868239_1338682143_0c1886e55875695a082ad7a0e4dd72e7_rle_crop_3681124279_0.png.png imagette206960831740113677/1740087873_2868239_1338682108_f087f94b9d7929c769653328c46aa90a_rle_crop_3681124317_0.png.png imagette206960831740113677/1740090172_2943454_1338682062_2ece86c786fbf079906f2d2d9a55975a_rle_crop_3681123120_0.png.png imagette206960831740113677/1740088232_2881369_1338682160_7c796703c577d15fa99c9a6d86fef641_rle_crop_3681128751_0.png.png imagette206960831740113677/1740090774_2965270_1338682200_6bbdceb3bc8e73f20f10515ee8a2205e_rle_crop_3681126721_0.png.png imagette206960831740113677/1740088232_2881369_1338682220_ce575d3bfef8e6eedf37b3b12722970a_rle_crop_3681128577_0.png.png imagette206960831740113677/1740087674_2862011_1338682062_2ece86c786fbf079906f2d2d9a55975a_rle_crop_3681123122_0.png.png imagette206960831740113677/1740087674_2862011_1338682062_2ece86c786fbf079906f2d2d9a55975a_rle_crop_3681123120_0.png.png imagette206960831740113677/1740088053_2873002_1338682314_64ab6a72e54ac246f0295a7c8e42427c_rle_crop_3681128273_0.png.png imagette206960831740113677/1740087873_2868239_1338682106_f02d24bfd87e4c685bec3cbd70ba578b_rle_crop_3681124329_0.png.png wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/31f7bcaca1ae2ac83934a48940bce5ca_96120753.png imagette206960831740113677 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20696011 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20696086,20696087,20696088,20696089,20696090,20696091,20696092,20696093,20696094,20696095,20696096,20696097?tags=mal_croppe,Teint_Dans_La_Masse,metal,cartonnette,papier,environnement,plastique,Carton_gris,flou,Carton_brun,kraft,autre_refus your option no_mail is active, we will not send the real mail to your client args[1338682387] : ('0.061629002884540644',) no score found for photo 1338682387 We are sending mail with results at report@fotonower.com args[1338682314] : ('0.061629002884540644',) no score found for photo 1338682314 We are sending mail with results at report@fotonower.com args[1338682310] : ('0.061629002884540644',) no score found for photo 1338682310 We are sending mail with results at report@fotonower.com args[1338682307] : ('0.061629002884540644',) no score found for photo 1338682307 We are sending mail with results at report@fotonower.com args[1338682304] : ('0.061629002884540644',) no score found for photo 1338682304 We are sending mail with results at report@fotonower.com args[1338682301] : ('0.061629002884540644',) no score found for photo 1338682301 We are sending mail with results at report@fotonower.com args[1338682298] : ('0.061629002884540644',) no score found for photo 1338682298 We are sending mail with results at report@fotonower.com args[1338682240] : ('0.061629002884540644',) no score found for photo 1338682240 We are sending mail with results at report@fotonower.com args[1338682237] : ('0.061629002884540644',) no score found for photo 1338682237 We are sending mail with results at report@fotonower.com args[1338682234] : ('0.061629002884540644',) no score found for photo 1338682234 We are sending mail with results at report@fotonower.com args[1338682233] : ('0.061629002884540644',) no score found for photo 1338682233 We are sending mail with results at report@fotonower.com args[1338682231] : ('0.061629002884540644',) no score found for photo 1338682231 We are sending mail with results at report@fotonower.com args[1338682220] : ('0.061629002884540644',) no score found for photo 1338682220 We are sending mail with results at report@fotonower.com args[1338682217] : ('0.061629002884540644',) no score found for photo 1338682217 We are sending mail with results at report@fotonower.com args[1338682212] : ('0.061629002884540644',) no score found for photo 1338682212 We are sending mail with results at report@fotonower.com args[1338682208] : ('0.061629002884540644',) no score found for photo 1338682208 We are sending mail with results at report@fotonower.com args[1338682204] : ('0.061629002884540644',) no score found for photo 1338682204 We are sending mail with results at report@fotonower.com args[1338682200] : ('0.061629002884540644',) no score found for photo 1338682200 We are sending mail with results at report@fotonower.com args[1338682173] : ('0.061629002884540644',) no score found for photo 1338682173 We are sending mail with results at report@fotonower.com args[1338682168] : ('0.061629002884540644',) no score found for photo 1338682168 We are sending mail with results at report@fotonower.com args[1338682165] : ('0.061629002884540644',) no score found for photo 1338682165 We are sending mail with results at report@fotonower.com args[1338682160] : ('0.061629002884540644',) no score found for photo 1338682160 We are sending mail with results at report@fotonower.com args[1338682143] : ('0.061629002884540644',) no score found for photo 1338682143 We are sending mail with results at report@fotonower.com args[1338682140] : ('0.061629002884540644',) no score found for photo 1338682140 We are sending mail with results at report@fotonower.com args[1338682138] : ('0.061629002884540644',) no score found for photo 1338682138 We are sending mail with results at report@fotonower.com args[1338682136] : ('0.061629002884540644',) no score found for photo 1338682136 We are sending mail with results at report@fotonower.com args[1338682135] : ('0.061629002884540644',) no score found for photo 1338682135 We are sending mail with results at report@fotonower.com args[1338682134] : ('0.061629002884540644',) no score found for photo 1338682134 We are sending mail with results at report@fotonower.com args[1338682112] : ('0.061629002884540644',) no score found for photo 1338682112 We are sending mail with results at report@fotonower.com args[1338682110] : ('0.061629002884540644',) no score found for photo 1338682110 We are sending mail with results at report@fotonower.com args[1338682108] : ('0.061629002884540644',) no score found for photo 1338682108 We are sending mail with results at report@fotonower.com args[1338682106] : ('0.061629002884540644',) no score found for photo 1338682106 We are sending mail with results at report@fotonower.com args[1338682104] : ('0.061629002884540644',) no score found for photo 1338682104 We are sending mail with results at report@fotonower.com args[1338682066] : ('0.061629002884540644',) no score found for photo 1338682066 We are sending mail with results at report@fotonower.com args[1338682063] : ('0.061629002884540644',) no score found for photo 1338682063 We are sending mail with results at report@fotonower.com args[1338682062] : ('0.061629002884540644',) no score found for photo 1338682062 We are sending mail with results at report@fotonower.com args[1338681083] : ('0.061629002884540644',) no score found for photo 1338681083 We are sending mail with results at report@fotonower.com args[1338681081] : ('0.061629002884540644',) no score found for photo 1338681081 We are sending mail with results at report@fotonower.com args[1338681054] : ('0.061629002884540644',) no score found for photo 1338681054 We are sending mail with results at report@fotonower.com args[1338681051] : ('0.061629002884540644',) no score found for photo 1338681051 We are sending mail with results at report@fotonower.com refus_total : 0.061629002884540644 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=20696011 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_P20696011_21-02-2025_05_54_32.pdf results_Auto_P20696011_21-02-2025_05_54_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20696011_21-02-2025_05_54_32.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','20696011','results_Auto_P20696011_21-02-2025_05_54_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20696011_21-02-2025_05_54_32.pdf','pdf','','0.48','0.061629002884540644') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20696011]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1338682387, 1338682314, 1338682310, 1338682307, 1338682304, 1338682301, 1338682298, 1338682240, 1338682237, 1338682234, 1338682233, 1338682231, 1338682220, 1338682217, 1338682212, 1338682208, 1338682204, 1338682200, 1338682173, 1338682168, 1338682165, 1338682160, 1338682143, 1338682140, 1338682138, 1338682136, 1338682135, 1338682134, 1338682112, 1338682110, 1338682108, 1338682106, 1338682104, 1338682066, 1338682063, 1338682062, 1338681083, 1338681081, 1338681054, 1338681051] map_info['map_portfolio_photo'] : {20696011: [1338682387, 1338682314, 1338682310, 1338682307, 1338682304, 1338682301, 1338682298, 1338682240, 1338682237, 1338682234, 1338682233, 1338682231, 1338682220, 1338682217, 1338682212, 1338682208, 1338682204, 1338682200, 1338682173, 1338682168, 1338682165, 1338682160, 1338682143, 1338682140, 1338682138, 1338682136, 1338682135, 1338682134, 1338682112, 1338682110, 1338682108, 1338682106, 1338682104, 1338682066, 1338682063, 1338682062, 1338681083, 1338681081, 1338681054, 1338681051]} final : False mtd_id 4302 list_pids : [1338682387, 1338682314, 1338682310, 1338682307, 1338682304, 1338682301, 1338682298, 1338682240, 1338682237, 1338682234, 1338682233, 1338682231, 1338682220, 1338682217, 1338682212, 1338682208, 1338682204, 1338682200, 1338682173, 1338682168, 1338682165, 1338682160, 1338682143, 1338682140, 1338682138, 1338682136, 1338682135, 1338682134, 1338682112, 1338682110, 1338682108, 1338682106, 1338682104, 1338682066, 1338682063, 1338682062, 1338681083, 1338681081, 1338681054, 1338681051] 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, '2602994') ('4302', '20696011', '1338682387', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682314', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682310', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682307', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682304', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682301', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682298', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682240', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682237', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682234', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682233', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682231', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682220', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682217', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682212', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682208', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682204', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682200', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682173', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682168', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682165', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682160', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682143', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682140', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682138', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682136', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682135', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682134', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682112', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682110', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682108', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682106', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682104', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682066', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682063', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682062', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338681083', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338681081', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338681054', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338681051', None, None, None, None, None, '2602994') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 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', '20696011', '1338682387', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682314', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682310', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682307', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682304', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682301', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682298', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682240', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682237', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682234', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682233', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682231', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682220', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682217', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682212', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682208', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682204', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682200', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682173', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682168', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682165', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682160', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682143', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682140', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682138', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682136', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682135', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682134', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682112', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682110', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682108', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682106', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682104', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682066', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682063', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682062', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338681083', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338681081', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338681054', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338681051', None, None, None, None, None, '2602994')] time used for this insertion : 0.017287492752075195 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.43408751487732 time spend to save output : 0.01774883270263672 total time spend for step 4 : 11.451836347579956 step5:split_time_score Fri Feb 21 05:54:42 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 : ['20696011'] 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 : [('20696011',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20696011) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1338682307: {'path': 'temp/1740113670_1158130_1338682307_32038441ac1c7b2e677ba51d4981eadd.jpg', 'extension': 'jpg'}, 1338682310: {'path': 'temp/1740113670_1158130_1338682310_85ab4eb0949fc3fa36d11990bf3d3dce.jpg', 'extension': 'jpg'}, 1338682314: {'path': 'temp/1740113670_1158130_1338682314_64ab6a72e54ac246f0295a7c8e42427c.jpg', 'extension': 'jpg'}, 1338682387: {'path': 'temp/1740113670_1158130_1338682387_bac8deedeed6b549db41a4621d826546.jpg', 'extension': 'jpg'}, 1338682160: {'path': 'temp/1740113670_1158130_1338682160_7c796703c577d15fa99c9a6d86fef641.jpg', 'extension': 'jpg'}, 1338682165: {'path': 'temp/1740113670_1158130_1338682165_a06293155841d794a37df8e90a964fa3.jpg', 'extension': 'jpg'}, 1338682168: {'path': 'temp/1740113670_1158130_1338682168_ce7d20c95ef17dde99a7ce43f17c7c56.jpg', 'extension': 'jpg'}, 1338682173: {'path': 'temp/1740113670_1158130_1338682173_7feae8390d49b4715613432b07ef5945.jpg', 'extension': 'jpg'}, 1338682200: {'path': 'temp/1740113670_1158130_1338682200_6bbdceb3bc8e73f20f10515ee8a2205e.jpg', 'extension': 'jpg'}, 1338682204: {'path': 'temp/1740113670_1158130_1338682204_f035986d7a4d6f7b2f87e1d84870e216.jpg', 'extension': 'jpg'}, 1338682208: {'path': 'temp/1740113670_1158130_1338682208_d12d6236fc569bd9b2957e2e3818e3ad.jpg', 'extension': 'jpg'}, 1338682212: {'path': 'temp/1740113670_1158130_1338682212_17bf3680b76c3cfbf17dbda9fa980a9d.jpg', 'extension': 'jpg'}, 1338682217: {'path': 'temp/1740113670_1158130_1338682217_ae63fd5d7a06b681371674e04aa58bd2.jpg', 'extension': 'jpg'}, 1338681051: {'path': 'temp/1740113670_1158130_1338681051_c828acdd1735f5153a8857f0807d9fe8.jpg', 'extension': 'jpg'}, 1338681054: {'path': 'temp/1740113670_1158130_1338681054_bb5b262169244c62e9039162a7880d5e.jpg', 'extension': 'jpg'}, 1338681081: {'path': 'temp/1740113670_1158130_1338681081_9fc70880319f04fbd5806e4f0294d8f5.jpg', 'extension': 'jpg'}, 1338681083: {'path': 'temp/1740113670_1158130_1338681083_7eddbb43b486bbd49a92027c4fb1b76f.jpg', 'extension': 'jpg'}, 1338682062: {'path': 'temp/1740113670_1158130_1338682062_2ece86c786fbf079906f2d2d9a55975a.jpg', 'extension': 'jpg'}, 1338682063: {'path': 'temp/1740113670_1158130_1338682063_52b9e813c29824fd1d3129f19bcd42a0.jpg', 'extension': 'jpg'}, 1338682066: {'path': 'temp/1740113670_1158130_1338682066_a1c9e73f69e2caefac91d6fe6a4373bb.jpg', 'extension': 'jpg'}, 1338682104: {'path': 'temp/1740113670_1158130_1338682104_108d2edb6d00875716fab5673046060a.jpg', 'extension': 'jpg'}, 1338682106: {'path': 'temp/1740113670_1158130_1338682106_f02d24bfd87e4c685bec3cbd70ba578b.jpg', 'extension': 'jpg'}, 1338682220: {'path': 'temp/1740113670_1158130_1338682220_ce575d3bfef8e6eedf37b3b12722970a.jpg', 'extension': 'jpg'}, 1338682231: {'path': 'temp/1740113670_1158130_1338682231_899eb9263755cf3aec4f926f155d6e25.jpg', 'extension': 'jpg'}, 1338682233: {'path': 'temp/1740113670_1158130_1338682233_256c5f21b5cf54705fc09a088548adc0.jpg', 'extension': 'jpg'}, 1338682234: {'path': 'temp/1740113670_1158130_1338682234_6462431411a57bdb72a5dfaf2a33cc7d.jpg', 'extension': 'jpg'}, 1338682237: {'path': 'temp/1740113670_1158130_1338682237_e83eabad5ba5d370b346df6b210978d7.jpg', 'extension': 'jpg'}, 1338682240: {'path': 'temp/1740113670_1158130_1338682240_3adbcdba5c2b60c96ffbf01623fd23f6.jpg', 'extension': 'jpg'}, 1338682298: {'path': 'temp/1740113670_1158130_1338682298_a56e39d0b4e999816f2bc9ffc98c7078.jpg', 'extension': 'jpg'}, 1338682301: {'path': 'temp/1740113670_1158130_1338682301_01f3a2a953fe7516a5217057ffe7a8cd.jpg', 'extension': 'jpg'}, 1338682304: {'path': 'temp/1740113670_1158130_1338682304_5b906d3d24c7bb15090dd31297e6b279.jpg', 'extension': 'jpg'}, 1338682108: {'path': 'temp/1740113670_1158130_1338682108_f087f94b9d7929c769653328c46aa90a.jpg', 'extension': 'jpg'}, 1338682110: {'path': 'temp/1740113670_1158130_1338682110_ecefa4ec85f883c5651d3aa3cad1b6d8.jpg', 'extension': 'jpg'}, 1338682112: {'path': 'temp/1740113670_1158130_1338682112_dcae83eb41972335c158a6f41e8baea2.jpg', 'extension': 'jpg'}, 1338682134: {'path': 'temp/1740113670_1158130_1338682134_23f9f6e6b82ae27452e167113dedf516.jpg', 'extension': 'jpg'}, 1338682135: {'path': 'temp/1740113670_1158130_1338682135_9592501666761a6e87cd4553eeee7c77.jpg', 'extension': 'jpg'}, 1338682136: {'path': 'temp/1740113670_1158130_1338682136_c0f2c50f2776992de6b50a491048914c.jpg', 'extension': 'jpg'}, 1338682138: {'path': 'temp/1740113670_1158130_1338682138_5ac5b59dbe588eab81caa36a08e94058.jpg', 'extension': 'jpg'}, 1338682140: {'path': 'temp/1740113670_1158130_1338682140_1bd4991c0803360ba1baa3405c4c7c7d.jpg', 'extension': 'jpg'}, 1338682143: {'path': 'temp/1740113670_1158130_1338682143_0c1886e55875695a082ad7a0e4dd72e7.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 = 20696011; (('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 = 20696011 group by h (('22', 40),) 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=20696011 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 (20696011) 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 (20696011) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 20022025 20696011 Nombre de photos uploadées : 40 / 23040 (0%) 20022025 20696011 Nombre de photos taguées (types de déchets): 0 / 40 (0%) 20022025 20696011 Nombre de photos taguées (volume) : 0 / 40 (0%) [{'photo_id': 1338681054, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bb5b262169244c62e9039162a7880d5e.jpg', 'username': None, 'uploaded_at': 1740087322, 'text': 'image_20022025_22_34_23_010138m0.jpg 1e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1338681051, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c828acdd1735f5153a8857f0807d9fe8.jpg', 'username': None, 'uploaded_at': 1740087322, 'text': 'image_20022025_22_34_44_010143m0.jpg 2e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1338681083, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7eddbb43b486bbd49a92027c4fb1b76f.jpg', 'username': None, 'uploaded_at': 1740087382, 'text': 'image_20022025_22_34_54_010139m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1338681081, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9fc70880319f04fbd5806e4f0294d8f5.jpg', 'username': None, 'uploaded_at': 1740087382, 'text': 'image_20022025_22_35_04_010153m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.52587890625e-05 elapsed_time : order_list_meta_photo_and_scores 7.867813110351562e-06 ???????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.001985311508178711 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20696011, '2025-02-20' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1613763,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.025920629501342773 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= 1613763 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20677020, 'dashboard_result_id': 8990420, '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_P20677020_21-02-2025_05_34_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20677029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20677030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20677031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20677032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20677033, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20677034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20677035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20677036, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20677037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20677038, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20677039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20677040, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20677493, 'dashboard_result_id': 8990421, '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_P20677493_21-02-2025_05_35_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20677533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20677534, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20677535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20677536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20677537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20677538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20677539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20677540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20677541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20677542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20677543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20677544, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20677981, 'dashboard_result_id': 8990422, '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_P20677981_21-02-2025_05_36_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20677986, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20677987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20677988, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20677989, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20677990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20677991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20677992, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20677993, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20677994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20677995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20677996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20677997, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20678504, 'dashboard_result_id': 8990423, '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_P20678504_21-02-2025_05_36_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20678525, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20678526, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20678527, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20678528, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20678529, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20678530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20678531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20678532, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20678533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20678534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20678535, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20678536, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20679292, 'dashboard_result_id': 8990424, '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_P20679292_21-02-2025_05_37_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20679320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20679321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20679322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20679323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20679324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20679325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20679326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20679327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20679328, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20679329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20679330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20679331, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20679803, 'dashboard_result_id': 8990425, '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_P20679803_21-02-2025_05_38_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20679834, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20679835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20679836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20679837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20679838, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20679839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20679840, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20679841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20679842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20679843, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20679844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20679845, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20680429, 'dashboard_result_id': 8990426, '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_P20680429_21-02-2025_05_39_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20680435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20680436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20680437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20680438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20680439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20680440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20680441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20680442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20680443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20680444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20680445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20680446, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20681180, 'dashboard_result_id': 8990427, '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_P20681180_21-02-2025_05_39_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20681191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20681192, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20681193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20681194, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20681195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20681196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20681197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20681198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20681199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20681200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20681201, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20681202, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20682044, 'dashboard_result_id': 8990428, '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_P20682044_21-02-2025_05_40_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20682074, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20682075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20682076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20682077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20682078, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20682079, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20682080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20682081, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20682082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20682083, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20682084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20682085, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20682655, 'dashboard_result_id': 8990429, '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_P20682655_21-02-2025_05_40_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20682672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20682673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20682674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20682675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20682676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20682677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20682678, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20682679, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20682680, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20682681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20682682, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20682683, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20683276, 'dashboard_result_id': 8990430, '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_P20683276_21-02-2025_05_41_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20683283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20683284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20683285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20683286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20683287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20683288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20683289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20683290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20683291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20683292, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20683293, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20683294, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20684204, 'dashboard_result_id': 8990431, '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_P20684204_21-02-2025_05_42_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20684208, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20684209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20684210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20684211, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20684212, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20684213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20684214, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20684215, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20684216, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20684217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20684218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20684219, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20685137, 'dashboard_result_id': 8990432, '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_P20685137_21-02-2025_05_42_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20685176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20685177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20685178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20685179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20685180, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20685181, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20685182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20685183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20685184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20685185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20685186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20685187, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20685567, 'dashboard_result_id': 8990433, '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_P20685567_21-02-2025_05_43_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20685594, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20685595, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20685596, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20685597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20685598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20685599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20685600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20685601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20685602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20685603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20685604, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20685605, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20685890, 'dashboard_result_id': 8990434, '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_P20685890_21-02-2025_05_44_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20685895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20685896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20685897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20685898, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20685899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20685900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20685901, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20685902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20685903, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20685904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20685905, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20685906, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20686400, 'dashboard_result_id': 8990435, '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_P20686400_21-02-2025_05_44_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20686433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20686434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20686435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20686436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20686437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20686438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20686439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20686440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20686441, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20686442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20686443, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20686444, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20687022, 'dashboard_result_id': 8990436, '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_P20687022_21-02-2025_05_45_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20687030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20687031, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20687032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20687033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20687034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20687035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20687036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20687037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20687038, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20687039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20687040, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20687041, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20687703, 'dashboard_result_id': 8990437, '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_P20687703_21-02-2025_05_46_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20687736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20687737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20687738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20687739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20687740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20687741, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20687742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20687743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20687744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20687745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20687746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20687747, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20688458, 'dashboard_result_id': 8990438, '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_P20688458_21-02-2025_05_47_09.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20688466, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20688467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20688468, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20688469, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20688470, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20688471, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20688472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20688473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20688474, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20688475, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20688476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20688477, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20689330, 'dashboard_result_id': 8990439, '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_P20689330_21-02-2025_05_47_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20689384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20689385, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20689386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20689387, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20689388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20689389, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20689390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20689391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20689392, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20689393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20689394, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20689395, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20690178, 'dashboard_result_id': 8990440, '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_P20690178_21-02-2025_05_48_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20690182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20690183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20690184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20690185, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20690186, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20690187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20690188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20690189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20690190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20690191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20690192, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20690193, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20690722, 'dashboard_result_id': 8990441, '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_P20690722_21-02-2025_05_48_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20690790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20690791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20690792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20690793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20690794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20690795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20690796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20690797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20690798, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20690799, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20690800, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20690801, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20691256, 'dashboard_result_id': 8990442, '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_P20691256_21-02-2025_05_50_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20691301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20691302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20691303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20691304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20691305, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20691306, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20691307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20691308, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20691309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20691310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20691311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20691312, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20692372, 'dashboard_result_id': 8990443, '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_P20692372_21-02-2025_05_50_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20692399, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20692400, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20692401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20692402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20692403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20692404, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20692405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20692406, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20692407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20692408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20692409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20692410, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20692904, 'dashboard_result_id': 8990444, '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_P20692904_21-02-2025_05_51_38.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20692944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20692945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20692946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20692947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20692948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20692949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20692950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20692951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20692952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20692953, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20692954, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20692955, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20693496, 'dashboard_result_id': 8990445, '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_P20693496_21-02-2025_05_52_08.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20693500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20693501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20693502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20693503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20693504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20693505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20693506, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20693507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20693508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20693509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20693510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20693511, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20693855, 'dashboard_result_id': 8990446, '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_P20693855_21-02-2025_05_52_38.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20693884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20693885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20693886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20693887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20693888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20693889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20693890, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20693891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20693892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20693893, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20693894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20693895, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20694462, 'dashboard_result_id': 8990447, '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_P20694462_21-02-2025_05_53_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20694494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20694495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20694496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20694497, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20694498, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20694499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20694500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20694501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20694502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20694503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20694504, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20694505, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20695009, 'dashboard_result_id': 8990448, '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_P20695009_21-02-2025_05_54_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20695083, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20695084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20695085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20695086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20695087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20695088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20695089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20695090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20695091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20695092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20695093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20695094, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20696011, 'dashboard_result_id': 8990449, '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_P20696011_20-02-2025_22_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20696074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20696075, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20696076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20696077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20696078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20696079, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20696080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20696081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20696082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20696083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20696084, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20696085, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20696236, 'dashboard_result_id': 8990450, '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_P20696236_20-02-2025_23_02_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20696314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20696315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20696316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20696317, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20696318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20696319, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20696320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20696321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20696322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20696323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20696324, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20696325, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20696669, 'dashboard_result_id': 8990451, '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_P20696669_20-02-2025_23_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20696674, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20696675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20696676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20696677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20696678, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20696679, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20696680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20696681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20696682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20696683, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20696684, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20696685, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20697317, 'dashboard_result_id': 8990452, '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_P20697317_20-02-2025_23_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20697350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20697351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20697352, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20697353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20697354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20697355, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20697356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20697357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20697358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20697359, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20697360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20697361, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20698145, 'dashboard_result_id': 8990453, '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_P20698145_20-02-2025_23_49_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20698220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20698221, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20698222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20698223, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20698224, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20698225, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20698226, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20698227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20698228, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20698229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20698230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20698231, 'pht': 3726}}"}, {'dashboat_entry_day': 1613763, 'dashboard_run_id': 1622736, 'mtr_portfolio_id': 20698592, 'dashboard_result_id': 8990454, '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_P20698592_21-02-2025_01_09_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20698595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20698596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20698597, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20698598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20698599, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20698600, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20698601, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20698602, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20698603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20698604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20698605, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20698606, '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 = 20677020 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': 2602965, 'mtr_portfolio_id': 20677020, 'created_at': datetime.datetime(2025, 2, 21, 5, 34, 29), 'result': '0.026277955506590962', 'result_long': None, 'result_double': None}] Qualite : 0.026277955506590962 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20677020 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20677020_21-02-2025_05_34_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20677020 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_P20677020_21-02-2025_05_34_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20677029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20677030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20677031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20677032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20677033, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20677034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20677035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20677036, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20677037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20677038, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20677039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20677040, 'pht': 3726}}" where mtr_portfolio_id = 20677020 and dashboard_run_id = 1622736 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`=20677020 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990420, 0.026277955506590962, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20677020_21-02-2025_05_34_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20677029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20677030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20677031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20677032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20677033, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20677034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20677035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20677036, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20677037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20677038, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20677039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20677040, '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 = 20677493 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': 2602966, 'mtr_portfolio_id': 20677493, 'created_at': datetime.datetime(2025, 2, 21, 5, 35, 30), 'result': '0.035807220813968074', 'result_long': None, 'result_double': None}] Qualite : 0.035807220813968074 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20677493 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20677493_21-02-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20677493 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_P20677493_21-02-2025_05_35_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20677533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20677534, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20677535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20677536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20677537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20677538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20677539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20677540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20677541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20677542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20677543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20677544, 'pht': 3726}}" where mtr_portfolio_id = 20677493 and dashboard_run_id = 1622736 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`=20677493 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990421, 0.035807220813968074, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20677493_21-02-2025_05_35_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20677533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20677534, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20677535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20677536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20677537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20677538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20677539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20677540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20677541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20677542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20677543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20677544, '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 = 20677981 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': 2602967, 'mtr_portfolio_id': 20677981, 'created_at': datetime.datetime(2025, 2, 21, 5, 35, 59), 'result': '0.07405263222647525', 'result_long': None, 'result_double': None}] Qualite : 0.07405263222647525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20677981 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20677981_21-02-2025_05_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20677981 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_P20677981_21-02-2025_05_36_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20677986, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20677987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20677988, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20677989, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20677990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20677991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20677992, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20677993, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20677994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20677995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20677996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20677997, 'pht': 3726}}" where mtr_portfolio_id = 20677981 and dashboard_run_id = 1622736 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`=20677981 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990422, 0.07405263222647525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20677981_21-02-2025_05_36_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20677986, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20677987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20677988, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20677989, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20677990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20677991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20677992, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20677993, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20677994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20677995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20677996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20677997, '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 = 20678504 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': 2602968, 'mtr_portfolio_id': 20678504, 'created_at': datetime.datetime(2025, 2, 21, 5, 36, 28), 'result': '0.04296565314830263', 'result_long': None, 'result_double': None}] Qualite : 0.04296565314830263 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20678504 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20678504_21-02-2025_05_36_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20678504 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_P20678504_21-02-2025_05_36_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20678525, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20678526, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20678527, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20678528, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20678529, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20678530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20678531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20678532, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20678533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20678534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20678535, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20678536, 'pht': 3726}}" where mtr_portfolio_id = 20678504 and dashboard_run_id = 1622736 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`=20678504 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990423, 0.04296565314830263, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20678504_21-02-2025_05_36_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20678525, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20678526, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20678527, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20678528, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20678529, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20678530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20678531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20678532, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20678533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20678534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20678535, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20678536, '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 = 20679292 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': 2602969, 'mtr_portfolio_id': 20679292, 'created_at': datetime.datetime(2025, 2, 21, 5, 37, 31), 'result': '0.04400578514089512', 'result_long': None, 'result_double': None}] Qualite : 0.04400578514089512 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20679292 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20679292_21-02-2025_05_37_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20679292 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_P20679292_21-02-2025_05_37_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20679320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20679321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20679322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20679323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20679324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20679325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20679326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20679327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20679328, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20679329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20679330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20679331, 'pht': 3726}}" where mtr_portfolio_id = 20679292 and dashboard_run_id = 1622736 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`=20679292 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990424, 0.04400578514089512, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20679292_21-02-2025_05_37_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20679320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20679321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20679322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20679323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20679324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20679325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20679326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20679327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20679328, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20679329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20679330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20679331, '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 = 20679803 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': 2602970, 'mtr_portfolio_id': 20679803, 'created_at': datetime.datetime(2025, 2, 21, 5, 38), 'result': '0.042449429123992626', 'result_long': None, 'result_double': None}] Qualite : 0.042449429123992626 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20679803 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20679803_21-02-2025_05_38_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20679803 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_P20679803_21-02-2025_05_38_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20679834, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20679835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20679836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20679837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20679838, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20679839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20679840, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20679841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20679842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20679843, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20679844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20679845, 'pht': 3726}}" where mtr_portfolio_id = 20679803 and dashboard_run_id = 1622736 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`=20679803 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990425, 0.042449429123992626, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20679803_21-02-2025_05_38_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20679834, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20679835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20679836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20679837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20679838, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20679839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20679840, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20679841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20679842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20679843, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20679844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20679845, '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 = 20680429 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': 2602971, 'mtr_portfolio_id': 20680429, 'created_at': datetime.datetime(2025, 2, 21, 5, 39), 'result': '0.06532194276666281', 'result_long': None, 'result_double': None}] Qualite : 0.06532194276666281 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20680429 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20680429_21-02-2025_05_39_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20680429 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_P20680429_21-02-2025_05_39_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20680435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20680436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20680437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20680438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20680439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20680440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20680441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20680442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20680443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20680444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20680445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20680446, 'pht': 3726}}" where mtr_portfolio_id = 20680429 and dashboard_run_id = 1622736 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`=20680429 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990426, 0.06532194276666281, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20680429_21-02-2025_05_39_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20680435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20680436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20680437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20680438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20680439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20680440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20680441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20680442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20680443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20680444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20680445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20680446, '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 = 20681180 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': 2602972, 'mtr_portfolio_id': 20681180, 'created_at': datetime.datetime(2025, 2, 21, 5, 39, 31), 'result': '0.049311636308193796', 'result_long': None, 'result_double': None}] Qualite : 0.049311636308193796 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20681180 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20681180_21-02-2025_05_39_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20681180 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_P20681180_21-02-2025_05_39_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20681191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20681192, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20681193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20681194, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20681195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20681196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20681197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20681198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20681199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20681200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20681201, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20681202, 'pht': 3726}}" where mtr_portfolio_id = 20681180 and dashboard_run_id = 1622736 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`=20681180 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990427, 0.049311636308193796, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20681180_21-02-2025_05_39_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20681191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20681192, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20681193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20681194, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20681195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20681196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20681197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20681198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20681199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20681200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20681201, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20681202, '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 = 20682044 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': 2602973, 'mtr_portfolio_id': 20682044, 'created_at': datetime.datetime(2025, 2, 21, 5, 39, 59), 'result': '0.051993195608785105', 'result_long': None, 'result_double': None}] Qualite : 0.051993195608785105 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20682044 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20682044_21-02-2025_05_40_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20682044 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_P20682044_21-02-2025_05_40_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20682074, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20682075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20682076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20682077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20682078, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20682079, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20682080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20682081, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20682082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20682083, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20682084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20682085, 'pht': 3726}}" where mtr_portfolio_id = 20682044 and dashboard_run_id = 1622736 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`=20682044 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990428, 0.051993195608785105, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20682044_21-02-2025_05_40_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20682074, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20682075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20682076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20682077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20682078, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20682079, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20682080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20682081, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20682082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20682083, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20682084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20682085, '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 = 20682655 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': 2602974, 'mtr_portfolio_id': 20682655, 'created_at': datetime.datetime(2025, 2, 21, 5, 40, 32), 'result': '0.0486917271690454', 'result_long': None, 'result_double': None}] Qualite : 0.0486917271690454 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20682655 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20682655_21-02-2025_05_40_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20682655 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_P20682655_21-02-2025_05_40_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20682672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20682673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20682674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20682675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20682676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20682677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20682678, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20682679, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20682680, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20682681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20682682, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20682683, 'pht': 3726}}" where mtr_portfolio_id = 20682655 and dashboard_run_id = 1622736 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`=20682655 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990429, 0.0486917271690454, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20682655_21-02-2025_05_40_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20682672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20682673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20682674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20682675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20682676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20682677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20682678, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20682679, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20682680, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20682681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20682682, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20682683, '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 = 20683276 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': 2602975, 'mtr_portfolio_id': 20683276, 'created_at': datetime.datetime(2025, 2, 21, 5, 41, 31), 'result': '0.05215102667291758', 'result_long': None, 'result_double': None}] Qualite : 0.05215102667291758 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20683276 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20683276_21-02-2025_05_41_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20683276 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_P20683276_21-02-2025_05_41_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20683283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20683284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20683285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20683286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20683287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20683288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20683289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20683290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20683291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20683292, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20683293, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20683294, 'pht': 3726}}" where mtr_portfolio_id = 20683276 and dashboard_run_id = 1622736 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`=20683276 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990430, 0.05215102667291758, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20683276_21-02-2025_05_41_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20683283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20683284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20683285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20683286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20683287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20683288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20683289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20683290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20683291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20683292, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20683293, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20683294, '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 = 20684204 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': 2602976, 'mtr_portfolio_id': 20684204, 'created_at': datetime.datetime(2025, 2, 21, 5, 42), 'result': '0.08233257028717109', 'result_long': None, 'result_double': None}] Qualite : 0.08233257028717109 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20684204 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20684204_21-02-2025_05_42_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20684204 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_P20684204_21-02-2025_05_42_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20684208, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20684209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20684210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20684211, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20684212, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20684213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20684214, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20684215, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20684216, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20684217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20684218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20684219, 'pht': 3726}}" where mtr_portfolio_id = 20684204 and dashboard_run_id = 1622736 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`=20684204 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990431, 0.08233257028717109, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20684204_21-02-2025_05_42_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20684208, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20684209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20684210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20684211, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20684212, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20684213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20684214, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20684215, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20684216, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20684217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20684218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20684219, '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 = 20685137 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': 2602977, 'mtr_portfolio_id': 20685137, 'created_at': datetime.datetime(2025, 2, 21, 5, 42, 32), 'result': '0.05828723832399367', 'result_long': None, 'result_double': None}] Qualite : 0.05828723832399367 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20685137 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20685137_21-02-2025_05_42_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20685137 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_P20685137_21-02-2025_05_42_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20685176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20685177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20685178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20685179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20685180, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20685181, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20685182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20685183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20685184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20685185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20685186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20685187, 'pht': 3726}}" where mtr_portfolio_id = 20685137 and dashboard_run_id = 1622736 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`=20685137 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990432, 0.05828723832399367, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20685137_21-02-2025_05_42_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20685176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20685177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20685178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20685179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20685180, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20685181, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20685182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20685183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20685184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20685185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20685186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20685187, '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 = 20685567 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': 2602978, 'mtr_portfolio_id': 20685567, 'created_at': datetime.datetime(2025, 2, 21, 5, 43, 35), 'result': '0.044520829428943164', 'result_long': None, 'result_double': None}] Qualite : 0.044520829428943164 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20685567 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20685567_21-02-2025_05_43_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20685567 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_P20685567_21-02-2025_05_43_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20685594, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20685595, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20685596, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20685597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20685598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20685599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20685600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20685601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20685602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20685603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20685604, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20685605, 'pht': 3726}}" where mtr_portfolio_id = 20685567 and dashboard_run_id = 1622736 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`=20685567 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990433, 0.044520829428943164, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20685567_21-02-2025_05_43_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20685594, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20685595, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20685596, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20685597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20685598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20685599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20685600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20685601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20685602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20685603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20685604, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20685605, '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 = 20685890 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': 2602979, 'mtr_portfolio_id': 20685890, 'created_at': datetime.datetime(2025, 2, 21, 5, 43, 58), 'result': '0.051001177541693775', 'result_long': None, 'result_double': None}] Qualite : 0.051001177541693775 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20685890 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20685890_21-02-2025_05_44_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20685890 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_P20685890_21-02-2025_05_44_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20685895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20685896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20685897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20685898, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20685899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20685900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20685901, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20685902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20685903, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20685904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20685905, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20685906, 'pht': 3726}}" where mtr_portfolio_id = 20685890 and dashboard_run_id = 1622736 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`=20685890 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990434, 0.051001177541693775, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20685890_21-02-2025_05_44_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20685895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20685896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20685897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20685898, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20685899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20685900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20685901, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20685902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20685903, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20685904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20685905, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20685906, '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 = 20686400 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': 2602980, 'mtr_portfolio_id': 20686400, 'created_at': datetime.datetime(2025, 2, 21, 5, 44, 29), 'result': '0.05588180440391857', 'result_long': None, 'result_double': None}] Qualite : 0.05588180440391857 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20686400 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20686400_21-02-2025_05_44_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20686400 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_P20686400_21-02-2025_05_44_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20686433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20686434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20686435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20686436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20686437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20686438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20686439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20686440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20686441, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20686442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20686443, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20686444, 'pht': 3726}}" where mtr_portfolio_id = 20686400 and dashboard_run_id = 1622736 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`=20686400 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990435, 0.05588180440391857, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20686400_21-02-2025_05_44_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20686433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20686434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20686435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20686436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20686437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20686438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20686439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20686440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20686441, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20686442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20686443, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20686444, '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 = 20687022 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': 2602981, 'mtr_portfolio_id': 20687022, 'created_at': datetime.datetime(2025, 2, 21, 5, 45, 30), 'result': '0.039902348818293513', 'result_long': None, 'result_double': None}] Qualite : 0.039902348818293513 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20687022 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20687022_21-02-2025_05_45_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20687022 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_P20687022_21-02-2025_05_45_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20687030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20687031, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20687032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20687033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20687034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20687035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20687036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20687037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20687038, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20687039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20687040, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20687041, 'pht': 3726}}" where mtr_portfolio_id = 20687022 and dashboard_run_id = 1622736 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`=20687022 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990436, 0.039902348818293513, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20687022_21-02-2025_05_45_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20687030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20687031, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20687032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20687033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20687034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20687035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20687036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20687037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20687038, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20687039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20687040, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20687041, '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 = 20687703 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': 2602982, 'mtr_portfolio_id': 20687703, 'created_at': datetime.datetime(2025, 2, 21, 5, 45, 58), 'result': '0.05550179193095137', 'result_long': None, 'result_double': None}] Qualite : 0.05550179193095137 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20687703 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20687703_21-02-2025_05_46_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20687703 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_P20687703_21-02-2025_05_46_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20687736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20687737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20687738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20687739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20687740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20687741, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20687742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20687743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20687744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20687745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20687746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20687747, 'pht': 3726}}" where mtr_portfolio_id = 20687703 and dashboard_run_id = 1622736 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`=20687703 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990437, 0.05550179193095137, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20687703_21-02-2025_05_46_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20687736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20687737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20687738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20687739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20687740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20687741, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20687742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20687743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20687744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20687745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20687746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20687747, '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 = 20688458 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': 2602983, 'mtr_portfolio_id': 20688458, 'created_at': datetime.datetime(2025, 2, 21, 5, 47, 6), 'result': '0.04406934465378975', 'result_long': None, 'result_double': None}] Qualite : 0.04406934465378975 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20688458 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20688458_21-02-2025_05_47_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20688458 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_P20688458_21-02-2025_05_47_09.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20688466, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20688467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20688468, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20688469, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20688470, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20688471, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20688472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20688473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20688474, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20688475, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20688476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20688477, 'pht': 3726}}" where mtr_portfolio_id = 20688458 and dashboard_run_id = 1622736 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`=20688458 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990438, 0.04406934465378975, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20688458_21-02-2025_05_47_09.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20688466, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20688467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20688468, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20688469, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20688470, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20688471, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20688472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20688473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20688474, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20688475, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20688476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20688477, '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 = 20689330 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': 2602984, 'mtr_portfolio_id': 20689330, 'created_at': datetime.datetime(2025, 2, 21, 5, 47, 29), 'result': '0.05195443684454396', 'result_long': None, 'result_double': None}] Qualite : 0.05195443684454396 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20689330 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20689330_21-02-2025_05_47_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20689330 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_P20689330_21-02-2025_05_47_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20689384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20689385, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20689386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20689387, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20689388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20689389, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20689390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20689391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20689392, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20689393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20689394, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20689395, 'pht': 3726}}" where mtr_portfolio_id = 20689330 and dashboard_run_id = 1622736 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`=20689330 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990439, 0.05195443684454396, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20689330_21-02-2025_05_47_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20689384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20689385, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20689386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20689387, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20689388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20689389, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20689390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20689391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20689392, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20689393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20689394, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20689395, '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 = 20690178 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': 2602985, 'mtr_portfolio_id': 20690178, 'created_at': datetime.datetime(2025, 2, 21, 5, 47, 58), 'result': '0.04608894235039552', 'result_long': None, 'result_double': None}] Qualite : 0.04608894235039552 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20690178 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20690178_21-02-2025_05_48_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20690178 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_P20690178_21-02-2025_05_48_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20690182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20690183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20690184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20690185, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20690186, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20690187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20690188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20690189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20690190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20690191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20690192, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20690193, 'pht': 3726}}" where mtr_portfolio_id = 20690178 and dashboard_run_id = 1622736 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`=20690178 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990440, 0.04608894235039552, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20690178_21-02-2025_05_48_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20690182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20690183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20690184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20690185, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20690186, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20690187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20690188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20690189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20690190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20690191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20690192, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20690193, '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 = 20690722 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': 2602986, 'mtr_portfolio_id': 20690722, 'created_at': datetime.datetime(2025, 2, 21, 5, 48, 29), 'result': '0.04566151003668198', 'result_long': None, 'result_double': None}] Qualite : 0.04566151003668198 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20690722 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20690722_21-02-2025_05_48_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20690722 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_P20690722_21-02-2025_05_48_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20690790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20690791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20690792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20690793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20690794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20690795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20690796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20690797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20690798, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20690799, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20690800, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20690801, 'pht': 3726}}" where mtr_portfolio_id = 20690722 and dashboard_run_id = 1622736 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`=20690722 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990441, 0.04566151003668198, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20690722_21-02-2025_05_48_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20690790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20690791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20690792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20690793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20690794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20690795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20690796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20690797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20690798, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20690799, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20690800, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20690801, '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 = 20691256 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': 2602987, 'mtr_portfolio_id': 20691256, 'created_at': datetime.datetime(2025, 2, 21, 5, 50, 2), 'result': '0.05998540804535198', 'result_long': None, 'result_double': None}] Qualite : 0.05998540804535198 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20691256 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20691256_21-02-2025_05_50_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20691256 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_P20691256_21-02-2025_05_50_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20691301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20691302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20691303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20691304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20691305, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20691306, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20691307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20691308, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20691309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20691310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20691311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20691312, 'pht': 3726}}" where mtr_portfolio_id = 20691256 and dashboard_run_id = 1622736 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`=20691256 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990442, 0.05998540804535198, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20691256_21-02-2025_05_50_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20691301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20691302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20691303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20691304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20691305, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20691306, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20691307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20691308, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20691309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20691310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20691311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20691312, '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 = 20692372 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': 2602988, 'mtr_portfolio_id': 20692372, 'created_at': datetime.datetime(2025, 2, 21, 5, 50, 32), 'result': '0.06698279958150744', 'result_long': None, 'result_double': None}] Qualite : 0.06698279958150744 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20692372 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20692372_21-02-2025_05_50_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20692372 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_P20692372_21-02-2025_05_50_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20692399, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20692400, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20692401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20692402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20692403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20692404, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20692405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20692406, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20692407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20692408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20692409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20692410, 'pht': 3726}}" where mtr_portfolio_id = 20692372 and dashboard_run_id = 1622736 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`=20692372 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990443, 0.06698279958150744, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20692372_21-02-2025_05_50_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20692399, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20692400, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20692401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20692402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20692403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20692404, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20692405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20692406, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20692407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20692408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20692409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20692410, '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 = 20692904 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': 2602989, 'mtr_portfolio_id': 20692904, 'created_at': datetime.datetime(2025, 2, 21, 5, 51, 35), 'result': '0.051679333622334615', 'result_long': None, 'result_double': None}] Qualite : 0.051679333622334615 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20692904 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20692904_21-02-2025_05_51_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20692904 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_P20692904_21-02-2025_05_51_38.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20692944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20692945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20692946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20692947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20692948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20692949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20692950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20692951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20692952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20692953, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20692954, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20692955, 'pht': 3726}}" where mtr_portfolio_id = 20692904 and dashboard_run_id = 1622736 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`=20692904 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990444, 0.051679333622334615, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20692904_21-02-2025_05_51_38.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20692944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20692945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20692946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20692947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20692948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20692949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20692950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20692951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20692952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20692953, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20692954, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20692955, '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 = 20693496 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': 2602990, 'mtr_portfolio_id': 20693496, 'created_at': datetime.datetime(2025, 2, 21, 5, 52, 5), 'result': '0.04916543697660202', 'result_long': None, 'result_double': None}] Qualite : 0.04916543697660202 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20693496 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20693496_21-02-2025_05_52_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20693496 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_P20693496_21-02-2025_05_52_08.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20693500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20693501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20693502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20693503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20693504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20693505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20693506, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20693507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20693508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20693509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20693510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20693511, 'pht': 3726}}" where mtr_portfolio_id = 20693496 and dashboard_run_id = 1622736 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`=20693496 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990445, 0.04916543697660202, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20693496_21-02-2025_05_52_08.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20693500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20693501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20693502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20693503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20693504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20693505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20693506, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20693507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20693508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20693509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20693510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20693511, '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 = 20693855 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': 2602991, 'mtr_portfolio_id': 20693855, 'created_at': datetime.datetime(2025, 2, 21, 5, 52, 35), 'result': '0.0471266700222251', 'result_long': None, 'result_double': None}] Qualite : 0.0471266700222251 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20693855 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20693855_21-02-2025_05_52_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20693855 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_P20693855_21-02-2025_05_52_38.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20693884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20693885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20693886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20693887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20693888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20693889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20693890, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20693891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20693892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20693893, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20693894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20693895, 'pht': 3726}}" where mtr_portfolio_id = 20693855 and dashboard_run_id = 1622736 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`=20693855 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990446, 0.0471266700222251, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20693855_21-02-2025_05_52_38.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20693884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20693885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20693886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20693887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20693888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20693889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20693890, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20693891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20693892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20693893, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20693894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20693895, '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 = 20694462 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': 2602992, 'mtr_portfolio_id': 20694462, 'created_at': datetime.datetime(2025, 2, 21, 5, 53, 33), 'result': '0.048232466279975725', 'result_long': None, 'result_double': None}] Qualite : 0.048232466279975725 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20694462 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20694462_21-02-2025_05_53_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20694462 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_P20694462_21-02-2025_05_53_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20694494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20694495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20694496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20694497, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20694498, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20694499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20694500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20694501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20694502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20694503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20694504, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20694505, 'pht': 3726}}" where mtr_portfolio_id = 20694462 and dashboard_run_id = 1622736 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`=20694462 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990447, 0.048232466279975725, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20694462_21-02-2025_05_53_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20694494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20694495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20694496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20694497, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20694498, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20694499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20694500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20694501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20694502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20694503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20694504, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20694505, '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 = 20695009 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': 2602993, 'mtr_portfolio_id': 20695009, 'created_at': datetime.datetime(2025, 2, 21, 5, 54, 1), 'result': '0.043581978836843734', 'result_long': None, 'result_double': None}] Qualite : 0.043581978836843734 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20695009 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20695009_21-02-2025_05_54_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20695009 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_P20695009_21-02-2025_05_54_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20695083, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20695084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20695085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20695086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20695087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20695088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20695089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20695090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20695091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20695092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20695093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20695094, 'pht': 3726}}" where mtr_portfolio_id = 20695009 and dashboard_run_id = 1622736 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`=20695009 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990448, 0.043581978836843734, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20695009_21-02-2025_05_54_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20695083, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20695084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20695085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20695086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20695087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20695088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20695089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20695090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20695091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20695092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20695093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20695094, '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 = 20696011 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': 2602994, 'mtr_portfolio_id': 20696011, 'created_at': datetime.datetime(2025, 2, 21, 5, 54, 30), 'result': '0.061629002884540644', 'result_long': None, 'result_double': None}] Qualite : 0.061629002884540644 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20696011 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20696011_21-02-2025_05_54_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20696011 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_P20696011_21-02-2025_05_54_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20696074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20696075, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20696076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20696077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20696078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20696079, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20696080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20696081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20696082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20696083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20696084, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20696085, 'pht': 3726}}" where mtr_portfolio_id = 20696011 and dashboard_run_id = 1622736 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`=20696011 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990449, 0.061629002884540644, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20696011_21-02-2025_05_54_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20696074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20696075, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20696076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20696077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20696078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20696079, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20696080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20696081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20696082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20696083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20696084, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20696085, '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 = 20696236 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': 2601562, 'mtr_portfolio_id': 20696236, 'created_at': datetime.datetime(2025, 2, 20, 23, 2, 30), 'result': '0.06294716191579099', 'result_long': None, 'result_double': None}] Qualite : 0.06294716191579099 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20696236 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20696236_20-02-2025_23_02_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20696236 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_P20696236_20-02-2025_23_02_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20696314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20696315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20696316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20696317, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20696318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20696319, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20696320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20696321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20696322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20696323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20696324, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20696325, 'pht': 3726}}" where mtr_portfolio_id = 20696236 and dashboard_run_id = 1622736 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`=20696236 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990450, 0.06294716191579099, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20696236_20-02-2025_23_02_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20696314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20696315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20696316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20696317, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20696318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20696319, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20696320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20696321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20696322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20696323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20696324, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20696325, '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 = 20696669 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': 2601604, 'mtr_portfolio_id': 20696669, 'created_at': datetime.datetime(2025, 2, 20, 23, 19), 'result': '0.07090747875989986', 'result_long': None, 'result_double': None}] Qualite : 0.07090747875989986 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20696669 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20696669_20-02-2025_23_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20696669 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_P20696669_20-02-2025_23_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20696674, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20696675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20696676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20696677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20696678, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20696679, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20696680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20696681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20696682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20696683, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20696684, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20696685, 'pht': 3726}}" where mtr_portfolio_id = 20696669 and dashboard_run_id = 1622736 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`=20696669 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990451, 0.07090747875989986, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20696669_20-02-2025_23_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20696674, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20696675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20696676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20696677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20696678, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20696679, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20696680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20696681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20696682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20696683, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20696684, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20696685, '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 = 20697317 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': 2601667, 'mtr_portfolio_id': 20697317, 'created_at': datetime.datetime(2025, 2, 20, 23, 32, 58), 'result': '0.058801875129870354', 'result_long': None, 'result_double': None}] Qualite : 0.058801875129870354 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20697317 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20697317_20-02-2025_23_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20697317 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_P20697317_20-02-2025_23_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20697350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20697351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20697352, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20697353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20697354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20697355, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20697356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20697357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20697358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20697359, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20697360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20697361, 'pht': 3726}}" where mtr_portfolio_id = 20697317 and dashboard_run_id = 1622736 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`=20697317 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990452, 0.058801875129870354, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20697317_20-02-2025_23_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20697350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20697351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20697352, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20697353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20697354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20697355, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20697356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20697357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20697358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20697359, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20697360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20697361, '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 = 20698145 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': 2601723, 'mtr_portfolio_id': 20698145, 'created_at': datetime.datetime(2025, 2, 20, 23, 49, 1), 'result': '0.049601360252442814', 'result_long': None, 'result_double': None}] Qualite : 0.049601360252442814 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20698145 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20698145_20-02-2025_23_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20698145 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_P20698145_20-02-2025_23_49_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20698220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20698221, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20698222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20698223, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20698224, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20698225, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20698226, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20698227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20698228, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20698229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20698230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20698231, 'pht': 3726}}" where mtr_portfolio_id = 20698145 and dashboard_run_id = 1622736 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`=20698145 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990453, 0.049601360252442814, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20698145_20-02-2025_23_49_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20698220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20698221, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20698222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20698223, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20698224, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20698225, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20698226, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20698227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20698228, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20698229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20698230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20698231, '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 = 20698592 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': 2601755, 'mtr_portfolio_id': 20698592, 'created_at': datetime.datetime(2025, 2, 21, 1, 9, 31), 'result': '0.03347254518757418', 'result_long': None, 'result_double': None}] Qualite : 0.03347254518757418 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20698592 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20698592_21-02-2025_01_09_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20698592 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_P20698592_21-02-2025_01_09_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20698595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20698596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20698597, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20698598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20698599, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20698600, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20698601, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20698602, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20698603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20698604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20698605, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20698606, 'pht': 3726}}" where mtr_portfolio_id = 20698592 and dashboard_run_id = 1622736 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`=20698592 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8990454, 0.03347254518757418, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20698592_21-02-2025_01_09_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20698595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20698596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20698597, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20698598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20698599, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20698600, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20698601, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20698602, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20698603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20698604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20698605, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20698606, '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 (20677020,20677493,20677981,20678504,20679292,20679803,20680429,20681180,20682044,20682655,20683276,20684204,20685137,20685567,20685890,20686400,20687022,20687703,20688458,20689330,20690178,20690722,20691256,20692372,20692904,20693496,20693855,20694462,20695009,20696011,20696236,20696669,20697317,20698145,20698592) result : ((1338600917,), (1338600919,), (1338600922,), (1338600925,), (1338600927,), (1338600930,), (1338600939,), (1338600945,), (1338601469,), (1338601472,), (1338601475,), (1338601477,), (1338601481,), (1338601663,), (1338601695,), (1338601701,), (1338601808,), (1338601813,), (1338601846,), (1338601852,), (1338601859,), (1338601862,), (1338601886,), (1338601889,), (1338601919,), (1338601921,), (1338601923,), (1338602202,), (1338602205,), (1338602209,), (1338602214,), (1338602218,), (1338602239,), (1338602242,), (1338602246,), (1338602252,), (1338602329,), (1338602331,), (1338602335,), (1338602340,), (1338602387,), (1338602395,), (1338602404,), (1338602409,), (1338602414,), (1338602614,), (1338602437,), (1338602442,), (1338602447,), (1338602455,), (1338602611,), (1338602841,), (1338602928,), (1338602931,), (1338603253,), (1338603255,), (1338603260,), (1338603263,), (1338603267,), (1338603468,), (1338603472,), (1338603474,), (1338603510,), (1338603564,), (1338603570,), (1338603597,), (1338603601,), (1338603606,), (1338603608,), (1338603614,), (1338603619,), (1338603636,), (1338603639,), (1338603643,), (1338603969,), (1338604001,), (1338604004,), (1338604009,), (1338604063,), (1338604334,), (1338604337,), (1338604373,), (1338604382,), (1338604384,), (1338604390,), (1338604394,), (1338604397,), (1338604413,), (1338604416,), (1338604423,), (1338604773,), (1338604779,), (1338604786,), (1338604792,), (1338604795,), (1338604800,), (1338604838,), (1338604826,), (1338604830,), (1338604835,), (1338605049,), (1338605052,), (1338605055,), (1338605057,), (1338605061,), (1338605064,), (1338605089,), (1338605092,), (1338605096,), (1338605102,), (1338605110,), (1338605117,), (1338605133,), (1338605136,), (1338605138,), (1338605165,), (1338605168,), (1338605171,), (1338605180,), (1338605187,), (1338605192,), (1338605209,), (1338605211,), (1338605213,), (1338605215,), (1338605218,), (1338605239,), (1338605245,), (1338605248,), (1338605252,), (1338606422,), (1338606424,), (1338606427,), (1338606429,), (1338606432,), (1338606650,), (1338606867,), (1338607088,), (1338607095,), (1338607098,), (1338607275,), (1338607279,), (1338607282,), (1338607290,), (1338607295,), (1338607301,), (1338607335,), (1338607340,), (1338607343,), (1338607347,), (1338607418,), (1338607421,), (1338607424,), (1338607435,), (1338607443,), (1338607448,), (1338607522,), (1338607527,), (1338607532,), (1338607536,), (1338607611,), (1338607599,), (1338607604,), (1338607607,), (1338607610,), (1338607634,), (1338607638,), (1338607643,), (1338607646,), (1338608175,), (1338608244,), (1338608249,), (1338608252,), (1338608327,), (1338608339,), (1338608340,), (1338608342,), (1338608344,), (1338608426,), (1338608435,), (1338608444,), (1338608447,), (1338608482,), (1338608509,), (1338608603,), (1338608831,), (1338609102,), (1338609323,), (1338609327,), (1338609797,), (1338609800,), (1338609804,), (1338609808,), (1338609812,), (1338609816,), (1338610017,), (1338610098,), (1338610154,), (1338610218,), (1338610411,), (1338610413,), (1338610422,), (1338610477,), (1338610524,), (1338610591,), (1338610698,), (1338610723,), (1338610739,), (1338610745,), (1338610763,), (1338610807,), (1338610905,), (1338610910,), (1338610918,), (1338610921,), (1338610959,), (1338610971,), (1338611047,), (1338611128,), (1338611259,), (1338611432,), (1338611427,), (1338611429,), (1338611506,), (1338611514,), (1338611527,), (1338611529,), (1338611530,), (1338611533,), (1338611574,), (1338611577,), (1338611580,), (1338611584,), (1338611689,), (1338611691,), (1338611694,), (1338611697,), (1338611703,), (1338611710,), (1338611740,), (1338611742,), (1338611745,), (1338611749,), (1338611753,), (1338611756,), (1338612014,), (1338612239,), (1338612335,), (1338612489,), (1338612528,), (1338612602,), (1338612687,), (1338612741,), (1338612745,), (1338612750,), (1338612973,), (1338613049,), (1338613118,), (1338613123,), (1338613203,), (1338613228,), (1338613348,), (1338613370,), (1338613385,), (1338613418,), (1338613460,), (1338613464,), (1338613467,), (1338613471,), (1338613475,), (1338613478,), (1338613492,), (1338613494,), (1338613499,), (1338613502,), (1338613524,), (1338613533,), (1338613535,), (1338613538,), (1338613541,), (1338613545,), (1338613569,), (1338613571,), (1338613573,), (1338613577,), (1338613598,), (1338613602,), (1338613605,), (1338613608,), (1338613611,), (1338613632,), (1338613634,), (1338613636,), (1338613639,), (1338613640,), (1338613666,), (1338613659,), (1338613663,), (1338613702,), (1338613713,), (1338613715,), (1338613717,), (1338613721,), (1338613724,), (1338613743,), (1338613745,), (1338613747,), (1338613757,), (1338613766,), (1338613769,), (1338613802,), (1338613813,), (1338613815,), (1338613817,), (1338613851,), (1338613853,), (1338613855,), (1338613858,), (1338613861,), (1338613863,), (1338613881,), (1338613884,), (1338613894,), (1338613900,), (1338613907,), (1338613912,), (1338613930,), (1338613935,), (1338613939,), (1338613942,), (1338613964,), (1338613966,), (1338613968,), (1338613969,), (1338613971,), (1338613973,), (1338614058,), (1338614328,), (1338614585,), (1338614960,), (1338614992,), (1338614999,), (1338615003,), (1338615005,), (1338615014,), (1338615127,), (1338615202,), (1338615362,), (1338615508,), (1338615563,), (1338615584,), (1338615754,), (1338615758,), (1338615762,), (1338615766,), (1338616355,), (1338616403,), (1338616460,), (1338616522,), (1338616653,), (1338616736,), (1338617009,), (1338617014,), (1338617020,), (1338617023,), (1338617024,), (1338617063,), (1338617036,), (1338617040,), (1338617049,), (1338617058,), (1338617710,), (1338617733,), (1338617736,), (1338618544,), (1338618582,), (1338618604,), (1338618769,), (1338618773,), (1338618780,), (1338619063,), (1338619114,), (1338619116,), (1338619136,), (1338619498,), (1338619501,), (1338619503,), (1338619505,), (1338619512,), (1338619548,), (1338619550,), (1338619554,), (1338619559,), (1338619568,), (1338619574,), (1338619689,), (1338619720,), (1338619754,), (1338619813,), (1338620405,), (1338620408,), (1338620410,), (1338620420,), (1338620433,), (1338620435,), (1338620678,), (1338620717,), (1338620738,), (1338620743,), (1338620747,), (1338620817,), (1338620820,), (1338620873,), (1338620942,), (1338621032,), (1338621330,), (1338621333,), (1338621337,), (1338621341,), (1338621345,), (1338621607,), (1338621757,), (1338621823,), (1338621867,), (1338621870,), (1338621874,), (1338622111,), (1338622114,), (1338622116,), (1338622157,), (1338622189,), (1338622194,), (1338622198,), (1338622202,), (1338622206,), (1338622208,), (1338622258,), (1338622262,), (1338622266,), (1338622269,), (1338622323,), (1338622293,), (1338622296,), (1338622299,), (1338622303,), (1338622320,), (1338622377,), (1338622380,), (1338622382,), (1338622389,), (1338622395,), (1338622398,), (1338622488,), (1338622491,), (1338622494,), (1338622498,), (1338622518,), (1338622519,), (1338622521,), (1338622523,), (1338622528,), (1338622539,), (1338622568,), (1338622573,), (1338622584,), (1338622586,), (1338622593,), (1338622613,), (1338622614,), (1338622617,), (1338622620,), (1338622623,), (1338622635,), (1338622914,), (1338623101,), (1338623288,), (1338623480,), (1338623888,), (1338623900,), (1338623902,), (1338623904,), (1338623959,), (1338624116,), (1338624194,), (1338624196,), (1338624225,), (1338624276,), (1338624363,), (1338624369,), (1338624371,), (1338624373,), (1338624375,), (1338624409,), (1338624414,), (1338624473,), (1338624515,), (1338624615,), (1338624619,), (1338624623,), (1338624627,), (1338624630,), (1338624680,), (1338624682,), (1338624684,), (1338624687,), (1338624689,), (1338624745,), (1338624757,), (1338624776,), (1338624782,), (1338624785,), (1338624789,), (1338624856,), (1338624858,), (1338624861,), (1338624864,), (1338624866,), (1338624871,), (1338624950,), (1338624941,), (1338624943,), (1338624945,), (1338624948,), (1338625130,), (1338625164,), (1338625167,), (1338625170,), (1338625174,), (1338625178,), (1338625195,), (1338625199,), (1338625209,), (1338625214,), (1338625218,), (1338625249,), (1338625255,), (1338625258,), (1338625261,), (1338625286,), (1338625291,), (1338625304,), (1338625315,), (1338625317,), (1338625354,), (1338625358,), (1338625362,), (1338625363,), (1338625366,), (1338625586,), (1338625589,), (1338625592,), (1338625595,), (1338625598,), (1338625615,), (1338625715,), (1338625719,), (1338625824,), (1338625826,), (1338625828,), (1338625850,), (1338625879,), (1338625889,), (1338626065,), (1338626067,), (1338626070,), (1338626073,), (1338626109,), (1338626111,), (1338626114,), (1338626118,), (1338626123,), (1338626164,), (1338626166,), (1338626168,), (1338626173,), (1338626179,), (1338626182,), (1338626197,), (1338626199,), (1338626205,), (1338626210,), (1338626212,), (1338626229,), (1338626231,), (1338626233,), (1338626240,), (1338626263,), (1338626266,), (1338626268,), (1338626271,), (1338626274,), (1338626277,), (1338626306,), (1338626300,), (1338626302,), (1338626304,), (1338626341,), (1338626344,), (1338626353,), (1338626368,), (1338626372,), (1338626374,), (1338626391,), (1338626437,), (1338626607,), (1338626677,), (1338626713,), (1338627178,), (1338627306,), (1338627361,), (1338627366,), (1338627369,), (1338627642,), (1338627701,), (1338627771,), (1338627988,), (1338627991,), (1338627994,), (1338628015,), (1338628017,), (1338628018,), (1338628020,), (1338628745,), (1338628748,), (1338628751,), (1338628754,), (1338628856,), (1338628858,), (1338628860,), (1338628864,), (1338628884,), (1338628888,), (1338628892,), (1338629501,), (1338629534,), (1338629609,), (1338629615,), (1338629624,), (1338629626,), (1338629628,), (1338629629,), (1338629639,), (1338629640,), (1338629641,), (1338629643,), (1338629644,), (1338629647,), (1338629670,), (1338629663,), (1338629667,), (1338629894,), (1338629897,), (1338629900,), (1338629903,), (1338629906,), (1338629908,), (1338629922,), (1338629924,), (1338629928,), (1338629933,), (1338629976,), (1338629978,), (1338629980,), (1338629983,), (1338629986,), (1338630208,), (1338630287,), (1338630324,), (1338630419,), (1338630458,), (1338630666,), (1338630668,), (1338630673,), (1338630677,), (1338630681,), (1338630739,), (1338631098,), (1338631117,), (1338631122,), (1338631125,), (1338631378,), (1338631386,), (1338631389,), (1338631392,), (1338631395,), (1338631399,), (1338631463,), (1338631472,), (1338631480,), (1338631483,), (1338631489,), (1338631490,), (1338631509,), (1338631514,), (1338631526,), (1338631530,), (1338631572,), (1338631574,), (1338631577,), (1338631612,), (1338631615,), (1338631636,), (1338631688,), (1338631731,), (1338631778,), (1338631829,), (1338631883,), (1338632006,), (1338632008,), (1338632009,), (1338632012,), (1338632014,), (1338632030,), (1338632032,), (1338632093,), (1338632096,), (1338633715,), (1338633712,), (1338633737,), (1338633739,), (1338633740,), (1338633742,), (1338633744,), (1338633781,), (1338633784,), (1338633789,), (1338633798,), (1338633839,), (1338633845,), (1338633849,), (1338633854,), (1338633856,), (1338641243,), (1338641489,), (1338641496,), (1338641500,), (1338641502,), (1338641505,), (1338641519,), (1338641522,), (1338641524,), (1338641528,), (1338641531,), (1338641697,), (1338641699,), (1338641701,), (1338641704,), (1338642102,), (1338642179,), (1338642260,), (1338642265,), (1338642438,), (1338642442,), (1338642454,), (1338642537,), (1338642542,), (1338642545,), (1338642623,), (1338642660,), (1338642669,), (1338642677,), (1338642695,), (1338642698,), (1338642700,), (1338642704,), (1338642707,), (1338642716,), (1338642741,), (1338642744,), (1338642748,), (1338642752,), (1338642782,), (1338642784,), (1338642795,), (1338642797,), (1338642821,), (1338642838,), (1338642843,), (1338642847,), (1338642851,), (1338642854,), (1338642901,), (1338642904,), (1338642908,), (1338642966,), (1338642968,), (1338642970,), (1338642972,), (1338642981,), (1338642983,), (1338643050,), (1338643052,), (1338643054,), (1338643058,), (1338643061,), (1338643830,), (1338643466,), (1338643472,), (1338643659,), (1338644321,), (1338644323,), (1338644347,), (1338644486,), (1338644655,), (1338644662,), (1338644664,), (1338644667,), (1338644692,), (1338644756,), (1338645010,), (1338645083,), (1338645121,), (1338645126,), (1338645357,), (1338645452,), (1338645454,), (1338645458,), (1338645499,), (1338645515,), (1338645570,), (1338645586,), (1338645592,), (1338645604,), (1338645607,), (1338645631,), (1338645633,), (1338645636,), (1338645639,), (1338645669,), (1338645671,), (1338645675,), (1338645702,), (1338645708,), (1338645726,), (1338645755,), (1338645758,), (1338645820,), (1338645823,), (1338645825,), (1338645829,), (1338645832,), (1338645854,), (1338645859,), (1338645863,), (1338645868,), (1338645908,), (1338645889,), (1338645892,), (1338645894,), (1338645899,), (1338645904,), (1338645924,), (1338645930,), (1338645935,), (1338645938,), (1338645940,), (1338645943,), (1338645957,), (1338645961,), (1338645970,), (1338645981,), (1338646023,), (1338646025,), (1338646027,), (1338646037,), (1338646072,), (1338646074,), (1338646082,), (1338646087,), (1338646090,), (1338646095,), (1338646634,), (1338646741,), (1338646752,), (1338646757,), (1338646760,), (1338646944,), (1338646984,), (1338646998,), (1338647100,), (1338647103,), (1338647106,), (1338647108,), (1338647112,), (1338647152,), (1338647156,), (1338647160,), (1338647166,), (1338647173,), (1338647203,), (1338647207,), (1338647210,), (1338647213,), (1338647217,), (1338647237,), (1338647239,), (1338647241,), (1338647243,), (1338647245,), (1338647288,), (1338647292,), (1338647295,), (1338647298,), (1338647303,), (1338647323,), (1338647327,), (1338647331,), (1338647334,), (1338647341,), (1338647361,), (1338647365,), (1338647399,), (1338647406,), (1338647409,), (1338647414,), (1338647460,), (1338647446,), (1338647449,), (1338647452,), (1338647455,), (1338647457,), (1338647633,), (1338647635,), (1338647637,), (1338647669,), (1338647671,), (1338647673,), (1338647726,), (1338647759,), (1338647769,), (1338647785,), (1338647791,), (1338647884,), (1338647894,), (1338647897,), (1338647900,), (1338647903,), (1338647912,), (1338648706,), (1338648764,), (1338648795,), (1338649475,), (1338649477,), (1338649479,), (1338649481,), (1338649507,), (1338649510,), (1338649514,), (1338649517,), (1338650132,), (1338650155,), (1338650162,), (1338650166,), (1338650170,), (1338650543,), (1338650456,), (1338650477,), (1338650510,), (1338650911,), (1338650967,), (1338650971,), (1338650976,), (1338650981,), (1338651115,), (1338651117,), (1338651192,), (1338651198,), (1338651201,), (1338651220,), (1338651222,), (1338651224,), (1338651298,), (1338651300,), (1338651305,), (1338651308,), (1338651332,), (1338651351,), (1338651362,), (1338651369,), (1338651373,), (1338651377,), (1338651393,), (1338651395,), (1338651398,), (1338651402,), (1338651405,), (1338651747,), (1338651951,), (1338652209,), (1338652428,), (1338652432,), (1338652499,), (1338652502,), (1338652531,), (1338652549,), (1338652558,), (1338652571,), (1338652575,), (1338652579,), (1338652627,), (1338652641,), (1338652645,), (1338652660,), (1338652664,), (1338652723,), (1338652726,), (1338652729,), (1338652732,), (1338652750,), (1338652752,), (1338652754,), (1338652757,), (1338652760,), (1338652787,), (1338652790,), (1338652794,), (1338652800,), (1338652803,), (1338652806,), (1338652822,), (1338652825,), (1338652836,), (1338652842,), (1338652848,), (1338652891,), (1338652878,), (1338652881,), (1338652886,), (1338652933,), (1338652935,), (1338652941,), (1338652945,), (1338653184,), (1338653327,), (1338653330,), (1338653519,), (1338653538,), (1338653605,), (1338653611,), (1338653620,), (1338653634,), (1338653638,), (1338653642,), (1338653692,), (1338653696,), (1338653700,), (1338653704,), (1338653707,), (1338653710,), (1338653753,), (1338653759,), (1338653781,), (1338653874,), (1338653878,), (1338653882,), (1338653885,), (1338653888,), (1338653912,), (1338653914,), (1338653917,), (1338653921,), (1338653925,), (1338653950,), (1338653954,), (1338653958,), (1338653962,), (1338653994,), (1338653996,), (1338654002,), (1338654007,), (1338654028,), (1338654031,), (1338654036,), (1338654038,), (1338654041,), (1338654045,), (1338654067,), (1338654068,), (1338654069,), (1338654072,), (1338654232,), (1338654234,), (1338654237,), (1338654276,), (1338654279,), (1338654283,), (1338654287,), (1338654291,), (1338654331,), (1338654317,), (1338654321,), (1338654324,), (1338654328,), (1338654360,), (1338654368,), (1338654371,), (1338654375,), (1338654403,), (1338654407,), (1338654413,), (1338654440,), (1338654443,), (1338654446,), (1338654466,), (1338654499,), (1338654503,), (1338654512,), (1338654524,), (1338654539,), (1338654543,), (1338654570,), (1338654575,), (1338654578,), (1338654581,), (1338654619,), (1338654631,), (1338654638,), (1338654658,), (1338654661,), (1338654664,), (1338654670,), (1338654674,), (1338654742,), (1338654749,), (1338654754,), (1338654758,), (1338654762,), (1338654779,), (1338654782,), (1338655826,), (1338655829,), (1338655851,), (1338655855,), (1338655858,), (1338655877,), (1338655879,), (1338655882,), (1338655884,), (1338655887,), (1338656311,), (1338656394,), (1338656401,), (1338656405,), (1338656409,), (1338656534,), (1338656539,), (1338656547,), (1338656562,), (1338656568,), (1338656959,), (1338656918,), (1338656929,), (1338656934,), (1338656952,), (1338657720,), (1338657931,), (1338657934,), (1338657937,), (1338657940,), (1338657943,), (1338657961,), (1338658057,), (1338658131,), (1338658143,), (1338658151,), (1338658155,), (1338658201,), (1338658207,), (1338658213,), (1338658217,), (1338658254,), (1338658261,), (1338658264,), (1338658293,), (1338658296,), (1338658328,), (1338658332,), (1338658335,), (1338658342,), (1338658347,), (1338658351,), (1338658396,), (1338658400,), (1338658404,), (1338658423,), (1338658427,), (1338658431,), (1338658440,), (1338658442,), (1338658446,), (1338658454,), (1338658517,), (1338658519,), (1338658523,), (1338658525,), (1338658572,), (1338658609,), (1338658612,), (1338658615,), (1338658620,), (1338658624,), (1338658679,), (1338658683,), (1338658752,), (1338658806,), (1338658808,), (1338658813,), (1338658955,), (1338659008,), (1338659015,), (1338659022,), (1338659029,), (1338659033,), (1338659132,), (1338659109,), (1338659111,), (1338659114,), (1338659124,), (1338659416,), (1338659432,), (1338659437,), (1338659441,), (1338659443,), (1338659481,), (1338659490,), (1338659497,), (1338659500,), (1338659503,), (1338659533,), (1338659536,), (1338659539,), (1338659542,), (1338659545,), (1338659580,), (1338659582,), (1338659586,), (1338659593,), (1338659615,), (1338659618,), (1338659621,), (1338659667,), (1338659670,), (1338659673,), (1338659676,), (1338659721,), (1338659732,), (1338659735,), (1338659739,), (1338659741,), (1338659743,), (1338659759,), (1338659761,), (1338659765,), (1338659769,), (1338659772,), (1338659941,), (1338659990,), (1338659992,), (1338659995,), (1338659997,), (1338660017,), (1338660018,), (1338660020,), (1338660023,), (1338660025,), (1338660027,), (1338660044,), (1338660046,), (1338660048,), (1338660050,), (1338660131,), (1338660136,), (1338660137,), (1338660140,), (1338660200,), (1338660203,), (1338660205,), (1338660208,), (1338660211,), (1338660212,), (1338660455,), (1338660448,), (1338660451,), (1338660453,), (1338660507,), (1338660511,), (1338660519,), (1338660527,), (1338660535,), (1338660886,), (1338660889,), (1338660891,), (1338660896,), (1338660900,), (1338660944,), (1338660947,), (1338660950,), (1338661002,), (1338661554,), (1338661560,), (1338661566,), (1338661579,), (1338661685,), (1338661763,), (1338661799,), (1338661804,), (1338661833,), (1338661836,), (1338661839,), (1338661864,), (1338661867,), (1338661870,), (1338661960,), (1338661963,), (1338661969,), (1338662046,), (1338662050,), (1338662114,), (1338662117,), (1338662121,), (1338662123,), (1338662156,), (1338662162,), (1338662170,), (1338662179,), (1338662184,), (1338662254,), (1338662197,), (1338662200,), (1338662203,), (1338662249,), (1338662251,), (1338662414,), (1338662437,), (1338662441,), (1338662445,), (1338662499,), (1338662583,), (1338662589,), (1338662591,), (1338663051,), (1338663063,), (1338663186,), (1338663202,), (1338663327,), (1338663330,), (1338663336,), (1338663343,), (1338663347,), (1338663349,), (1338663376,), (1338663378,), (1338663381,), (1338663385,), (1338663388,), (1338663391,), (1338663404,), (1338663413,), (1338663415,), (1338663419,), (1338663439,), (1338663442,), (1338663445,), (1338663448,), (1338663482,), (1338663518,), (1338663523,), (1338663527,), (1338663531,), (1338663545,), (1338663547,), (1338663549,), (1338663551,), (1338663553,), (1338663578,), (1338663580,), (1338663582,), (1338664475,), (1338666178,), (1338666296,), (1338666852,), (1338667395,), (1338667397,), (1338667445,), (1338667448,), (1338667449,), (1338667467,), (1338667476,), (1338667507,), (1338668433,), (1338668436,), (1338668715,), (1338668718,), (1338668756,), (1338668802,), (1338668810,), (1338668817,), (1338668819,), (1338668865,), (1338668869,), (1338668872,), (1338668891,), (1338668977,), (1338668980,), (1338668983,), (1338668986,), (1338668989,), (1338668992,), (1338669003,), (1338669005,), (1338669007,), (1338669011,), (1338669067,), (1338669069,), (1338669071,), (1338669116,), (1338669119,), (1338669124,), (1338669153,), (1338669156,), (1338669157,), (1338669162,), (1338669164,), (1338669216,), (1338669194,), (1338669197,), (1338669200,), (1338669203,), (1338669518,), (1338669523,), (1338669529,), (1338669577,), (1338669717,), (1338669877,), (1338669882,), (1338669884,), (1338669887,), (1338669890,), (1338669915,), (1338669926,), (1338669935,), (1338669937,), (1338669940,), (1338669943,), (1338669969,), (1338669972,), (1338669975,), (1338669978,), (1338669980,), (1338669983,), (1338670001,), (1338670005,), (1338670008,), (1338670011,), (1338670061,), (1338670064,), (1338670067,), (1338670070,), (1338670072,), (1338670107,), (1338670112,), (1338670115,), (1338670169,), (1338670183,), (1338670228,), (1338670253,), (1338670263,), (1338670269,), (1338670339,), (1338670344,), (1338670347,), (1338670350,), (1338670353,), (1338670356,), (1338670405,), (1338670407,), (1338670412,), (1338670423,), (1338670524,), (1338670529,), (1338670555,), (1338670602,), (1338670615,), (1338670619,), (1338670656,), (1338670659,), (1338670661,), (1338670664,), (1338670667,), (1338670703,), (1338670705,), (1338670707,), (1338670713,), (1338670775,), (1338670821,), (1338670823,), (1338670826,), (1338670872,), (1338670848,), (1338670853,), (1338670861,), (1338670868,), (1338670885,), (1338670887,), (1338670889,), (1338670893,), (1338670934,), (1338670939,), (1338670945,), (1338670952,), (1338670962,), (1338671012,), (1338671014,), (1338671015,), (1338671019,), (1338671021,), (1338671026,), (1338671058,), (1338671060,), (1338671061,), (1338671063,), (1338671080,), (1338671085,), (1338671177,), (1338671180,), (1338671182,), (1338671184,), (1338671186,), (1338671494,), (1338671497,), (1338671501,), (1338671505,), (1338671511,), (1338671617,), (1338671625,), (1338671629,), (1338671631,), (1338671634,), (1338671637,), (1338671664,), (1338671666,), (1338671668,), (1338671672,), (1338671675,), (1338671679,), (1338671698,), (1338671700,), (1338671708,), (1338671711,), (1338671715,), (1338671730,), (1338671897,), (1338672068,), (1338672236,), (1338672404,), (1338672716,), (1338672720,), (1338672726,), (1338672734,), (1338672738,), (1338672742,), (1338672782,), (1338672922,), (1338673069,), (1338673176,), (1338673185,), (1338673311,), (1338673313,), (1338673319,), (1338673324,), (1338673328,), (1338673332,), (1338673373,), (1338673379,), (1338673416,), (1338673590,), (1338673694,), (1338673679,), (1338673682,), (1338673686,), (1338673690,), (1338673718,), (1338673722,), (1338673726,), (1338673729,), (1338673740,), (1338673784,), (1338673788,), (1338673791,), (1338673796,), (1338673805,), (1338673871,), (1338673876,), (1338673880,), (1338673883,), (1338673886,), (1338673890,), (1338673973,), (1338673976,), (1338673978,), (1338673986,), (1338674233,), (1338674235,), (1338674238,), (1338674241,), (1338674252,), (1338674255,), (1338674271,), (1338674291,), (1338674293,), (1338674295,), (1338674298,), (1338674301,), (1338674347,), (1338674350,), (1338674353,), (1338674356,), (1338674358,), (1338674377,), (1338674380,), (1338674382,), (1338674479,), (1338675441,), (1338675442,), (1338675486,), (1338675693,), (1338675716,), (1338675789,), (1338675992,), (1338676069,), (1338676228,), (1338676231,), (1338676234,), (1338676238,), (1338676477,), (1338676479,), (1338676481,), (1338676483,), (1338676486,), (1338676488,), (1338676536,), (1338676541,), (1338676547,), (1338676552,), (1338676560,), (1338676563,), (1338676564,), (1338676565,), (1338676568,), (1338676569,), (1338676571,), (1338676573,), (1338676575,), (1338676576,), (1338676605,), (1338676582,), (1338676587,), (1338676591,), (1338676596,), (1338676601,), (1338676618,), (1338676622,), (1338676626,), (1338676630,), (1338676634,), (1338676659,), (1338676663,), (1338676667,), (1338676673,), (1338676678,), (1338676682,), (1338676701,), (1338676712,), (1338676719,), (1338676725,), (1338676744,), (1338676747,), (1338676750,), (1338676755,), (1338677307,), (1338677330,), (1338677334,), (1338677362,), (1338677367,), (1338677375,), (1338677388,), (1338677393,), (1338677396,), (1338677400,), (1338677402,), (1338677437,), (1338677447,), (1338677448,), (1338677451,), (1338677454,), (1338677458,), (1338677477,), (1338677481,), (1338677486,), (1338677489,), (1338677513,), (1338677521,), (1338677525,), (1338677528,), (1338677531,), (1338677534,), (1338677568,), (1338677577,), (1338677585,), (1338677595,), (1338677633,), (1338677635,), (1338677637,), (1338677639,), (1338677641,), (1338677682,), (1338677686,), (1338677694,), (1338677697,), (1338677700,), (1338677703,), (1338677749,), (1338677754,), (1338677758,), (1338677793,), (1338677796,), (1338677800,), (1338677806,), (1338677818,), (1338677823,), (1338677869,), (1338677834,), (1338677842,), (1338677849,), (1338677859,), (1338677864,), (1338677906,), (1338678009,), (1338678099,), (1338678102,), (1338678595,), (1338678667,), (1338678735,), (1338678816,), (1338678844,), (1338678848,), (1338678912,), (1338678914,), (1338678916,), (1338678920,), (1338678956,), (1338678961,), (1338678963,), (1338678966,), (1338678971,), (1338678977,), (1338679005,), (1338679009,), (1338679011,), (1338679015,), (1338679018,), (1338679021,), (1338679046,), (1338679048,), (1338679050,), (1338679053,), (1338679110,), (1338679112,), (1338679114,), (1338679118,), (1338679122,), (1338679126,), (1338679144,), (1338679147,), (1338679149,), (1338679151,), (1338679154,), (1338679156,), (1338679173,), (1338679176,), (1338679178,), (1338679182,), (1338679232,), (1338679235,), (1338679238,), (1338679286,), (1338679337,), (1338679973,), (1338681057,), (1338681051,), (1338681054,), (1338681081,), (1338681083,), (1338682062,), (1338682063,), (1338682066,), (1338682104,), (1338682106,), (1338682108,), (1338682110,), (1338682112,), (1338682134,), (1338682135,), (1338682136,), (1338682138,), (1338682140,), (1338682143,), (1338682160,), (1338682165,), (1338682168,), (1338682173,), (1338682200,), (1338682204,), (1338682208,), (1338682212,), (1338682217,), (1338682220,), (1338682231,), (1338682233,), (1338682234,), (1338682237,), (1338682240,), (1338682298,), (1338682301,), (1338682304,), (1338682307,), (1338682310,), (1338682314,), (1338682387,), (1338682371,), (1338682374,), (1338682380,), (1338682408,), (1338682450,), (1338682458,), (1338682655,), (1338682672,), (1338682930,), (1338682932,), (1338682935,), (1338682939,), (1338682941,), (1338682944,), (1338682968,), (1338682970,), (1338682972,), (1338683151,), (1338683157,), (1338683161,), (1338683163,), (1338684832,), (1338684804,), (1338684860,), (1338684862,), (1338684865,), (1338684869,), (1338684873,), (1338684876,), (1338685029,), (1338685115,), (1338685119,), (1338685138,), (1338685139,), (1338685141,), (1338685145,), (1338685148,), (1338685195,), (1338685202,), (1338685215,), (1338685221,), (1338685223,), (1338685239,), (1338685240,), (1338685242,), (1338685245,), (1338685248,), (1338685252,), (1338685270,), (1338685272,), (1338685277,), (1338685280,), (1338685318,), (1338685336,), (1338685385,), (1338685453,), (1338685525,), (1338685604,), (1338686200,), (1338686411,), (1338686596,), (1338686724,), (1338686728,), (1338686759,), (1338686761,), (1338686916,), (1338686988,), (1338687128,), (1338687131,), (1338687133,), (1338687137,), (1338687147,), (1338687156,), (1338687217,), (1338687271,), (1338687321,), (1338687334,), (1338687427,), (1338687492,), (1338687520,), (1338687524,), (1338687630,), (1338687633,), (1338687635,), (1338687638,), (1338687641,), (1338687681,), (1338687703,), (1338687710,), (1338687724,), (1338687731,), (1338687747,), (1338687821,), (1338687804,), (1338687806,), (1338687808,), (1338687813,), (1338687817,), (1338688086,), (1338688163,), (1338688216,), (1338688218,), (1338688256,), (1338688258,), (1338688260,), (1338688357,), (1338688557,), (1338688728,), (1338688765,), (1338688768,), (1338688771,), (1338688954,), (1338688956,), (1338688958,), (1338688960,), (1338688980,), (1338688981,), (1338689060,), (1338689081,), (1338689191,), (1338689194,), (1338689197,), (1338689200,), (1338689231,), (1338689234,), (1338689237,), (1338689261,), (1338689263,), (1338689322,), (1338689324,), (1338689326,), (1338689327,), (1338689329,), (1338689332,), (1338689355,), (1338689357,), (1338689359,), (1338689362,), (1338689390,), (1338689391,), (1338689393,), (1338689430,), (1338689432,), (1338689434,), (1338689441,), (1338689471,), (1338689476,), (1338689477,), (1338689481,), (1338689485,), (1338689509,), (1338689511,), (1338689514,), (1338689519,), (1338689577,), (1338689555,), (1338689560,), (1338689563,), (1338689566,), (1338689569,), (1338689803,), (1338689881,), (1338689910,), (1338689918,), (1338689921,), (1338689940,), (1338689944,), (1338689949,), (1338689954,), (1338689960,), (1338689963,), (1338689982,), (1338689988,), (1338689997,), (1338690005,), (1338690035,), (1338690037,), (1338690071,), (1338690073,), (1338690075,), (1338690077,), (1338690080,), (1338690083,), (1338690099,), (1338690101,), (1338690105,), (1338690109,), (1338690132,), (1338690208,), (1338690223,), (1338690226,), (1338690229,), (1338690327,), (1338690335,), (1338690338,), (1338690342,), (1338690346,), (1338690368,), (1338690371,), (1338690375,), (1338690601,), (1338690607,), (1338690765,), (1338690767,), (1338690770,), (1338690772,), (1338690776,), (1338690781,), (1338690823,), (1338690830,), (1338690838,), (1338690855,), (1338690884,), (1338690897,), (1338690906,), (1338690910,), (1338690919,), (1338690923,), (1338690969,), (1338690965,), (1338690967,), (1338691060,), (1338691062,), (1338691065,), (1338691069,), (1338691072,), (1338691076,), (1338691120,), (1338691123,), (1338691126,), (1338691131,), (1338691135,), (1338691151,), (1338691156,), (1338691160,), (1338691164,), (1338691189,), (1338691197,), (1338691217,), (1338691403,), (1338692498,), (1338692502,), (1338692536,), (1338692546,), (1338692551,), (1338692555,), (1338692568,), (1338692585,), (1338692587,), (1338692591,), (1338692594,), (1338692599,), (1338692629,), (1338692633,), (1338692636,), (1338692691,), (1338693273,), (1338693278,), (1338693327,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'20022025': {'nb_upload': 40, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20696011]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1338682387, 1338682314, 1338682310, 1338682307, 1338682304, 1338682301, 1338682298, 1338682240, 1338682237, 1338682234, 1338682233, 1338682231, 1338682220, 1338682217, 1338682212, 1338682208, 1338682204, 1338682200, 1338682173, 1338682168, 1338682165, 1338682160, 1338682143, 1338682140, 1338682138, 1338682136, 1338682135, 1338682134, 1338682112, 1338682110, 1338682108, 1338682106, 1338682104, 1338682066, 1338682063, 1338682062, 1338681083, 1338681081, 1338681054, 1338681051] map_info['map_portfolio_photo'] : {20696011: [1338682387, 1338682314, 1338682310, 1338682307, 1338682304, 1338682301, 1338682298, 1338682240, 1338682237, 1338682234, 1338682233, 1338682231, 1338682220, 1338682217, 1338682212, 1338682208, 1338682204, 1338682200, 1338682173, 1338682168, 1338682165, 1338682160, 1338682143, 1338682140, 1338682138, 1338682136, 1338682135, 1338682134, 1338682112, 1338682110, 1338682108, 1338682106, 1338682104, 1338682066, 1338682063, 1338682062, 1338681083, 1338681081, 1338681054, 1338681051]} final : True mtd_id 4302 list_pids : [1338682387, 1338682314, 1338682310, 1338682307, 1338682304, 1338682301, 1338682298, 1338682240, 1338682237, 1338682234, 1338682233, 1338682231, 1338682220, 1338682217, 1338682212, 1338682208, 1338682204, 1338682200, 1338682173, 1338682168, 1338682165, 1338682160, 1338682143, 1338682140, 1338682138, 1338682136, 1338682135, 1338682134, 1338682112, 1338682110, 1338682108, 1338682106, 1338682104, 1338682066, 1338682063, 1338682062, 1338681083, 1338681081, 1338681054, 1338681051] Looping around the photos to save general results len do output : 1 /20696011Didn'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, '2602994') ('4302', '20696011', '1338682387', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682314', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682310', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682307', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682304', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682301', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682298', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682240', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682237', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682234', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682233', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682231', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682220', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682217', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682212', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682208', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682204', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682200', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682173', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682168', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682165', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682160', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682143', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682140', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682138', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682136', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682135', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682134', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682112', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682110', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682108', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682106', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682104', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682066', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682063', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338682062', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338681083', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338681081', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338681054', None, None, None, None, None, '2602994') ('4302', None, None, None, None, None, None, None, '2602994') ('4302', '20696011', '1338681051', None, None, None, None, None, '2602994') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '20696011', 'None', None, None, None, None, '2602994'), ('4302', '20696011', '1338682387', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682314', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682310', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682307', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682304', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682301', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682298', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682240', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682237', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682234', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682233', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682231', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682220', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682217', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682212', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682208', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682204', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682200', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682173', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682168', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682165', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682160', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682143', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682140', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682138', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682136', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682135', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682134', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682112', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682110', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682108', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682106', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682104', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682066', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682063', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338682062', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338681083', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338681081', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338681054', None, None, None, None, None, '2602994'), ('4302', '20696011', '1338681051', None, None, None, None, None, '2602994')] time used for this insertion : 0.020140409469604492 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.1250500679016113 time spend to save output : 0.02062845230102539 total time spend for step 5 : 2.1456785202026367 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 (2602994) 3.42user 2.14system 0:18.01elapsed 30%CPU (0avgtext+0avgdata 162944maxresident)k 1080inputs+33264outputs (0major+87585minor)pagefaults 0swaps