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 : 1865714 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 (2758320) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2758320) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22054332 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2758320'] with mtr_portfolio_ids : ['22054332'] and first list_photo_ids : [] new path : /proc/1865714/ Name: python3 Umask: 0002 State: R (running) Tgid: 1865714 Ngid: 0 Pid: 1865714 PPid: 1865713 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1865714 NSpid: 1865714 NSpgid: 1864226 NSsid: 1864226 VmPeak: 1106936 kB VmSize: 1106936 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97432 kB VmRSS: 97432 kB RssAnon: 59776 kB RssFile: 37656 kB RssShmem: 0 kB VmData: 865684 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 612 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 50 nonvoluntary_ctxt_switches: 132 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1865714', 'Ngid': '0', 'Pid': '1865714', 'PPid': '1865713', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1865714', 'NSpid': '1865714', 'NSpgid': '1864226', 'NSsid': '1864226', 'VmPeak': '1106936 kB', 'VmSize': '1106936 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97432 kB', 'VmRSS': '97432 kB', 'RssAnon': '59776 kB', 'RssFile': '37656 kB', 'RssShmem': '0 kB', 'VmData': '865684 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '612 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '50', 'nonvoluntary_ctxt_switches': '132'} ('datou_batch_current', '1865714', '1106936', '0', '1106936', '865684', '97432', b'', 'marlene', '2758320') 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 (22054332) 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 (2758320 ) ) 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 (22054332) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1349832360, 'portfolio_id': 22054332}, {'photo_id': 1349832342, 'portfolio_id': 22054332}, {'photo_id': 1349832271, 'portfolio_id': 22054332}, {'photo_id': 1349832249, 'portfolio_id': 22054332}, {'photo_id': 1349832243, 'portfolio_id': 22054332}, {'photo_id': 1349832102, 'portfolio_id': 22054332}, {'photo_id': 1349832066, 'portfolio_id': 22054332}, {'photo_id': 1349832034, 'portfolio_id': 22054332}, {'photo_id': 1349831962, 'portfolio_id': 22054332}, {'photo_id': 1349831930, 'portfolio_id': 22054332}, {'photo_id': 1349831886, 'portfolio_id': 22054332}, {'photo_id': 1349831849, 'portfolio_id': 22054332}, {'photo_id': 1349831799, 'portfolio_id': 22054332}, {'photo_id': 1349831746, 'portfolio_id': 22054332}, {'photo_id': 1349831606, 'portfolio_id': 22054332}, {'photo_id': 1349831566, 'portfolio_id': 22054332}, {'photo_id': 1349831546, 'portfolio_id': 22054332}, {'photo_id': 1349831520, 'portfolio_id': 22054332}, {'photo_id': 1349831508, 'portfolio_id': 22054332}, {'photo_id': 1349831485, 'portfolio_id': 22054332}, {'photo_id': 1349831475, 'portfolio_id': 22054332}, {'photo_id': 1349831453, 'portfolio_id': 22054332}, {'photo_id': 1349831450, 'portfolio_id': 22054332}, {'photo_id': 1349831427, 'portfolio_id': 22054332}, {'photo_id': 1349831423, 'portfolio_id': 22054332}, {'photo_id': 1349831418, 'portfolio_id': 22054332}, {'photo_id': 1349831400, 'portfolio_id': 22054332}, {'photo_id': 1349831370, 'portfolio_id': 22054332}, {'photo_id': 1349831342, 'portfolio_id': 22054332}, {'photo_id': 1349831320, 'portfolio_id': 22054332}, {'photo_id': 1349831280, 'portfolio_id': 22054332}, {'photo_id': 1349831271, 'portfolio_id': 22054332}, {'photo_id': 1349831166, 'portfolio_id': 22054332}, {'photo_id': 1349831157, 'portfolio_id': 22054332}, {'photo_id': 1349831112, 'portfolio_id': 22054332}, {'photo_id': 1349831094, 'portfolio_id': 22054332}, {'photo_id': 1349831064, 'portfolio_id': 22054332}, {'photo_id': 1349831012, 'portfolio_id': 22054332}, {'photo_id': 1349830907, 'portfolio_id': 22054332}, {'photo_id': 1349830871, 'portfolio_id': 22054332}, {'photo_id': 1349830844, 'portfolio_id': 22054332}, {'photo_id': 1349830816, 'portfolio_id': 22054332}, {'photo_id': 1349830786, 'portfolio_id': 22054332}, {'photo_id': 1349830757, 'portfolio_id': 22054332}, {'photo_id': 1349830645, 'portfolio_id': 22054332}] map_portfolio_id_photo_id: {22054332: [1349832360, 1349832342, 1349832271, 1349832249, 1349832243, 1349832102, 1349832066, 1349832034, 1349831962, 1349831930, 1349831886, 1349831849, 1349831799, 1349831746, 1349831606, 1349831566, 1349831546, 1349831520, 1349831508, 1349831485, 1349831475, 1349831453, 1349831450, 1349831427, 1349831423, 1349831418, 1349831400, 1349831370, 1349831342, 1349831320, 1349831280, 1349831271, 1349831166, 1349831157, 1349831112, 1349831094, 1349831064, 1349831012, 1349830907, 1349830871, 1349830844, 1349830816, 1349830786, 1349830757, 1349830645]} ##### 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.03015756607055664 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu Apr 24 18:12:27 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22054332) 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 : 22054332 get user id for portfolio 22054332 get sub ptf for main ptf 22054332, type 3726 and hashtags ['flou', 'cartonnette', 'Carton_gris', 'environnement', 'kraft', 'papier', 'Carton_brun', 'Teint_Dans_La_Masse', 'plastique', 'autre_refus', 'mal_croppe', 'metal'] 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`=22054332 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','cartonnette','Carton_gris','environnement','kraft','papier','Carton_brun','Teint_Dans_La_Masse','plastique','autre_refus','mal_croppe','metal')) 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`=22054332 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','cartonnette','Carton_gris','environnement','kraft','papier','Carton_brun','Teint_Dans_La_Masse','plastique','autre_refus','mal_croppe','metal')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 22054332, 'sub_port_id': 22054561, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14544896, 'last_updated_at': datetime.datetime(2025, 4, 22, 14, 40, 6), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 14, 40, 6), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 0, 4, 58)}, 'cartonnette': {'main_port_id': 22054332, 'sub_port_id': 22054562, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14544897, 'last_updated_at': datetime.datetime(2025, 4, 22, 14, 40, 6), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 14, 40, 6), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 0, 4, 58)}, 'Carton_gris': {'main_port_id': 22054332, 'sub_port_id': 22054563, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14544898, 'last_updated_at': datetime.datetime(2025, 4, 22, 14, 40, 6), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 14, 40, 6), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 0, 4, 58)}, 'plastique': {'main_port_id': 22054332, 'sub_port_id': 22054564, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14544899, 'last_updated_at': datetime.datetime(2025, 4, 22, 14, 40, 6), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 14, 40, 6), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 0, 4, 58)}, 'autre_refus': {'main_port_id': 22054332, 'sub_port_id': 22054565, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14544900, 'last_updated_at': datetime.datetime(2025, 4, 22, 14, 40, 6), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 14, 40, 6), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 0, 4, 58)}, 'flou': {'main_port_id': 22054332, 'sub_port_id': 22054566, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14544901, 'last_updated_at': datetime.datetime(2025, 4, 22, 14, 40, 6), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 14, 40, 6), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 0, 4, 58)}, 'metal': {'main_port_id': 22054332, 'sub_port_id': 22054567, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14544902, 'last_updated_at': datetime.datetime(2025, 4, 22, 14, 40, 6), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 14, 40, 6), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 0, 4, 58)}, 'mal_croppe': {'main_port_id': 22054332, 'sub_port_id': 22054568, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14544903, 'last_updated_at': datetime.datetime(2025, 4, 22, 14, 40, 6), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 14, 40, 6), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 0, 4, 58)}, 'environnement': {'main_port_id': 22054332, 'sub_port_id': 22054569, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14544904, 'last_updated_at': datetime.datetime(2025, 4, 22, 14, 40, 6), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 14, 40, 6), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 0, 4, 58)}, 'kraft': {'main_port_id': 22054332, 'sub_port_id': 22054570, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14544905, 'last_updated_at': datetime.datetime(2025, 4, 22, 14, 40, 6), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 14, 40, 6), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 0, 4, 58)}, 'papier': {'main_port_id': 22054332, 'sub_port_id': 22054571, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14544906, 'last_updated_at': datetime.datetime(2025, 4, 22, 14, 40, 6), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 14, 40, 6), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 0, 4, 58)}, 'Carton_brun': {'main_port_id': 22054332, 'sub_port_id': 22054572, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14544907, 'last_updated_at': datetime.datetime(2025, 4, 22, 14, 40, 6), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 14, 40, 6), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 0, 4, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22054561 , 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=22054332 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 (22054561) result : ((1352637776,), (1352637777,), (1352637779,), (1352637781,), (1352637782,), (1352637784,), (1352640078,), (1352640079,), (1352640080,), (1352640081,), (1352640082,), (1352641483,), (1352641484,), (1352641485,), (1352641486,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22054332) result : ((1349830645,), (1349830757,), (1349830786,), (1349830816,), (1349830844,), (1349830871,), (1349830907,), (1349831012,), (1349831064,), (1349831094,), (1349831112,), (1349831157,), (1349831166,), (1349831271,), (1349831280,), (1349831320,), (1349831342,), (1349831370,), (1349831400,), (1349831418,), (1349831423,), (1349831427,), (1349831450,), (1349831453,), (1349831475,), (1349831485,), (1349831508,), (1349831520,), (1349831546,), (1349831566,), (1349831606,), (1349831746,), (1349831799,), (1349831849,), (1349831886,), (1349831930,), (1349831962,), (1349832034,), (1349832066,), (1349832102,), (1349832243,), (1349832249,), (1349832271,), (1349832342,), (1349832360,)) 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 (1349831400) 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 22054562 , 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=22054332 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 (22054562) result : ((1352637871,), (1352637873,), (1352637875,), (1352637876,), (1352637878,), (1352637880,), (1352640099,), (1352640100,), (1352640101,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22054332) result : ((1349830645,), (1349830757,), (1349830786,), (1349830816,), (1349830844,), (1349830871,), (1349830907,), (1349831012,), (1349831064,), (1349831094,), (1349831112,), (1349831157,), (1349831166,), (1349831271,), (1349831280,), (1349831320,), (1349831342,), (1349831370,), (1349831400,), (1349831418,), (1349831423,), (1349831427,), (1349831450,), (1349831453,), (1349831475,), (1349831485,), (1349831508,), (1349831520,), (1349831546,), (1349831566,), (1349831606,), (1349831746,), (1349831799,), (1349831849,), (1349831886,), (1349831930,), (1349831962,), (1349832034,), (1349832066,), (1349832102,), (1349832243,), (1349832249,), (1349832271,), (1349832342,), (1349832360,)) 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 (1349831400) 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 22054563 , 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=22054332 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 (22054563) result : ((1352637833,), (1352637835,), (1352637837,), (1352637838,), (1352640085,), (1352640086,), (1352641489,), (1352641490,), (1352641491,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22054332) result : ((1349830645,), (1349830757,), (1349830786,), (1349830816,), (1349830844,), (1349830871,), (1349830907,), (1349831012,), (1349831064,), (1349831094,), (1349831112,), (1349831157,), (1349831166,), (1349831271,), (1349831280,), (1349831320,), (1349831342,), (1349831370,), (1349831400,), (1349831418,), (1349831423,), (1349831427,), (1349831450,), (1349831453,), (1349831475,), (1349831485,), (1349831508,), (1349831520,), (1349831546,), (1349831566,), (1349831606,), (1349831746,), (1349831799,), (1349831849,), (1349831886,), (1349831930,), (1349831962,), (1349832034,), (1349832066,), (1349832102,), (1349832243,), (1349832249,), (1349832271,), (1349832342,), (1349832360,)) 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 (1349831400) 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 22054564 , 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=22054332 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 (22054564) result : ((1352637947,), (1352637948,), (1352637951,), (1352637953,), (1352637954,), (1352641519,), (1352641520,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22054332) result : ((1349830645,), (1349830757,), (1349830786,), (1349830816,), (1349830844,), (1349830871,), (1349830907,), (1349831012,), (1349831064,), (1349831094,), (1349831112,), (1349831157,), (1349831166,), (1349831271,), (1349831280,), (1349831320,), (1349831342,), (1349831370,), (1349831400,), (1349831418,), (1349831423,), (1349831427,), (1349831450,), (1349831453,), (1349831475,), (1349831485,), (1349831508,), (1349831520,), (1349831546,), (1349831566,), (1349831606,), (1349831746,), (1349831799,), (1349831849,), (1349831886,), (1349831930,), (1349831962,), (1349832034,), (1349832066,), (1349832102,), (1349832243,), (1349832249,), (1349832271,), (1349832342,), (1349832360,)) 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 (1349831400) 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 22054565 , 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=22054332 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 (22054565) result : ((1352637806,), (1352637807,), (1352637809,), (1352640083,), (1352640084,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22054332) result : ((1349830645,), (1349830757,), (1349830786,), (1349830816,), (1349830844,), (1349830871,), (1349830907,), (1349831012,), (1349831064,), (1349831094,), (1349831112,), (1349831157,), (1349831166,), (1349831271,), (1349831280,), (1349831320,), (1349831342,), (1349831370,), (1349831400,), (1349831418,), (1349831423,), (1349831427,), (1349831450,), (1349831453,), (1349831475,), (1349831485,), (1349831508,), (1349831520,), (1349831546,), (1349831566,), (1349831606,), (1349831746,), (1349831799,), (1349831849,), (1349831886,), (1349831930,), (1349831962,), (1349832034,), (1349832066,), (1349832102,), (1349832243,), (1349832249,), (1349832271,), (1349832342,), (1349832360,)) 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 (1349831400) 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 22054566 , 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=22054332 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 (22054566) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22054332) result : ((1349830645,), (1349830757,), (1349830786,), (1349830816,), (1349830844,), (1349830871,), (1349830907,), (1349831012,), (1349831064,), (1349831094,), (1349831112,), (1349831157,), (1349831166,), (1349831271,), (1349831280,), (1349831320,), (1349831342,), (1349831370,), (1349831400,), (1349831418,), (1349831423,), (1349831427,), (1349831450,), (1349831453,), (1349831475,), (1349831485,), (1349831508,), (1349831520,), (1349831546,), (1349831566,), (1349831606,), (1349831746,), (1349831799,), (1349831849,), (1349831886,), (1349831930,), (1349831962,), (1349832034,), (1349832066,), (1349832102,), (1349832243,), (1349832249,), (1349832271,), (1349832342,), (1349832360,)) 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 (1349831400) 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 22054567 , 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=22054332 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 (22054567) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22054332) result : ((1349830645,), (1349830757,), (1349830786,), (1349830816,), (1349830844,), (1349830871,), (1349830907,), (1349831012,), (1349831064,), (1349831094,), (1349831112,), (1349831157,), (1349831166,), (1349831271,), (1349831280,), (1349831320,), (1349831342,), (1349831370,), (1349831400,), (1349831418,), (1349831423,), (1349831427,), (1349831450,), (1349831453,), (1349831475,), (1349831485,), (1349831508,), (1349831520,), (1349831546,), (1349831566,), (1349831606,), (1349831746,), (1349831799,), (1349831849,), (1349831886,), (1349831930,), (1349831962,), (1349832034,), (1349832066,), (1349832102,), (1349832243,), (1349832249,), (1349832271,), (1349832342,), (1349832360,)) 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 (1349831400) 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 22054568 , 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=22054332 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 (22054568) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22054332) result : ((1349830645,), (1349830757,), (1349830786,), (1349830816,), (1349830844,), (1349830871,), (1349830907,), (1349831012,), (1349831064,), (1349831094,), (1349831112,), (1349831157,), (1349831166,), (1349831271,), (1349831280,), (1349831320,), (1349831342,), (1349831370,), (1349831400,), (1349831418,), (1349831423,), (1349831427,), (1349831450,), (1349831453,), (1349831475,), (1349831485,), (1349831508,), (1349831520,), (1349831546,), (1349831566,), (1349831606,), (1349831746,), (1349831799,), (1349831849,), (1349831886,), (1349831930,), (1349831962,), (1349832034,), (1349832066,), (1349832102,), (1349832243,), (1349832249,), (1349832271,), (1349832342,), (1349832360,)) 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 (1349831400) 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 22054569 , 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=22054332 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 (22054569) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22054332) result : ((1349830645,), (1349830757,), (1349830786,), (1349830816,), (1349830844,), (1349830871,), (1349830907,), (1349831012,), (1349831064,), (1349831094,), (1349831112,), (1349831157,), (1349831166,), (1349831271,), (1349831280,), (1349831320,), (1349831342,), (1349831370,), (1349831400,), (1349831418,), (1349831423,), (1349831427,), (1349831450,), (1349831453,), (1349831475,), (1349831485,), (1349831508,), (1349831520,), (1349831546,), (1349831566,), (1349831606,), (1349831746,), (1349831799,), (1349831849,), (1349831886,), (1349831930,), (1349831962,), (1349832034,), (1349832066,), (1349832102,), (1349832243,), (1349832249,), (1349832271,), (1349832342,), (1349832360,)) 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 (1349831400) 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 22054570 , 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=22054332 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 (22054570) result : ((1352637977,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22054332) result : ((1349830645,), (1349830757,), (1349830786,), (1349830816,), (1349830844,), (1349830871,), (1349830907,), (1349831012,), (1349831064,), (1349831094,), (1349831112,), (1349831157,), (1349831166,), (1349831271,), (1349831280,), (1349831320,), (1349831342,), (1349831370,), (1349831400,), (1349831418,), (1349831423,), (1349831427,), (1349831450,), (1349831453,), (1349831475,), (1349831485,), (1349831508,), (1349831520,), (1349831546,), (1349831566,), (1349831606,), (1349831746,), (1349831799,), (1349831849,), (1349831886,), (1349831930,), (1349831962,), (1349832034,), (1349832066,), (1349832102,), (1349832243,), (1349832249,), (1349832271,), (1349832342,), (1349832360,)) 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 (1349831400) 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 22054571 , 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=22054332 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 (22054571) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22054332) result : ((1349830645,), (1349830757,), (1349830786,), (1349830816,), (1349830844,), (1349830871,), (1349830907,), (1349831012,), (1349831064,), (1349831094,), (1349831112,), (1349831157,), (1349831166,), (1349831271,), (1349831280,), (1349831320,), (1349831342,), (1349831370,), (1349831400,), (1349831418,), (1349831423,), (1349831427,), (1349831450,), (1349831453,), (1349831475,), (1349831485,), (1349831508,), (1349831520,), (1349831546,), (1349831566,), (1349831606,), (1349831746,), (1349831799,), (1349831849,), (1349831886,), (1349831930,), (1349831962,), (1349832034,), (1349832066,), (1349832102,), (1349832243,), (1349832249,), (1349832271,), (1349832342,), (1349832360,)) 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 (1349831400) 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 22054572 , 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=22054332 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 (22054572) result : ((1352637904,), (1352637906,), (1352637907,), (1352637909,), (1352637911,), (1352640108,), (1352641514,), (1352641515,), (1352641516,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22054332) result : ((1349830645,), (1349830757,), (1349830786,), (1349830816,), (1349830844,), (1349830871,), (1349830907,), (1349831012,), (1349831064,), (1349831094,), (1349831112,), (1349831157,), (1349831166,), (1349831271,), (1349831280,), (1349831320,), (1349831342,), (1349831370,), (1349831400,), (1349831418,), (1349831423,), (1349831427,), (1349831450,), (1349831453,), (1349831475,), (1349831485,), (1349831508,), (1349831520,), (1349831546,), (1349831566,), (1349831606,), (1349831746,), (1349831799,), (1349831849,), (1349831886,), (1349831930,), (1349831962,), (1349832034,), (1349832066,), (1349832102,), (1349832243,), (1349832249,), (1349832271,), (1349832342,), (1349832360,)) 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 (1349831400) 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`=22054332 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','cartonnette','Carton_gris','environnement','kraft','papier','Carton_brun','Teint_Dans_La_Masse','plastique','autre_refus','mal_croppe','metal')) 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`=22054332 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','cartonnette','Carton_gris','environnement','kraft','papier','Carton_brun','Teint_Dans_La_Masse','plastique','autre_refus','mal_croppe','metal')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 22054332, 'sub_port_id': 22054573, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14544908, 'last_updated_at': datetime.datetime(2025, 4, 16, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 0, 4, 59)}, 'cartonnette': {'main_port_id': 22054332, 'sub_port_id': 22054574, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14544909, 'last_updated_at': datetime.datetime(2025, 4, 16, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 0, 4, 59)}, 'Carton_gris': {'main_port_id': 22054332, 'sub_port_id': 22054575, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14544910, 'last_updated_at': datetime.datetime(2025, 4, 16, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 0, 4, 59)}, 'plastique': {'main_port_id': 22054332, 'sub_port_id': 22054576, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14544911, 'last_updated_at': datetime.datetime(2025, 4, 16, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 0, 4, 59)}, 'autre_refus': {'main_port_id': 22054332, 'sub_port_id': 22054577, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14544912, 'last_updated_at': datetime.datetime(2025, 4, 16, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 0, 4, 59)}, 'flou': {'main_port_id': 22054332, 'sub_port_id': 22054578, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14544913, 'last_updated_at': datetime.datetime(2025, 4, 16, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 0, 4, 59)}, 'metal': {'main_port_id': 22054332, 'sub_port_id': 22054579, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14544914, 'last_updated_at': datetime.datetime(2025, 4, 16, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 0, 4, 59)}, 'mal_croppe': {'main_port_id': 22054332, 'sub_port_id': 22054580, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14544915, 'last_updated_at': datetime.datetime(2025, 4, 16, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 0, 4, 59)}, 'environnement': {'main_port_id': 22054332, 'sub_port_id': 22054581, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14544916, 'last_updated_at': datetime.datetime(2025, 4, 16, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 0, 4, 59)}, 'kraft': {'main_port_id': 22054332, 'sub_port_id': 22054582, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14544917, 'last_updated_at': datetime.datetime(2025, 4, 16, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 0, 4, 59)}, 'papier': {'main_port_id': 22054332, 'sub_port_id': 22054583, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14544918, 'last_updated_at': datetime.datetime(2025, 4, 16, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 0, 4, 59)}, 'Carton_brun': {'main_port_id': 22054332, 'sub_port_id': 22054584, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14544919, 'last_updated_at': datetime.datetime(2025, 4, 22, 14, 40, 6), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 14, 40, 6), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 0, 4, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22054573,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22054561 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22054574,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22054562 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22054575,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22054563 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22054576,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22054564 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22054577,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22054565 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22054578,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22054566 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22054579,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22054567 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22054580,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22054568 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22054581,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22054569 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22054582,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22054570 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22054583,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22054571 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22054584,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22054572 lien utilise dans velours : https://www.fotonower.com/velours/22054573,22054574,22054575,22054576,22054577,22054578,22054579,22054580,22054581,22054582,22054583,22054584?tags=Teint_Dans_La_Masse,cartonnette,Carton_gris,plastique,autre_refus,flou,metal,mal_croppe,environnement,kraft,papier,Carton_brun After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22054332]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1349832360, 1349832342, 1349832271, 1349832249, 1349832243, 1349832102, 1349832066, 1349832034, 1349831962, 1349831930, 1349831886, 1349831849, 1349831799, 1349831746, 1349831606, 1349831566, 1349831546, 1349831520, 1349831508, 1349831485, 1349831475, 1349831453, 1349831450, 1349831427, 1349831423, 1349831418, 1349831400, 1349831370, 1349831342, 1349831320, 1349831280, 1349831271, 1349831166, 1349831157, 1349831112, 1349831094, 1349831064, 1349831012, 1349830907, 1349830871, 1349830844, 1349830816, 1349830786, 1349830757, 1349830645] map_info['map_portfolio_photo'] : {22054332: [1349832360, 1349832342, 1349832271, 1349832249, 1349832243, 1349832102, 1349832066, 1349832034, 1349831962, 1349831930, 1349831886, 1349831849, 1349831799, 1349831746, 1349831606, 1349831566, 1349831546, 1349831520, 1349831508, 1349831485, 1349831475, 1349831453, 1349831450, 1349831427, 1349831423, 1349831418, 1349831400, 1349831370, 1349831342, 1349831320, 1349831280, 1349831271, 1349831166, 1349831157, 1349831112, 1349831094, 1349831064, 1349831012, 1349830907, 1349830871, 1349830844, 1349830816, 1349830786, 1349830757, 1349830645]} final : False mtd_id 4302 list_pids : [1349832360, 1349832342, 1349832271, 1349832249, 1349832243, 1349832102, 1349832066, 1349832034, 1349831962, 1349831930, 1349831886, 1349831849, 1349831799, 1349831746, 1349831606, 1349831566, 1349831546, 1349831520, 1349831508, 1349831485, 1349831475, 1349831453, 1349831450, 1349831427, 1349831423, 1349831418, 1349831400, 1349831370, 1349831342, 1349831320, 1349831280, 1349831271, 1349831166, 1349831157, 1349831112, 1349831094, 1349831064, 1349831012, 1349830907, 1349830871, 1349830844, 1349830816, 1349830786, 1349830757, 1349830645] Looping around the photos to save general results len do output : 1 /22054332. 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, '2758320') ('4302', '22054332', '1349832360', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832342', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832271', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832249', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832243', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832102', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832066', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832034', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831962', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831930', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831886', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831849', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831799', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831746', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831606', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831566', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831546', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831520', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831508', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831485', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831475', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831453', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831450', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831427', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831423', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831418', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831400', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831370', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831342', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831320', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831280', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831271', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831166', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831157', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831112', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831094', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831064', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831012', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830907', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830871', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830844', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830816', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830786', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830757', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830645', None, None, None, None, None, '2758320') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 46 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, '22054332', "{'Teint_Dans_La_Masse': 22054561, 'cartonnette': 22054562, 'Carton_gris': 22054563, 'plastique': 22054564, 'autre_refus': 22054565, 'flou': 22054566, 'metal': 22054567, 'mal_croppe': 22054568, 'environnement': 22054569, 'kraft': 22054570, 'papier': 22054571, 'Carton_brun': 22054572}", None, None, None, None, '2758320'), ('4302', '22054332', '1349832360', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349832342', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349832271', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349832249', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349832243', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349832102', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349832066', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349832034', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831962', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831930', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831886', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831849', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831799', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831746', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831606', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831566', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831546', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831520', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831508', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831485', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831475', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831453', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831450', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831427', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831423', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831418', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831400', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831370', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831342', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831320', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831280', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831271', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831166', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831157', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831112', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831094', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831064', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831012', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349830907', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349830871', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349830844', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349830816', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349830786', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349830757', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349830645', None, None, None, None, None, '2758320')] time used for this insertion : 0.02221989631652832 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4229872226715088 time spend to save output : 0.022972822189331055 total time spend for step 1 : 0.44596004486083984 step2:final Thu Apr 24 18:12:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22054332) 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 22054332 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1349832360,1349832342,1349832271,1349832249,1349832243,1349832102,1349832066,1349832034,1349831962,1349831930,1349831886,1349831849,1349831799,1349831746,1349831606,1349831566,1349831546,1349831520,1349831508,1349831485,1349831475,1349831453,1349831450,1349831427,1349831423,1349831418,1349831400,1349831370,1349831342,1349831320,1349831280,1349831271,1349831166,1349831157,1349831112,1349831094,1349831064,1349831012,1349830907,1349830871,1349830844,1349830816,1349830786,1349830757,1349830645); 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([22054332]) Inside saveOutput : final : False verbose : True original output for save of step final : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} new output for save of step final : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} [1349832360, 1349832342, 1349832271, 1349832249, 1349832243, 1349832102, 1349832066, 1349832034, 1349831962, 1349831930, 1349831886, 1349831849, 1349831799, 1349831746, 1349831606, 1349831566, 1349831546, 1349831520, 1349831508, 1349831485, 1349831475, 1349831453, 1349831450, 1349831427, 1349831423, 1349831418, 1349831400, 1349831370, 1349831342, 1349831320, 1349831280, 1349831271, 1349831166, 1349831157, 1349831112, 1349831094, 1349831064, 1349831012, 1349830907, 1349830871, 1349830844, 1349830816, 1349830786, 1349830757, 1349830645] map_info['map_portfolio_photo'] : {22054332: [1349832360, 1349832342, 1349832271, 1349832249, 1349832243, 1349832102, 1349832066, 1349832034, 1349831962, 1349831930, 1349831886, 1349831849, 1349831799, 1349831746, 1349831606, 1349831566, 1349831546, 1349831520, 1349831508, 1349831485, 1349831475, 1349831453, 1349831450, 1349831427, 1349831423, 1349831418, 1349831400, 1349831370, 1349831342, 1349831320, 1349831280, 1349831271, 1349831166, 1349831157, 1349831112, 1349831094, 1349831064, 1349831012, 1349830907, 1349830871, 1349830844, 1349830816, 1349830786, 1349830757, 1349830645]} final : False mtd_id 4302 list_pids : [1349832360, 1349832342, 1349832271, 1349832249, 1349832243, 1349832102, 1349832066, 1349832034, 1349831962, 1349831930, 1349831886, 1349831849, 1349831799, 1349831746, 1349831606, 1349831566, 1349831546, 1349831520, 1349831508, 1349831485, 1349831475, 1349831453, 1349831450, 1349831427, 1349831423, 1349831418, 1349831400, 1349831370, 1349831342, 1349831320, 1349831280, 1349831271, 1349831166, 1349831157, 1349831112, 1349831094, 1349831064, 1349831012, 1349830907, 1349830871, 1349830844, 1349830816, 1349830786, 1349830757, 1349830645] Looping around the photos to save general results len do output : 45 /1349832360.Didn't retrieve data . /1349832342.Didn't retrieve data . /1349832271.Didn't retrieve data . /1349832249.Didn't retrieve data . /1349832243.Didn't retrieve data . /1349832102.Didn't retrieve data . /1349832066.Didn't retrieve data . /1349832034.Didn't retrieve data . /1349831962.Didn't retrieve data . /1349831930.Didn't retrieve data . /1349831886.Didn't retrieve data . /1349831849.Didn't retrieve data . /1349831799.Didn't retrieve data . /1349831746.Didn't retrieve data . /1349831606.Didn't retrieve data . /1349831566.Didn't retrieve data . /1349831546.Didn't retrieve data . /1349831520.Didn't retrieve data . /1349831508.Didn't retrieve data . /1349831485.Didn't retrieve data . /1349831475.Didn't retrieve data . /1349831453.Didn't retrieve data . /1349831450.Didn't retrieve data . /1349831427.Didn't retrieve data . /1349831423.Didn't retrieve data . /1349831418.Didn't retrieve data . /1349831400.Didn't retrieve data . /1349831370.Didn't retrieve data . /1349831342.Didn't retrieve data . /1349831320.Didn't retrieve data . /1349831280.Didn't retrieve data . /1349831271.Didn't retrieve data . /1349831166.Didn't retrieve data . /1349831157.Didn't retrieve data . /1349831112.Didn't retrieve data . /1349831094.Didn't retrieve data . /1349831064.Didn't retrieve data . /1349831012.Didn't retrieve data . /1349830907.Didn't retrieve data . /1349830871.Didn't retrieve data . /1349830844.Didn't retrieve data . /1349830816.Didn't retrieve data . /1349830786.Didn't retrieve data . /1349830757.Didn't retrieve data . /1349830645.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, '2758320') ('4302', '22054332', '1349832360', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832342', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832271', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832249', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832243', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832102', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832066', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832034', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831962', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831930', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831886', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831849', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831799', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831746', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831606', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831566', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831546', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831520', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831508', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831485', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831475', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831453', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831450', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831427', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831423', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831418', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831400', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831370', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831342', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831320', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831280', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831271', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831166', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831157', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831112', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831094', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831064', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831012', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830907', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830871', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830844', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830816', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830786', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830757', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830645', None, None, None, None, None, '2758320') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 135 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', '22054332', '1349832360', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349832342', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349832271', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349832249', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349832243', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349832102', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349832066', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349832034', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831962', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831930', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831886', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831849', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831799', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831746', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831606', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831566', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831546', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831520', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831508', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831485', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831475', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831453', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831450', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831427', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831423', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831418', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831400', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831370', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831342', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831320', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831280', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831271', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831166', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831157', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831112', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831094', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831064', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349831012', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349830907', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349830871', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349830844', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349830816', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349830786', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349830757', '0.04048701968648015', None, None, None, None, '2758320'), ('4302', '22054332', '1349830645', '0.04048701968648015', None, None, None, None, '2758320')] time used for this insertion : 0.022929668426513672 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07818770408630371 time spend to save output : 0.024756193161010742 total time spend for step 2 : 0.10294389724731445 step3:velours_tree Thu Apr 24 18:12:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {22054332: [{'Teint_Dans_La_Masse': 22054561, 'cartonnette': 22054562, 'Carton_gris': 22054563, 'plastique': 22054564, 'autre_refus': 22054565, 'flou': 22054566, 'metal': 22054567, 'mal_croppe': 22054568, 'environnement': 22054569, 'kraft': 22054570, 'papier': 22054571, 'Carton_brun': 22054572}]} input_args_next_step : {22054332: ()} output_args : {22054332: [{'Teint_Dans_La_Masse': 22054561, 'cartonnette': 22054562, 'Carton_gris': 22054563, 'plastique': 22054564, 'autre_refus': 22054565, 'flou': 22054566, 'metal': 22054567, 'mal_croppe': 22054568, 'environnement': 22054569, 'kraft': 22054570, 'papier': 22054571, 'Carton_brun': 22054572}]} args : 22054332 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Teint_Dans_La_Masse': 22054561, 'cartonnette': 22054562, 'Carton_gris': 22054563, 'plastique': 22054564, 'autre_refus': 22054565, 'flou': 22054566, 'metal': 22054567, 'mal_croppe': 22054568, 'environnement': 22054569, 'kraft': 22054570, 'papier': 22054571, 'Carton_brun': 22054572},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22054332) 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([22054332]) 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.2997307777404785 time spend to save output : 6.413459777832031e-05 total time spend for step 3 : 0.29979491233825684 step4:send_mail_cod Thu Apr 24 18:12:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} input_args_next_step : {1349832360: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349832360 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349832342 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349832271 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349832249 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349832243 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349832102 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349832066 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349832034 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831962 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831930 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831886 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831849 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831799 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831746 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831606 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831566 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831546 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831520 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831508 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831485 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831475 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831453 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831450 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831427 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831423 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831418 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831400 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831370 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831342 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831320 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831280 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831271 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831166 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831157 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831112 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831094 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831064 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349831012 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349830907 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349830871 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349830844 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349830816 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349830786 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349830757 depend.output_id : 0 input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ()} output_args : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',)} args : 1349830645 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 : {22054332: [{'Teint_Dans_La_Masse': 22054561, 'cartonnette': 22054562, 'Carton_gris': 22054563, 'plastique': 22054564, 'autre_refus': 22054565, 'flou': 22054566, 'metal': 22054567, 'mal_croppe': 22054568, 'environnement': 22054569, 'kraft': 22054570, 'papier': 22054571, 'Carton_brun': 22054572}]} input_args_next_step : {1349832360: ('0.04048701968648015',), 1349832342: ('0.04048701968648015',), 1349832271: ('0.04048701968648015',), 1349832249: ('0.04048701968648015',), 1349832243: ('0.04048701968648015',), 1349832102: ('0.04048701968648015',), 1349832066: ('0.04048701968648015',), 1349832034: ('0.04048701968648015',), 1349831962: ('0.04048701968648015',), 1349831930: ('0.04048701968648015',), 1349831886: ('0.04048701968648015',), 1349831849: ('0.04048701968648015',), 1349831799: ('0.04048701968648015',), 1349831746: ('0.04048701968648015',), 1349831606: ('0.04048701968648015',), 1349831566: ('0.04048701968648015',), 1349831546: ('0.04048701968648015',), 1349831520: ('0.04048701968648015',), 1349831508: ('0.04048701968648015',), 1349831485: ('0.04048701968648015',), 1349831475: ('0.04048701968648015',), 1349831453: ('0.04048701968648015',), 1349831450: ('0.04048701968648015',), 1349831427: ('0.04048701968648015',), 1349831423: ('0.04048701968648015',), 1349831418: ('0.04048701968648015',), 1349831400: ('0.04048701968648015',), 1349831370: ('0.04048701968648015',), 1349831342: ('0.04048701968648015',), 1349831320: ('0.04048701968648015',), 1349831280: ('0.04048701968648015',), 1349831271: ('0.04048701968648015',), 1349831166: ('0.04048701968648015',), 1349831157: ('0.04048701968648015',), 1349831112: ('0.04048701968648015',), 1349831094: ('0.04048701968648015',), 1349831064: ('0.04048701968648015',), 1349831012: ('0.04048701968648015',), 1349830907: ('0.04048701968648015',), 1349830871: ('0.04048701968648015',), 1349830844: ('0.04048701968648015',), 1349830816: ('0.04048701968648015',), 1349830786: ('0.04048701968648015',), 1349830757: ('0.04048701968648015',), 1349830645: ('0.04048701968648015',), 22054332: ()} output_args : {22054332: [{'Teint_Dans_La_Masse': 22054561, 'cartonnette': 22054562, 'Carton_gris': 22054563, 'plastique': 22054564, 'autre_refus': 22054565, 'flou': 22054566, 'metal': 22054567, 'mal_croppe': 22054568, 'environnement': 22054569, 'kraft': 22054570, 'papier': 22054571, 'Carton_brun': 22054572}]} args : 22054332 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 :46, first value : ('0.04048701968648015',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22054332) 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 (1349832360,1349832342,1349832271,1349832249,1349832243,1349832102,1349832066,1349832034,1349831962,1349831930,1349831886,1349831849,1349831799,1349831746,1349831606,1349831566,1349831546,1349831520,1349831508,1349831485,1349831475,1349831453,1349831450,1349831427,1349831423,1349831418,1349831400,1349831370,1349831342,1349831320,1349831280,1349831271,1349831166,1349831157,1349831112,1349831094,1349831064,1349831012,1349830907,1349830871,1349830844,1349830816,1349830786,1349830757,1349830645) Found this number of photos: 45 ##### Call download_photos : nb_thread : 5 begin to download photo : 1349830645 begin to download photo : 1349831112 begin to download photo : 1349831423 begin to download photo : 1349831606 begin to download photo : 1349832243 download finish for photo 1349832243 begin to download photo : 1349832249 download finish for photo 1349831606 begin to download photo : 1349831746 download finish for photo 1349831112 begin to download photo : 1349831157 download finish for photo 1349831423 begin to download photo : 1349831427 download finish for photo 1349830645 begin to download photo : 1349830757 download finish for photo 1349832249 begin to download photo : 1349832271 download finish for photo 1349831157 begin to download photo : 1349831166 download finish for photo 1349831427 begin to download photo : 1349831450 download finish for photo 1349831746 begin to download photo : 1349831799 download finish for photo 1349830757 begin to download photo : 1349830786 download finish for photo 1349831450 begin to download photo : 1349831453 download finish for photo 1349831166 begin to download photo : 1349831271 download finish for photo 1349832271 begin to download photo : 1349832342 download finish for photo 1349831799 begin to download photo : 1349831849 download finish for photo 1349830786 begin to download photo : 1349830816 download finish for photo 1349831453 begin to download photo : 1349831475 download finish for photo 1349832342 begin to download photo : 1349832360 download finish for photo 1349831271 begin to download photo : 1349831280 download finish for photo 1349831849 begin to download photo : 1349831886 download finish for photo 1349830816 begin to download photo : 1349830844 download finish for photo 1349831280 begin to download photo : 1349831320 download finish for photo 1349831886 begin to download photo : 1349831930 download finish for photo 1349832360 download finish for photo 1349830844 begin to download photo : 1349830871 download finish for photo 1349831475 begin to download photo : 1349831485 download finish for photo 1349831320 begin to download photo : 1349831342 download finish for photo 1349831930 begin to download photo : 1349831962 download finish for photo 1349830871 begin to download photo : 1349830907 download finish for photo 1349831485 begin to download photo : 1349831508 download finish for photo 1349831342 begin to download photo : 1349831370 download finish for photo 1349830907 begin to download photo : 1349831012 download finish for photo 1349831508 begin to download photo : 1349831520 download finish for photo 1349831962 begin to download photo : 1349832034 download finish for photo 1349831370 begin to download photo : 1349831400 download finish for photo 1349831012 begin to download photo : 1349831064 download finish for photo 1349831520 begin to download photo : 1349831546 download finish for photo 1349832034 begin to download photo : 1349832066 download finish for photo 1349831400 begin to download photo : 1349831418 download finish for photo 1349831064 begin to download photo : 1349831094 download finish for photo 1349831546 begin to download photo : 1349831566 download finish for photo 1349831418 download finish for photo 1349832066 begin to download photo : 1349832102 download finish for photo 1349831566 download finish for photo 1349832102 download finish for photo 1349831094 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 45 ; length of list_pids : 45 ; length of list_args : 45 results_Auto_P22054332_24-04-2025_18_12_30.pdf 22054562 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=22054562 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352637871: '1745325038_3842288_1349831886_66999529cc69cc809f2a11cf125eefdb_rle_crop_3763178561_0.png', 1352637873: '1745325038_3842288_1349831886_66999529cc69cc809f2a11cf125eefdb_rle_crop_3763178562_0.png', 1352637875: '1745325038_3842288_1349831849_50fbefde90c3bff0ebdc787e6d34d6e8_rle_crop_3763178571_0.png', 1352637876: '1745325038_3842288_1349831606_6ab92cd7cae27474d164b43052b72c47_rle_crop_3763178642_0.png', 1352637878: '1745325038_3842288_1349831546_159d81ab4eb803cef395a3c52bac77ba_rle_crop_3763178693_0.png', 1352637880: '1745325038_3842288_1349831520_ea44d4892c6fd31493c4a17f537963f8_rle_crop_3763178720_0.png', 1352640099: '1745325251_3219684_1349831370_6c28d8f04247dcd02872deff42e55e6f_rle_crop_3763180776_0.png', 1352640100: '1745325251_3219684_1349831064_5126040c74f04d4c9f63624ddf862efc_rle_crop_3763181339_0.png', 1352640101: '1745325251_3219684_1349831012_5e81c1e4be12e6eee0c15b9d5f87f48c_rle_crop_3763181350_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/130a17148fbcfcfbf630709cb8528140_84324780.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/5b9eb659899c1c87edfd15bc9ccaa303_51197814.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/d0358e64e761b1f7c6d0d41d94107796_11526640.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/18bc8df409f7673a1e94f96eb8e5185a_81991400.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/a88c4017ae5f1c536f92a8d1aecb8c9a_41379946.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/60fbc2a440e3ff3398e51bafdb2594a3_87903583.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/6d19d049d318ed17f106e0d8f89ed365_35438140.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/30e8f17e537dff0a48056d3974f5a84c_4370953.png change filename to text .imagette220545621745511150/ imagette220545621745511150/1745325038_3842288_1349831546_159d81ab4eb803cef395a3c52bac77ba_rle_crop_3763178693_0.png.png imagette220545621745511150/1745325251_3219684_1349831064_5126040c74f04d4c9f63624ddf862efc_rle_crop_3763181339_0.png.png imagette220545621745511150/1745325038_3842288_1349831849_50fbefde90c3bff0ebdc787e6d34d6e8_rle_crop_3763178571_0.png.png imagette220545621745511150/1745325038_3842288_1349831606_6ab92cd7cae27474d164b43052b72c47_rle_crop_3763178642_0.png.png imagette220545621745511150/1745325038_3842288_1349831886_66999529cc69cc809f2a11cf125eefdb_rle_crop_3763178561_0.png.png imagette220545621745511150/1745325251_3219684_1349831370_6c28d8f04247dcd02872deff42e55e6f_rle_crop_3763180776_0.png.png imagette220545621745511150/1745325251_3219684_1349831012_5e81c1e4be12e6eee0c15b9d5f87f48c_rle_crop_3763181350_0.png.png imagette220545621745511150/1745325038_3842288_1349831886_66999529cc69cc809f2a11cf125eefdb_rle_crop_3763178562_0.png.png imagette220545621745511150/1745325038_3842288_1349831520_ea44d4892c6fd31493c4a17f537963f8_rle_crop_3763178720_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/3bd4c755a45d3436e5f2ecaf76c0c752_50006634.png imagette220545621745511150 22054564 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=22054564 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352637947: '1745325038_3842288_1349832360_23ac19974bc728586f00620b1014d004_rle_crop_3763177461_0.png', 1352637948: '1745325038_3842288_1349832249_76aee83dbdf22ccd997039c9ae8995e7_rle_crop_3763177487_0.png', 1352637951: '1745325038_3842288_1349831930_12f4628cedd9f639de4de3534d27ae4a_rle_crop_3763178325_0.png', 1352637953: '1745325038_3842288_1349831849_50fbefde90c3bff0ebdc787e6d34d6e8_rle_crop_3763178580_0.png', 1352637954: '1745325038_3842288_1349831746_50447ec1c7fb4e55fcf9575ad21933b5_rle_crop_3763178624_0.png', 1352641519: '1745325553_3222952_1349830816_1c6fa65ff24e3a97e54ce1790947820c_rle_crop_3763199707_0.png', 1352641520: '1745325553_3222952_1349830786_564b0c10a0bcaf3fa0389531ea95dd83_rle_crop_3763199742_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/579e96bf95a1c8f8bea9d23239a211f0_73664262.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/47ddca80a35afe2483fbc4f111a467be_56135326.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/e559b394c6c6060d76cf3581d4b95346_64928481.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/2df6f753b8b050507e48b188a6fa24e8_94358806.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/bf78afeb4236a301b0a7aa693a582cf5_95496609.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/1c0ceee577681947285c69e1083229eb_58825884.png change filename to text .imagette220545641745511151/ imagette220545641745511151/1745325038_3842288_1349831746_50447ec1c7fb4e55fcf9575ad21933b5_rle_crop_3763178624_0.png.png imagette220545641745511151/1745325038_3842288_1349831930_12f4628cedd9f639de4de3534d27ae4a_rle_crop_3763178325_0.png.png imagette220545641745511151/1745325038_3842288_1349831849_50fbefde90c3bff0ebdc787e6d34d6e8_rle_crop_3763178580_0.png.png imagette220545641745511151/1745325553_3222952_1349830786_564b0c10a0bcaf3fa0389531ea95dd83_rle_crop_3763199742_0.png.png imagette220545641745511151/1745325038_3842288_1349832360_23ac19974bc728586f00620b1014d004_rle_crop_3763177461_0.png.png imagette220545641745511151/1745325553_3222952_1349830816_1c6fa65ff24e3a97e54ce1790947820c_rle_crop_3763199707_0.png.png imagette220545641745511151/1745325038_3842288_1349832249_76aee83dbdf22ccd997039c9ae8995e7_rle_crop_3763177487_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/1c4045345169c9043c46454a36d13cff_73922907.png imagette220545641745511151 22054565 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=22054565 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352637806: '1745325038_3842288_1349832066_023d136960f84122edcb110ac29094fe_rle_crop_3763177517_0.png', 1352637807: '1745325038_3842288_1349831849_50fbefde90c3bff0ebdc787e6d34d6e8_rle_crop_3763178577_0.png', 1352637809: '1745325038_3842288_1349831849_50fbefde90c3bff0ebdc787e6d34d6e8_rle_crop_3763178574_0.png', 1352640083: '1745325251_3219684_1349831370_6c28d8f04247dcd02872deff42e55e6f_rle_crop_3763180780_0.png', 1352640084: '1745325251_3219684_1349831271_904d6f76dbcbcf3ebef09f24d95481d5_rle_crop_3763180831_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/6b0681a79c82832ec00e599819464d4b_59179918.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/866608ff86d11bf627f72ba24ec6617d_16587674.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/882892b7b44872b09997cc74e4d343fe_73200611.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/9e88d88c3e243264f372e12b5324282c_48373230.png change filename to text .imagette220545651745511152/ imagette220545651745511152/1745325251_3219684_1349831271_904d6f76dbcbcf3ebef09f24d95481d5_rle_crop_3763180831_0.png.png imagette220545651745511152/1745325038_3842288_1349832066_023d136960f84122edcb110ac29094fe_rle_crop_3763177517_0.png.png imagette220545651745511152/1745325038_3842288_1349831849_50fbefde90c3bff0ebdc787e6d34d6e8_rle_crop_3763178577_0.png.png imagette220545651745511152/1745325251_3219684_1349831370_6c28d8f04247dcd02872deff42e55e6f_rle_crop_3763180780_0.png.png imagette220545651745511152/1745325038_3842288_1349831849_50fbefde90c3bff0ebdc787e6d34d6e8_rle_crop_3763178574_0.png.png imagette220545661745511152/ imagette220545671745511152/ imagette220545681745511152/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/b03625ca64e0207466cf4c8ba9560842_28781436.png imagette220545651745511152 22054566 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=22054566 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220545661745511152 22054567 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=22054567 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220545671745511152 22054568 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=22054568 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220545681745511152 22054570 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=22054570 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352637977: '1745325038_3842288_1349831849_50fbefde90c3bff0ebdc787e6d34d6e8_rle_crop_3763178573_0.png'} change filename to text .imagette220545701745511152/ imagette220545701745511152/1745325038_3842288_1349831849_50fbefde90c3bff0ebdc787e6d34d6e8_rle_crop_3763178573_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/658dcb4fc0f66fba99b0442fa7a10e9c_42528394.png imagette220545701745511152 22054561 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=22054561 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352637776: '1745325038_3842288_1349832360_23ac19974bc728586f00620b1014d004_rle_crop_3763177458_0.png', 1352637777: '1745325038_3842288_1349832360_23ac19974bc728586f00620b1014d004_rle_crop_3763177462_0.png', 1352637779: '1745325038_3842288_1349832342_80606e788d25f5e61df5fef0f16f3266_rle_crop_3763177474_0.png', 1352637781: '1745325038_3842288_1349832271_b9ec97da0358a7ffa80547537bf70ac7_rle_crop_3763177481_0.png', 1352637782: '1745325038_3842288_1349832066_023d136960f84122edcb110ac29094fe_rle_crop_3763177521_0.png', 1352637784: '1745325038_3842288_1349831799_d696e5bfdaa88bb400f5acf70c80974e_rle_crop_3763178591_0.png', 1352640078: '1745325251_3219684_1349831271_904d6f76dbcbcf3ebef09f24d95481d5_rle_crop_3763180825_0.png', 1352640079: '1745325251_3219684_1349831112_e1c595c148f2a4cf15d830dcb9556ae3_rle_crop_3763181320_0.png', 1352640080: '1745325251_3219684_1349831094_dcc236c438df74c1a397983505a3f654_rle_crop_3763181331_0.png', 1352640081: '1745325251_3219684_1349831012_5e81c1e4be12e6eee0c15b9d5f87f48c_rle_crop_3763181365_0.png', 1352640082: '1745325251_3219684_1349830907_9da7175c3c38260b28b66eeadc28262a_rle_crop_3763181374_0.png', 1352641483: '1745325553_3222952_1349830844_bad43fc6884d8efe8e4013b9da7acf1e_rle_crop_3763199678_0.png', 1352641484: '1745325553_3222952_1349830816_1c6fa65ff24e3a97e54ce1790947820c_rle_crop_3763199709_0.png', 1352641485: '1745325553_3222952_1349830786_564b0c10a0bcaf3fa0389531ea95dd83_rle_crop_3763199751_0.png', 1352641486: '1745325553_3222952_1349830757_0c2e44a628bbabd53e14240c12a1b739_rle_crop_3763199761_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/2e70114eff43c7739bcdf9d4d0cabbdf_73298755.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/3edc8c584f49227bc57a9e08f76b4eb6_57920424.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/1d678b1b2a8a77a4d7a2946fecb3af7c_93734008.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/032d113607e26a9e50fd3b1b78e6fd21_87070044.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/6d346d4a1b3374690936df3e06e244ef_22335587.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/806b726fa63c7dfae04c482a7805e8d9_56546239.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/e844407d9d962b4ddb74eb578069936f_72157396.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/17e12a74594ed6b9d284a05868cacabf_48035055.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/f5174d4fe3d134a200e066c75bb66106_62846751.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/8a6690c05dd7e035247cea93c08e0071_30511061.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/f7887cfcccdd34ae81b764d2f9f9925d_14481700.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/333dd93f7ef6c1d4d687a568df072fef_672338.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/755f5d640e15c9a97ae842e1176f5257_63637746.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/af1e53284ef6df91dfdd81573b9071b2_96989258.png change filename to text .imagette220545611745511152/ imagette220545611745511152/1745325251_3219684_1349830907_9da7175c3c38260b28b66eeadc28262a_rle_crop_3763181374_0.png.png imagette220545611745511152/1745325251_3219684_1349831271_904d6f76dbcbcf3ebef09f24d95481d5_rle_crop_3763180825_0.png.png imagette220545611745511152/1745325553_3222952_1349830786_564b0c10a0bcaf3fa0389531ea95dd83_rle_crop_3763199751_0.png.png imagette220545611745511152/1745325251_3219684_1349831094_dcc236c438df74c1a397983505a3f654_rle_crop_3763181331_0.png.png imagette220545611745511152/1745325553_3222952_1349830816_1c6fa65ff24e3a97e54ce1790947820c_rle_crop_3763199709_0.png.png imagette220545611745511152/1745325038_3842288_1349832360_23ac19974bc728586f00620b1014d004_rle_crop_3763177458_0.png.png imagette220545611745511152/1745325038_3842288_1349832066_023d136960f84122edcb110ac29094fe_rle_crop_3763177521_0.png.png imagette220545611745511152/1745325553_3222952_1349830844_bad43fc6884d8efe8e4013b9da7acf1e_rle_crop_3763199678_0.png.png imagette220545611745511152/1745325251_3219684_1349831112_e1c595c148f2a4cf15d830dcb9556ae3_rle_crop_3763181320_0.png.png imagette220545611745511152/1745325038_3842288_1349832271_b9ec97da0358a7ffa80547537bf70ac7_rle_crop_3763177481_0.png.png imagette220545611745511152/1745325553_3222952_1349830757_0c2e44a628bbabd53e14240c12a1b739_rle_crop_3763199761_0.png.png imagette220545611745511152/1745325038_3842288_1349831799_d696e5bfdaa88bb400f5acf70c80974e_rle_crop_3763178591_0.png.png imagette220545611745511152/1745325038_3842288_1349832360_23ac19974bc728586f00620b1014d004_rle_crop_3763177462_0.png.png imagette220545611745511152/1745325251_3219684_1349831012_5e81c1e4be12e6eee0c15b9d5f87f48c_rle_crop_3763181365_0.png.png imagette220545611745511152/1745325038_3842288_1349832342_80606e788d25f5e61df5fef0f16f3266_rle_crop_3763177474_0.png.png wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/f1b1c4478395fc28866388c0e43799b8_30652088.png imagette220545611745511152 22054563 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=22054563 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352637833: '1745325038_3842288_1349832249_76aee83dbdf22ccd997039c9ae8995e7_rle_crop_3763177490_0.png', 1352637835: '1745325038_3842288_1349831746_50447ec1c7fb4e55fcf9575ad21933b5_rle_crop_3763178623_0.png', 1352637837: '1745325038_3842288_1349831508_2695aa6605170f961e1e47033beef7b9_rle_crop_3763178750_0.png', 1352637838: '1745325038_3842288_1349831485_807e1c007b4065450d9266b1d248f9b6_rle_crop_3763178776_0.png', 1352640085: '1745325251_3219684_1349831342_91924a1988b7f8738b384c2c94b42c64_rle_crop_3763180787_0.png', 1352640086: '1745325251_3219684_1349830907_9da7175c3c38260b28b66eeadc28262a_rle_crop_3763181369_0.png', 1352641489: '1745325553_3222952_1349830844_bad43fc6884d8efe8e4013b9da7acf1e_rle_crop_3763199672_0.png', 1352641490: '1745325553_3222952_1349830844_bad43fc6884d8efe8e4013b9da7acf1e_rle_crop_3763199671_0.png', 1352641491: '1745325553_3222952_1349830757_0c2e44a628bbabd53e14240c12a1b739_rle_crop_3763199757_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/defb24a3369a62691a4aef67b91f7286_73394583.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/b2b644c1e6cc20b7e6af26daafbdc7af_71661536.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/aa4998dfb52224da513aa3868b554bb7_10482136.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/faade15a47fc4b355aef3a7a37a29042_71938792.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/41ad9d3bbe8f4f6052d8ad2d33d40c17_67785742.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/4a282e3335e54cbae377fdd4b4180d25_97175529.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/1399eccfa4ba189296ea499346a768ec_75662865.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/ca9258cdd3d1a3acc699adfdb191ad0a_52304190.png change filename to text .imagette220545631745511154/ imagette220545631745511154/1745325038_3842288_1349831746_50447ec1c7fb4e55fcf9575ad21933b5_rle_crop_3763178623_0.png.png imagette220545631745511154/1745325553_3222952_1349830757_0c2e44a628bbabd53e14240c12a1b739_rle_crop_3763199757_0.png.png imagette220545631745511154/1745325038_3842288_1349831508_2695aa6605170f961e1e47033beef7b9_rle_crop_3763178750_0.png.png imagette220545631745511154/1745325553_3222952_1349830844_bad43fc6884d8efe8e4013b9da7acf1e_rle_crop_3763199672_0.png.png imagette220545631745511154/1745325038_3842288_1349831485_807e1c007b4065450d9266b1d248f9b6_rle_crop_3763178776_0.png.png imagette220545631745511154/1745325251_3219684_1349830907_9da7175c3c38260b28b66eeadc28262a_rle_crop_3763181369_0.png.png imagette220545631745511154/1745325038_3842288_1349832249_76aee83dbdf22ccd997039c9ae8995e7_rle_crop_3763177490_0.png.png imagette220545631745511154/1745325251_3219684_1349831342_91924a1988b7f8738b384c2c94b42c64_rle_crop_3763180787_0.png.png imagette220545631745511154/1745325553_3222952_1349830844_bad43fc6884d8efe8e4013b9da7acf1e_rle_crop_3763199671_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/605047464e12eea17c877070fb8af761_84990116.png imagette220545631745511154 22054572 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=22054572 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352637904: '1745325038_3842288_1349832342_80606e788d25f5e61df5fef0f16f3266_rle_crop_3763177470_0.png', 1352637906: '1745325038_3842288_1349832249_76aee83dbdf22ccd997039c9ae8995e7_rle_crop_3763177491_0.png', 1352637907: '1745325038_3842288_1349832249_76aee83dbdf22ccd997039c9ae8995e7_rle_crop_3763177494_0.png', 1352637909: '1745325038_3842288_1349831930_12f4628cedd9f639de4de3534d27ae4a_rle_crop_3763178319_0.png', 1352637911: '1745325038_3842288_1349831930_12f4628cedd9f639de4de3534d27ae4a_rle_crop_3763178320_0.png', 1352640108: '1745325251_3219684_1349831271_904d6f76dbcbcf3ebef09f24d95481d5_rle_crop_3763180830_0.png', 1352641514: '1745325553_3222952_1349830786_564b0c10a0bcaf3fa0389531ea95dd83_rle_crop_3763199746_0.png', 1352641515: '1745325553_3222952_1349830757_0c2e44a628bbabd53e14240c12a1b739_rle_crop_3763199758_0.png', 1352641516: '1745325553_3222952_1349830645_1a00a276c0d041cc555cf48ebb94981c_rle_crop_3763199772_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/9b1af759a3136d5e00ffc9942b068dcc_12985153.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/bfd3dcd4019ea86a9357fb625d37053f_4778204.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/51be11c0668a76812a7ea6284b825d45_54169340.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/598505afcb973f62c55a8320291c0b7b_23268038.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/bd4279b7bd69c2fa3af7ae82e398808a_70538454.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/71c34f0c74256f29f10e7e93d180d31e_79817144.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/74f3bcda6c0af7a99f037adb21f7f45e_52567295.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/4da4f92ee1b43a604823e946221ccc23_55440314.png change filename to text .imagette220545721745511156/ imagette220545721745511156/1745325038_3842288_1349832249_76aee83dbdf22ccd997039c9ae8995e7_rle_crop_3763177494_0.png.png imagette220545721745511156/1745325251_3219684_1349831271_904d6f76dbcbcf3ebef09f24d95481d5_rle_crop_3763180830_0.png.png imagette220545721745511156/1745325038_3842288_1349832249_76aee83dbdf22ccd997039c9ae8995e7_rle_crop_3763177491_0.png.png imagette220545721745511156/1745325038_3842288_1349831930_12f4628cedd9f639de4de3534d27ae4a_rle_crop_3763178320_0.png.png imagette220545721745511156/1745325553_3222952_1349830645_1a00a276c0d041cc555cf48ebb94981c_rle_crop_3763199772_0.png.png imagette220545721745511156/1745325553_3222952_1349830786_564b0c10a0bcaf3fa0389531ea95dd83_rle_crop_3763199746_0.png.png imagette220545721745511156/1745325553_3222952_1349830757_0c2e44a628bbabd53e14240c12a1b739_rle_crop_3763199758_0.png.png imagette220545721745511156/1745325038_3842288_1349832342_80606e788d25f5e61df5fef0f16f3266_rle_crop_3763177470_0.png.png imagette220545721745511156/1745325038_3842288_1349831930_12f4628cedd9f639de4de3534d27ae4a_rle_crop_3763178319_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/a5c16aa727fd8e2a4a006526531f15cf_14506112.png imagette220545721745511156 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22054332 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22054573,22054574,22054575,22054576,22054577,22054578,22054579,22054580,22054581,22054582,22054583,22054584?tags=Teint_Dans_La_Masse,cartonnette,Carton_gris,plastique,autre_refus,flou,metal,mal_croppe,environnement,kraft,papier,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1349832360] : ('0.04048701968648015',) no score found for photo 1349832360 We are sending mail with results at report@fotonower.com args[1349832342] : ('0.04048701968648015',) no score found for photo 1349832342 We are sending mail with results at report@fotonower.com args[1349832271] : ('0.04048701968648015',) no score found for photo 1349832271 We are sending mail with results at report@fotonower.com args[1349832249] : ('0.04048701968648015',) no score found for photo 1349832249 We are sending mail with results at report@fotonower.com args[1349832243] : ('0.04048701968648015',) no score found for photo 1349832243 We are sending mail with results at report@fotonower.com args[1349832102] : ('0.04048701968648015',) no score found for photo 1349832102 We are sending mail with results at report@fotonower.com args[1349832066] : ('0.04048701968648015',) no score found for photo 1349832066 We are sending mail with results at report@fotonower.com args[1349832034] : ('0.04048701968648015',) no score found for photo 1349832034 We are sending mail with results at report@fotonower.com args[1349831962] : ('0.04048701968648015',) no score found for photo 1349831962 We are sending mail with results at report@fotonower.com args[1349831930] : ('0.04048701968648015',) no score found for photo 1349831930 We are sending mail with results at report@fotonower.com args[1349831886] : ('0.04048701968648015',) no score found for photo 1349831886 We are sending mail with results at report@fotonower.com args[1349831849] : ('0.04048701968648015',) no score found for photo 1349831849 We are sending mail with results at report@fotonower.com args[1349831799] : ('0.04048701968648015',) no score found for photo 1349831799 We are sending mail with results at report@fotonower.com args[1349831746] : ('0.04048701968648015',) no score found for photo 1349831746 We are sending mail with results at report@fotonower.com args[1349831606] : ('0.04048701968648015',) no score found for photo 1349831606 We are sending mail with results at report@fotonower.com args[1349831566] : ('0.04048701968648015',) no score found for photo 1349831566 We are sending mail with results at report@fotonower.com args[1349831546] : ('0.04048701968648015',) no score found for photo 1349831546 We are sending mail with results at report@fotonower.com args[1349831520] : ('0.04048701968648015',) no score found for photo 1349831520 We are sending mail with results at report@fotonower.com args[1349831508] : ('0.04048701968648015',) no score found for photo 1349831508 We are sending mail with results at report@fotonower.com args[1349831485] : ('0.04048701968648015',) no score found for photo 1349831485 We are sending mail with results at report@fotonower.com args[1349831475] : ('0.04048701968648015',) no score found for photo 1349831475 We are sending mail with results at report@fotonower.com args[1349831453] : ('0.04048701968648015',) no score found for photo 1349831453 We are sending mail with results at report@fotonower.com args[1349831450] : ('0.04048701968648015',) no score found for photo 1349831450 We are sending mail with results at report@fotonower.com args[1349831427] : ('0.04048701968648015',) no score found for photo 1349831427 We are sending mail with results at report@fotonower.com args[1349831423] : ('0.04048701968648015',) no score found for photo 1349831423 We are sending mail with results at report@fotonower.com args[1349831418] : ('0.04048701968648015',) no score found for photo 1349831418 We are sending mail with results at report@fotonower.com args[1349831400] : ('0.04048701968648015',) no score found for photo 1349831400 We are sending mail with results at report@fotonower.com args[1349831370] : ('0.04048701968648015',) no score found for photo 1349831370 We are sending mail with results at report@fotonower.com args[1349831342] : ('0.04048701968648015',) no score found for photo 1349831342 We are sending mail with results at report@fotonower.com args[1349831320] : ('0.04048701968648015',) no score found for photo 1349831320 We are sending mail with results at report@fotonower.com args[1349831280] : ('0.04048701968648015',) no score found for photo 1349831280 We are sending mail with results at report@fotonower.com args[1349831271] : ('0.04048701968648015',) no score found for photo 1349831271 We are sending mail with results at report@fotonower.com args[1349831166] : ('0.04048701968648015',) no score found for photo 1349831166 We are sending mail with results at report@fotonower.com args[1349831157] : ('0.04048701968648015',) no score found for photo 1349831157 We are sending mail with results at report@fotonower.com args[1349831112] : ('0.04048701968648015',) no score found for photo 1349831112 We are sending mail with results at report@fotonower.com args[1349831094] : ('0.04048701968648015',) no score found for photo 1349831094 We are sending mail with results at report@fotonower.com args[1349831064] : ('0.04048701968648015',) no score found for photo 1349831064 We are sending mail with results at report@fotonower.com args[1349831012] : ('0.04048701968648015',) no score found for photo 1349831012 We are sending mail with results at report@fotonower.com args[1349830907] : ('0.04048701968648015',) no score found for photo 1349830907 We are sending mail with results at report@fotonower.com args[1349830871] : ('0.04048701968648015',) no score found for photo 1349830871 We are sending mail with results at report@fotonower.com args[1349830844] : ('0.04048701968648015',) no score found for photo 1349830844 We are sending mail with results at report@fotonower.com args[1349830816] : ('0.04048701968648015',) no score found for photo 1349830816 We are sending mail with results at report@fotonower.com args[1349830786] : ('0.04048701968648015',) no score found for photo 1349830786 We are sending mail with results at report@fotonower.com args[1349830757] : ('0.04048701968648015',) no score found for photo 1349830757 We are sending mail with results at report@fotonower.com args[1349830645] : ('0.04048701968648015',) no score found for photo 1349830645 We are sending mail with results at report@fotonower.com refus_total : 0.04048701968648015 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=22054332 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_P22054332_24-04-2025_18_12_30.pdf results_Auto_P22054332_24-04-2025_18_12_30.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054332_24-04-2025_18_12_30.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','22054332','results_Auto_P22054332_24-04-2025_18_12_30.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054332_24-04-2025_18_12_30.pdf','pdf','','0.46','0.04048701968648015') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22054332]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1349832360, 1349832342, 1349832271, 1349832249, 1349832243, 1349832102, 1349832066, 1349832034, 1349831962, 1349831930, 1349831886, 1349831849, 1349831799, 1349831746, 1349831606, 1349831566, 1349831546, 1349831520, 1349831508, 1349831485, 1349831475, 1349831453, 1349831450, 1349831427, 1349831423, 1349831418, 1349831400, 1349831370, 1349831342, 1349831320, 1349831280, 1349831271, 1349831166, 1349831157, 1349831112, 1349831094, 1349831064, 1349831012, 1349830907, 1349830871, 1349830844, 1349830816, 1349830786, 1349830757, 1349830645] map_info['map_portfolio_photo'] : {22054332: [1349832360, 1349832342, 1349832271, 1349832249, 1349832243, 1349832102, 1349832066, 1349832034, 1349831962, 1349831930, 1349831886, 1349831849, 1349831799, 1349831746, 1349831606, 1349831566, 1349831546, 1349831520, 1349831508, 1349831485, 1349831475, 1349831453, 1349831450, 1349831427, 1349831423, 1349831418, 1349831400, 1349831370, 1349831342, 1349831320, 1349831280, 1349831271, 1349831166, 1349831157, 1349831112, 1349831094, 1349831064, 1349831012, 1349830907, 1349830871, 1349830844, 1349830816, 1349830786, 1349830757, 1349830645]} final : False mtd_id 4302 list_pids : [1349832360, 1349832342, 1349832271, 1349832249, 1349832243, 1349832102, 1349832066, 1349832034, 1349831962, 1349831930, 1349831886, 1349831849, 1349831799, 1349831746, 1349831606, 1349831566, 1349831546, 1349831520, 1349831508, 1349831485, 1349831475, 1349831453, 1349831450, 1349831427, 1349831423, 1349831418, 1349831400, 1349831370, 1349831342, 1349831320, 1349831280, 1349831271, 1349831166, 1349831157, 1349831112, 1349831094, 1349831064, 1349831012, 1349830907, 1349830871, 1349830844, 1349830816, 1349830786, 1349830757, 1349830645] 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, '2758320') ('4302', '22054332', '1349832360', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832342', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832271', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832249', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832243', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832102', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832066', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832034', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831962', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831930', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831886', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831849', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831799', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831746', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831606', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831566', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831546', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831520', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831508', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831485', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831475', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831453', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831450', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831427', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831423', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831418', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831400', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831370', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831342', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831320', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831280', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831271', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831166', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831157', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831112', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831094', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831064', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831012', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830907', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830871', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830844', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830816', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830786', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830757', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830645', None, None, None, None, None, '2758320') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 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', '22054332', '1349832360', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349832342', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349832271', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349832249', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349832243', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349832102', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349832066', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349832034', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831962', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831930', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831886', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831849', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831799', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831746', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831606', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831566', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831546', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831520', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831508', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831485', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831475', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831453', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831450', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831427', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831423', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831418', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831400', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831370', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831342', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831320', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831280', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831271', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831166', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831157', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831112', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831094', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831064', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831012', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349830907', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349830871', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349830844', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349830816', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349830786', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349830757', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349830645', None, None, None, None, None, '2758320')] time used for this insertion : 0.018594980239868164 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.99832558631897 time spend to save output : 0.019109725952148438 total time spend for step 4 : 11.017435312271118 step5:split_time_score Thu Apr 24 18:12:39 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 : ['22054332'] 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 : [('22054332',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22054332) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1349832243: {'path': 'temp/1745511148_1865714_1349832243_1828fdb52b77dc27ce376c8228d1c67b.jpg', 'extension': 'jpg'}, 1349832249: {'path': 'temp/1745511148_1865714_1349832249_76aee83dbdf22ccd997039c9ae8995e7.jpg', 'extension': 'jpg'}, 1349832271: {'path': 'temp/1745511148_1865714_1349832271_b9ec97da0358a7ffa80547537bf70ac7.jpg', 'extension': 'jpg'}, 1349832342: {'path': 'temp/1745511148_1865714_1349832342_80606e788d25f5e61df5fef0f16f3266.jpg', 'extension': 'jpg'}, 1349832360: {'path': 'temp/1745511148_1865714_1349832360_23ac19974bc728586f00620b1014d004.jpg', 'extension': 'jpg'}, 1349831112: {'path': 'temp/1745511148_1865714_1349831112_e1c595c148f2a4cf15d830dcb9556ae3.jpg', 'extension': 'jpg'}, 1349831157: {'path': 'temp/1745511148_1865714_1349831157_4014384fbf547044c8aad13c92648e6a.jpg', 'extension': 'jpg'}, 1349831166: {'path': 'temp/1745511148_1865714_1349831166_080e6fd6297a6b87a546335279abd73b.jpg', 'extension': 'jpg'}, 1349831271: {'path': 'temp/1745511148_1865714_1349831271_904d6f76dbcbcf3ebef09f24d95481d5.jpg', 'extension': 'jpg'}, 1349831280: {'path': 'temp/1745511148_1865714_1349831280_5ba51805814a952d876e5069fbbae49b.jpg', 'extension': 'jpg'}, 1349831320: {'path': 'temp/1745511148_1865714_1349831320_3becad7166b4daad568dafdf82cfacfc.jpg', 'extension': 'jpg'}, 1349831342: {'path': 'temp/1745511148_1865714_1349831342_91924a1988b7f8738b384c2c94b42c64.jpg', 'extension': 'jpg'}, 1349831370: {'path': 'temp/1745511148_1865714_1349831370_6c28d8f04247dcd02872deff42e55e6f.jpg', 'extension': 'jpg'}, 1349831400: {'path': 'temp/1745511148_1865714_1349831400_ef354639278a3bf64b9293220a531d46.jpg', 'extension': 'jpg'}, 1349831418: {'path': 'temp/1745511148_1865714_1349831418_63efc8a1fa6095a9b85730f10a975c88.jpg', 'extension': 'jpg'}, 1349831423: {'path': 'temp/1745511148_1865714_1349831423_6b5c7888fbc52e6fecaa966bafcaff87.jpg', 'extension': 'jpg'}, 1349831427: {'path': 'temp/1745511148_1865714_1349831427_4234ea1104ddbf770caddaacca8b1359.jpg', 'extension': 'jpg'}, 1349831450: {'path': 'temp/1745511148_1865714_1349831450_03fdf4748f497de8d209ae66dd1af21f.jpg', 'extension': 'jpg'}, 1349831453: {'path': 'temp/1745511148_1865714_1349831453_d6150a76ff7f7960a0143c3c2eb6c40a.jpg', 'extension': 'jpg'}, 1349831475: {'path': 'temp/1745511148_1865714_1349831475_1a00a30110ef0113a0d90a25cd6a7db5.jpg', 'extension': 'jpg'}, 1349831485: {'path': 'temp/1745511148_1865714_1349831485_807e1c007b4065450d9266b1d248f9b6.jpg', 'extension': 'jpg'}, 1349831508: {'path': 'temp/1745511148_1865714_1349831508_2695aa6605170f961e1e47033beef7b9.jpg', 'extension': 'jpg'}, 1349831520: {'path': 'temp/1745511148_1865714_1349831520_ea44d4892c6fd31493c4a17f537963f8.jpg', 'extension': 'jpg'}, 1349831546: {'path': 'temp/1745511148_1865714_1349831546_159d81ab4eb803cef395a3c52bac77ba.jpg', 'extension': 'jpg'}, 1349831566: {'path': 'temp/1745511148_1865714_1349831566_bc7ea10b9abef11d70a80cec30dcb32e.jpg', 'extension': 'jpg'}, 1349831606: {'path': 'temp/1745511148_1865714_1349831606_6ab92cd7cae27474d164b43052b72c47.jpg', 'extension': 'jpg'}, 1349831746: {'path': 'temp/1745511148_1865714_1349831746_50447ec1c7fb4e55fcf9575ad21933b5.jpg', 'extension': 'jpg'}, 1349831799: {'path': 'temp/1745511148_1865714_1349831799_d696e5bfdaa88bb400f5acf70c80974e.jpg', 'extension': 'jpg'}, 1349831849: {'path': 'temp/1745511148_1865714_1349831849_50fbefde90c3bff0ebdc787e6d34d6e8.jpg', 'extension': 'jpg'}, 1349831886: {'path': 'temp/1745511148_1865714_1349831886_66999529cc69cc809f2a11cf125eefdb.jpg', 'extension': 'jpg'}, 1349831930: {'path': 'temp/1745511148_1865714_1349831930_12f4628cedd9f639de4de3534d27ae4a.jpg', 'extension': 'jpg'}, 1349831962: {'path': 'temp/1745511148_1865714_1349831962_79fcac73627168a9c8f5c7722c2e4862.jpg', 'extension': 'jpg'}, 1349832034: {'path': 'temp/1745511148_1865714_1349832034_333168ca3e5600ef70f7f3974045d401.jpg', 'extension': 'jpg'}, 1349832066: {'path': 'temp/1745511148_1865714_1349832066_023d136960f84122edcb110ac29094fe.jpg', 'extension': 'jpg'}, 1349832102: {'path': 'temp/1745511148_1865714_1349832102_e4f779549a6cb78f5f515fed0ece8c5e.jpg', 'extension': 'jpg'}, 1349830645: {'path': 'temp/1745511148_1865714_1349830645_1a00a276c0d041cc555cf48ebb94981c.jpg', 'extension': 'jpg'}, 1349830757: {'path': 'temp/1745511148_1865714_1349830757_0c2e44a628bbabd53e14240c12a1b739.jpg', 'extension': 'jpg'}, 1349830786: {'path': 'temp/1745511148_1865714_1349830786_564b0c10a0bcaf3fa0389531ea95dd83.jpg', 'extension': 'jpg'}, 1349830816: {'path': 'temp/1745511148_1865714_1349830816_1c6fa65ff24e3a97e54ce1790947820c.jpg', 'extension': 'jpg'}, 1349830844: {'path': 'temp/1745511148_1865714_1349830844_bad43fc6884d8efe8e4013b9da7acf1e.jpg', 'extension': 'jpg'}, 1349830871: {'path': 'temp/1745511148_1865714_1349830871_676077cc67aa6b1e8ad428397a920f43.jpg', 'extension': 'jpg'}, 1349830907: {'path': 'temp/1745511148_1865714_1349830907_9da7175c3c38260b28b66eeadc28262a.jpg', 'extension': 'jpg'}, 1349831012: {'path': 'temp/1745511148_1865714_1349831012_5e81c1e4be12e6eee0c15b9d5f87f48c.jpg', 'extension': 'jpg'}, 1349831064: {'path': 'temp/1745511148_1865714_1349831064_5126040c74f04d4c9f63624ddf862efc.jpg', 'extension': 'jpg'}, 1349831094: {'path': 'temp/1745511148_1865714_1349831094_dcc236c438df74c1a397983505a3f654.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 = 22054332; (('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 = 22054332 group by h (('07', 45),) 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=22054332 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 (22054332) 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 (22054332) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 15042025 22054332 Nombre de photos uploadées : 45 / 23040 (0%) 15042025 22054332 Nombre de photos taguées (types de déchets): 0 / 45 (0%) 15042025 22054332 Nombre de photos taguées (volume) : 0 / 45 (0%) [{'photo_id': 1349832360, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/23ac19974bc728586f00620b1014d004.jpg', 'username': None, 'uploaded_at': 1744704397, 'text': 'image_15042025_07_45_04_10139.jpg'}, {'photo_id': 1349832342, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/80606e788d25f5e61df5fef0f16f3266.jpg', 'username': None, 'uploaded_at': 1744704397, 'text': 'image_15042025_07_45_34_10136.jpg'}, {'photo_id': 1349832271, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b9ec97da0358a7ffa80547537bf70ac7.jpg', 'username': None, 'uploaded_at': 1744704347, 'text': 'image_15042025_07_45_44_10134.jpg'}, {'photo_id': 1349832249, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76aee83dbdf22ccd997039c9ae8995e7.jpg', 'username': None, 'uploaded_at': 1744704347, 'text': 'image_15042025_07_47_34_10134.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0021338462829589844 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22054332, '2025-04-15' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1714503,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.024711132049560547 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= 1714503 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22054280, 'dashboard_result_id': 9880326, '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_P22054280_24-04-2025_18_05_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054356, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054357, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054358, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054359, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054360, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054361, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054362, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054368, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22054281, 'dashboard_result_id': 9880327, '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_P22054281_24-04-2025_18_06_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054933, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054936, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054937, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054944, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22054282, 'dashboard_result_id': 9880328, '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_P22054282_24-04-2025_18_06_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054911, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054912, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054913, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054916, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054917, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054918, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054919, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054920, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22054283, 'dashboard_result_id': 9880329, '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_P22054283_24-04-2025_18_07_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22054866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054868, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054871, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054877, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054879, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054880, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22054284, 'dashboard_result_id': 9880330, '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_P22054284_24-04-2025_18_08_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22054805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054812, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054814, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054817, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22054285, 'dashboard_result_id': 9880331, '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_P22054285_24-04-2025_18_09_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22054757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054760, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054763, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054765, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054767, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054768, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22054287, 'dashboard_result_id': 9880332, '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_P22054287_24-04-2025_18_09_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054732, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054733, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054734, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054737, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054740, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054741, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054743, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22054288, 'dashboard_result_id': 9880333, '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_P22054288_24-04-2025_18_10_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054712, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054713, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054715, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054716, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054719, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22054290, 'dashboard_result_id': 9880334, '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_P22054290_24-04-2025_18_10_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054673, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054675, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054676, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054677, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054678, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054679, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054680, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054681, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22054310, 'dashboard_result_id': 9880335, '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_P22054310_24-04-2025_18_11_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054651, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054656, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22054330, 'dashboard_result_id': 9880336, '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_P22054330_24-04-2025_18_12_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054604, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054606, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054611, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054613, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054614, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22054332, 'dashboard_result_id': 9880337, '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_P22054332_16-04-2025_05_42_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054561, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054562, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054564, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054565, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054566, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054568, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054569, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054572, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22054348, 'dashboard_result_id': 9880338, '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_P22054348_16-04-2025_05_43_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054533, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054534, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054539, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054540, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054541, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22054352, 'dashboard_result_id': 9880339, '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_P22054352_16-04-2025_05_44_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054472, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054473, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054475, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054482, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054483, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054485, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22025134, 'dashboard_result_id': 9880340, '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_P22025134_16-04-2025_05_44_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22025183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22025184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22025185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22025186, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22025187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22025188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22025189, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22025190, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22025191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22025192, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22025193, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22025194, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22024905, 'dashboard_result_id': 9880341, '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_P22024905_16-04-2025_05_45_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22024911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22024912, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22024913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22024914, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22024915, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22024916, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22024917, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22024918, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22024919, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22024920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22024921, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22024922, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22024908, 'dashboard_result_id': 9880342, '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_P22024908_16-04-2025_05_45_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22024941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22024942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22024943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22024944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22024945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22024946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22024947, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22024948, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22024949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22024950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22024951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22024952, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22029285, 'dashboard_result_id': 9880343, '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_P22029285_16-04-2025_05_46_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22029302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22029303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22029304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22029305, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22029306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22029307, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22029308, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22029309, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22029310, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22029311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22029312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22029313, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22029609, 'dashboard_result_id': 9880344, '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_P22029609_16-04-2025_05_47_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22029612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22029613, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22029614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22029615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22029616, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22029617, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22029618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22029619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22029620, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22029621, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22029622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22029623, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22030089, 'dashboard_result_id': 9880345, '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_P22030089_16-04-2025_05_48_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22030092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22030093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22030094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22030095, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22030096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22030097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22030098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22030099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22030100, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22030101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22030102, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22030103, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22030731, 'dashboard_result_id': 9880346, '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_P22030731_16-04-2025_05_48_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22030789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22030790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22030791, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22030792, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22030793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22030794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22030795, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22030796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22030797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22030798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22030799, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22030800, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22031305, 'dashboard_result_id': 9880347, '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_P22031305_16-04-2025_05_49_52.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22031365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22031366, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22031367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22031368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22031369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22031370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22031371, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22031372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22031373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22031374, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22031375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22031376, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22032110, 'dashboard_result_id': 9880348, '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_P22032110_16-04-2025_05_49_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22032151, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22032152, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22032153, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22032154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22032155, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22032156, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22032157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22032158, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22032159, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22032160, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22032161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22032162, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22032679, 'dashboard_result_id': 9880349, '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_P22032679_16-04-2025_05_49_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22032686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22032687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22032688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22032689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22032690, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22032691, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22032692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22032693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22032694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22032695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22032696, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22032697, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22033468, 'dashboard_result_id': 9880350, '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_P22033468_16-04-2025_05_50_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22033484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22033485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22033486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22033487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22033488, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22033489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22033490, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22033491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22033492, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22033493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22033494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22033495, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22034056, 'dashboard_result_id': 9880351, '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_P22034056_16-04-2025_05_51_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22034081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22034082, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22034083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22034084, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22034085, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22034086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22034087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22034088, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22034089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22034090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22034091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22034092, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22034536, 'dashboard_result_id': 9880352, '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_P22034536_16-04-2025_05_52_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22034544, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22034545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22034546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22034547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22034548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22034549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22034550, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22034551, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22034552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22034553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22034554, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22034555, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22035147, 'dashboard_result_id': 9880353, '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_P22035147_16-04-2025_05_53_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22035238, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22035239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22035240, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22035241, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22035242, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22035243, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22035244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22035245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22035246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22035247, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22035248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22035249, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22036374, 'dashboard_result_id': 9880354, '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_P22036374_16-04-2025_05_53_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22036379, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22036380, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22036381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22036382, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22036383, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22036384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22036385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22036386, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22036387, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22036388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22036389, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22036390, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22037077, 'dashboard_result_id': 9880355, '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_P22037077_16-04-2025_05_53_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22037079, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22037080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22037081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22037082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22037083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22037084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22037085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22037086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22037087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22037088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22037089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22037090, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22037809, 'dashboard_result_id': 9880356, '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_P22037809_16-04-2025_05_54_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22037817, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22037818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22037819, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22037820, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22037821, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22037822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22037823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22037824, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22037825, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22037826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22037827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22037828, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22038581, 'dashboard_result_id': 9880357, '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_P22038581_16-04-2025_05_55_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22038588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22038589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22038590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22038591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22038592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22038593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22038594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22038595, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22038596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22038597, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22038598, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22038599, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22039603, 'dashboard_result_id': 9880358, '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_P22039603_16-04-2025_05_56_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22039610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22039611, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22039612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22039613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22039614, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22039615, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22039616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22039617, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22039618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22039619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22039620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22039621, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22040963, 'dashboard_result_id': 9880359, '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_P22040963_16-04-2025_05_56_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22041024, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22041025, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22041026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22041027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22041028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22041029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22041030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22041031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22041032, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22041033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22041034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22041035, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22041608, 'dashboard_result_id': 9880360, '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_P22041608_16-04-2025_05_57_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22041636, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22041637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22041638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22041639, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22041640, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22041641, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22041642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22041643, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22041644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22041645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22041646, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22041647, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22042194, 'dashboard_result_id': 9880361, '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_P22042194_16-04-2025_05_58_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22042215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22042216, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22042217, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22042218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22042219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22042220, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22042221, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22042222, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22042223, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22042224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22042225, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22042226, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22042817, 'dashboard_result_id': 9880362, '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_P22042817_16-04-2025_05_58_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22042818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22042819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22042820, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22042821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22042822, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22042823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22042824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22042825, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22042826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22042827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22042828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22042829, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22043288, 'dashboard_result_id': 9880363, '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_P22043288_16-04-2025_05_59_53.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043297, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22043298, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043299, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043300, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043302, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043308, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22044203, 'dashboard_result_id': 9880364, '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_P22044203_16-04-2025_05_59_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22044243, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22044244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22044245, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22044246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22044247, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22044248, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22044249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22044250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22044251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22044252, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22044253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22044254, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22045139, 'dashboard_result_id': 9880365, '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_P22045139_16-04-2025_06_00_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22045173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22045174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22045175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22045176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22045177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22045178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22045179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22045180, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22045181, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22045182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22045183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22045184, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22045959, 'dashboard_result_id': 9880366, '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_P22045959_16-04-2025_06_00_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22045966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22045967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22045968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22045969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22045970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22045971, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22045972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22045973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22045974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22045975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22045976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22045977, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22046570, 'dashboard_result_id': 9880367, '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_P22046570_16-04-2025_06_01_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22046577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22046578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22046579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22046580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22046581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22046582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22046583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22046584, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22046585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22046586, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22046587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22046588, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22047356, 'dashboard_result_id': 9880368, '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_P22047356_16-04-2025_06_02_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22047384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22047385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22047386, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22047387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22047388, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22047389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22047390, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22047391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22047392, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22047393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22047394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22047395, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22048513, 'dashboard_result_id': 9880369, '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_P22048513_16-04-2025_06_02_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22048535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22048536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22048537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22048538, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22048539, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22048540, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22048541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22048542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22048543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22048544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22048545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22048546, 'pht': 3726}}"}, {'dashboat_entry_day': 1714503, 'dashboard_run_id': 1726343, 'mtr_portfolio_id': 22050083, 'dashboard_result_id': 9880370, '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_P22050083_16-04-2025_06_03_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22050087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22050088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22050089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22050090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22050091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22050092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22050093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22050094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22050095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22050096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22050097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22050098, '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 = 22054280 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': 2758309, 'mtr_portfolio_id': 22054280, 'created_at': datetime.datetime(2025, 4, 24, 18, 5, 29), 'result': '0.06712082102614168', 'result_long': None, 'result_double': None}] Qualite : 0.06712082102614168 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22054280 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054280_24-04-2025_18_05_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22054280 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_P22054280_24-04-2025_18_05_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054356, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054357, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054358, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054359, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054360, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054361, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054362, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054368, 'pht': 3726}}" where mtr_portfolio_id = 22054280 and dashboard_run_id = 1726343 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`=22054280 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880326, 0.06712082102614168, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054280_24-04-2025_18_05_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054356, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054357, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054358, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054359, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054360, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054361, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054362, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054368, '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 = 22054281 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': 2758310, 'mtr_portfolio_id': 22054281, 'created_at': datetime.datetime(2025, 4, 24, 18, 5, 57), 'result': '0.05180470273603874', 'result_long': None, 'result_double': None}] Qualite : 0.05180470273603874 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22054281 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054281_24-04-2025_18_06_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22054281 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_P22054281_24-04-2025_18_06_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054933, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054936, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054937, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054944, 'pht': 3726}}" where mtr_portfolio_id = 22054281 and dashboard_run_id = 1726343 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`=22054281 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880327, 0.05180470273603874, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054281_24-04-2025_18_06_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054933, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054936, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054937, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054944, '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 = 22054282 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': 2758311, 'mtr_portfolio_id': 22054282, 'created_at': datetime.datetime(2025, 4, 24, 18, 6, 29), 'result': '0.051110725488253884', 'result_long': None, 'result_double': None}] Qualite : 0.051110725488253884 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22054282 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054282_24-04-2025_18_06_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22054282 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_P22054282_24-04-2025_18_06_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054911, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054912, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054913, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054916, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054917, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054918, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054919, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054920, 'pht': 3726}}" where mtr_portfolio_id = 22054282 and dashboard_run_id = 1726343 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`=22054282 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880328, 0.051110725488253884, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054282_24-04-2025_18_06_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054911, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054912, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054913, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054916, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054917, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054918, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054919, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054920, '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 = 22054283 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': 2758312, 'mtr_portfolio_id': 22054283, 'created_at': datetime.datetime(2025, 4, 24, 18, 7, 31), 'result': '0.05615151161517728', 'result_long': None, 'result_double': None}] Qualite : 0.05615151161517728 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22054283 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054283_24-04-2025_18_07_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22054283 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_P22054283_24-04-2025_18_07_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22054866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054868, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054871, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054877, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054879, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054880, 'pht': 3726}}" where mtr_portfolio_id = 22054283 and dashboard_run_id = 1726343 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`=22054283 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880329, 0.05615151161517728, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054283_24-04-2025_18_07_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22054866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054868, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054871, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054877, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054879, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054880, '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 = 22054284 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': 2758313, 'mtr_portfolio_id': 22054284, 'created_at': datetime.datetime(2025, 4, 24, 18, 8, 1), 'result': '0.05175948521942103', 'result_long': None, 'result_double': None}] Qualite : 0.05175948521942103 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22054284 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054284_24-04-2025_18_08_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22054284 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_P22054284_24-04-2025_18_08_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22054805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054812, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054814, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054817, 'pht': 3726}}" where mtr_portfolio_id = 22054284 and dashboard_run_id = 1726343 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`=22054284 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880330, 0.05175948521942103, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054284_24-04-2025_18_08_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22054805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054812, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054814, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054817, '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 = 22054285 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': 2758314, 'mtr_portfolio_id': 22054285, 'created_at': datetime.datetime(2025, 4, 24, 18, 8, 59), 'result': '0.05358007888756211', 'result_long': None, 'result_double': None}] Qualite : 0.05358007888756211 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22054285 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054285_24-04-2025_18_09_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22054285 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_P22054285_24-04-2025_18_09_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22054757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054760, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054763, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054765, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054767, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054768, 'pht': 3726}}" where mtr_portfolio_id = 22054285 and dashboard_run_id = 1726343 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`=22054285 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880331, 0.05358007888756211, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054285_24-04-2025_18_09_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22054757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054760, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054763, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054765, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054767, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054768, '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 = 22054287 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': 2758315, 'mtr_portfolio_id': 22054287, 'created_at': datetime.datetime(2025, 4, 24, 18, 9, 27), 'result': '0.05406459000608637', 'result_long': None, 'result_double': None}] Qualite : 0.05406459000608637 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22054287 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054287_24-04-2025_18_09_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22054287 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_P22054287_24-04-2025_18_09_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054732, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054733, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054734, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054737, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054740, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054741, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054743, 'pht': 3726}}" where mtr_portfolio_id = 22054287 and dashboard_run_id = 1726343 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`=22054287 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880332, 0.05406459000608637, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054287_24-04-2025_18_09_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054732, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054733, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054734, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054737, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054740, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054741, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054743, '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 = 22054288 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': 2758316, 'mtr_portfolio_id': 22054288, 'created_at': datetime.datetime(2025, 4, 24, 18, 9, 58), 'result': '0.04950614506022249', 'result_long': None, 'result_double': None}] Qualite : 0.04950614506022249 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22054288 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054288_24-04-2025_18_10_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22054288 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_P22054288_24-04-2025_18_10_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054712, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054713, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054715, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054716, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054719, 'pht': 3726}}" where mtr_portfolio_id = 22054288 and dashboard_run_id = 1726343 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`=22054288 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880333, 0.04950614506022249, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054288_24-04-2025_18_10_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054712, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054713, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054715, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054716, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054719, '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 = 22054290 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': 2758317, 'mtr_portfolio_id': 22054290, 'created_at': datetime.datetime(2025, 4, 24, 18, 10, 28), 'result': '0.05329041122783932', 'result_long': None, 'result_double': None}] Qualite : 0.05329041122783932 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22054290 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054290_24-04-2025_18_10_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22054290 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_P22054290_24-04-2025_18_10_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054673, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054675, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054676, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054677, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054678, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054679, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054680, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054681, 'pht': 3726}}" where mtr_portfolio_id = 22054290 and dashboard_run_id = 1726343 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`=22054290 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880334, 0.05329041122783932, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054290_24-04-2025_18_10_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054673, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054675, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054676, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054677, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054678, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054679, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054680, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054681, '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 = 22054310 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': 2758318, 'mtr_portfolio_id': 22054310, 'created_at': datetime.datetime(2025, 4, 24, 18, 11, 28), 'result': '0.04807397539015424', 'result_long': None, 'result_double': None}] Qualite : 0.04807397539015424 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22054310 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054310_24-04-2025_18_11_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22054310 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_P22054310_24-04-2025_18_11_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054651, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054656, 'pht': 3726}}" where mtr_portfolio_id = 22054310 and dashboard_run_id = 1726343 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`=22054310 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880335, 0.04807397539015424, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054310_24-04-2025_18_11_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054651, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054656, '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 = 22054330 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': 2758319, 'mtr_portfolio_id': 22054330, 'created_at': datetime.datetime(2025, 4, 24, 18, 11, 58), 'result': '0.06310263924483894', 'result_long': None, 'result_double': None}] Qualite : 0.06310263924483894 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22054330 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054330_24-04-2025_18_12_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22054330 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_P22054330_24-04-2025_18_12_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054604, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054606, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054611, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054613, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054614, 'pht': 3726}}" where mtr_portfolio_id = 22054330 and dashboard_run_id = 1726343 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`=22054330 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880336, 0.06310263924483894, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054330_24-04-2025_18_12_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054604, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054606, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054611, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054613, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054614, '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 = 22054332 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': 2758320, 'mtr_portfolio_id': 22054332, 'created_at': datetime.datetime(2025, 4, 24, 18, 12, 28), 'result': '0.04048701968648015', 'result_long': None, 'result_double': None}] Qualite : 0.04048701968648015 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22054332 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054332_24-04-2025_18_12_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22054332 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_P22054332_24-04-2025_18_12_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054561, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054562, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054564, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054565, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054566, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054568, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054569, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054572, 'pht': 3726}}" where mtr_portfolio_id = 22054332 and dashboard_run_id = 1726343 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`=22054332 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880337, 0.04048701968648015, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054332_24-04-2025_18_12_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054561, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054562, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054564, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054565, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054566, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054568, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054569, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054572, '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 = 22054348 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22054348 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 22054348 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22054348 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22054348 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22054348 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054348_16-04-2025_05_43_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22054348 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_P22054348_16-04-2025_05_43_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054533, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054534, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054539, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054540, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054541, 'pht': 3726}}" where mtr_portfolio_id = 22054348 and dashboard_run_id = 1726343 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 = 22054352 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22054352 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 22054352 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22054352 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22054352 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22054352 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054352_16-04-2025_05_44_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22054352 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_P22054352_16-04-2025_05_44_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054472, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054473, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054475, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054482, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054483, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054485, 'pht': 3726}}" where mtr_portfolio_id = 22054352 and dashboard_run_id = 1726343 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 = 22025134 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22025134 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 22025134 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22025134 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22025134 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22025134 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22025134_16-04-2025_05_44_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22025134 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_P22025134_16-04-2025_05_44_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22025183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22025184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22025185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22025186, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22025187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22025188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22025189, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22025190, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22025191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22025192, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22025193, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22025194, 'pht': 3726}}" where mtr_portfolio_id = 22025134 and dashboard_run_id = 1726343 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 = 22024905 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': 2724418, 'mtr_portfolio_id': 22024905, 'created_at': datetime.datetime(2025, 4, 16, 5, 45, 28), 'result': '0.0421495656909749', 'result_long': None, 'result_double': None}] Qualite : 0.0421495656909749 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22024905 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22024905_16-04-2025_05_45_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22024905 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_P22024905_16-04-2025_05_45_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22024911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22024912, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22024913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22024914, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22024915, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22024916, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22024917, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22024918, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22024919, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22024920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22024921, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22024922, 'pht': 3726}}" where mtr_portfolio_id = 22024905 and dashboard_run_id = 1726343 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`=22024905 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880341, 0.0421495656909749, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22024905_16-04-2025_05_45_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22024911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22024912, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22024913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22024914, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22024915, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22024916, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22024917, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22024918, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22024919, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22024920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22024921, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22024922, '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 = 22024908 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': 2724419, 'mtr_portfolio_id': 22024908, 'created_at': datetime.datetime(2025, 4, 16, 5, 45, 57), 'result': '0.046187537021588614', 'result_long': None, 'result_double': None}] Qualite : 0.046187537021588614 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22024908 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22024908_16-04-2025_05_45_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22024908 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_P22024908_16-04-2025_05_45_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22024941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22024942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22024943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22024944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22024945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22024946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22024947, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22024948, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22024949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22024950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22024951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22024952, 'pht': 3726}}" where mtr_portfolio_id = 22024908 and dashboard_run_id = 1726343 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`=22024908 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880342, 0.046187537021588614, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22024908_16-04-2025_05_45_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22024941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22024942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22024943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22024944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22024945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22024946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22024947, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22024948, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22024949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22024950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22024951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22024952, '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 = 22029285 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': 2724420, 'mtr_portfolio_id': 22029285, 'created_at': datetime.datetime(2025, 4, 16, 5, 46, 29), 'result': '0.05492023332855812', 'result_long': None, 'result_double': None}] Qualite : 0.05492023332855812 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22029285 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22029285_16-04-2025_05_46_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22029285 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_P22029285_16-04-2025_05_46_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22029302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22029303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22029304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22029305, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22029306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22029307, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22029308, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22029309, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22029310, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22029311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22029312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22029313, 'pht': 3726}}" where mtr_portfolio_id = 22029285 and dashboard_run_id = 1726343 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`=22029285 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880343, 0.05492023332855812, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22029285_16-04-2025_05_46_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22029302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22029303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22029304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22029305, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22029306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22029307, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22029308, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22029309, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22029310, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22029311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22029312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22029313, '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 = 22029609 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': 2724421, 'mtr_portfolio_id': 22029609, 'created_at': datetime.datetime(2025, 4, 16, 5, 47, 29), 'result': '0.04346856839828369', 'result_long': None, 'result_double': None}] Qualite : 0.04346856839828369 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22029609 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22029609_16-04-2025_05_47_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22029609 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_P22029609_16-04-2025_05_47_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22029612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22029613, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22029614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22029615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22029616, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22029617, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22029618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22029619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22029620, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22029621, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22029622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22029623, 'pht': 3726}}" where mtr_portfolio_id = 22029609 and dashboard_run_id = 1726343 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`=22029609 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880344, 0.04346856839828369, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22029609_16-04-2025_05_47_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22029612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22029613, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22029614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22029615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22029616, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22029617, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22029618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22029619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22029620, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22029621, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22029622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22029623, '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 = 22030089 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': 2724422, 'mtr_portfolio_id': 22030089, 'created_at': datetime.datetime(2025, 4, 16, 5, 48), 'result': '0.03779916767989185', 'result_long': None, 'result_double': None}] Qualite : 0.03779916767989185 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22030089 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22030089_16-04-2025_05_48_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22030089 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_P22030089_16-04-2025_05_48_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22030092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22030093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22030094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22030095, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22030096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22030097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22030098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22030099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22030100, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22030101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22030102, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22030103, 'pht': 3726}}" where mtr_portfolio_id = 22030089 and dashboard_run_id = 1726343 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`=22030089 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880345, 0.03779916767989185, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22030089_16-04-2025_05_48_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22030092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22030093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22030094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22030095, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22030096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22030097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22030098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22030099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22030100, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22030101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22030102, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22030103, '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 = 22030731 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': 2724423, 'mtr_portfolio_id': 22030731, 'created_at': datetime.datetime(2025, 4, 16, 5, 48, 31), 'result': '0.0358330516743126', 'result_long': None, 'result_double': None}] Qualite : 0.0358330516743126 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22030731 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22030731_16-04-2025_05_48_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22030731 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_P22030731_16-04-2025_05_48_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22030789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22030790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22030791, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22030792, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22030793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22030794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22030795, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22030796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22030797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22030798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22030799, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22030800, 'pht': 3726}}" where mtr_portfolio_id = 22030731 and dashboard_run_id = 1726343 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`=22030731 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880346, 0.0358330516743126, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22030731_16-04-2025_05_48_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22030789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22030790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22030791, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22030792, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22030793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22030794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22030795, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22030796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22030797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22030798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22030799, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22030800, '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 = 22031305 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': 2724424, 'mtr_portfolio_id': 22031305, 'created_at': datetime.datetime(2025, 4, 16, 5, 49, 47), 'result': '0.0735756794268625', 'result_long': None, 'result_double': None}] Qualite : 0.0735756794268625 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22031305 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22031305_16-04-2025_05_49_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22031305 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_P22031305_16-04-2025_05_49_52.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22031365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22031366, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22031367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22031368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22031369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22031370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22031371, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22031372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22031373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22031374, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22031375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22031376, 'pht': 3726}}" where mtr_portfolio_id = 22031305 and dashboard_run_id = 1726343 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`=22031305 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880347, 0.0735756794268625, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22031305_16-04-2025_05_49_52.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22031365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22031366, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22031367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22031368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22031369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22031370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22031371, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22031372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22031373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22031374, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22031375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22031376, '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 = 22032110 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': 2724425, 'mtr_portfolio_id': 22032110, 'created_at': datetime.datetime(2025, 4, 16, 5, 49, 30), 'result': '0.06631491133286925', 'result_long': None, 'result_double': None}] Qualite : 0.06631491133286925 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22032110 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22032110_16-04-2025_05_49_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22032110 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_P22032110_16-04-2025_05_49_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22032151, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22032152, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22032153, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22032154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22032155, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22032156, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22032157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22032158, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22032159, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22032160, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22032161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22032162, 'pht': 3726}}" where mtr_portfolio_id = 22032110 and dashboard_run_id = 1726343 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`=22032110 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880348, 0.06631491133286925, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22032110_16-04-2025_05_49_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22032151, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22032152, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22032153, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22032154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22032155, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22032156, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22032157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22032158, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22032159, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22032160, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22032161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22032162, '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 = 22032679 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': 2724426, 'mtr_portfolio_id': 22032679, 'created_at': datetime.datetime(2025, 4, 16, 5, 49, 57), 'result': '0.03818014773748604', 'result_long': None, 'result_double': None}] Qualite : 0.03818014773748604 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22032679 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22032679_16-04-2025_05_49_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22032679 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_P22032679_16-04-2025_05_49_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22032686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22032687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22032688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22032689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22032690, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22032691, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22032692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22032693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22032694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22032695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22032696, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22032697, 'pht': 3726}}" where mtr_portfolio_id = 22032679 and dashboard_run_id = 1726343 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`=22032679 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880349, 0.03818014773748604, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22032679_16-04-2025_05_49_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22032686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22032687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22032688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22032689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22032690, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22032691, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22032692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22032693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22032694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22032695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22032696, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22032697, '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 = 22033468 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': 2724427, 'mtr_portfolio_id': 22033468, 'created_at': datetime.datetime(2025, 4, 16, 5, 50, 30), 'result': '0.024732565652860083', 'result_long': None, 'result_double': None}] Qualite : 0.024732565652860083 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22033468 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22033468_16-04-2025_05_50_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22033468 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_P22033468_16-04-2025_05_50_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22033484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22033485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22033486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22033487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22033488, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22033489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22033490, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22033491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22033492, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22033493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22033494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22033495, 'pht': 3726}}" where mtr_portfolio_id = 22033468 and dashboard_run_id = 1726343 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`=22033468 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880350, 0.024732565652860083, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22033468_16-04-2025_05_50_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22033484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22033485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22033486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22033487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22033488, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22033489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22033490, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22033491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22033492, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22033493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22033494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22033495, '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 = 22034056 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': 2724428, 'mtr_portfolio_id': 22034056, 'created_at': datetime.datetime(2025, 4, 16, 5, 51, 29), 'result': '0.04879596516559421', 'result_long': None, 'result_double': None}] Qualite : 0.04879596516559421 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22034056 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22034056_16-04-2025_05_51_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22034056 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_P22034056_16-04-2025_05_51_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22034081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22034082, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22034083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22034084, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22034085, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22034086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22034087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22034088, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22034089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22034090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22034091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22034092, 'pht': 3726}}" where mtr_portfolio_id = 22034056 and dashboard_run_id = 1726343 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`=22034056 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880351, 0.04879596516559421, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22034056_16-04-2025_05_51_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22034081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22034082, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22034083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22034084, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22034085, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22034086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22034087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22034088, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22034089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22034090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22034091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22034092, '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 = 22034536 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': 2724429, 'mtr_portfolio_id': 22034536, 'created_at': datetime.datetime(2025, 4, 16, 5, 51, 57), 'result': '0.056076489962999854', 'result_long': None, 'result_double': None}] Qualite : 0.056076489962999854 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22034536 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22034536_16-04-2025_05_52_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22034536 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_P22034536_16-04-2025_05_52_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22034544, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22034545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22034546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22034547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22034548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22034549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22034550, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22034551, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22034552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22034553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22034554, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22034555, 'pht': 3726}}" where mtr_portfolio_id = 22034536 and dashboard_run_id = 1726343 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`=22034536 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880352, 0.056076489962999854, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22034536_16-04-2025_05_52_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22034544, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22034545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22034546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22034547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22034548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22034549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22034550, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22034551, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22034552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22034553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22034554, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22034555, '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 = 22035147 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': 2724430, 'mtr_portfolio_id': 22035147, 'created_at': datetime.datetime(2025, 4, 16, 5, 53), 'result': '0.04672585476075284', 'result_long': None, 'result_double': None}] Qualite : 0.04672585476075284 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22035147 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22035147_16-04-2025_05_53_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22035147 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_P22035147_16-04-2025_05_53_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22035238, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22035239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22035240, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22035241, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22035242, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22035243, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22035244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22035245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22035246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22035247, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22035248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22035249, 'pht': 3726}}" where mtr_portfolio_id = 22035147 and dashboard_run_id = 1726343 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`=22035147 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880353, 0.04672585476075284, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22035147_16-04-2025_05_53_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22035238, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22035239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22035240, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22035241, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22035242, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22035243, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22035244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22035245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22035246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22035247, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22035248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22035249, '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 = 22036374 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': 2724431, 'mtr_portfolio_id': 22036374, 'created_at': datetime.datetime(2025, 4, 16, 5, 53, 45), 'result': '0.05154981985050589', 'result_long': None, 'result_double': None}] Qualite : 0.05154981985050589 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22036374 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22036374_16-04-2025_05_53_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22036374 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_P22036374_16-04-2025_05_53_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22036379, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22036380, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22036381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22036382, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22036383, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22036384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22036385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22036386, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22036387, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22036388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22036389, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22036390, 'pht': 3726}}" where mtr_portfolio_id = 22036374 and dashboard_run_id = 1726343 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`=22036374 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880354, 0.05154981985050589, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22036374_16-04-2025_05_53_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22036379, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22036380, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22036381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22036382, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22036383, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22036384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22036385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22036386, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22036387, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22036388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22036389, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22036390, '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 = 22037077 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': 2724432, 'mtr_portfolio_id': 22037077, 'created_at': datetime.datetime(2025, 4, 16, 5, 53, 28), 'result': '0.04153761204543422', 'result_long': None, 'result_double': None}] Qualite : 0.04153761204543422 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22037077 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22037077_16-04-2025_05_53_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22037077 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_P22037077_16-04-2025_05_53_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22037079, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22037080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22037081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22037082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22037083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22037084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22037085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22037086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22037087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22037088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22037089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22037090, 'pht': 3726}}" where mtr_portfolio_id = 22037077 and dashboard_run_id = 1726343 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`=22037077 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880355, 0.04153761204543422, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22037077_16-04-2025_05_53_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22037079, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22037080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22037081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22037082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22037083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22037084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22037085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22037086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22037087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22037088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22037089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22037090, '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 = 22037809 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': 2724433, 'mtr_portfolio_id': 22037809, 'created_at': datetime.datetime(2025, 4, 16, 5, 54), 'result': '0.04017135123540626', 'result_long': None, 'result_double': None}] Qualite : 0.04017135123540626 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22037809 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22037809_16-04-2025_05_54_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22037809 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_P22037809_16-04-2025_05_54_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22037817, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22037818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22037819, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22037820, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22037821, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22037822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22037823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22037824, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22037825, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22037826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22037827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22037828, 'pht': 3726}}" where mtr_portfolio_id = 22037809 and dashboard_run_id = 1726343 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`=22037809 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880356, 0.04017135123540626, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22037809_16-04-2025_05_54_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22037817, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22037818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22037819, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22037820, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22037821, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22037822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22037823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22037824, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22037825, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22037826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22037827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22037828, '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 = 22038581 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': 2724434, 'mtr_portfolio_id': 22038581, 'created_at': datetime.datetime(2025, 4, 16, 5, 55, 30), 'result': '0.04584970653292742', 'result_long': None, 'result_double': None}] Qualite : 0.04584970653292742 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22038581 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22038581_16-04-2025_05_55_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22038581 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_P22038581_16-04-2025_05_55_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22038588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22038589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22038590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22038591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22038592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22038593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22038594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22038595, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22038596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22038597, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22038598, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22038599, 'pht': 3726}}" where mtr_portfolio_id = 22038581 and dashboard_run_id = 1726343 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`=22038581 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880357, 0.04584970653292742, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22038581_16-04-2025_05_55_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22038588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22038589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22038590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22038591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22038592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22038593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22038594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22038595, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22038596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22038597, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22038598, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22038599, '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 = 22039603 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': 2724435, 'mtr_portfolio_id': 22039603, 'created_at': datetime.datetime(2025, 4, 16, 5, 55, 58), 'result': '0.07949793596923363', 'result_long': None, 'result_double': None}] Qualite : 0.07949793596923363 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22039603 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22039603_16-04-2025_05_56_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22039603 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_P22039603_16-04-2025_05_56_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22039610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22039611, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22039612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22039613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22039614, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22039615, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22039616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22039617, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22039618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22039619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22039620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22039621, 'pht': 3726}}" where mtr_portfolio_id = 22039603 and dashboard_run_id = 1726343 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`=22039603 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880358, 0.07949793596923363, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22039603_16-04-2025_05_56_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22039610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22039611, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22039612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22039613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22039614, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22039615, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22039616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22039617, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22039618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22039619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22039620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22039621, '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 = 22040963 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': 2724436, 'mtr_portfolio_id': 22040963, 'created_at': datetime.datetime(2025, 4, 16, 5, 56, 28), 'result': '0.06901418215572279', 'result_long': None, 'result_double': None}] Qualite : 0.06901418215572279 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22040963 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22040963_16-04-2025_05_56_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22040963 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_P22040963_16-04-2025_05_56_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22041024, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22041025, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22041026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22041027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22041028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22041029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22041030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22041031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22041032, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22041033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22041034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22041035, 'pht': 3726}}" where mtr_portfolio_id = 22040963 and dashboard_run_id = 1726343 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`=22040963 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880359, 0.06901418215572279, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22040963_16-04-2025_05_56_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22041024, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22041025, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22041026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22041027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22041028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22041029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22041030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22041031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22041032, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22041033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22041034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22041035, '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 = 22041608 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': 2724437, 'mtr_portfolio_id': 22041608, 'created_at': datetime.datetime(2025, 4, 16, 5, 57, 30), 'result': '0.05247910961623078', 'result_long': None, 'result_double': None}] Qualite : 0.05247910961623078 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22041608 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22041608_16-04-2025_05_57_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22041608 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_P22041608_16-04-2025_05_57_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22041636, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22041637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22041638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22041639, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22041640, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22041641, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22041642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22041643, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22041644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22041645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22041646, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22041647, 'pht': 3726}}" where mtr_portfolio_id = 22041608 and dashboard_run_id = 1726343 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`=22041608 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880360, 0.05247910961623078, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22041608_16-04-2025_05_57_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22041636, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22041637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22041638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22041639, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22041640, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22041641, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22041642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22041643, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22041644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22041645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22041646, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22041647, '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 = 22042194 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': 2724438, 'mtr_portfolio_id': 22042194, 'created_at': datetime.datetime(2025, 4, 16, 5, 57, 59), 'result': '0.06408765364989218', 'result_long': None, 'result_double': None}] Qualite : 0.06408765364989218 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22042194 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042194_16-04-2025_05_58_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22042194 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_P22042194_16-04-2025_05_58_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22042215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22042216, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22042217, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22042218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22042219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22042220, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22042221, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22042222, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22042223, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22042224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22042225, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22042226, 'pht': 3726}}" where mtr_portfolio_id = 22042194 and dashboard_run_id = 1726343 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`=22042194 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880361, 0.06408765364989218, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042194_16-04-2025_05_58_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22042215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22042216, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22042217, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22042218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22042219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22042220, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22042221, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22042222, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22042223, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22042224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22042225, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22042226, '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 = 22042817 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': 2724439, 'mtr_portfolio_id': 22042817, 'created_at': datetime.datetime(2025, 4, 16, 5, 58, 31), 'result': '0.05796292893679086', 'result_long': None, 'result_double': None}] Qualite : 0.05796292893679086 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22042817 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042817_16-04-2025_05_58_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22042817 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_P22042817_16-04-2025_05_58_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22042818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22042819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22042820, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22042821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22042822, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22042823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22042824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22042825, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22042826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22042827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22042828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22042829, 'pht': 3726}}" where mtr_portfolio_id = 22042817 and dashboard_run_id = 1726343 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`=22042817 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880362, 0.05796292893679086, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042817_16-04-2025_05_58_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22042818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22042819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22042820, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22042821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22042822, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22042823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22042824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22042825, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22042826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22042827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22042828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22042829, '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 = 22043288 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': 2724440, 'mtr_portfolio_id': 22043288, 'created_at': datetime.datetime(2025, 4, 16, 5, 59, 47), 'result': '0.06283070677315634', 'result_long': None, 'result_double': None}] Qualite : 0.06283070677315634 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22043288 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22043288_16-04-2025_05_59_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22043288 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_P22043288_16-04-2025_05_59_53.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043297, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22043298, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043299, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043300, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043302, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043308, 'pht': 3726}}" where mtr_portfolio_id = 22043288 and dashboard_run_id = 1726343 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`=22043288 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880363, 0.06283070677315634, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22043288_16-04-2025_05_59_53.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043297, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22043298, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043299, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043300, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043302, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043308, '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 = 22044203 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': 2724441, 'mtr_portfolio_id': 22044203, 'created_at': datetime.datetime(2025, 4, 16, 5, 59, 28), 'result': '0.05631054286543995', 'result_long': None, 'result_double': None}] Qualite : 0.05631054286543995 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22044203 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22044203_16-04-2025_05_59_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22044203 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_P22044203_16-04-2025_05_59_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22044243, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22044244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22044245, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22044246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22044247, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22044248, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22044249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22044250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22044251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22044252, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22044253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22044254, 'pht': 3726}}" where mtr_portfolio_id = 22044203 and dashboard_run_id = 1726343 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`=22044203 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880364, 0.05631054286543995, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22044203_16-04-2025_05_59_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22044243, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22044244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22044245, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22044246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22044247, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22044248, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22044249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22044250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22044251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22044252, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22044253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22044254, '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 = 22045139 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': 2724442, 'mtr_portfolio_id': 22045139, 'created_at': datetime.datetime(2025, 4, 16, 5, 59, 58), 'result': '0.05002158548615933', 'result_long': None, 'result_double': None}] Qualite : 0.05002158548615933 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22045139 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22045139_16-04-2025_06_00_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22045139 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_P22045139_16-04-2025_06_00_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22045173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22045174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22045175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22045176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22045177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22045178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22045179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22045180, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22045181, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22045182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22045183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22045184, 'pht': 3726}}" where mtr_portfolio_id = 22045139 and dashboard_run_id = 1726343 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`=22045139 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880365, 0.05002158548615933, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22045139_16-04-2025_06_00_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22045173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22045174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22045175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22045176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22045177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22045178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22045179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22045180, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22045181, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22045182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22045183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22045184, '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 = 22045959 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': 2724443, 'mtr_portfolio_id': 22045959, 'created_at': datetime.datetime(2025, 4, 16, 6, 0, 30), 'result': '0.060797036311139405', 'result_long': None, 'result_double': None}] Qualite : 0.060797036311139405 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22045959 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22045959_16-04-2025_06_00_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22045959 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_P22045959_16-04-2025_06_00_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22045966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22045967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22045968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22045969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22045970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22045971, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22045972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22045973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22045974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22045975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22045976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22045977, 'pht': 3726}}" where mtr_portfolio_id = 22045959 and dashboard_run_id = 1726343 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`=22045959 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880366, 0.060797036311139405, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22045959_16-04-2025_06_00_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22045966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22045967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22045968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22045969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22045970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22045971, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22045972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22045973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22045974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22045975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22045976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22045977, '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 = 22046570 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': 2724444, 'mtr_portfolio_id': 22046570, 'created_at': datetime.datetime(2025, 4, 16, 6, 1, 29), 'result': '0.03590897328142249', 'result_long': None, 'result_double': None}] Qualite : 0.03590897328142249 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22046570 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22046570_16-04-2025_06_01_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22046570 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_P22046570_16-04-2025_06_01_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22046577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22046578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22046579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22046580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22046581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22046582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22046583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22046584, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22046585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22046586, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22046587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22046588, 'pht': 3726}}" where mtr_portfolio_id = 22046570 and dashboard_run_id = 1726343 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`=22046570 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880367, 0.03590897328142249, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22046570_16-04-2025_06_01_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22046577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22046578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22046579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22046580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22046581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22046582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22046583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22046584, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22046585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22046586, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22046587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22046588, '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 = 22047356 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': 2724445, 'mtr_portfolio_id': 22047356, 'created_at': datetime.datetime(2025, 4, 16, 6, 1, 58), 'result': '0.05830639007233825', 'result_long': None, 'result_double': None}] Qualite : 0.05830639007233825 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22047356 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22047356_16-04-2025_06_02_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22047356 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_P22047356_16-04-2025_06_02_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22047384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22047385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22047386, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22047387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22047388, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22047389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22047390, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22047391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22047392, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22047393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22047394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22047395, 'pht': 3726}}" where mtr_portfolio_id = 22047356 and dashboard_run_id = 1726343 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`=22047356 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880368, 0.05830639007233825, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22047356_16-04-2025_06_02_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22047384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22047385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22047386, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22047387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22047388, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22047389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22047390, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22047391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22047392, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22047393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22047394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22047395, '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 = 22048513 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': 2724446, 'mtr_portfolio_id': 22048513, 'created_at': datetime.datetime(2025, 4, 16, 6, 2, 30), 'result': '0.04419115336574313', 'result_long': None, 'result_double': None}] Qualite : 0.04419115336574313 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22048513 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22048513_16-04-2025_06_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22048513 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_P22048513_16-04-2025_06_02_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22048535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22048536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22048537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22048538, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22048539, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22048540, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22048541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22048542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22048543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22048544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22048545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22048546, 'pht': 3726}}" where mtr_portfolio_id = 22048513 and dashboard_run_id = 1726343 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`=22048513 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880369, 0.04419115336574313, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22048513_16-04-2025_06_02_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22048535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22048536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22048537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22048538, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22048539, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22048540, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22048541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22048542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22048543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22048544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22048545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22048546, '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 = 22050083 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': 2724447, 'mtr_portfolio_id': 22050083, 'created_at': datetime.datetime(2025, 4, 16, 6, 3, 28), 'result': '0.05482438530567423', 'result_long': None, 'result_double': None}] Qualite : 0.05482438530567423 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22050083 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22050083_16-04-2025_06_03_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22050083 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_P22050083_16-04-2025_06_03_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22050087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22050088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22050089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22050090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22050091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22050092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22050093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22050094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22050095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22050096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22050097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22050098, 'pht': 3726}}" where mtr_portfolio_id = 22050083 and dashboard_run_id = 1726343 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`=22050083 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9880370, 0.05482438530567423, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22050083_16-04-2025_06_03_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22050087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22050088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22050089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22050090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22050091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22050092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22050093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22050094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22050095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22050096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22050097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22050098, '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 (22054280,22054281,22054282,22054283,22054284,22054285,22054287,22054288,22054290,22054310,22054330,22054332,22054348,22054352,22025134,22024905,22024908,22029285,22029609,22030089,22030731,22031305,22032110,22032679,22033468,22034056,22034536,22035147,22036374,22037077,22037809,22038581,22039603,22040963,22041608,22042194,22042817,22043288,22044203,22045139,22045959,22046570,22047356,22048513,22050083) result : ((1349822971,), (1349822973,), (1349822976,), (1349822980,), (1349823005,), (1349823016,), (1349823027,), (1349823039,), (1349823044,), (1349823050,), (1349823058,), (1349823060,), (1349823065,), (1349823069,), (1349823076,), (1349823086,), (1349823120,), (1349823129,), (1349823132,), (1349823138,), (1349823141,), (1349823144,), (1349823162,), (1349823167,), (1349823176,), (1349823183,), (1349823192,), (1349823202,), (1349823224,), (1349823229,), (1349823234,), (1349823238,), (1349823242,), (1349823250,), (1349823280,), (1349823291,), (1349823301,), (1349823311,), (1349823321,), (1349823329,), (1349823347,), (1349823353,), (1349823360,), (1349823398,), (1349823430,), (1349823464,), (1349823508,), (1349823523,), (1349823530,), (1349823540,), (1349823547,), (1349823552,), (1349823580,), (1349823603,), (1349823609,), (1349823615,), (1349823624,), (1349823632,), (1349823699,), (1349823713,), (1349823723,), (1349823792,), (1349823801,), (1349823808,), (1349823851,), (1349823881,), (1349823888,), (1349823896,), (1349823908,), (1349823918,), (1349823940,), (1349822829,), (1349822833,), (1349822837,), (1349822841,), (1349822846,), (1349822858,), (1349822863,), (1349822868,), (1349822874,), (1349822879,), (1349822884,), (1349822898,), (1349822900,), (1349822906,), (1349822909,), (1349822915,), (1349822918,), (1349822925,), (1349822929,), (1349822935,), (1349822940,), (1349822944,), (1349822949,), (1349822966,), (1349887121,), (1349823945,), (1349823951,), (1349823965,), (1349823975,), (1349823979,), (1349823992,), (1349823998,), (1349824009,), (1349824022,), (1349824030,), (1349824043,), (1349824064,), (1349824082,), (1349824093,), (1349824109,), (1349824134,), (1349824145,), (1349824210,), (1349824221,), (1349824226,), (1349824235,), (1349824247,), (1349824253,), (1349824274,), (1349824278,), (1349824283,), (1349824288,), (1349824292,), (1349824325,), (1349824329,), (1349824356,), (1349824362,), (1349824380,), (1349824394,), (1349824437,), (1349824438,), (1349824444,), (1349824448,), (1349824455,), (1349824468,), (1349824470,), (1349824475,), (1349824476,), (1349824484,), (1349824489,), (1349824498,), (1349824519,), (1349824524,), (1349824530,), (1349824537,), (1349824542,), (1349824563,), (1349824663,), (1349824686,), (1349824699,), (1349824708,), (1349824715,), (1349824721,), (1349824727,), (1349824732,), (1349824739,), (1349824750,), (1349824759,), (1349824767,), (1349824792,), (1349824794,), (1349824798,), (1349824803,), (1349824812,), (1349824817,), (1349824835,), (1349824841,), (1349824850,), (1349824860,), (1349824876,), (1349824884,), (1349824908,), (1349824914,), (1349824922,), (1349887104,), (1349887235,), (1349887239,), (1349887245,), (1349887250,), (1349887258,), (1349887379,), (1349887390,), (1349887439,), (1349887440,), (1349887829,), (1349887891,), (1349887940,), (1349889448,), (1349889415,), (1349889432,), (1349889651,), (1349889655,), (1349889674,), (1349889682,), (1349889699,), (1349889708,), (1349890109,), (1349890138,), (1349890164,), (1349890384,), (1349890385,), (1349890389,), (1349890392,), (1349890400,), (1349890402,), (1349890409,), (1349890417,), (1349890506,), (1349890508,), (1349890514,), (1349890520,), (1349890564,), (1349890568,), (1349890628,), (1349890633,), (1349890637,), (1349890640,), (1349890645,), (1349890716,), (1349890721,), (1349890744,), (1349890764,), (1349890881,), (1349890884,), (1349890888,), (1349890891,), (1349890899,), (1349891044,), (1349891060,), (1349891346,), (1349891348,), (1349891394,), (1349891397,), (1349891398,), (1349891400,), (1349891409,), (1349891410,), (1349891422,), (1349891423,), (1349891429,), (1349891430,), (1349891891,), (1349891925,), (1349891959,), (1349892001,), (1349892037,), (1349892617,), (1349892466,), (1349892545,), (1349892585,), (1349893318,), (1349893388,), (1349893459,), (1349893549,), (1349893656,), (1349893749,), (1349894500,), (1349894543,), (1349894578,), (1349895031,), (1349895061,), (1349895090,), (1349895118,), (1349895143,), (1349895169,), (1349895587,), (1349895617,), (1349895644,), (1349895680,), (1349895711,), (1349895741,), (1349895860,), (1349895908,), (1349895996,), (1349896512,), (1349896666,), (1349896813,), (1349896920,), (1349896966,), (1349896992,), (1349897135,), (1349897138,), (1349897142,), (1349897146,), (1349897152,), (1349897197,), (1349897202,), (1349897204,), (1349897209,), (1349897261,), (1349897266,), (1349897268,), (1349897271,), (1349897274,), (1349897378,), (1349897380,), (1349897395,), (1349897400,), (1349897404,), (1349897409,), (1349897412,), (1349897415,), (1349897555,), (1349897584,), (1349897612,), (1349897671,), (1349897672,), (1349897679,), (1349897680,), (1349897685,), (1349897686,), (1349897748,), (1349897749,), (1349897753,), (1349897754,), (1349897757,), (1349897758,), (1349897764,), (1349897765,), (1349897822,), (1349897824,), (1349897829,), (1349897831,), (1349897836,), (1349897837,), (1349897842,), (1349897843,), (1349897926,), (1349897929,), (1349897908,), (1349897910,), (1349897911,), (1349897914,), (1349897915,), (1349897917,), (1349897921,), (1349897922,), (1349897969,), (1349897973,), (1349897977,), (1349898125,), (1349898135,), (1349898149,), (1349898155,), (1349898171,), (1349898308,), (1349898312,), (1349898316,), (1349898320,), (1349898365,), (1349898368,), (1349898372,), (1349898377,), (1349898433,), (1349898436,), (1349898439,), (1349898521,), (1349898527,), (1349898532,), (1349898537,), (1349898541,), (1349898667,), (1349898673,), (1349898678,), (1349898682,), (1349898687,), (1349898691,), (1349898774,), (1349898777,), (1349898779,), (1349898782,), (1349898801,), (1349898947,), (1349898951,), (1349898957,), (1349898959,), (1349898963,), (1349898982,), (1349898985,), (1349898996,), (1349899326,), (1349899422,), (1349899520,), (1349899568,), (1349899580,), (1349899601,), (1349899646,), (1349899669,), (1349899712,), (1349899724,), (1349899861,), (1349899865,), (1349899871,), (1349899874,), (1349899878,), (1349899882,), (1349900004,), (1349900048,), (1349900222,), (1349900228,), (1349900236,), (1349900239,), (1349900246,), (1349900251,), (1349900329,), (1349900307,), (1349900313,), (1349900319,), (1349900324,), (1349900426,), (1349900427,), (1349900432,), (1349900434,), (1349900436,), (1349900437,), (1349900451,), (1349900454,), (1349900783,), (1349900796,), (1349900806,), (1349900819,), (1349900866,), (1349900876,), (1349900891,), (1349900898,), (1349900913,), (1349900981,), (1349901012,), (1349901018,), (1349901023,), (1349901068,), (1349901101,), (1349901198,), (1349901224,), (1349901229,), (1349901234,), (1349901279,), (1349901284,), (1349901293,), (1349901347,), (1349901351,), (1349901355,), (1349901377,), (1349901383,), (1349901388,), (1349901399,), (1349901403,), (1349901406,), (1349901485,), (1349901487,), (1349901492,), (1349901884,), (1349902184,), (1349902209,), (1349902235,), (1349902240,), (1349902244,), (1349902383,), (1349902406,), (1349902409,), (1349902599,), (1349902532,), (1349902561,), (1349902576,), (1349902588,), (1349902701,), (1349902725,), (1349902749,), (1349902895,), (1349902927,), (1349902936,), (1349902944,), (1349902946,), (1349902951,), (1349903029,), (1349903030,), (1349903034,), (1349903036,), (1349903038,), (1349903040,), (1349903044,), (1349903047,), (1349903049,), (1349903052,), (1349903177,), (1349903180,), (1349903337,), (1349903339,), (1349903349,), (1349903350,), (1349903363,), (1349903365,), (1349903378,), (1349903380,), (1349903385,), (1349903388,), (1349903390,), (1349903391,), (1349903435,), (1349903441,), (1349903446,), (1349903471,), (1349903602,), (1349903606,), (1349903620,), (1349903625,), (1349903699,), (1349903702,), (1349903706,), (1349903710,), (1349903714,), (1349903725,), (1349903955,), (1349903960,), (1349904043,), (1349904121,), (1349904187,), (1349904191,), (1349904195,), (1349904199,), (1349904205,), (1349904340,), (1349904345,), (1349904361,), (1349904371,), (1349904376,), (1349904379,), (1349904497,), (1349904498,), (1349904508,), (1349904511,), (1349904518,), (1349904520,), (1349904531,), (1349904533,), (1349904538,), (1349904539,), (1349904795,), (1349904843,), (1349904897,), (1349904934,), (1349904962,), (1349904994,), (1349905111,), (1349905137,), (1349905161,), (1349905189,), (1349905214,), (1349905502,), (1349905290,), (1349905361,), (1349905443,), (1349906150,), (1349906217,), (1349906296,), (1349906360,), (1349906423,), (1349906492,), (1349907320,), (1349907356,), (1349907382,), (1349907405,), (1349907444,), (1349907811,), (1349907837,), (1349907862,), (1349907890,), (1349908309,), (1349908343,), (1349908378,), (1349908602,), (1349908631,), (1349908727,), (1349908732,), (1349908735,), (1349908739,), (1349908744,), (1349908797,), (1349908809,), (1349908817,), (1349908827,), (1349908967,), (1349909026,), (1349909032,), (1349909037,), (1349909327,), (1349909332,), (1349909452,), (1349909456,), (1349909460,), (1349909464,), (1349909473,), (1349909885,), (1349909931,), (1349909961,), (1349909991,), (1349910013,), (1349910361,), (1349910390,), (1349910395,), (1349910415,), (1349910574,), (1349910600,), (1349910626,), (1349910655,), (1349910956,), (1349911010,), (1349911022,), (1349911026,), (1349911045,), (1349911072,), (1349911170,), (1349911158,), (1349911163,), (1349911285,), (1349911291,), (1349911363,), (1349911366,), (1349911369,), (1349911683,), (1349911707,), (1349911787,), (1349911870,), (1349911881,), (1349911891,), (1349911912,), (1349912030,), (1349912032,), (1349912035,), (1349912038,), (1349912039,), (1349912044,), (1349912555,), (1349912558,), (1349912561,), (1349912611,), (1349912615,), (1349912639,), (1349912654,), (1349912749,), (1349912751,), (1349912753,), (1349912787,), (1349912793,), (1349912834,), (1349912838,), (1349912842,), (1349912846,), (1349912851,), (1349912855,), (1349913218,), (1349913246,), (1349913252,), (1349913408,), (1349913346,), (1349913351,), (1349913370,), (1349913400,), (1349913404,), (1349913427,), (1349913434,), (1349913437,), (1349913471,), (1349913476,), (1349913481,), (1349913486,), (1349913487,), (1349913490,), (1349913746,), (1349913756,), (1349913851,), (1349913855,), (1349913858,), (1349913860,), (1349913904,), (1349913906,), (1349913910,), (1349913914,), (1349913920,), (1349913926,), (1349913976,), (1349913978,), (1349913980,), (1349913983,), (1349913984,), (1349913988,), (1349913989,), (1349913994,), (1349913996,), (1349914000,), (1349914016,), (1349914021,), (1349914024,), (1349914124,), (1349914129,), (1349914133,), (1349914138,), (1349914142,), (1349914146,), (1349914183,), (1349914185,), (1349914188,), (1349914191,), (1349914197,), (1349914248,), (1349914252,), (1349914254,), (1349914258,), (1349914263,), (1349914349,), (1349914352,), (1349914363,), (1349914374,), (1349914462,), (1349914475,), (1349914482,), (1349914488,), (1349914613,), (1349914618,), (1349914623,), (1349914629,), (1349914637,), (1349914642,), (1349914684,), (1349914688,), (1349914693,), (1349914767,), (1349914745,), (1349914749,), (1349914754,), (1349914760,), (1349914801,), (1349914806,), (1349914812,), (1349914820,), (1349914832,), (1349914866,), (1349914870,), (1349914872,), (1349914874,), (1349914959,), (1349914962,), (1349914970,), (1349915073,), (1349915075,), (1349915079,), (1349915085,), (1349915087,), (1349915090,), (1349915207,), (1349915208,), (1349915211,), (1349915212,), (1349915219,), (1349915222,), (1349915230,), (1349915231,), (1349915236,), (1349915238,), (1349915240,), (1349915254,), (1349915332,), (1349915334,), (1349915338,), (1349915550,), (1349915556,), (1349915561,), (1349915566,), (1349915571,), (1349915574,), (1349915587,), (1349915591,), (1349915596,), (1349915675,), (1349915679,), (1349915682,), (1349915765,), (1349915769,), (1349915830,), (1349915835,), (1349915860,), (1349915891,), (1349915941,), (1349915990,), (1349916841,), (1349916850,), (1349916858,), (1349916867,), (1349916946,), (1349916948,), (1349916969,), (1349916976,), (1349916987,), (1349916988,), (1349916994,), (1349916999,), (1349917465,), (1349917480,), (1349917326,), (1349917327,), (1349917334,), (1349917335,), (1349917340,), (1349917342,), (1349917380,), (1349917391,), (1349917972,), (1349918031,), (1349918060,), (1349918213,), (1349918215,), (1349918239,), (1349918242,), (1349918268,), (1349918279,), (1349918297,), (1349918306,), (1349918323,), (1349918334,), (1349918353,), (1349918359,), (1349918437,), (1349918466,), (1349918478,), (1349918485,), (1349918650,), (1349918667,), (1349918696,), (1349918725,), (1349918754,), (1349918812,), (1349918816,), (1349918824,), (1349918832,), (1349918916,), (1349918921,), (1349918937,), (1349918951,), (1349918980,), (1349918998,), (1349919005,), (1349919010,), (1349919012,), (1349919016,), (1349919238,), (1349919247,), (1349919251,), (1349919270,), (1349919559,), (1349920040,), (1349920066,), (1349920089,), (1349920239,), (1349920249,), (1349920275,), (1349920478,), (1349920483,), (1349920486,), (1349920510,), (1349920687,), (1349920694,), (1349920697,), (1349920704,), (1349920710,), (1349920906,), (1349920892,), (1349920896,), (1349920902,), (1349921401,), (1349921425,), (1349921591,), (1349921596,), (1349921623,), (1349921649,), (1349921680,), (1349921932,), (1349921934,), (1349921940,), (1349921967,), (1349921995,), (1349922069,), (1349922072,), (1349922092,), (1349922116,), (1349922469,), (1349922488,), (1349922503,), (1349922557,), (1349922558,), (1349922560,), (1349922567,), (1349922636,), (1349922639,), (1349922642,), (1349922645,), (1349922662,), (1349922667,), (1349922717,), (1349922720,), (1349922724,), (1349922768,), (1349922770,), (1349922773,), (1349922776,), (1349922782,), (1349922789,), (1349922877,), (1349922880,), (1349922899,), (1349922918,), (1349922985,), (1349922987,), (1349922990,), (1349922994,), (1349923000,), (1349923012,), (1349923065,), (1349923071,), (1349923078,), (1349923084,), (1349923090,), (1349923097,), (1349923099,), (1349923102,), (1349923105,), (1349923177,), (1349923181,), (1349923191,), (1349923203,), (1349923215,), (1349923294,), (1349923275,), (1349923278,), (1349923281,), (1349923285,), (1349923487,), (1349923499,), (1349923516,), (1349923521,), (1349923546,), (1349923725,), (1349923751,), (1349923782,), (1349923804,), (1349924170,), (1349924174,), (1349924185,), (1349924187,), (1349924195,), (1349924200,), (1349924243,), (1349924248,), (1349924269,), (1349924271,), (1349924276,), (1349924277,), (1349924288,), (1349924290,), (1349924293,), (1349924295,), (1349924512,), (1349924531,), (1349924534,), (1349924541,), (1349924567,), (1349924783,), (1349924802,), (1349924804,), (1349924816,), (1349924826,), (1349924927,), (1349924952,), (1349924975,), (1349925013,), (1349925045,), (1349925073,), (1349925100,), (1349925123,), (1349925140,), (1349925240,), (1349925245,), (1349925253,), (1349925262,), (1349925270,), (1349925276,), (1349925309,), (1349925313,), (1349925315,), (1349925340,), (1349925344,), (1349925347,), (1349925421,), (1349925423,), (1349925427,), (1349925434,), (1349925441,), (1349925520,), (1349925524,), (1349925529,), (1349925535,), (1349925541,), (1349925619,), (1349925621,), (1349925623,), (1349925625,), (1349925627,), (1349925629,), (1349925634,), (1349925636,), (1349925639,), (1349925643,), (1349925646,), (1349925648,), (1349925669,), (1349925673,), (1349925675,), (1349925816,), (1349925796,), (1349925799,), (1349925804,), (1349925810,), (1349925830,), (1349925833,), (1349925836,), (1349925838,), (1349925896,), (1349925899,), (1349925902,), (1349925905,), (1349925908,), (1349925911,), (1349925965,), (1349925973,), (1349925986,), (1349926111,), (1349926130,), (1349926133,), (1349926136,), (1349926138,), (1349926199,), (1349926202,), (1349926206,), (1349926212,), (1349926344,), (1349926348,), (1349926352,), (1349926357,), (1349926441,), (1349926541,), (1349926547,), (1349926554,), (1349926608,), (1349926614,), (1349926620,), (1349926630,), (1349926636,), (1349926642,), (1349926653,), (1349926667,), (1349926670,), (1349926673,), (1349926733,), (1349926753,), (1349926758,), (1349926761,), (1349926765,), (1349926844,), (1349926854,), (1349926866,), (1349926883,), (1349927302,), (1349927329,), (1349927359,), (1349927374,), (1349927385,), (1349927418,), (1349927445,), (1349927466,), (1349927492,), (1349928105,), (1349928109,), (1349928013,), (1349928014,), (1349928042,), (1349928047,), (1349928073,), (1349928080,), (1349928742,), (1349928748,), (1349928781,), (1349928784,), (1349928808,), (1349928814,), (1349928839,), (1349928844,), (1349928870,), (1349928874,), (1349929003,), (1349929030,), (1349929059,), (1349929883,), (1349929903,), (1349929942,), (1349929990,), (1349930023,), (1349930162,), (1349930193,), (1349930238,), (1349930272,), (1349930297,), (1349930322,), (1349930516,), (1349930518,), (1349930523,), (1349930534,), (1349930562,), (1349931098,), (1349931164,), (1349931338,), (1349931339,), (1349931342,), (1349931343,), (1349931346,), (1349931347,), (1349931352,), (1349931353,), (1349931437,), (1349931440,), (1349931446,), (1349931454,), (1349931472,), (1349931496,), (1349931505,), (1349931507,), (1349931520,), (1349931550,), (1349931685,), (1349931689,), (1349931943,), (1349931998,), (1349932037,), (1349932513,), (1349932542,), (1349932597,), (1349932694,), (1349932763,), (1349932928,), (1349932999,), (1349933057,), (1349933706,), (1349933781,), (1349933826,), (1349933858,), (1349933918,), (1349934296,), (1349934271,), (1349934275,), (1349934771,), (1349934796,), (1349934823,), (1349934904,), (1349935314,), (1349935341,), (1349935368,), (1349935593,), (1349935597,), (1349935601,), (1349936426,), (1349936550,), (1349936556,), (1349936606,), (1349936609,), (1349936696,), (1349936703,), (1349936705,), (1349936746,), (1349936749,), (1349936753,), (1349936759,), (1349936805,), (1349936809,), (1349936812,), (1349936815,), (1349936818,), (1349936860,), (1349936863,), (1349936909,), (1349936914,), (1349936922,), (1349936924,), (1349936998,), (1349943621,), (1349943656,), (1349943686,), (1349943731,), (1349944178,), (1349944206,), (1349944247,), (1349944283,), (1349944308,), (1349944338,), (1349945005,), (1349945206,), (1349945233,), (1349945467,), (1349945477,), (1349945483,), (1349945488,), (1349945491,), (1349945555,), (1349945557,), (1349945667,), (1349945672,), (1349945678,), (1349945684,), (1349945747,), (1349945753,), (1349945756,), (1349945761,), (1349945843,), (1349945859,), (1349945862,), (1349945866,), (1349945909,), (1349945914,), (1349945919,), (1349945923,), (1349945981,), (1349945986,), (1349945991,), (1349945994,), (1349945998,), (1349946078,), (1349946082,), (1349946085,), (1349946088,), (1349946206,), (1349946217,), (1349946221,), (1349946225,), (1349946309,), (1349946294,), (1349946307,), (1349946694,), (1349946727,), (1349946754,), (1349947111,), (1349947138,), (1349947149,), (1349947172,), (1349947680,), (1349947683,), (1349947691,), (1349947717,), (1349947745,), (1349947996,), (1349948025,), (1349948056,), (1349948080,), (1349948113,), (1349948366,), (1349948369,), (1349948377,), (1349948388,), (1349948393,), (1349948407,), (1349948411,), (1349948414,), (1349948417,), (1349948421,), (1349948490,), (1349948495,), (1349948502,), (1349948506,), (1349948562,), (1349948577,), (1349948585,), (1349948589,), (1349948594,), (1349948599,), (1349948754,), (1349948758,), (1349948761,), (1349948766,), (1349948792,), (1349948801,), (1349948829,), (1349948839,), (1349948868,), (1349948877,), (1349949003,), (1349949010,), (1349949015,), (1349949017,), (1349949037,), (1349949122,), (1349949125,), (1349949129,), (1349949132,), (1349949135,), (1349949200,), (1349949216,), (1349949220,), (1349949270,), (1349949274,), (1349949278,), (1349949283,), (1349949620,), (1349949506,), (1349949531,), (1349949557,), (1349949585,), (1349949609,), (1349949723,), (1349949726,), (1349949730,), (1349949734,), (1349949891,), (1349949895,), (1349949899,), (1349949903,), (1349949907,), (1349950334,), (1349950335,), (1349950339,), (1349950340,), (1349950351,), (1349950354,), (1349950359,), (1349950361,), (1349950390,), (1349950392,), (1349950478,), (1349950481,), (1349950486,), (1349950492,), (1349950969,), (1349950975,), (1349950992,), (1349951001,), (1349951010,), (1349951061,), (1349951066,), (1349951069,), (1349951073,), (1349951226,), (1349951231,), (1349951250,), (1349951256,), (1349951264,), (1349951322,), (1349951327,), (1349951331,), (1349951337,), (1349951345,), (1349951402,), (1349951405,), (1349951410,), (1349951415,), (1349951419,), (1349951508,), (1349951512,), (1349951515,), (1349951531,), (1349951535,), (1349951550,), (1349951576,), (1349951580,), (1349951608,), (1349952158,), (1349952300,), (1349952301,), (1349952303,), (1349952305,), (1349952370,), (1349952376,), (1349952379,), (1349952904,), (1349953004,), (1349953013,), (1349953089,), (1349953111,), (1349953139,), (1349953311,), (1349953329,), (1349953338,), (1349953403,), (1349953407,), (1349953413,), (1349953527,), (1349953529,), (1349953533,), (1349953581,), (1349953588,), (1349953591,), (1349953603,), (1349953605,), (1349953612,), (1349953827,), (1349953831,), (1349953876,), (1349953881,), (1349953887,), (1349953891,), (1349953896,), (1349953899,), (1349953954,), (1349953957,), (1349953961,), (1349953962,), (1349953968,), (1349953972,), (1349953977,), (1349953979,), (1349953982,), (1349953984,), (1349953989,), (1349953990,), (1349954421,), (1349954473,), (1349954538,), (1349955965,), (1349955759,), (1349955829,), (1349955896,), (1349956684,), (1349956719,), (1349956754,), (1349956786,), (1349956821,), (1349956861,), (1349956869,), (1349956872,), (1349956875,), (1349956877,), (1349957440,), (1349957539,), (1349957613,), (1349957669,), (1349957722,), (1349957788,), (1349958092,), (1349958137,), (1349958165,), (1349958189,), (1349958321,), (1349958326,), (1349958332,), (1349958928,), (1349958979,), (1349959039,), (1349959101,), (1349959134,), (1349959157,), (1349959618,), (1349959655,), (1349959698,), (1349959730,), (1349959755,), (1349960241,), (1349960306,), (1349960356,), (1349960404,), (1349960629,), (1349960650,), (1349960676,), (1349960701,), (1349961105,), (1349961172,), (1349961221,), (1349961273,), (1349961304,), (1349961333,), (1349961398,), (1349961401,), (1349961404,), (1349961416,), (1349961423,), (1349961619,), (1349961623,), (1349961626,), (1349961630,), (1349961718,), (1349961745,), (1349961781,), (1349961809,), (1349961854,), (1349961902,), (1349962502,), (1349962529,), (1349962557,), (1349962583,), (1349963151,), (1349962853,), (1349962882,), (1349962973,), (1349963097,), (1349963797,), (1349963832,), (1349963898,), (1349963948,), (1349964663,), (1349964711,), (1349964760,), (1349964817,), (1349964850,), (1349964887,), (1349965218,), (1349965243,), (1349965268,), (1349965305,), (1349965338,), (1349965426,), (1349965453,), (1349965478,), (1349965518,), (1349965570,), (1349965851,), (1349965871,), (1349965894,), (1349965918,), (1349965944,), (1349965969,), (1349966585,), (1349966642,), (1349966692,), (1349967597,), (1349967653,), (1349967685,), (1349967713,), (1349967737,), (1349967780,), (1349968021,), (1349968027,), (1349968033,), (1349968038,), (1349968065,), (1349968193,), (1349968242,), (1349968309,), (1349968355,), (1349968906,), (1349968933,), (1349968958,), (1349969002,), (1349969055,), (1349969105,), (1349969546,), (1349969593,), (1349969636,), (1349970145,), (1349970195,), (1349970268,), (1349970339,), (1349970418,), (1349971110,), (1349971232,), (1349971303,), (1349971354,), (1349971411,), (1349971507,), (1349972110,), (1349972133,), (1349972567,), (1349972419,), (1349972502,), (1349972533,), (1349972876,), (1349972886,), (1349972891,), (1349972895,), (1349973571,), (1349973617,), (1349973630,), (1349973650,), (1349973652,), (1349973778,), (1349973806,), (1349973833,), (1349974657,), (1349974661,), (1349974668,), (1349974672,), (1349974678,), (1349974682,), (1349975119,), (1349975127,), (1349975144,), (1349975221,), (1349975267,), (1349975486,), (1349975491,), (1349975495,), (1349975499,), (1349975505,), (1349975508,), (1349975557,), (1349975562,), (1349975566,), (1349975579,), (1349975582,), (1349975586,), (1349975681,), (1349975688,), (1349975700,), (1349975712,), (1349975779,), (1349975786,), (1349975796,), (1349975802,), (1349975807,), (1349975811,), (1349975974,), (1349976017,), (1349976065,), (1349976316,), (1349976320,), (1349976323,), (1349976328,), (1349976345,), (1349976371,), (1349976493,), (1349976498,), (1349976501,), (1349977136,), (1349977188,), (1349977220,), (1349977417,), (1349977471,), (1349977527,), (1349977573,), (1349977619,), (1349978101,), (1349978070,), (1349978725,), (1349978729,), (1349978741,), (1349978744,), (1349978822,), (1349978860,), (1349978893,), (1349979144,), (1349979147,), (1349979151,), (1349979155,), (1349979342,), (1349979357,), (1349979363,), (1349979377,), (1349979755,), (1349979777,), (1349979783,), (1349979787,), (1349979794,), (1349979799,), (1349979825,), (1349979831,), (1349979856,), (1349979890,), (1349980227,), (1349980255,), (1349980281,), (1349980385,), (1349980389,), (1349980397,), (1349980408,), (1349980417,), (1349980453,), (1349980462,), (1349980468,), (1349980472,), (1349980477,), (1349980781,), (1349980787,), (1349980791,), (1349981152,), (1349981158,), (1349981161,), (1349981173,), (1349981179,), (1349981184,), (1349981224,), (1349981509,), (1349981560,), (1349981612,), (1349981679,), (1349982489,), (1349982310,), (1349982344,), (1349982412,), (1349983004,), (1349983069,), (1349983097,), (1349983124,), (1349983414,), (1349983439,), (1349983445,), (1349983472,), (1349983498,), (1349983876,), (1349983922,), (1349983970,), (1349984021,), (1349984070,), (1349984255,), (1349984363,), (1349984371,), (1349984422,), (1349984437,), (1349984442,), (1349984446,), (1349984450,), (1349984454,), (1349984538,), (1349984552,), (1349984570,), (1349984576,), (1349984627,), (1349984634,), (1349984640,), (1349984647,), (1349984652,), (1349984831,), (1349984857,), (1349984886,), (1349984913,), (1349984940,), (1349984970,), (1349985156,), (1349985177,), (1349985192,), (1349985198,), (1349985204,), (1349985364,), (1349985382,), (1349985405,), (1349985419,), (1349985423,), (1349985516,), (1349985520,), (1349985529,), (1349985534,), (1349985857,), (1349985871,), (1349985881,), (1349985888,), (1349985895,), (1349986077,), (1349986085,), (1349986092,), (1349986119,), (1349986173,), (1349986660,), (1349986507,), (1349986560,), (1349986613,), (1349987268,), (1349987295,), (1349988155,), (1349988193,), (1349988219,), (1349988246,), (1349988310,), (1349988379,), (1349988699,), (1349988719,), (1349988744,), (1349988776,), (1349988823,), (1349988876,), (1349989178,), (1349989229,), (1349989297,), (1349989652,), (1349989703,), (1349989748,), (1349989797,), (1349989829,), (1349989858,), (1349990091,), (1349990144,), (1349990188,), (1349990215,), (1349990253,), (1349990399,), (1349990404,), (1349990410,), (1349990415,), (1349990727,), (1349990756,), (1349990784,), (1349990813,), (1349990848,), (1349990882,), (1349991132,), (1349991137,), (1349991139,), (1349991142,), (1349991147,), (1349991311,), (1349991316,), (1349991320,), (1349991341,), (1349991591,), (1349991642,), (1349991683,), (1349991716,), (1349991753,), (1349991759,), (1349991958,), (1349991987,), (1349992015,), (1349992042,), (1349992070,), (1349992272,), (1349992299,), (1349992325,), (1349992332,), (1349992446,), (1349992457,), (1349992484,), (1349992532,), (1349992561,), (1349992599,), (1349992991,), (1349992898,), (1349992935,), (1349992967,), (1349992983,), (1349992985,), (1349994044,), (1349994728,), (1349994750,), (1349995104,), (1349995156,), (1349995666,), (1349995712,), (1349995736,), (1349995743,), (1349995746,), (1349996109,), (1349996164,), (1349996192,), (1349996205,), (1349996217,), (1349996419,), (1349996431,), (1349996456,), (1349996698,), (1349996724,), (1349996750,), (1349996774,), (1349996799,), (1349997024,), (1349997055,), (1349997080,), (1349997091,), (1349997096,), (1349997106,), (1350003563,), (1350004945,), (1350005012,), (1350005197,), (1350005486,), (1350005515,), (1350005542,), (1350005733,), (1350005741,), (1350005765,), (1350005961,), (1350006230,), (1350007123,), (1350007152,), (1350007488,), (1350011248,), (1349853786,), (1349853787,), (1349853794,), (1349853795,), (1349853803,), (1349853804,), (1349853811,), (1349853812,), (1349853832,), (1349853841,), (1349853849,), (1349853860,), (1349853863,), (1349853866,), (1349853900,), (1349853907,), (1349853928,), (1349853950,), (1349853954,), (1349853958,), (1349853977,), (1349854000,), (1349854011,), (1349854024,), (1349854029,), (1349854034,), (1349854050,), (1349854056,), (1349854062,), (1349854071,), (1349854078,), (1349854083,), (1349854100,), (1349854107,), (1349852879,), (1349852881,), (1349852885,), (1349852886,), (1349852912,), (1349852917,), (1349852925,), (1349852933,), (1349852939,), (1349852963,), (1349852969,), (1349852975,), (1349852980,), (1349852984,), (1349852988,), (1349853025,), (1349853030,), (1349853039,), (1349853045,), (1349853065,), (1349853074,), (1349853135,), (1349853141,), (1349853160,), (1349853166,), (1349853173,), (1349853176,), (1349853237,), (1349853243,), (1349853255,), (1349853259,), (1349853265,), (1349853273,), (1349853290,), (1349853296,), (1349853302,), (1349853305,), (1349853309,), (1349853314,), (1349853332,), (1349853340,), (1349853346,), (1349853353,), (1349853357,), (1349853362,), (1349853380,), (1349853386,), (1349853392,), (1349853396,), (1349853398,), (1349853401,), (1349853433,), (1349853444,), (1349853458,), (1349853476,), (1349853488,), (1349853496,), (1349853530,), (1349853552,), (1349853561,), (1349853569,), (1349853575,), (1349853579,), (1349853600,), (1349853604,), (1349853615,), (1349853621,), (1349853636,), (1349853663,), (1349853767,), (1349853769,), (1349853783,), (1349853784,), (1349850759,), (1349850884,), (1349850923,), (1349850942,), (1349850985,), (1349850993,), (1349851079,), (1349851117,), (1349851127,), (1349851199,), (1349851201,), (1349851205,), (1349851216,), (1349851224,), (1349851231,), (1349851259,), (1349851266,), (1349851285,), (1349851429,), (1349851439,), (1349851446,), (1349851453,), (1349851458,), (1349851464,), (1349851558,), (1349851607,), (1349851643,), (1349851678,), (1349851712,), (1349851747,), (1349851929,), (1349851967,), (1349852015,), (1349852057,), (1349852092,), (1349852129,), (1349852295,), (1349852325,), (1349852366,), (1349852380,), (1349852383,), (1349852390,), (1349852589,), (1349852620,), (1349852649,), (1349852661,), (1349852666,), (1349852672,), (1349852738,), (1349852772,), (1349852792,), (1349852805,), (1349852816,), (1349852827,), (1349852846,), (1349852850,), (1349852853,), (1349852857,), (1349852862,), (1349852863,), (1349852869,), (1349852872,), (1349846963,), (1349846968,), (1349847026,), (1349847083,), (1349847306,), (1349847339,), (1349847378,), (1349847461,), (1349847541,), (1349847625,), (1349847835,), (1349847894,), (1349847948,), (1349848005,), (1349848073,), (1349848128,), (1349848283,), (1349848314,), (1349848345,), (1349848384,), (1349848424,), (1349848455,), (1349848606,), (1349848636,), (1349848688,), (1349848724,), (1349848779,), (1349848821,), (1349848991,), (1349849047,), (1349849106,), (1349849143,), (1349849152,), (1349849203,), (1349849337,), (1349849420,), (1349849425,), (1349849436,), (1349849477,), (1349849515,), (1349849589,), (1349849618,), (1349849663,), (1349849702,), (1349849735,), (1349849740,), (1349849825,), (1349849859,), (1349849899,), (1349849932,), (1349849945,), (1349849987,), (1349849992,), (1349849998,), (1349850005,), (1349850013,), (1349850020,), (1349850034,), (1349850052,), (1349850078,), (1349850089,), (1349850095,), (1349850101,), (1349850132,), (1349850137,), (1349850142,), (1349850147,), (1349850151,), (1349850159,), (1349850355,), (1349850381,), (1349850406,), (1349850510,), (1349850583,), (1349850630,), (1349845018,), (1349845022,), (1349845025,), (1349845028,), (1349845035,), (1349845060,), (1349845076,), (1349845083,), (1349845090,), (1349845102,), (1349845114,), (1349845133,), (1349845139,), (1349845143,), (1349845148,), (1349845153,), (1349845160,), (1349845247,), (1349845278,), (1349845291,), (1349845302,), (1349845311,), (1349845316,), (1349845331,), (1349845336,), (1349845340,), (1349845348,), (1349845360,), (1349845428,), (1349845446,), (1349845458,), (1349845462,), (1349845466,), (1349845471,), (1349845477,), (1349845498,), (1349845504,), (1349845513,), (1349845519,), (1349845533,), (1349845540,), (1349845558,), (1349845566,), (1349845571,), (1349845577,), (1349845580,), (1349845590,), (1349845604,), (1349845610,), (1349845616,), (1349845622,), (1349845629,), (1349845635,), (1349845649,), (1349845655,), (1349845657,), (1349845661,), (1349845667,), (1349845672,), (1349845709,), (1349845740,), (1349845771,), (1349845799,), (1349845836,), (1349845867,), (1349845974,), (1349846013,), (1349846047,), (1349846090,), (1349846165,), (1349846256,), (1349846486,), (1349846545,), (1349846604,), (1349846659,), (1349846716,), (1349846798,), (1349846946,), (1349846960,), (1349843114,), (1349843128,), (1349843144,), (1349843232,), (1349843245,), (1349843249,), (1349843254,), (1349843264,), (1349843271,), (1349843428,), (1349843435,), (1349843441,), (1349843448,), (1349843452,), (1349843469,), (1349843474,), (1349843481,), (1349843486,), (1349843493,), (1349843527,), (1349843696,), (1349843714,), (1349843736,), (1349843759,), (1349843845,), (1349843895,), (1349843956,), (1349843962,), (1349843970,), (1349843999,), (1349844007,), (1349844018,), (1349844033,), (1349844038,), (1349844078,), (1349844110,), (1349844116,), (1349844121,), (1349844146,), (1349844166,), (1349844169,), (1349844193,), (1349844215,), (1349844259,), (1349844473,), (1349844495,), (1349844518,), (1349844534,), (1349844539,), (1349844566,), (1349844606,), (1349844611,), (1349844618,), (1349844622,), (1349844638,), (1349844672,), (1349844716,), (1349844725,), (1349844738,), (1349844750,), (1349844762,), (1349844765,), (1349844855,), (1349844877,), (1349844893,), (1349844911,), (1349844915,), (1349844922,), (1349844940,), (1349844945,), (1349844959,), (1349844976,), (1349844991,), (1349844994,), (1349845014,), (1349840908,), (1349840980,), (1349841000,), (1349841011,), (1349841016,), (1349841020,), (1349841025,), (1349841095,), (1349841100,), (1349841118,), (1349841122,), (1349841127,), (1349841133,), (1349841285,), (1349841315,), (1349841361,), (1349841371,), (1349841378,), (1349841397,), (1349841457,), (1349841470,), (1349841502,), (1349841547,), (1349841592,), (1349841634,), (1349841705,), (1349841715,), (1349841722,), (1349841726,), (1349841731,), (1349841745,), (1349841772,), (1349841778,), (1349841806,), (1349841813,), (1349841816,), (1349841822,), (1349841841,), (1349841871,), (1349841902,), (1349841931,), (1349841939,), (1349841976,), (1349842047,), (1349842068,), (1349842079,), (1349842083,), (1349842104,), (1349842112,), (1349842170,), (1349842190,), (1349842196,), (1349842200,), (1349842207,), (1349842234,), (1349842288,), (1349842292,), (1349842325,), (1349842358,), (1349842433,), (1349842488,), (1349842591,), (1349842640,), (1349842735,), (1349842767,), (1349842770,), (1349842777,), (1349842808,), (1349842822,), (1349842856,), (1349842887,), (1349842964,), (1349842999,), (1349843078,), (1349843094,), (1349843105,), (1349839134,), (1349839182,), (1349839214,), (1349839224,), (1349839243,), (1349839248,), (1349839254,), (1349839315,), (1349839323,), (1349839328,), (1349839334,), (1349839343,), (1349839348,), (1349839432,), (1349839437,), (1349839443,), (1349839448,), (1349839479,), (1349839485,), (1349839526,), (1349839559,), (1349839615,), (1349839649,), (1349839680,), (1349839735,), (1349839764,), (1349839769,), (1349839775,), (1349839780,), (1349839783,), (1349839820,), (1349839886,), (1349839905,), (1349839923,), (1349840024,), (1349840108,), (1349840112,), (1349840149,), (1349840155,), (1349840160,), (1349840165,), (1349840172,), (1349840177,), (1349840252,), (1349840258,), (1349840263,), (1349840274,), (1349840286,), (1349840297,), (1349840362,), (1349840367,), (1349840372,), (1349840378,), (1349840384,), (1349840389,), (1349840493,), (1349840526,), (1349840564,), (1349840596,), (1349840647,), (1349840679,), (1349840849,), (1349840891,), (1349840896,), (1349840903,), (1349837159,), (1349837163,), (1349837188,), (1349837214,), (1349837219,), (1349837225,), (1349837229,), (1349837252,), (1349837350,), (1349837356,), (1349837360,), (1349837368,), (1349837374,), (1349837379,), (1349837431,), (1349837521,), (1349837605,), (1349837690,), (1349837767,), (1349837779,), (1349837879,), (1349838025,), (1349838065,), (1349838075,), (1349838088,), (1349838094,), (1349838198,), (1349838231,), (1349838241,), (1349838252,), (1349838258,), (1349838274,), (1349838375,), (1349838406,), (1349838411,), (1349838435,), (1349838468,), (1349838501,), (1349838578,), (1349838583,), (1349838589,), (1349838638,), (1349838673,), (1349838703,), (1349838792,), (1349838799,), (1349838810,), (1349838816,), (1349838824,), (1349838828,), (1349838872,), (1349838886,), (1349838890,), (1349838921,), (1349838929,), (1349838948,), (1349838956,), (1349838962,), (1349838969,), (1349838975,), (1349838981,), (1349838989,), (1349838994,), (1349839000,), (1349839005,), (1349839017,), (1349839027,), (1349839048,), (1349839052,), (1349839055,), (1349839057,), (1349839061,), (1349839064,), (1349839091,), (1349839109,), (1349839118,), (1349839125,), (1349839130,), (1349835100,), (1349835113,), (1349835140,), (1349835206,), (1349835236,), (1349835254,), (1349835311,), (1349835339,), (1349835355,), (1349835405,), (1349835441,), (1349835485,), (1349835510,), (1349835514,), (1349835518,), (1349835522,), (1349835536,), (1349835552,), (1349835598,), (1349835632,), (1349835659,), (1349835686,), (1349835699,), (1349835705,), (1349835839,), (1349835888,), (1349835927,), (1349835937,), (1349835941,), (1349835945,), (1349836043,), (1349836078,), (1349836116,), (1349836169,), (1349836230,), (1349836257,), (1349836337,), (1349836341,), (1349836349,), (1349836353,), (1349836359,), (1349836386,), (1349836475,), (1349836479,), (1349836485,), (1349836559,), (1349836565,), (1349836639,), (1349836644,), (1349836656,), (1349836666,), (1349836670,), (1349836709,), (1349836764,), (1349836769,), (1349836777,), (1349836782,), (1349836786,), (1349836819,), (1349836887,), (1349836901,), (1349836925,), (1349836936,), (1349836944,), (1349836957,), (1349836991,), (1349836995,), (1349837016,), (1349837054,), (1349837084,), (1349837104,), (1349837120,), (1349837123,), (1349837129,), (1349837133,), (1349837134,), (1349837140,), (1349837143,), (1349837149,), (1349837152,), (1349837155,), (1349832374,), (1349832393,), (1349832428,), (1349832462,), (1349832579,), (1349832598,), (1349832621,), (1349832677,), (1349832730,), (1349832742,), (1349832844,), (1349832893,), (1349832952,), (1349833023,), (1349833094,), (1349833152,), (1349833362,), (1349833402,), (1349833459,), (1349833610,), (1349833653,), (1349833688,), (1349833862,), (1349833867,), (1349833892,), (1349833896,), (1349833900,), (1349833966,), (1349834004,), (1349834051,), (1349834074,), (1349834105,), (1349834161,), (1349834272,), (1349834303,), (1349834331,), (1349834366,), (1349834386,), (1349834390,), (1349834423,), (1349834426,), (1349834432,), (1349834446,), (1349834484,), (1349834514,), (1349834560,), (1349834567,), (1349834572,), (1349834577,), (1349834584,), (1349834591,), (1349834604,), (1349834607,), (1349834613,), (1349834619,), (1349834626,), (1349834636,), (1349834659,), (1349834664,), (1349834668,), (1349834674,), (1349834680,), (1349834687,), (1349834691,), (1349834697,), (1349834702,), (1349834713,), (1349834745,), (1349834750,), (1349834762,), (1349834764,), (1349834768,), (1349834933,), (1349834967,), (1349835011,), (1349830645,), (1349830757,), (1349830786,), (1349830816,), (1349830844,), (1349830871,), (1349830907,), (1349831012,), (1349831064,), (1349831094,), (1349831112,), (1349831157,), (1349831166,), (1349831271,), (1349831280,), (1349831320,), (1349831342,), (1349831370,), (1349831400,), (1349831418,), (1349831423,), (1349831427,), (1349831450,), (1349831453,), (1349831475,), (1349831485,), (1349831508,), (1349831520,), (1349831546,), (1349831566,), (1349831606,), (1349831746,), (1349831799,), (1349831849,), (1349831886,), (1349831930,), (1349831962,), (1349832034,), (1349832066,), (1349832102,), (1349832243,), (1349832249,), (1349832271,), (1349832342,), (1349832360,), (1349826811,), (1349826816,), (1349826839,), (1349826953,), (1349826981,), (1349827017,), (1349827133,), (1349827169,), (1349827204,), (1349827220,), (1349827224,), (1349827229,), (1349827414,), (1349827418,), (1349827422,), (1349827426,), (1349827431,), (1349827436,), (1349827530,), (1349827564,), (1349827576,), (1349827581,), (1349827587,), (1349827615,), (1349827728,), (1349827758,), (1349827790,), (1349827823,), (1349827856,), (1349827890,), (1349828006,), (1349828036,), (1349828069,), (1349828100,), (1349828127,), (1349828161,), (1349828262,), (1349828275,), (1349828291,), (1349828305,), (1349828339,), (1349828342,), (1349828394,), (1349828457,), (1349828468,), (1349828515,), (1349828569,), (1349828570,), (1349828714,), (1349828783,), (1349828854,), (1349829173,), (1349829239,), (1349829278,), (1349829367,), (1349829397,), (1349829434,), (1349829456,), (1349829486,), (1349829525,), (1349829734,), (1349829764,), (1349829801,), (1349829897,), (1349829931,), (1349830020,), (1349830069,), (1349830111,), (1349830154,), (1349830202,), (1349830216,), (1349830236,), (1349830247,), (1349830268,), (1349830298,), (1349830348,), (1349830358,), (1349830462,), (1349830499,), (1349830541,), (1349830582,), (1349830616,), (1349824927,), (1349824935,), (1349824941,), (1349824986,), (1349824995,), (1349825000,), (1349825006,), (1349825068,), (1349825072,), (1349825095,), (1349825099,), (1349825105,), (1349825110,), (1349825116,), (1349825122,), (1349825148,), (1349825156,), (1349825163,), (1349825169,), (1349825175,), (1349825182,), (1349825197,), (1349825204,), (1349825212,), (1349825221,), (1349825228,), (1349825289,), (1349825324,), (1349825327,), (1349825334,), (1349825342,), (1349825400,), (1349825411,), (1349825470,), (1349825482,), (1349825518,), (1349825536,), (1349825542,), (1349825546,), (1349825762,), (1349825777,), (1349825792,), (1349825811,), (1349825831,), (1349825945,), (1349825982,), (1349826011,), (1349826040,), (1349826068,), (1349826099,), (1349826206,), (1349826236,), (1349826266,), (1349826295,), (1349826328,), (1349826408,), (1349826520,), (1349826553,), (1349826588,), (1349826621,), (1349826656,), (1349826688,), (1349826718,), (1349826726,), (1349826731,), (1349826738,), (1349826744,), (1349826748,), (1349826767,), (1349826771,), (1349826774,), (1349826780,), (1349826785,), (1349826791,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'15042025': {'nb_upload': 45, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22054332]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1349832360, 1349832342, 1349832271, 1349832249, 1349832243, 1349832102, 1349832066, 1349832034, 1349831962, 1349831930, 1349831886, 1349831849, 1349831799, 1349831746, 1349831606, 1349831566, 1349831546, 1349831520, 1349831508, 1349831485, 1349831475, 1349831453, 1349831450, 1349831427, 1349831423, 1349831418, 1349831400, 1349831370, 1349831342, 1349831320, 1349831280, 1349831271, 1349831166, 1349831157, 1349831112, 1349831094, 1349831064, 1349831012, 1349830907, 1349830871, 1349830844, 1349830816, 1349830786, 1349830757, 1349830645] map_info['map_portfolio_photo'] : {22054332: [1349832360, 1349832342, 1349832271, 1349832249, 1349832243, 1349832102, 1349832066, 1349832034, 1349831962, 1349831930, 1349831886, 1349831849, 1349831799, 1349831746, 1349831606, 1349831566, 1349831546, 1349831520, 1349831508, 1349831485, 1349831475, 1349831453, 1349831450, 1349831427, 1349831423, 1349831418, 1349831400, 1349831370, 1349831342, 1349831320, 1349831280, 1349831271, 1349831166, 1349831157, 1349831112, 1349831094, 1349831064, 1349831012, 1349830907, 1349830871, 1349830844, 1349830816, 1349830786, 1349830757, 1349830645]} final : True mtd_id 4302 list_pids : [1349832360, 1349832342, 1349832271, 1349832249, 1349832243, 1349832102, 1349832066, 1349832034, 1349831962, 1349831930, 1349831886, 1349831849, 1349831799, 1349831746, 1349831606, 1349831566, 1349831546, 1349831520, 1349831508, 1349831485, 1349831475, 1349831453, 1349831450, 1349831427, 1349831423, 1349831418, 1349831400, 1349831370, 1349831342, 1349831320, 1349831280, 1349831271, 1349831166, 1349831157, 1349831112, 1349831094, 1349831064, 1349831012, 1349830907, 1349830871, 1349830844, 1349830816, 1349830786, 1349830757, 1349830645] Looping around the photos to save general results len do output : 1 /22054332Didn'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, '2758320') ('4302', '22054332', '1349832360', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832342', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832271', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832249', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832243', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832102', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832066', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349832034', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831962', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831930', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831886', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831849', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831799', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831746', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831606', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831566', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831546', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831520', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831508', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831485', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831475', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831453', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831450', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831427', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831423', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831418', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831400', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831370', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831342', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831320', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831280', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831271', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831166', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831157', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831112', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831094', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831064', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349831012', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830907', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830871', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830844', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830816', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830786', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830757', None, None, None, None, None, '2758320') ('4302', None, None, None, None, None, None, None, '2758320') ('4302', '22054332', '1349830645', None, None, None, None, None, '2758320') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 46 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, '22054332', 'None', None, None, None, None, '2758320'), ('4302', '22054332', '1349832360', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349832342', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349832271', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349832249', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349832243', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349832102', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349832066', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349832034', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831962', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831930', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831886', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831849', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831799', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831746', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831606', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831566', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831546', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831520', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831508', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831485', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831475', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831453', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831450', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831427', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831423', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831418', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831400', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831370', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831342', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831320', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831280', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831271', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831166', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831157', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831112', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831094', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831064', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349831012', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349830907', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349830871', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349830844', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349830816', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349830786', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349830757', None, None, None, None, None, '2758320'), ('4302', '22054332', '1349830645', None, None, None, None, None, '2758320')] time used for this insertion : 0.01752328872680664 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.7498857975006104 time spend to save output : 0.017923355102539062 total time spend for step 5 : 2.7678091526031494 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 (2758320) 3.47user 2.87system 0:16.43elapsed 38%CPU (0avgtext+0avgdata 160784maxresident)k 408inputs+31640outputs (0major+87932minor)pagefaults 0swaps