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 : 2382852 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 (2595266) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2595266) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20608630 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2595266'] with mtr_portfolio_ids : ['20608630'] and first list_photo_ids : [] new path : /proc/2382852/ Name: python3 Umask: 0002 State: R (running) Tgid: 2382852 Ngid: 0 Pid: 2382852 PPid: 2382851 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2382852 NSpid: 2382852 NSpgid: 2381850 NSsid: 2381850 VmPeak: 1106928 kB VmSize: 1106928 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 100508 kB VmRSS: 100508 kB RssAnon: 59756 kB RssFile: 40752 kB RssShmem: 0 kB VmData: 865680 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 556 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 4/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 44 nonvoluntary_ctxt_switches: 92 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2382852', 'Ngid': '0', 'Pid': '2382852', 'PPid': '2382851', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2382852', 'NSpid': '2382852', 'NSpgid': '2381850', 'NSsid': '2381850', 'VmPeak': '1106928 kB', 'VmSize': '1106928 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '100508 kB', 'VmRSS': '100508 kB', 'RssAnon': '59756 kB', 'RssFile': '40752 kB', 'RssShmem': '0 kB', 'VmData': '865680 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '556 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '4/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '44', 'nonvoluntary_ctxt_switches': '92'} ('datou_batch_current', '2382852', '1106928', '0', '1106928', '865680', '100508', b'', 'marlene', '2595266') 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 (20608630) 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 (2595266 ) ) 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 (20608630) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1338164017, 'portfolio_id': 20608630}, {'photo_id': 1338163958, 'portfolio_id': 20608630}, {'photo_id': 1338163955, 'portfolio_id': 20608630}, {'photo_id': 1338163953, 'portfolio_id': 20608630}, {'photo_id': 1338163951, 'portfolio_id': 20608630}, {'photo_id': 1338163949, 'portfolio_id': 20608630}, {'photo_id': 1338163912, 'portfolio_id': 20608630}, {'photo_id': 1338163909, 'portfolio_id': 20608630}, {'photo_id': 1338163907, 'portfolio_id': 20608630}, {'photo_id': 1338163906, 'portfolio_id': 20608630}, {'photo_id': 1338163879, 'portfolio_id': 20608630}, {'photo_id': 1338163876, 'portfolio_id': 20608630}, {'photo_id': 1338163874, 'portfolio_id': 20608630}, {'photo_id': 1338163872, 'portfolio_id': 20608630}, {'photo_id': 1338163869, 'portfolio_id': 20608630}, {'photo_id': 1338163837, 'portfolio_id': 20608630}, {'photo_id': 1338163836, 'portfolio_id': 20608630}, {'photo_id': 1338163834, 'portfolio_id': 20608630}, {'photo_id': 1338163832, 'portfolio_id': 20608630}, {'photo_id': 1338163796, 'portfolio_id': 20608630}, {'photo_id': 1338163794, 'portfolio_id': 20608630}, {'photo_id': 1338163792, 'portfolio_id': 20608630}, {'photo_id': 1338163791, 'portfolio_id': 20608630}, {'photo_id': 1338163552, 'portfolio_id': 20608630}, {'photo_id': 1338163539, 'portfolio_id': 20608630}, {'photo_id': 1338161803, 'portfolio_id': 20608630}, {'photo_id': 1338161800, 'portfolio_id': 20608630}, {'photo_id': 1338161798, 'portfolio_id': 20608630}, {'photo_id': 1338161774, 'portfolio_id': 20608630}, {'photo_id': 1338161771, 'portfolio_id': 20608630}, {'photo_id': 1338161764, 'portfolio_id': 20608630}, {'photo_id': 1338161757, 'portfolio_id': 20608630}, {'photo_id': 1338161529, 'portfolio_id': 20608630}, {'photo_id': 1338161524, 'portfolio_id': 20608630}, {'photo_id': 1338161521, 'portfolio_id': 20608630}, {'photo_id': 1338161518, 'portfolio_id': 20608630}, {'photo_id': 1338161515, 'portfolio_id': 20608630}, {'photo_id': 1338161381, 'portfolio_id': 20608630}, {'photo_id': 1338161291, 'portfolio_id': 20608630}, {'photo_id': 1338161289, 'portfolio_id': 20608630}, {'photo_id': 1338161285, 'portfolio_id': 20608630}] map_portfolio_id_photo_id: {20608630: [1338164017, 1338163958, 1338163955, 1338163953, 1338163951, 1338163949, 1338163912, 1338163909, 1338163907, 1338163906, 1338163879, 1338163876, 1338163874, 1338163872, 1338163869, 1338163837, 1338163836, 1338163834, 1338163832, 1338163796, 1338163794, 1338163792, 1338163791, 1338163552, 1338163539, 1338161803, 1338161800, 1338161798, 1338161774, 1338161771, 1338161764, 1338161757, 1338161529, 1338161524, 1338161521, 1338161518, 1338161515, 1338161381, 1338161291, 1338161289, 1338161285]} ##### 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 : 1.0425441265106201 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Tue Feb 18 05:53: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 (20608630) 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 : 20608630 get user id for portfolio 20608630 get sub ptf for main ptf 20608630, type 3726 and hashtags ['environnement', 'mal_croppe', 'flou', 'metal', 'Carton_brun', 'cartonnette', 'Carton_gris', 'plastique', 'autre_refus', 'kraft', 'Teint_Dans_La_Masse', 'papier'] 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`=20608630 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','mal_croppe','flou','metal','Carton_brun','cartonnette','Carton_gris','plastique','autre_refus','kraft','Teint_Dans_La_Masse','papier')) 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`=20608630 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','mal_croppe','flou','metal','Carton_brun','cartonnette','Carton_gris','plastique','autre_refus','kraft','Teint_Dans_La_Masse','papier')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 20608630, 'sub_port_id': 20608634, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13265671, 'last_updated_at': datetime.datetime(2025, 2, 17, 14, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 17, 14, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 17, 14, 4, 57)}, 'Carton_brun': {'main_port_id': 20608630, 'sub_port_id': 20608635, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13265672, 'last_updated_at': datetime.datetime(2025, 2, 17, 14, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 17, 14, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 17, 14, 4, 57)}, 'cartonnette': {'main_port_id': 20608630, 'sub_port_id': 20608636, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13265673, 'last_updated_at': datetime.datetime(2025, 2, 17, 14, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 17, 14, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 17, 14, 4, 57)}, 'metal': {'main_port_id': 20608630, 'sub_port_id': 20608637, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13265674, 'last_updated_at': datetime.datetime(2025, 2, 17, 14, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 17, 14, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 17, 14, 4, 57)}, 'flou': {'main_port_id': 20608630, 'sub_port_id': 20608638, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13265675, 'last_updated_at': datetime.datetime(2025, 2, 17, 14, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 17, 14, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 17, 14, 4, 57)}, 'papier': {'main_port_id': 20608630, 'sub_port_id': 20608639, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13265676, 'last_updated_at': datetime.datetime(2025, 2, 17, 14, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 17, 14, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 17, 14, 4, 57)}, 'mal_croppe': {'main_port_id': 20608630, 'sub_port_id': 20608640, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13265677, 'last_updated_at': datetime.datetime(2025, 2, 17, 14, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 17, 14, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 17, 14, 4, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 20608630, 'sub_port_id': 20608641, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13265678, 'last_updated_at': datetime.datetime(2025, 2, 17, 14, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 17, 14, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 17, 14, 4, 57)}, 'Carton_gris': {'main_port_id': 20608630, 'sub_port_id': 20608642, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13265679, 'last_updated_at': datetime.datetime(2025, 2, 17, 14, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 17, 14, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 17, 14, 4, 57)}, 'environnement': {'main_port_id': 20608630, 'sub_port_id': 20608643, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13265680, 'last_updated_at': datetime.datetime(2025, 2, 17, 14, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 17, 14, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 17, 14, 4, 57)}, 'kraft': {'main_port_id': 20608630, 'sub_port_id': 20608644, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13265681, 'last_updated_at': datetime.datetime(2025, 2, 17, 14, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 17, 14, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 17, 14, 4, 57)}, 'plastique': {'main_port_id': 20608630, 'sub_port_id': 20608645, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13265682, 'last_updated_at': datetime.datetime(2025, 2, 17, 14, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 17, 14, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 17, 14, 4, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20608634 , 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=20608630 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 (20608634) result : ((1338161805,), (1338162893,), (1338162894,), (1338163811,), (1338163812,), (1338163813,), (1338163911,), (1338163931,), (1338164146,), (1338164147,), (1338164860,), (1338164861,), (1338164862,), (1338164863,), (1338164864,), (1338164865,), (1338164866,), (1338164867,), (1338166464,), (1338167610,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20608630) result : ((1338161285,), (1338161289,), (1338161291,), (1338161381,), (1338161515,), (1338161518,), (1338161521,), (1338161524,), (1338161529,), (1338161757,), (1338161764,), (1338161771,), (1338161774,), (1338161798,), (1338161800,), (1338161803,), (1338163539,), (1338163552,), (1338163791,), (1338163792,), (1338163794,), (1338163796,), (1338163832,), (1338163834,), (1338163836,), (1338163837,), (1338163869,), (1338163872,), (1338163874,), (1338163876,), (1338163879,), (1338163906,), (1338163907,), (1338163909,), (1338163912,), (1338163949,), (1338163951,), (1338163953,), (1338163955,), (1338163958,), (1338164017,)) 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 (1338161800) 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 20608635 , 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=20608630 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 (20608635) result : ((1338161807,), (1338162797,), (1338162896,), (1338163935,), (1338164155,), (1338164871,), (1338167670,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20608630) result : ((1338161285,), (1338161289,), (1338161291,), (1338161381,), (1338161515,), (1338161518,), (1338161521,), (1338161524,), (1338161529,), (1338161757,), (1338161764,), (1338161771,), (1338161774,), (1338161798,), (1338161800,), (1338161803,), (1338163539,), (1338163552,), (1338163791,), (1338163792,), (1338163794,), (1338163796,), (1338163832,), (1338163834,), (1338163836,), (1338163837,), (1338163869,), (1338163872,), (1338163874,), (1338163876,), (1338163879,), (1338163906,), (1338163907,), (1338163909,), (1338163912,), (1338163949,), (1338163951,), (1338163953,), (1338163955,), (1338163958,), (1338164017,)) 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 (1338161800) 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 20608636 , 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=20608630 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 (20608636) result : ((1338162604,), (1338163817,), (1338163818,), (1338164153,), (1338164154,), (1338164869,), (1338167599,), (1338167600,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20608630) result : ((1338161285,), (1338161289,), (1338161291,), (1338161381,), (1338161515,), (1338161518,), (1338161521,), (1338161524,), (1338161529,), (1338161757,), (1338161764,), (1338161771,), (1338161774,), (1338161798,), (1338161800,), (1338161803,), (1338163539,), (1338163552,), (1338163791,), (1338163792,), (1338163794,), (1338163796,), (1338163832,), (1338163834,), (1338163836,), (1338163837,), (1338163869,), (1338163872,), (1338163874,), (1338163876,), (1338163879,), (1338163906,), (1338163907,), (1338163909,), (1338163912,), (1338163949,), (1338163951,), (1338163953,), (1338163955,), (1338163958,), (1338164017,)) 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 (1338161800) 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 20608637 , 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=20608630 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 (20608637) result : ((1338162802,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20608630) result : ((1338161285,), (1338161289,), (1338161291,), (1338161381,), (1338161515,), (1338161518,), (1338161521,), (1338161524,), (1338161529,), (1338161757,), (1338161764,), (1338161771,), (1338161774,), (1338161798,), (1338161800,), (1338161803,), (1338163539,), (1338163552,), (1338163791,), (1338163792,), (1338163794,), (1338163796,), (1338163832,), (1338163834,), (1338163836,), (1338163837,), (1338163869,), (1338163872,), (1338163874,), (1338163876,), (1338163879,), (1338163906,), (1338163907,), (1338163909,), (1338163912,), (1338163949,), (1338163951,), (1338163953,), (1338163955,), (1338163958,), (1338164017,)) 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 (1338161800) 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 20608638 , 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=20608630 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 (20608638) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20608630) result : ((1338161285,), (1338161289,), (1338161291,), (1338161381,), (1338161515,), (1338161518,), (1338161521,), (1338161524,), (1338161529,), (1338161757,), (1338161764,), (1338161771,), (1338161774,), (1338161798,), (1338161800,), (1338161803,), (1338163539,), (1338163552,), (1338163791,), (1338163792,), (1338163794,), (1338163796,), (1338163832,), (1338163834,), (1338163836,), (1338163837,), (1338163869,), (1338163872,), (1338163874,), (1338163876,), (1338163879,), (1338163906,), (1338163907,), (1338163909,), (1338163912,), (1338163949,), (1338163951,), (1338163953,), (1338163955,), (1338163958,), (1338164017,)) 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 (1338161800) 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 20608639 , 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=20608630 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 (20608639) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20608630) result : ((1338161285,), (1338161289,), (1338161291,), (1338161381,), (1338161515,), (1338161518,), (1338161521,), (1338161524,), (1338161529,), (1338161757,), (1338161764,), (1338161771,), (1338161774,), (1338161798,), (1338161800,), (1338161803,), (1338163539,), (1338163552,), (1338163791,), (1338163792,), (1338163794,), (1338163796,), (1338163832,), (1338163834,), (1338163836,), (1338163837,), (1338163869,), (1338163872,), (1338163874,), (1338163876,), (1338163879,), (1338163906,), (1338163907,), (1338163909,), (1338163912,), (1338163949,), (1338163951,), (1338163953,), (1338163955,), (1338163958,), (1338164017,)) 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 (1338161800) 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 20608640 , 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=20608630 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 (20608640) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20608630) result : ((1338161285,), (1338161289,), (1338161291,), (1338161381,), (1338161515,), (1338161518,), (1338161521,), (1338161524,), (1338161529,), (1338161757,), (1338161764,), (1338161771,), (1338161774,), (1338161798,), (1338161800,), (1338161803,), (1338163539,), (1338163552,), (1338163791,), (1338163792,), (1338163794,), (1338163796,), (1338163832,), (1338163834,), (1338163836,), (1338163837,), (1338163869,), (1338163872,), (1338163874,), (1338163876,), (1338163879,), (1338163906,), (1338163907,), (1338163909,), (1338163912,), (1338163949,), (1338163951,), (1338163953,), (1338163955,), (1338163958,), (1338164017,)) 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 (1338161800) 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 20608641 , 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=20608630 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 (20608641) result : ((1338161804,), (1338162794,), (1338162795,), (1338162890,), (1338162891,), (1338162892,), (1338163930,), (1338164121,), (1338164123,), (1338164124,), (1338164125,), (1338164127,), (1338164855,), (1338164856,), (1338167607,), (1338167608,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20608630) result : ((1338161285,), (1338161289,), (1338161291,), (1338161381,), (1338161515,), (1338161518,), (1338161521,), (1338161524,), (1338161529,), (1338161757,), (1338161764,), (1338161771,), (1338161774,), (1338161798,), (1338161800,), (1338161803,), (1338163539,), (1338163552,), (1338163791,), (1338163792,), (1338163794,), (1338163796,), (1338163832,), (1338163834,), (1338163836,), (1338163837,), (1338163869,), (1338163872,), (1338163874,), (1338163876,), (1338163879,), (1338163906,), (1338163907,), (1338163909,), (1338163912,), (1338163949,), (1338163951,), (1338163953,), (1338163955,), (1338163958,), (1338164017,)) 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 (1338161800) 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 20608642 , 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=20608630 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 (20608642) result : ((1338161806,), (1338162601,), (1338162602,), (1338163902,), (1338163932,), (1338164148,), (1338164149,), (1338164150,), (1338167598,), (1338167612,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20608630) result : ((1338161285,), (1338161289,), (1338161291,), (1338161381,), (1338161515,), (1338161518,), (1338161521,), (1338161524,), (1338161529,), (1338161757,), (1338161764,), (1338161771,), (1338161774,), (1338161798,), (1338161800,), (1338161803,), (1338163539,), (1338163552,), (1338163791,), (1338163792,), (1338163794,), (1338163796,), (1338163832,), (1338163834,), (1338163836,), (1338163837,), (1338163869,), (1338163872,), (1338163874,), (1338163876,), (1338163879,), (1338163906,), (1338163907,), (1338163909,), (1338163912,), (1338163949,), (1338163951,), (1338163953,), (1338163955,), (1338163958,), (1338164017,)) 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 (1338161800) 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 20608643 , 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=20608630 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 (20608643) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20608630) result : ((1338161285,), (1338161289,), (1338161291,), (1338161381,), (1338161515,), (1338161518,), (1338161521,), (1338161524,), (1338161529,), (1338161757,), (1338161764,), (1338161771,), (1338161774,), (1338161798,), (1338161800,), (1338161803,), (1338163539,), (1338163552,), (1338163791,), (1338163792,), (1338163794,), (1338163796,), (1338163832,), (1338163834,), (1338163836,), (1338163837,), (1338163869,), (1338163872,), (1338163874,), (1338163876,), (1338163879,), (1338163906,), (1338163907,), (1338163909,), (1338163912,), (1338163949,), (1338163951,), (1338163953,), (1338163955,), (1338163958,), (1338164017,)) 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 (1338161800) 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 20608644 , 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=20608630 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 (20608644) result : ((1338161810,), (1338161811,), (1338167770,), (1338167772,), (1338167774,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20608630) result : ((1338161285,), (1338161289,), (1338161291,), (1338161381,), (1338161515,), (1338161518,), (1338161521,), (1338161524,), (1338161529,), (1338161757,), (1338161764,), (1338161771,), (1338161774,), (1338161798,), (1338161800,), (1338161803,), (1338163539,), (1338163552,), (1338163791,), (1338163792,), (1338163794,), (1338163796,), (1338163832,), (1338163834,), (1338163836,), (1338163837,), (1338163869,), (1338163872,), (1338163874,), (1338163876,), (1338163879,), (1338163906,), (1338163907,), (1338163909,), (1338163912,), (1338163949,), (1338163951,), (1338163953,), (1338163955,), (1338163958,), (1338164017,)) 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 (1338161800) 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 20608645 , 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=20608630 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 (20608645) result : ((1338164872,), (1338164873,), (1338167601,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20608630) result : ((1338161285,), (1338161289,), (1338161291,), (1338161381,), (1338161515,), (1338161518,), (1338161521,), (1338161524,), (1338161529,), (1338161757,), (1338161764,), (1338161771,), (1338161774,), (1338161798,), (1338161800,), (1338161803,), (1338163539,), (1338163552,), (1338163791,), (1338163792,), (1338163794,), (1338163796,), (1338163832,), (1338163834,), (1338163836,), (1338163837,), (1338163869,), (1338163872,), (1338163874,), (1338163876,), (1338163879,), (1338163906,), (1338163907,), (1338163909,), (1338163912,), (1338163949,), (1338163951,), (1338163953,), (1338163955,), (1338163958,), (1338164017,)) 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 (1338161800) 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`=20608630 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','mal_croppe','flou','metal','Carton_brun','cartonnette','Carton_gris','plastique','autre_refus','kraft','Teint_Dans_La_Masse','papier')) 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`=20608630 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','mal_croppe','flou','metal','Carton_brun','cartonnette','Carton_gris','plastique','autre_refus','kraft','Teint_Dans_La_Masse','papier')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 20608630, 'sub_port_id': 20608646, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13265683, 'last_updated_at': datetime.datetime(2025, 2, 17, 14, 4, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 17, 14, 4, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 17, 14, 4, 57)}, 'Carton_brun': {'main_port_id': 20608630, 'sub_port_id': 20608647, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13265684, 'last_updated_at': datetime.datetime(2025, 2, 17, 14, 4, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 17, 14, 4, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 17, 14, 4, 57)}, 'cartonnette': {'main_port_id': 20608630, 'sub_port_id': 20608648, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13265685, 'last_updated_at': datetime.datetime(2025, 2, 17, 14, 4, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 17, 14, 4, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 17, 14, 4, 57)}, 'metal': {'main_port_id': 20608630, 'sub_port_id': 20608649, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13265686, 'last_updated_at': datetime.datetime(2025, 2, 17, 14, 4, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 17, 14, 4, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 17, 14, 4, 57)}, 'flou': {'main_port_id': 20608630, 'sub_port_id': 20608650, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13265687, 'last_updated_at': datetime.datetime(2025, 2, 17, 14, 4, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 17, 14, 4, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 17, 14, 4, 57)}, 'papier': {'main_port_id': 20608630, 'sub_port_id': 20608651, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13265688, 'last_updated_at': datetime.datetime(2025, 2, 17, 14, 4, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 17, 14, 4, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 17, 14, 4, 57)}, 'mal_croppe': {'main_port_id': 20608630, 'sub_port_id': 20608652, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13265689, 'last_updated_at': datetime.datetime(2025, 2, 17, 14, 4, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 17, 14, 4, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 17, 14, 4, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 20608630, 'sub_port_id': 20608653, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13265690, 'last_updated_at': datetime.datetime(2025, 2, 17, 14, 4, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 17, 14, 4, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 17, 14, 4, 57)}, 'Carton_gris': {'main_port_id': 20608630, 'sub_port_id': 20608654, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13265691, 'last_updated_at': datetime.datetime(2025, 2, 17, 14, 4, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 17, 14, 4, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 17, 14, 4, 57)}, 'environnement': {'main_port_id': 20608630, 'sub_port_id': 20608655, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13265692, 'last_updated_at': datetime.datetime(2025, 2, 17, 14, 4, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 17, 14, 4, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 17, 14, 4, 57)}, 'kraft': {'main_port_id': 20608630, 'sub_port_id': 20608656, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13265693, 'last_updated_at': datetime.datetime(2025, 2, 17, 14, 4, 57), 'last_updated_at_desc': datetime.datetime(2025, 2, 17, 14, 4, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 17, 14, 4, 57)}, 'plastique': {'main_port_id': 20608630, 'sub_port_id': 20608657, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13265694, 'last_updated_at': datetime.datetime(2025, 2, 17, 14, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 17, 14, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 17, 14, 4, 57)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20608646,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20608634 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20608647,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20608635 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20608648,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20608636 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20608649,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20608637 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20608650,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20608638 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20608651,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20608639 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20608652,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20608640 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20608653,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20608641 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20608654,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20608642 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20608655,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20608643 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20608656,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20608644 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20608657,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20608645 lien utilise dans velours : https://www.fotonower.com/velours/20608646,20608647,20608648,20608649,20608650,20608651,20608652,20608653,20608654,20608655,20608656,20608657?tags=autre_refus,Carton_brun,cartonnette,metal,flou,papier,mal_croppe,Teint_Dans_La_Masse,Carton_gris,environnement,kraft,plastique After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20608630]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1338164017, 1338163958, 1338163955, 1338163953, 1338163951, 1338163949, 1338163912, 1338163909, 1338163907, 1338163906, 1338163879, 1338163876, 1338163874, 1338163872, 1338163869, 1338163837, 1338163836, 1338163834, 1338163832, 1338163796, 1338163794, 1338163792, 1338163791, 1338163552, 1338163539, 1338161803, 1338161800, 1338161798, 1338161774, 1338161771, 1338161764, 1338161757, 1338161529, 1338161524, 1338161521, 1338161518, 1338161515, 1338161381, 1338161291, 1338161289, 1338161285] map_info['map_portfolio_photo'] : {20608630: [1338164017, 1338163958, 1338163955, 1338163953, 1338163951, 1338163949, 1338163912, 1338163909, 1338163907, 1338163906, 1338163879, 1338163876, 1338163874, 1338163872, 1338163869, 1338163837, 1338163836, 1338163834, 1338163832, 1338163796, 1338163794, 1338163792, 1338163791, 1338163552, 1338163539, 1338161803, 1338161800, 1338161798, 1338161774, 1338161771, 1338161764, 1338161757, 1338161529, 1338161524, 1338161521, 1338161518, 1338161515, 1338161381, 1338161291, 1338161289, 1338161285]} final : False mtd_id 4302 list_pids : [1338164017, 1338163958, 1338163955, 1338163953, 1338163951, 1338163949, 1338163912, 1338163909, 1338163907, 1338163906, 1338163879, 1338163876, 1338163874, 1338163872, 1338163869, 1338163837, 1338163836, 1338163834, 1338163832, 1338163796, 1338163794, 1338163792, 1338163791, 1338163552, 1338163539, 1338161803, 1338161800, 1338161798, 1338161774, 1338161771, 1338161764, 1338161757, 1338161529, 1338161524, 1338161521, 1338161518, 1338161515, 1338161381, 1338161291, 1338161289, 1338161285] Looping around the photos to save general results len do output : 1 /20608630. 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, '2595266') ('4302', '20608630', '1338164017', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163958', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163955', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163953', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163951', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163949', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163912', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163909', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163907', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163906', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163879', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163876', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163874', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163872', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163869', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163837', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163836', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163834', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163832', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163796', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163794', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163792', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163791', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163552', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163539', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161803', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161800', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161798', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161774', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161771', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161764', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161757', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161529', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161524', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161521', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161518', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161515', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161381', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161291', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161289', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161285', None, None, None, None, None, '2595266') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '20608630', "{'autre_refus': 20608634, 'Carton_brun': 20608635, 'cartonnette': 20608636, 'metal': 20608637, 'flou': 20608638, 'papier': 20608639, 'mal_croppe': 20608640, 'Teint_Dans_La_Masse': 20608641, 'Carton_gris': 20608642, 'environnement': 20608643, 'kraft': 20608644, 'plastique': 20608645}", None, None, None, None, '2595266'), ('4302', '20608630', '1338164017', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163958', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163955', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163953', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163951', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163949', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163912', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163909', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163907', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163906', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163879', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163876', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163874', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163872', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163869', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163837', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163836', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163834', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163832', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163796', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163794', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163792', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163791', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163552', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163539', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161803', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161800', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161798', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161774', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161771', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161764', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161757', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161529', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161524', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161521', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161518', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161515', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161381', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161291', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161289', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161285', None, None, None, None, None, '2595266')] time used for this insertion : 0.025330305099487305 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.0454661846160889 time spend to save output : 0.02579331398010254 total time spend for step 1 : 1.0712594985961914 step2:final Tue Feb 18 05:53: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 (20608630) 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 20608630 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1338161381,1338161291,1338161289,1338161285,1338161529,1338161524,1338161521,1338161518,1338161515,1338161774,1338161771,1338161764,1338161757,1338161803,1338161800,1338161798,1338163552,1338163539,1338163796,1338163794,1338163792,1338163791,1338163837,1338163836,1338163834,1338163832,1338163879,1338163876,1338163874,1338163872,1338163869,1338163912,1338163909,1338163907,1338163906,1338163958,1338163955,1338163953,1338163951,1338163949,1338164017); 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([20608630]) Inside saveOutput : final : False verbose : True original output for save of step final : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} new output for save of step final : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} [1338164017, 1338163958, 1338163955, 1338163953, 1338163951, 1338163949, 1338163912, 1338163909, 1338163907, 1338163906, 1338163879, 1338163876, 1338163874, 1338163872, 1338163869, 1338163837, 1338163836, 1338163834, 1338163832, 1338163796, 1338163794, 1338163792, 1338163791, 1338163552, 1338163539, 1338161803, 1338161800, 1338161798, 1338161774, 1338161771, 1338161764, 1338161757, 1338161529, 1338161524, 1338161521, 1338161518, 1338161515, 1338161381, 1338161291, 1338161289, 1338161285] map_info['map_portfolio_photo'] : {20608630: [1338164017, 1338163958, 1338163955, 1338163953, 1338163951, 1338163949, 1338163912, 1338163909, 1338163907, 1338163906, 1338163879, 1338163876, 1338163874, 1338163872, 1338163869, 1338163837, 1338163836, 1338163834, 1338163832, 1338163796, 1338163794, 1338163792, 1338163791, 1338163552, 1338163539, 1338161803, 1338161800, 1338161798, 1338161774, 1338161771, 1338161764, 1338161757, 1338161529, 1338161524, 1338161521, 1338161518, 1338161515, 1338161381, 1338161291, 1338161289, 1338161285]} final : False mtd_id 4302 list_pids : [1338164017, 1338163958, 1338163955, 1338163953, 1338163951, 1338163949, 1338163912, 1338163909, 1338163907, 1338163906, 1338163879, 1338163876, 1338163874, 1338163872, 1338163869, 1338163837, 1338163836, 1338163834, 1338163832, 1338163796, 1338163794, 1338163792, 1338163791, 1338163552, 1338163539, 1338161803, 1338161800, 1338161798, 1338161774, 1338161771, 1338161764, 1338161757, 1338161529, 1338161524, 1338161521, 1338161518, 1338161515, 1338161381, 1338161291, 1338161289, 1338161285] Looping around the photos to save general results len do output : 41 /1338164017.Didn't retrieve data . /1338163958.Didn't retrieve data . /1338163955.Didn't retrieve data . /1338163953.Didn't retrieve data . /1338163951.Didn't retrieve data . /1338163949.Didn't retrieve data . /1338163912.Didn't retrieve data . /1338163909.Didn't retrieve data . /1338163907.Didn't retrieve data . /1338163906.Didn't retrieve data . /1338163879.Didn't retrieve data . /1338163876.Didn't retrieve data . /1338163874.Didn't retrieve data . /1338163872.Didn't retrieve data . /1338163869.Didn't retrieve data . /1338163837.Didn't retrieve data . /1338163836.Didn't retrieve data . /1338163834.Didn't retrieve data . /1338163832.Didn't retrieve data . /1338163796.Didn't retrieve data . /1338163794.Didn't retrieve data . /1338163792.Didn't retrieve data . /1338163791.Didn't retrieve data . /1338163552.Didn't retrieve data . /1338163539.Didn't retrieve data . /1338161803.Didn't retrieve data . /1338161800.Didn't retrieve data . /1338161798.Didn't retrieve data . /1338161774.Didn't retrieve data . /1338161771.Didn't retrieve data . /1338161764.Didn't retrieve data . /1338161757.Didn't retrieve data . /1338161529.Didn't retrieve data . /1338161524.Didn't retrieve data . /1338161521.Didn't retrieve data . /1338161518.Didn't retrieve data . /1338161515.Didn't retrieve data . /1338161381.Didn't retrieve data . /1338161291.Didn't retrieve data . /1338161289.Didn't retrieve data . /1338161285.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, '2595266') ('4302', '20608630', '1338164017', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163958', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163955', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163953', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163951', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163949', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163912', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163909', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163907', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163906', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163879', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163876', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163874', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163872', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163869', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163837', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163836', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163834', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163832', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163796', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163794', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163792', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163791', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163552', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163539', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161803', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161800', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161798', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161774', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161771', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161764', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161757', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161529', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161524', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161521', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161518', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161515', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161381', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161291', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161289', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161285', None, None, None, None, None, '2595266') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 123 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '20608630', '1338164017', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338163958', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338163955', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338163953', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338163951', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338163949', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338163912', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338163909', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338163907', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338163906', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338163879', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338163876', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338163874', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338163872', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338163869', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338163837', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338163836', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338163834', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338163832', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338163796', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338163794', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338163792', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338163791', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338163552', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338163539', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338161803', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338161800', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338161798', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338161774', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338161771', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338161764', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338161757', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338161529', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338161524', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338161521', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338161518', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338161515', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338161381', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338161291', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338161289', '0.05132864079102073', None, None, None, None, '2595266'), ('4302', '20608630', '1338161285', '0.05132864079102073', None, None, None, None, '2595266')] time used for this insertion : 0.024785995483398438 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0739445686340332 time spend to save output : 0.025974512100219727 total time spend for step 2 : 0.09991908073425293 step3:velours_tree Tue Feb 18 05:53: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 : {20608630: [{'autre_refus': 20608634, 'Carton_brun': 20608635, 'cartonnette': 20608636, 'metal': 20608637, 'flou': 20608638, 'papier': 20608639, 'mal_croppe': 20608640, 'Teint_Dans_La_Masse': 20608641, 'Carton_gris': 20608642, 'environnement': 20608643, 'kraft': 20608644, 'plastique': 20608645}]} input_args_next_step : {20608630: ()} output_args : {20608630: [{'autre_refus': 20608634, 'Carton_brun': 20608635, 'cartonnette': 20608636, 'metal': 20608637, 'flou': 20608638, 'papier': 20608639, 'mal_croppe': 20608640, 'Teint_Dans_La_Masse': 20608641, 'Carton_gris': 20608642, 'environnement': 20608643, 'kraft': 20608644, 'plastique': 20608645}]} args : 20608630 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'autre_refus': 20608634, 'Carton_brun': 20608635, 'cartonnette': 20608636, 'metal': 20608637, 'flou': 20608638, 'papier': 20608639, 'mal_croppe': 20608640, 'Teint_Dans_La_Masse': 20608641, 'Carton_gris': 20608642, 'environnement': 20608643, 'kraft': 20608644, 'plastique': 20608645},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20608630) 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([20608630]) 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.29728055000305176 time spend to save output : 7.915496826171875e-05 total time spend for step 3 : 0.2973597049713135 step4:send_mail_cod Tue Feb 18 05:53: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 : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} input_args_next_step : {1338164017: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338164017 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338163958 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338163955 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338163953 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338163951 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338163949 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338163912 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338163909 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338163907 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338163906 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338163879 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338163876 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338163874 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338163872 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338163869 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338163837 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338163836 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338163834 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338163832 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338163796 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338163794 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338163792 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338163791 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338163552 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338163539 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338161803 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338161800 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338161798 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338161774 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338161771 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338161764 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338161757 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338161529 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338161524 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338161521 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338161518 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338161515 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338161381 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338161291 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338161289 depend.output_id : 0 input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ()} output_args : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',)} args : 1338161285 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 : {20608630: [{'autre_refus': 20608634, 'Carton_brun': 20608635, 'cartonnette': 20608636, 'metal': 20608637, 'flou': 20608638, 'papier': 20608639, 'mal_croppe': 20608640, 'Teint_Dans_La_Masse': 20608641, 'Carton_gris': 20608642, 'environnement': 20608643, 'kraft': 20608644, 'plastique': 20608645}]} input_args_next_step : {1338164017: ('0.05132864079102073',), 1338163958: ('0.05132864079102073',), 1338163955: ('0.05132864079102073',), 1338163953: ('0.05132864079102073',), 1338163951: ('0.05132864079102073',), 1338163949: ('0.05132864079102073',), 1338163912: ('0.05132864079102073',), 1338163909: ('0.05132864079102073',), 1338163907: ('0.05132864079102073',), 1338163906: ('0.05132864079102073',), 1338163879: ('0.05132864079102073',), 1338163876: ('0.05132864079102073',), 1338163874: ('0.05132864079102073',), 1338163872: ('0.05132864079102073',), 1338163869: ('0.05132864079102073',), 1338163837: ('0.05132864079102073',), 1338163836: ('0.05132864079102073',), 1338163834: ('0.05132864079102073',), 1338163832: ('0.05132864079102073',), 1338163796: ('0.05132864079102073',), 1338163794: ('0.05132864079102073',), 1338163792: ('0.05132864079102073',), 1338163791: ('0.05132864079102073',), 1338163552: ('0.05132864079102073',), 1338163539: ('0.05132864079102073',), 1338161803: ('0.05132864079102073',), 1338161800: ('0.05132864079102073',), 1338161798: ('0.05132864079102073',), 1338161774: ('0.05132864079102073',), 1338161771: ('0.05132864079102073',), 1338161764: ('0.05132864079102073',), 1338161757: ('0.05132864079102073',), 1338161529: ('0.05132864079102073',), 1338161524: ('0.05132864079102073',), 1338161521: ('0.05132864079102073',), 1338161518: ('0.05132864079102073',), 1338161515: ('0.05132864079102073',), 1338161381: ('0.05132864079102073',), 1338161291: ('0.05132864079102073',), 1338161289: ('0.05132864079102073',), 1338161285: ('0.05132864079102073',), 20608630: ()} output_args : {20608630: [{'autre_refus': 20608634, 'Carton_brun': 20608635, 'cartonnette': 20608636, 'metal': 20608637, 'flou': 20608638, 'papier': 20608639, 'mal_croppe': 20608640, 'Teint_Dans_La_Masse': 20608641, 'Carton_gris': 20608642, 'environnement': 20608643, 'kraft': 20608644, 'plastique': 20608645}]} args : 20608630 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :42, first value : ('0.05132864079102073',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20608630) 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 (1338164017,1338163958,1338163955,1338163953,1338163951,1338163949,1338163912,1338163909,1338163907,1338163906,1338163879,1338163876,1338163874,1338163872,1338163869,1338163837,1338163836,1338163834,1338163832,1338163796,1338163794,1338163792,1338163791,1338163552,1338163539,1338161803,1338161800,1338161798,1338161774,1338161771,1338161764,1338161757,1338161529,1338161524,1338161521,1338161518,1338161515,1338161381,1338161291,1338161289,1338161285) Found this number of photos: 41 ##### Call download_photos : nb_thread : 5 begin to download photo : 1338161285 begin to download photo : 1338161757 begin to download photo : 1338163791 begin to download photo : 1338163872 begin to download photo : 1338163951 download finish for photo 1338161757 begin to download photo : 1338161764 download finish for photo 1338161285 begin to download photo : 1338161289 download finish for photo 1338163791 begin to download photo : 1338163792 download finish for photo 1338163872 begin to download photo : 1338163874 download finish for photo 1338163951 begin to download photo : 1338163953 download finish for photo 1338163792 begin to download photo : 1338163794 download finish for photo 1338161289 begin to download photo : 1338161291 download finish for photo 1338161764 begin to download photo : 1338161771 download finish for photo 1338163874 begin to download photo : 1338163876 download finish for photo 1338163794 begin to download photo : 1338163796 download finish for photo 1338161771 begin to download photo : 1338161774 download finish for photo 1338163876 begin to download photo : 1338163879 download finish for photo 1338161291 begin to download photo : 1338161381 download finish for photo 1338163796 begin to download photo : 1338163832 download finish for photo 1338163953 begin to download photo : 1338163955 download finish for photo 1338163832 begin to download photo : 1338163834 download finish for photo 1338163879 begin to download photo : 1338163906 download finish for photo 1338163955 begin to download photo : 1338163958 download finish for photo 1338161381 begin to download photo : 1338161515 download finish for photo 1338161774 begin to download photo : 1338161798 download finish for photo 1338163834 begin to download photo : 1338163836 download finish for photo 1338163958 begin to download photo : 1338164017 download finish for photo 1338163906 begin to download photo : 1338163907 download finish for photo 1338161798 begin to download photo : 1338161800 download finish for photo 1338161515 begin to download photo : 1338161518 download finish for photo 1338163836 begin to download photo : 1338163837 download finish for photo 1338163907 begin to download photo : 1338163909 download finish for photo 1338161800 begin to download photo : 1338161803 download finish for photo 1338164017 download finish for photo 1338161518 begin to download photo : 1338161521 download finish for photo 1338161803 begin to download photo : 1338163539 download finish for photo 1338163837 begin to download photo : 1338163869 download finish for photo 1338163909 begin to download photo : 1338163912 download finish for photo 1338163912 begin to download photo : 1338163949 download finish for photo 1338163869 download finish for photo 1338161521 begin to download photo : 1338161524 download finish for photo 1338163539 begin to download photo : 1338163552 download finish for photo 1338163949 download finish for photo 1338161524 begin to download photo : 1338161529 download finish for photo 1338163552 download finish for photo 1338161529 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 : 41 ; length of list_pids : 41 ; length of list_args : 41 results_Auto_P20608630_18-02-2025_05_53_30.pdf 20608634 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=20608634 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1338164860: '1739798354_2703302_1338163955_f5bb3989f02a620269a33b5e176cbde3_rle_crop_3678035063_0.png', 1338167610: '1739799951_2729095_1338161285_7429dbb9409ad71c940962c04922a720_rle_crop_3678016306_0.png', 1338166464: '1739798631_2712453_1338163958_9dd3f5c235bd67617f54ad74d190f06a_rle_crop_3678036493_0.png', 1338164867: '1739798354_2703302_1338163951_b219079b50d884c598bd9cefa828f82a_rle_crop_3678035097_0.png', 1338164866: '1739798354_2703302_1338163951_b219079b50d884c598bd9cefa828f82a_rle_crop_3678035388_0.png', 1338164865: '1739798354_2703302_1338163951_b219079b50d884c598bd9cefa828f82a_bib_crop_3678035101_0.jpg', 1338164864: '1739798354_2703302_1338163951_b219079b50d884c598bd9cefa828f82a_rle_crop_3678035099_0.png', 1338164863: '1739798354_2703302_1338163953_005232e63a762dc91dae56374c993dd4_rle_crop_3678035087_0.png', 1338164862: '1739798354_2703302_1338163953_005232e63a762dc91dae56374c993dd4_rle_crop_3678035090_0.png', 1338164861: '1739798354_2703302_1338163953_005232e63a762dc91dae56374c993dd4_rle_crop_3678035089_0.png', 1338161805: '1739797392_2679844_1338161285_7429dbb9409ad71c940962c04922a720_rle_crop_3678016306_0.png', 1338164147: '1739798113_2692352_1338163874_0c244ad0133c19e3901ecbf1557de3ff_rle_crop_3678027448_0.png', 1338164146: '1739798113_2692352_1338163876_04522fa9139a80761b1ca5ca6ad8664a_rle_crop_3678027431_0.png', 1338163931: '1739798013_2689983_1338163837_a441986323f74c61eff0c5f9613ee79d_rle_crop_3678025156_0.png', 1338163911: '1739797994_2689701_1338163539_38a92f5bdfd8a8f76268e941af67bf6c_rle_crop_3678025068_0.png', 1338163813: '1739797853_2686297_1338163552_3bd97045774c4b7120dbd144d9d5f709_rle_crop_3678024399_0.png', 1338163812: '1739797853_2686297_1338163552_3bd97045774c4b7120dbd144d9d5f709_rle_crop_3678024403_0.png', 1338163811: '1739797853_2686297_1338163552_3bd97045774c4b7120dbd144d9d5f709_rle_crop_3678024401_0.png', 1338162894: '1739797533_2681938_1338161771_757909757b808c8e4db6f1869d7a7a40_rle_crop_3678019299_0.png', 1338162893: '1739797533_2681938_1338161771_757909757b808c8e4db6f1869d7a7a40_rle_crop_3678019295_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/99ca69577b79680f5a8988fbd23a47f3_7392687.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2c29f1aad5ad78b0c40250d697538dae_81805912.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dcba4472f1ca5818429e2090417bd708_64560902.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a3b0c8561484b42f58cd6111b0b8de63_40799104.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8fe53ba1f1ada2505f3a9a2152f237a9_62938030.png change filename to text .wget -O 6.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/58ac9e1e5688d9aab30ac063a0ee8313_48069142.jpg change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c4cae95cc74b02a38b7fbc54154ace5a_23888909.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/da13493edcb9325e4695de1ebb5be2b1_2567504.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/520eb78adbc1243b42b9b23411fead13_31565473.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/71feb40ecdebd93dd3c646185ea7fa40_78545034.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2c29f1aad5ad78b0c40250d697538dae_97870814.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b4c2e03b84500e7d93fb9414e8500512_78811062.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cbdce7024a5d6053ddff109fd6ecca9f_62985778.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9e336597c930ea81f2781bf5e9b5d766_4994814.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/14612c152d6a85f218cd68b5ddd97aa5_50820349.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aaf75b8121fd411116baa79c4e93c222_64963739.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/af57d2962901459ce31352ebe7e545cf_7885150.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/855d261bbc8d1b2e98ed5d552d030624_8840493.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3f8b36bd802be41fba7cffb370b904df_77489985.png change filename to text .imagette206086341739854410/ imagette206086341739854410/1739797853_2686297_1338163552_3bd97045774c4b7120dbd144d9d5f709_rle_crop_3678024403_0.png.png imagette206086341739854410/1739798354_2703302_1338163951_b219079b50d884c598bd9cefa828f82a_rle_crop_3678035097_0.png.png imagette206086341739854410/1739798354_2703302_1338163951_b219079b50d884c598bd9cefa828f82a_rle_crop_3678035388_0.png.png imagette206086341739854410/1739798113_2692352_1338163874_0c244ad0133c19e3901ecbf1557de3ff_rle_crop_3678027448_0.png.png imagette206086341739854410/1739798354_2703302_1338163953_005232e63a762dc91dae56374c993dd4_rle_crop_3678035090_0.png.png imagette206086341739854410/1739797853_2686297_1338163552_3bd97045774c4b7120dbd144d9d5f709_rle_crop_3678024401_0.png.png imagette206086341739854410/1739798354_2703302_1338163951_b219079b50d884c598bd9cefa828f82a_bib_crop_3678035101_0.jpg.jpg imagette206086341739854410/1739798354_2703302_1338163951_b219079b50d884c598bd9cefa828f82a_rle_crop_3678035099_0.png.png imagette206086341739854410/1739797533_2681938_1338161771_757909757b808c8e4db6f1869d7a7a40_rle_crop_3678019295_0.png.png imagette206086341739854410/1739799951_2729095_1338161285_7429dbb9409ad71c940962c04922a720_rle_crop_3678016306_0.png.png imagette206086341739854410/1739798354_2703302_1338163953_005232e63a762dc91dae56374c993dd4_rle_crop_3678035087_0.png.png imagette206086341739854410/1739798113_2692352_1338163876_04522fa9139a80761b1ca5ca6ad8664a_rle_crop_3678027431_0.png.png imagette206086341739854410/1739797994_2689701_1338163539_38a92f5bdfd8a8f76268e941af67bf6c_rle_crop_3678025068_0.png.png imagette206086341739854410/1739797392_2679844_1338161285_7429dbb9409ad71c940962c04922a720_rle_crop_3678016306_0.png.png imagette206086341739854410/1739797533_2681938_1338161771_757909757b808c8e4db6f1869d7a7a40_rle_crop_3678019299_0.png.png imagette206086341739854410/1739798354_2703302_1338163953_005232e63a762dc91dae56374c993dd4_rle_crop_3678035089_0.png.png imagette206086341739854410/1739797853_2686297_1338163552_3bd97045774c4b7120dbd144d9d5f709_rle_crop_3678024399_0.png.png imagette206086341739854410/1739798631_2712453_1338163958_9dd3f5c235bd67617f54ad74d190f06a_rle_crop_3678036493_0.png.png imagette206086341739854410/1739798354_2703302_1338163955_f5bb3989f02a620269a33b5e176cbde3_rle_crop_3678035063_0.png.png imagette206086341739854410/1739798013_2689983_1338163837_a441986323f74c61eff0c5f9613ee79d_rle_crop_3678025156_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eed2b72e199d3ea7d41bcb2abdea0816_38228306.png imagette206086341739854410 20608636 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=20608636 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1338162604: '1739797491_2681362_1338161800_10efed075dbe3a6a5f6650cf75c8074b_rle_crop_3678016686_0.png', 1338163817: '1739797853_2686297_1338163552_3bd97045774c4b7120dbd144d9d5f709_rle_crop_3678024397_0.png', 1338163818: '1739797853_2686297_1338163552_3bd97045774c4b7120dbd144d9d5f709_rle_crop_3678024398_0.png', 1338164153: '1739798113_2692352_1338163912_c1961a835dab8c0feb828c694c9dbca2_rle_crop_3678027415_0.png', 1338164154: '1739798113_2692352_1338163876_04522fa9139a80761b1ca5ca6ad8664a_rle_crop_3678027434_0.png', 1338164869: '1739798354_2703302_1338164017_a19cef2d89608508f2d5db5432a0200c_rle_crop_3678035041_0.png', 1338167599: '1739799931_2728940_1338163879_cd4ce74838191baf2fcdb1a0fc55e8c6_rle_crop_3678047498_0.png', 1338167600: '1739799931_2728940_1338163879_cd4ce74838191baf2fcdb1a0fc55e8c6_rle_crop_3678047496_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bcf62d14f57520d868aa72e5e6f1bfe2_22809523.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/238ebfb7f08df41355bd5df7cae34194_4667726.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/42294d53280ed234819a67eda032394c_91606492.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bf413b1b656fd9811753b7f8c2288628_97065064.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f36154bed4c498a9a0a88439878db811_29850851.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f49503200e77850f36cdd75a94c36a94_11290249.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1f283adac5aea0d4e456db141eccbd1d_4729305.png change filename to text .imagette206086361739854412/ imagette206086361739854412/1739798354_2703302_1338164017_a19cef2d89608508f2d5db5432a0200c_rle_crop_3678035041_0.png.png imagette206086361739854412/1739797853_2686297_1338163552_3bd97045774c4b7120dbd144d9d5f709_rle_crop_3678024398_0.png.png imagette206086361739854412/1739797491_2681362_1338161800_10efed075dbe3a6a5f6650cf75c8074b_rle_crop_3678016686_0.png.png imagette206086361739854412/1739797853_2686297_1338163552_3bd97045774c4b7120dbd144d9d5f709_rle_crop_3678024397_0.png.png imagette206086361739854412/1739799931_2728940_1338163879_cd4ce74838191baf2fcdb1a0fc55e8c6_rle_crop_3678047498_0.png.png imagette206086361739854412/1739798113_2692352_1338163876_04522fa9139a80761b1ca5ca6ad8664a_rle_crop_3678027434_0.png.png imagette206086361739854412/1739799931_2728940_1338163879_cd4ce74838191baf2fcdb1a0fc55e8c6_rle_crop_3678047496_0.png.png imagette206086361739854412/1739798113_2692352_1338163912_c1961a835dab8c0feb828c694c9dbca2_rle_crop_3678027415_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8f84f43e3c1f27c327e2179a46acbe5d_41310258.png imagette206086361739854412 20608637 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=20608637 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1338162802: '1739797513_2681642_1338161524_ea7a7bce855f5432cdfd8b677154abfa_rle_crop_3678017103_0.png'} change filename to text .imagette206086371739854413/ imagette206086371739854413/1739797513_2681642_1338161524_ea7a7bce855f5432cdfd8b677154abfa_rle_crop_3678017103_0.png.png imagette206086381739854413/ imagette206086401739854413/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1727e4f6b4e361e3cb1ca45fe21582f6_12256322.png imagette206086371739854413 20608638 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=20608638 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette206086381739854413 20608640 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=20608640 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette206086401739854413 20608644 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=20608644 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1338161810: '1739797392_2679844_1338161289_99745e348227f24e075731a450b5eaf2_rle_crop_3678016210_0.png', 1338161811: '1739797392_2679844_1338161285_7429dbb9409ad71c940962c04922a720_rle_crop_3678016309_0.png', 1338167770: '1739799951_2729095_1338161529_1697ebeb90b9700d0fb37662aa2522c8_rle_crop_3678047922_0.png', 1338167772: '1739799951_2729095_1338161289_99745e348227f24e075731a450b5eaf2_rle_crop_3678016210_0.png', 1338167774: '1739799951_2729095_1338161285_7429dbb9409ad71c940962c04922a720_rle_crop_3678016309_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2c44801f6e94ddc08addbd3457f0a8f3_39783715.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/989ae4c8a71dbf1604e4461308b17559_14312694.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2320aab7325eb28cc5de3d938a698912_8827081.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2c44801f6e94ddc08addbd3457f0a8f3_94056103.png change filename to text .imagette206086441739854413/ imagette206086441739854413/1739797392_2679844_1338161285_7429dbb9409ad71c940962c04922a720_rle_crop_3678016309_0.png.png imagette206086441739854413/1739797392_2679844_1338161289_99745e348227f24e075731a450b5eaf2_rle_crop_3678016210_0.png.png imagette206086441739854413/1739799951_2729095_1338161529_1697ebeb90b9700d0fb37662aa2522c8_rle_crop_3678047922_0.png.png imagette206086441739854413/1739799951_2729095_1338161285_7429dbb9409ad71c940962c04922a720_rle_crop_3678016309_0.png.png imagette206086441739854413/1739799951_2729095_1338161289_99745e348227f24e075731a450b5eaf2_rle_crop_3678016210_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/989ae4c8a71dbf1604e4461308b17559_27628274.png imagette206086441739854413 20608645 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=20608645 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1338164872: '1739798354_2703302_1338163955_f5bb3989f02a620269a33b5e176cbde3_rle_crop_3678035062_0.png', 1338164873: '1739798354_2703302_1338163949_a3821b8537baf4d86a3dd840155ffa63_rle_crop_3678035112_0.png', 1338167601: '1739799931_2728940_1338163879_cd4ce74838191baf2fcdb1a0fc55e8c6_rle_crop_3678047499_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2cd8d722f0ee91bb09b0d20a1678c9ca_23211363.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ffa82e4a98d22afbbf0803c73702ae9a_69263367.png change filename to text .imagette206086451739854413/ imagette206086451739854413/1739799931_2728940_1338163879_cd4ce74838191baf2fcdb1a0fc55e8c6_rle_crop_3678047499_0.png.png imagette206086451739854413/1739798354_2703302_1338163949_a3821b8537baf4d86a3dd840155ffa63_rle_crop_3678035112_0.png.png imagette206086451739854413/1739798354_2703302_1338163955_f5bb3989f02a620269a33b5e176cbde3_rle_crop_3678035062_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/39ad58484985f2a57779ff093805873b_10720628.png imagette206086451739854413 20608635 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=20608635 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1338161807: '1739797392_2679844_1338161291_7bd42ab1b47f31c4f1df89b6fad36f20_rle_crop_3678016178_0.png', 1338162797: '1739797513_2681642_1338161518_a0543162fb963a3535e1f98badcca5dc_rle_crop_3678019235_0.png', 1338162896: '1739797533_2681938_1338161757_22d7d1a17e8104016432d74574f8559c_rle_crop_3678020269_0.png', 1338163935: '1739798013_2689983_1338163837_a441986323f74c61eff0c5f9613ee79d_rle_crop_3678025152_0.png', 1338164155: '1739798113_2692352_1338163872_d118d4407b70bdca27236033b3a91e89_rle_crop_3678031195_0.png', 1338164871: '1739798354_2703302_1338163949_a3821b8537baf4d86a3dd840155ffa63_rle_crop_3678035115_0.png', 1338167670: '1739799951_2729095_1338161291_7bd42ab1b47f31c4f1df89b6fad36f20_rle_crop_3678016178_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7ef58804feef84269dbdd66e2e0148fd_25133072.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/726f8606d98d6989b28d116ed76da476_40596283.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1206aec5e8625b985459407b4d198b39_63199601.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/60356debf1ca40e5bb0945c3e06098bb_63107726.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/44a082a6f6817ae93a011745a3e2437d_83597010.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/012617520f12911cbafd02ad81956277_60527866.png change filename to text .imagette206086351739854414/ imagette206086351739854414/1739798013_2689983_1338163837_a441986323f74c61eff0c5f9613ee79d_rle_crop_3678025152_0.png.png imagette206086351739854414/1739798113_2692352_1338163872_d118d4407b70bdca27236033b3a91e89_rle_crop_3678031195_0.png.png imagette206086351739854414/1739797392_2679844_1338161291_7bd42ab1b47f31c4f1df89b6fad36f20_rle_crop_3678016178_0.png.png imagette206086351739854414/1739797513_2681642_1338161518_a0543162fb963a3535e1f98badcca5dc_rle_crop_3678019235_0.png.png imagette206086351739854414/1739798354_2703302_1338163949_a3821b8537baf4d86a3dd840155ffa63_rle_crop_3678035115_0.png.png imagette206086351739854414/1739799951_2729095_1338161291_7bd42ab1b47f31c4f1df89b6fad36f20_rle_crop_3678016178_0.png.png imagette206086351739854414/1739797533_2681938_1338161757_22d7d1a17e8104016432d74574f8559c_rle_crop_3678020269_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7ef58804feef84269dbdd66e2e0148fd_56803037.png imagette206086351739854414 20608641 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=20608641 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1338161804: '1739797392_2679844_1338161289_99745e348227f24e075731a450b5eaf2_rle_crop_3678016214_0.png', 1338162794: '1739797513_2681642_1338161774_e8e43f7677e8695ab3f6c43a8f160fd1_rle_crop_3678017083_0.png', 1338162795: '1739797513_2681642_1338161518_a0543162fb963a3535e1f98badcca5dc_rle_crop_3678019237_0.png', 1338162890: '1739797533_2681938_1338161803_b74c1539f5d7d7711e6dae0d59256db9_rle_crop_3678019277_0.png', 1338162891: '1739797533_2681938_1338161771_757909757b808c8e4db6f1869d7a7a40_rle_crop_3678019303_0.png', 1338162892: '1739797533_2681938_1338161757_22d7d1a17e8104016432d74574f8559c_rle_crop_3678020272_0.png', 1338163930: '1739798013_2689983_1338163791_3127ef83a4ac59d509cd041f0ac59530_rle_crop_3678025188_0.png', 1338164121: '1739798113_2692352_1338163876_04522fa9139a80761b1ca5ca6ad8664a_rle_crop_3678027438_0.png', 1338164123: '1739798113_2692352_1338163872_d118d4407b70bdca27236033b3a91e89_rle_crop_3678031206_0.png', 1338164124: '1739798113_2692352_1338163872_d118d4407b70bdca27236033b3a91e89_rle_crop_3678031198_0.png', 1338164125: '1739798113_2692352_1338163869_f64aa3aab6f9d3f65297ee282c6862d7_rle_crop_3678031230_0.png', 1338164127: '1739798113_2692352_1338163869_f64aa3aab6f9d3f65297ee282c6862d7_rle_crop_3678031223_0.png', 1338164855: '1739798354_2703302_1338164017_a19cef2d89608508f2d5db5432a0200c_rle_crop_3678035050_0.png', 1338164856: '1739798354_2703302_1338163951_b219079b50d884c598bd9cefa828f82a_rle_crop_3678035095_0.png', 1338167607: '1739799951_2729095_1338161529_1697ebeb90b9700d0fb37662aa2522c8_rle_crop_3678047919_0.png', 1338167608: '1739799951_2729095_1338161289_99745e348227f24e075731a450b5eaf2_rle_crop_3678016214_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a1d94c001c611779ec524d209c59f30b_71104039.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ca115829b5984cd68f49d9d6700931f1_66435179.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/07bb4776baaa3f09e230ac10fab30fb7_66330595.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3c07dc82b4d14180d88bffec128e1fb0_70204950.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3bd1672d730c054ac59d9efdf992f30d_55739405.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4cdbaa1728a5baa70af4b0ebab392931_73119727.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7ed0f917eef37d62cbb3a5bcb9a3a10e_35537818.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/050f77332182396e4642eb3e9525f8d1_61932797.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ce051f421728053044e9edaa64e14a80_79518321.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4f29fbfed7782d4595ad3e2e54310e0b_95972878.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/217736c0afc3f193be145c2acdc70011_88829387.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/10d90966fd4ed3d1cf353accb2354b8f_51979834.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1620b6eba512d2f62e4c979ef85260aa_74252240.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/87c88d930ad4726c9e2170d12e72150e_12154816.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0b853e1c3a8763aec15b9d246ce11f8a_91993280.png change filename to text .imagette206086411739854414/ imagette206086411739854414/1739797533_2681938_1338161803_b74c1539f5d7d7711e6dae0d59256db9_rle_crop_3678019277_0.png.png imagette206086411739854414/1739798354_2703302_1338163951_b219079b50d884c598bd9cefa828f82a_rle_crop_3678035095_0.png.png imagette206086411739854414/1739798013_2689983_1338163791_3127ef83a4ac59d509cd041f0ac59530_rle_crop_3678025188_0.png.png imagette206086411739854414/1739798113_2692352_1338163872_d118d4407b70bdca27236033b3a91e89_rle_crop_3678031198_0.png.png imagette206086411739854414/1739797513_2681642_1338161774_e8e43f7677e8695ab3f6c43a8f160fd1_rle_crop_3678017083_0.png.png imagette206086411739854414/1739798113_2692352_1338163869_f64aa3aab6f9d3f65297ee282c6862d7_rle_crop_3678031230_0.png.png imagette206086411739854414/1739797533_2681938_1338161771_757909757b808c8e4db6f1869d7a7a40_rle_crop_3678019303_0.png.png imagette206086411739854414/1739798113_2692352_1338163876_04522fa9139a80761b1ca5ca6ad8664a_rle_crop_3678027438_0.png.png imagette206086411739854414/1739798113_2692352_1338163869_f64aa3aab6f9d3f65297ee282c6862d7_rle_crop_3678031223_0.png.png imagette206086411739854414/1739798113_2692352_1338163872_d118d4407b70bdca27236033b3a91e89_rle_crop_3678031206_0.png.png imagette206086411739854414/1739799951_2729095_1338161529_1697ebeb90b9700d0fb37662aa2522c8_rle_crop_3678047919_0.png.png imagette206086411739854414/1739797533_2681938_1338161757_22d7d1a17e8104016432d74574f8559c_rle_crop_3678020272_0.png.png imagette206086411739854414/1739797392_2679844_1338161289_99745e348227f24e075731a450b5eaf2_rle_crop_3678016214_0.png.png imagette206086411739854414/1739798354_2703302_1338164017_a19cef2d89608508f2d5db5432a0200c_rle_crop_3678035050_0.png.png imagette206086411739854414/1739799951_2729095_1338161289_99745e348227f24e075731a450b5eaf2_rle_crop_3678016214_0.png.png imagette206086411739854414/1739797513_2681642_1338161518_a0543162fb963a3535e1f98badcca5dc_rle_crop_3678019237_0.png.png wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a1d94c001c611779ec524d209c59f30b_19321798.png imagette206086411739854414 20608642 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=20608642 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1338161806: '1739797392_2679844_1338161285_7429dbb9409ad71c940962c04922a720_rle_crop_3678016311_0.png', 1338162601: '1739797491_2681362_1338161800_10efed075dbe3a6a5f6650cf75c8074b_rle_crop_3678016684_0.png', 1338162602: '1739797491_2681362_1338161798_2a1ada5dc834283fe974e807fe52527b_rle_crop_3678016726_0.png', 1338163902: '1739797972_2689483_1338163836_cf051406590dd49d531395214b528777_rle_crop_3678024816_0.png', 1338163932: '1739798013_2689983_1338163791_3127ef83a4ac59d509cd041f0ac59530_rle_crop_3678025182_0.png', 1338164148: '1739798113_2692352_1338163912_c1961a835dab8c0feb828c694c9dbca2_rle_crop_3678027419_0.png', 1338164149: '1739798113_2692352_1338163872_d118d4407b70bdca27236033b3a91e89_rle_crop_3678031199_0.png', 1338164150: '1739798113_2692352_1338163869_f64aa3aab6f9d3f65297ee282c6862d7_rle_crop_3678031218_0.png', 1338167598: '1739799931_2728940_1338163836_cf051406590dd49d531395214b528777_rle_crop_3678024816_0.png', 1338167612: '1739799951_2729095_1338161285_7429dbb9409ad71c940962c04922a720_rle_crop_3678016311_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9038ed494207174623d9f43256a00aaf_59941447.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d4a528bc7e90ba172b608647ed9b45ab_35649983.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f5ebbbfe7dcf453de86c9e60bcb4748a_8073602.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/74c0b09fe37304591c60572589bee5a6_1069206.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b3c6967a497281a73e09b1af4142d6f5_32316459.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/413243d404e4dc85f91be31b276fcef5_5019467.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7926e29f480193d82357ff3009d327f6_81620182.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2d33a2a6dc10da9fd4edc1313b8b6dc4_18857116.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/74c0b09fe37304591c60572589bee5a6_10234132.png change filename to text .imagette206086421739854416/ imagette206086421739854416/1739797491_2681362_1338161800_10efed075dbe3a6a5f6650cf75c8074b_rle_crop_3678016684_0.png.png imagette206086421739854416/1739798113_2692352_1338163872_d118d4407b70bdca27236033b3a91e89_rle_crop_3678031199_0.png.png imagette206086421739854416/1739798113_2692352_1338163912_c1961a835dab8c0feb828c694c9dbca2_rle_crop_3678027419_0.png.png imagette206086421739854416/1739798013_2689983_1338163791_3127ef83a4ac59d509cd041f0ac59530_rle_crop_3678025182_0.png.png imagette206086421739854416/1739797392_2679844_1338161285_7429dbb9409ad71c940962c04922a720_rle_crop_3678016311_0.png.png imagette206086421739854416/1739797491_2681362_1338161798_2a1ada5dc834283fe974e807fe52527b_rle_crop_3678016726_0.png.png imagette206086421739854416/1739798113_2692352_1338163869_f64aa3aab6f9d3f65297ee282c6862d7_rle_crop_3678031218_0.png.png imagette206086421739854416/1739797972_2689483_1338163836_cf051406590dd49d531395214b528777_rle_crop_3678024816_0.png.png imagette206086421739854416/1739799931_2728940_1338163836_cf051406590dd49d531395214b528777_rle_crop_3678024816_0.png.png imagette206086421739854416/1739799951_2729095_1338161285_7429dbb9409ad71c940962c04922a720_rle_crop_3678016311_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9038ed494207174623d9f43256a00aaf_56931531.png imagette206086421739854416 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20608630 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20608646,20608647,20608648,20608649,20608650,20608651,20608652,20608653,20608654,20608655,20608656,20608657?tags=autre_refus,Carton_brun,cartonnette,metal,flou,papier,mal_croppe,Teint_Dans_La_Masse,Carton_gris,environnement,kraft,plastique your option no_mail is active, we will not send the real mail to your client args[1338164017] : ('0.05132864079102073',) no score found for photo 1338164017 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338163958] : ('0.05132864079102073',) no score found for photo 1338163958 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338163955] : ('0.05132864079102073',) no score found for photo 1338163955 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338163953] : ('0.05132864079102073',) no score found for photo 1338163953 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338163951] : ('0.05132864079102073',) no score found for photo 1338163951 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338163949] : ('0.05132864079102073',) no score found for photo 1338163949 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338163912] : ('0.05132864079102073',) no score found for photo 1338163912 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338163909] : ('0.05132864079102073',) no score found for photo 1338163909 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338163907] : ('0.05132864079102073',) no score found for photo 1338163907 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338163906] : ('0.05132864079102073',) no score found for photo 1338163906 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338163879] : ('0.05132864079102073',) no score found for photo 1338163879 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338163876] : ('0.05132864079102073',) no score found for photo 1338163876 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338163874] : ('0.05132864079102073',) no score found for photo 1338163874 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338163872] : ('0.05132864079102073',) no score found for photo 1338163872 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338163869] : ('0.05132864079102073',) no score found for photo 1338163869 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338163837] : ('0.05132864079102073',) no score found for photo 1338163837 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338163836] : ('0.05132864079102073',) no score found for photo 1338163836 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338163834] : ('0.05132864079102073',) no score found for photo 1338163834 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338163832] : ('0.05132864079102073',) no score found for photo 1338163832 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338163796] : ('0.05132864079102073',) no score found for photo 1338163796 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338163794] : ('0.05132864079102073',) no score found for photo 1338163794 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338163792] : ('0.05132864079102073',) no score found for photo 1338163792 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338163791] : ('0.05132864079102073',) no score found for photo 1338163791 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338163552] : ('0.05132864079102073',) no score found for photo 1338163552 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338163539] : ('0.05132864079102073',) no score found for photo 1338163539 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338161803] : ('0.05132864079102073',) no score found for photo 1338161803 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338161800] : ('0.05132864079102073',) no score found for photo 1338161800 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338161798] : ('0.05132864079102073',) no score found for photo 1338161798 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338161774] : ('0.05132864079102073',) no score found for photo 1338161774 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338161771] : ('0.05132864079102073',) no score found for photo 1338161771 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338161764] : ('0.05132864079102073',) no score found for photo 1338161764 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338161757] : ('0.05132864079102073',) no score found for photo 1338161757 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338161529] : ('0.05132864079102073',) no score found for photo 1338161529 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338161524] : ('0.05132864079102073',) no score found for photo 1338161524 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338161521] : ('0.05132864079102073',) no score found for photo 1338161521 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338161518] : ('0.05132864079102073',) no score found for photo 1338161518 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338161515] : ('0.05132864079102073',) no score found for photo 1338161515 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338161381] : ('0.05132864079102073',) no score found for photo 1338161381 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338161291] : ('0.05132864079102073',) no score found for photo 1338161291 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338161289] : ('0.05132864079102073',) no score found for photo 1338161289 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com args[1338161285] : ('0.05132864079102073',) no score found for photo 1338161285 apple ('0.05132864079102073',) We are sending mail with results at report@fotonower.com refus_total : 0.05132864079102073 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=20608630 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_P20608630_18-02-2025_05_53_30.pdf results_Auto_P20608630_18-02-2025_05_53_30.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20608630_18-02-2025_05_53_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','20608630','results_Auto_P20608630_18-02-2025_05_53_30.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20608630_18-02-2025_05_53_30.pdf','pdf','','0.49','0.05132864079102073') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20608630]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1338164017, 1338163958, 1338163955, 1338163953, 1338163951, 1338163949, 1338163912, 1338163909, 1338163907, 1338163906, 1338163879, 1338163876, 1338163874, 1338163872, 1338163869, 1338163837, 1338163836, 1338163834, 1338163832, 1338163796, 1338163794, 1338163792, 1338163791, 1338163552, 1338163539, 1338161803, 1338161800, 1338161798, 1338161774, 1338161771, 1338161764, 1338161757, 1338161529, 1338161524, 1338161521, 1338161518, 1338161515, 1338161381, 1338161291, 1338161289, 1338161285] map_info['map_portfolio_photo'] : {20608630: [1338164017, 1338163958, 1338163955, 1338163953, 1338163951, 1338163949, 1338163912, 1338163909, 1338163907, 1338163906, 1338163879, 1338163876, 1338163874, 1338163872, 1338163869, 1338163837, 1338163836, 1338163834, 1338163832, 1338163796, 1338163794, 1338163792, 1338163791, 1338163552, 1338163539, 1338161803, 1338161800, 1338161798, 1338161774, 1338161771, 1338161764, 1338161757, 1338161529, 1338161524, 1338161521, 1338161518, 1338161515, 1338161381, 1338161291, 1338161289, 1338161285]} final : False mtd_id 4302 list_pids : [1338164017, 1338163958, 1338163955, 1338163953, 1338163951, 1338163949, 1338163912, 1338163909, 1338163907, 1338163906, 1338163879, 1338163876, 1338163874, 1338163872, 1338163869, 1338163837, 1338163836, 1338163834, 1338163832, 1338163796, 1338163794, 1338163792, 1338163791, 1338163552, 1338163539, 1338161803, 1338161800, 1338161798, 1338161774, 1338161771, 1338161764, 1338161757, 1338161529, 1338161524, 1338161521, 1338161518, 1338161515, 1338161381, 1338161291, 1338161289, 1338161285] 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, '2595266') ('4302', '20608630', '1338164017', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163958', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163955', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163953', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163951', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163949', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163912', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163909', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163907', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163906', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163879', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163876', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163874', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163872', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163869', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163837', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163836', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163834', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163832', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163796', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163794', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163792', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163791', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163552', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163539', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161803', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161800', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161798', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161774', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161771', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161764', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161757', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161529', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161524', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161521', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161518', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161515', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161381', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161291', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161289', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161285', None, None, None, None, None, '2595266') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '20608630', '1338164017', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163958', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163955', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163953', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163951', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163949', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163912', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163909', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163907', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163906', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163879', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163876', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163874', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163872', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163869', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163837', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163836', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163834', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163832', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163796', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163794', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163792', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163791', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163552', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163539', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161803', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161800', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161798', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161774', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161771', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161764', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161757', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161529', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161524', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161521', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161518', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161515', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161381', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161291', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161289', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161285', None, None, None, None, None, '2595266')] time used for this insertion : 0.04154777526855469 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.074574708938599 time spend to save output : 0.04195356369018555 total time spend for step 4 : 11.116528272628784 step5:split_time_score Tue Feb 18 05:53: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 : ['20608630'] 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 : [('20608630',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20608630) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1338163951: {'path': 'temp/1739854408_2382852_1338163951_b219079b50d884c598bd9cefa828f82a.jpg', 'extension': 'jpg'}, 1338163953: {'path': 'temp/1739854408_2382852_1338163953_005232e63a762dc91dae56374c993dd4.jpg', 'extension': 'jpg'}, 1338163955: {'path': 'temp/1739854408_2382852_1338163955_f5bb3989f02a620269a33b5e176cbde3.jpg', 'extension': 'jpg'}, 1338163958: {'path': 'temp/1739854408_2382852_1338163958_9dd3f5c235bd67617f54ad74d190f06a.jpg', 'extension': 'jpg'}, 1338164017: {'path': 'temp/1739854408_2382852_1338164017_a19cef2d89608508f2d5db5432a0200c.jpg', 'extension': 'jpg'}, 1338163791: {'path': 'temp/1739854408_2382852_1338163791_3127ef83a4ac59d509cd041f0ac59530.jpg', 'extension': 'jpg'}, 1338163792: {'path': 'temp/1739854408_2382852_1338163792_a7cb653597223989850cddf1ace16db4.jpg', 'extension': 'jpg'}, 1338163794: {'path': 'temp/1739854408_2382852_1338163794_0c64fb69c366411c759097a9bd70c49d.jpg', 'extension': 'jpg'}, 1338163796: {'path': 'temp/1739854408_2382852_1338163796_ffeb61d5ffef2e1fc8bca50dceb2b336.jpg', 'extension': 'jpg'}, 1338163832: {'path': 'temp/1739854408_2382852_1338163832_ee332f47545eac3bca53229020489836.jpg', 'extension': 'jpg'}, 1338163834: {'path': 'temp/1739854408_2382852_1338163834_41d4314488c5f283521eba589c80eca1.jpg', 'extension': 'jpg'}, 1338163836: {'path': 'temp/1739854408_2382852_1338163836_cf051406590dd49d531395214b528777.jpg', 'extension': 'jpg'}, 1338163837: {'path': 'temp/1739854408_2382852_1338163837_a441986323f74c61eff0c5f9613ee79d.jpg', 'extension': 'jpg'}, 1338163869: {'path': 'temp/1739854408_2382852_1338163869_f64aa3aab6f9d3f65297ee282c6862d7.jpg', 'extension': 'jpg'}, 1338163872: {'path': 'temp/1739854408_2382852_1338163872_d118d4407b70bdca27236033b3a91e89.jpg', 'extension': 'jpg'}, 1338163874: {'path': 'temp/1739854408_2382852_1338163874_0c244ad0133c19e3901ecbf1557de3ff.jpg', 'extension': 'jpg'}, 1338163876: {'path': 'temp/1739854408_2382852_1338163876_04522fa9139a80761b1ca5ca6ad8664a.jpg', 'extension': 'jpg'}, 1338163879: {'path': 'temp/1739854408_2382852_1338163879_cd4ce74838191baf2fcdb1a0fc55e8c6.jpg', 'extension': 'jpg'}, 1338163906: {'path': 'temp/1739854408_2382852_1338163906_5c2ae29ef8828edfbf93d4c11af224b1.jpg', 'extension': 'jpg'}, 1338163907: {'path': 'temp/1739854408_2382852_1338163907_0b5056b462f68a4eadce0f9ae32735cd.jpg', 'extension': 'jpg'}, 1338163909: {'path': 'temp/1739854408_2382852_1338163909_d664ee66dbd6b04e0714991b800896e8.jpg', 'extension': 'jpg'}, 1338163912: {'path': 'temp/1739854408_2382852_1338163912_c1961a835dab8c0feb828c694c9dbca2.jpg', 'extension': 'jpg'}, 1338163949: {'path': 'temp/1739854408_2382852_1338163949_a3821b8537baf4d86a3dd840155ffa63.jpg', 'extension': 'jpg'}, 1338161757: {'path': 'temp/1739854408_2382852_1338161757_22d7d1a17e8104016432d74574f8559c.jpg', 'extension': 'jpg'}, 1338161764: {'path': 'temp/1739854408_2382852_1338161764_7165ef438701cb5936423967e2628de6.jpg', 'extension': 'jpg'}, 1338161771: {'path': 'temp/1739854408_2382852_1338161771_757909757b808c8e4db6f1869d7a7a40.jpg', 'extension': 'jpg'}, 1338161774: {'path': 'temp/1739854408_2382852_1338161774_e8e43f7677e8695ab3f6c43a8f160fd1.jpg', 'extension': 'jpg'}, 1338161798: {'path': 'temp/1739854408_2382852_1338161798_2a1ada5dc834283fe974e807fe52527b.jpg', 'extension': 'jpg'}, 1338161800: {'path': 'temp/1739854408_2382852_1338161800_10efed075dbe3a6a5f6650cf75c8074b.jpg', 'extension': 'jpg'}, 1338161803: {'path': 'temp/1739854408_2382852_1338161803_b74c1539f5d7d7711e6dae0d59256db9.jpg', 'extension': 'jpg'}, 1338163539: {'path': 'temp/1739854408_2382852_1338163539_38a92f5bdfd8a8f76268e941af67bf6c.jpg', 'extension': 'jpg'}, 1338163552: {'path': 'temp/1739854408_2382852_1338163552_3bd97045774c4b7120dbd144d9d5f709.jpg', 'extension': 'jpg'}, 1338161285: {'path': 'temp/1739854408_2382852_1338161285_7429dbb9409ad71c940962c04922a720.jpg', 'extension': 'jpg'}, 1338161289: {'path': 'temp/1739854408_2382852_1338161289_99745e348227f24e075731a450b5eaf2.jpg', 'extension': 'jpg'}, 1338161291: {'path': 'temp/1739854408_2382852_1338161291_7bd42ab1b47f31c4f1df89b6fad36f20.jpg', 'extension': 'jpg'}, 1338161381: {'path': 'temp/1739854408_2382852_1338161381_ac6125070f7393fb592f01a886920ecf.jpg', 'extension': 'jpg'}, 1338161515: {'path': 'temp/1739854408_2382852_1338161515_b454ec83f19d7fa8e142574fcfd5ae5a.jpg', 'extension': 'jpg'}, 1338161518: {'path': 'temp/1739854408_2382852_1338161518_a0543162fb963a3535e1f98badcca5dc.jpg', 'extension': 'jpg'}, 1338161521: {'path': 'temp/1739854408_2382852_1338161521_899a414d19d79025096dfd7ab74f43b7.jpg', 'extension': 'jpg'}, 1338161524: {'path': 'temp/1739854408_2382852_1338161524_ea7a7bce855f5432cdfd8b677154abfa.jpg', 'extension': 'jpg'}, 1338161529: {'path': 'temp/1739854408_2382852_1338161529_1697ebeb90b9700d0fb37662aa2522c8.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 = 20608630; (('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 = 20608630 group by h (('14', 41),) 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=20608630 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 (20608630) 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 (20608630) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 17022025 20608630 Nombre de photos uploadées : 41 / 23040 (0%) 17022025 20608630 Nombre de photos taguées (types de déchets): 0 / 41 (0%) 17022025 20608630 Nombre de photos taguées (volume) : 0 / 41 (0%) [{'photo_id': 1338161381, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ac6125070f7393fb592f01a886920ecf.jpg', 'username': None, 'uploaded_at': 1739797266, 'text': 'image_17022025_14_00_15_010195m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1338161291, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7bd42ab1b47f31c4f1df89b6fad36f20.jpg', 'username': None, 'uploaded_at': 1739797266, 'text': 'image_17022025_14_00_25_010136m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1338161289, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/99745e348227f24e075731a450b5eaf2.jpg', 'username': None, 'uploaded_at': 1739797266, 'text': 'image_17022025_14_00_35_010143m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1338161285, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7429dbb9409ad71c940962c04922a720.jpg', 'username': None, 'uploaded_at': 1739797266, 'text': 'image_17022025_14_00_45_010137m0.jpg 4e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 3.814697265625e-06 ????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0015473365783691406 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20608630, '2025-02-17' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1607134,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.028426408767700195 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= 1607134 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20594280, 'dashboard_result_id': 8943577, '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_P20594280_18-02-2025_05_34_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20594282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20594283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20594284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20594285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20594286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20594287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20594288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20594289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20594290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20594291, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20594292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20594293, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20594332, 'dashboard_result_id': 8943578, '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_P20594332_18-02-2025_05_35_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20594334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20594335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20594336, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20594337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20594338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20594339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20594340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20594341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20594342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20594343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20594344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20594345, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20594486, 'dashboard_result_id': 8943579, '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_P20594486_18-02-2025_05_35_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20594488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20594489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20594490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20594491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20594492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20594493, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20594494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20594495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20594496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20594497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20594498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20594499, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20594872, 'dashboard_result_id': 8943580, '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_P20594872_18-02-2025_05_36_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20594922, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20594923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20594924, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20594925, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20594926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20594927, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20594928, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20594929, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20594930, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20594931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20594932, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20594933, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20595236, 'dashboard_result_id': 8943581, '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_P20595236_18-02-2025_05_37_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20595239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20595240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20595241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20595242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20595243, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20595244, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20595245, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20595246, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20595247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20595248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20595249, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20595250, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20595343, 'dashboard_result_id': 8943582, '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_P20595343_18-02-2025_05_38_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20595344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20595345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20595346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20595347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20595348, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20595349, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20595350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20595351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20595352, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20595353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20595354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20595355, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20595598, 'dashboard_result_id': 8943583, '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_P20595598_18-02-2025_05_38_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20595600, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20595601, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20595602, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20595603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20595604, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20595605, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20595606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20595607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20595608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20595609, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20595610, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20595611, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20595820, 'dashboard_result_id': 8943584, '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_P20595820_18-02-2025_05_39_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20595849, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20595850, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20595851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20595852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20595853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20595854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20595855, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20595856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20595857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20595858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20595859, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20595860, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20596067, 'dashboard_result_id': 8943585, '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_P20596067_18-02-2025_05_40_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20596135, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20596136, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20596137, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20596138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20596139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20596140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20596141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20596142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20596143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20596144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20596145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20596146, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20596959, 'dashboard_result_id': 8943586, '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_P20596959_18-02-2025_05_40_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20596961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20596962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20596963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20596964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20596965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20596966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20596967, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20596968, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20596969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20596970, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20596971, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20596972, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20597365, 'dashboard_result_id': 8943587, '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_P20597365_18-02-2025_05_41_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20597370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20597371, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20597372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20597373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20597374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20597375, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20597376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20597377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20597378, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20597379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20597380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20597381, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20597866, 'dashboard_result_id': 8943588, '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_P20597866_18-02-2025_05_42_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20597871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20597872, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20597873, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20597874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20597875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20597876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20597877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20597878, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20597879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20597880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20597881, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20597882, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20598303, 'dashboard_result_id': 8943589, '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_P20598303_18-02-2025_05_43_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20598306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20598307, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20598308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20598309, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20598310, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20598311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20598312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20598313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20598314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20598315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20598316, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20598317, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20598844, 'dashboard_result_id': 8943590, '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_P20598844_18-02-2025_05_43_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20598883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20598884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20598885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20598886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20598887, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20598888, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20598889, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20598890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20598891, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20598892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20598893, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20598894, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20599330, 'dashboard_result_id': 8943591, '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_P20599330_18-02-2025_05_44_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20599334, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20599335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20599336, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20599337, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20599338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20599339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20599340, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20599341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20599342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20599343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20599344, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20599345, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20600382, 'dashboard_result_id': 8943592, '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_P20600382_18-02-2025_05_44_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20600384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20600385, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20600386, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20600387, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20600388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20600389, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20600390, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20600391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20600392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20600393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20600394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20600395, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20600895, 'dashboard_result_id': 8943593, '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_P20600895_18-02-2025_05_45_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20600898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20600899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20600900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20600901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20600902, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20600903, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20600904, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20600905, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20600906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20600907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20600908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20600909, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20601335, 'dashboard_result_id': 8943594, '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_P20601335_18-02-2025_05_46_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20601363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20601364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20601365, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20601366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20601367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20601368, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20601369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20601370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20601371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20601372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20601373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20601374, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20601878, 'dashboard_result_id': 8943595, '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_P20601878_18-02-2025_05_47_06.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20601906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20601907, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20601908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20601909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20601910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20601911, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20601912, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20601913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20601914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20601915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20601916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20601917, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20602408, 'dashboard_result_id': 8943596, '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_P20602408_18-02-2025_05_47_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20602437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20602438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20602439, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20602440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20602441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20602442, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20602443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20602444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20602445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20602446, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20602447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20602448, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20602902, 'dashboard_result_id': 8943597, '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_P20602902_18-02-2025_05_48_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20602954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20602955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20602956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20602957, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20602958, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20602959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20602960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20602961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20602962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20602963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20602964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20602965, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20603399, 'dashboard_result_id': 8943598, '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_P20603399_18-02-2025_05_48_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20603419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20603420, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20603421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20603422, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20603424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20603425, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20603426, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20603427, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20603428, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20603429, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20603430, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20603431, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20604235, 'dashboard_result_id': 8943599, '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_P20604235_18-02-2025_05_50_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20604266, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20604267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20604268, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20604269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20604270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20604271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20604272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20604273, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20604274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20604275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20604276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20604277, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20605068, 'dashboard_result_id': 8943600, '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_P20605068_18-02-2025_05_50_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20605077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20605078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20605079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20605080, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20605081, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20605082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20605083, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20605084, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20605085, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20605086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20605087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20605088, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20605919, 'dashboard_result_id': 8943601, '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_P20605919_18-02-2025_05_51_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20605924, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20605925, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20605926, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20605927, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20605928, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20605929, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20605930, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20605931, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20605932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20605933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20605934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20605935, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20606546, 'dashboard_result_id': 8943602, '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_P20606546_18-02-2025_05_51_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20606575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20606576, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20606577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20606578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20606579, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20606580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20606581, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20606582, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20606583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20606584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20606585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20606586, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20608349, 'dashboard_result_id': 8943603, '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_P20608349_18-02-2025_05_52_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20608351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20608352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20608353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20608354, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20608355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20608356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20608357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20608358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20608359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20608360, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20608361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20608362, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20608630, 'dashboard_result_id': 8943604, '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_P20608630_17-02-2025_14_18_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20608634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20608635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20608636, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20608637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20608638, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20608639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20608640, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20608641, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20608642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20608643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20608644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20608645, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20608978, 'dashboard_result_id': 8943605, '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_P20608978_18-02-2025_00_02_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20608982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20608983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20608984, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20608985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20608986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20608987, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20608988, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20608989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20608990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20608991, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20608992, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20608993, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20610400, 'dashboard_result_id': 8943606, '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_P20610400_17-02-2025_15_47_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20610402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20610403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20610404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20610405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20610406, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20610407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20610408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20610409, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20610410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20610411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20610412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20610413, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20610537, 'dashboard_result_id': 8943607, '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_P20610537_17-02-2025_16_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20610540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20610541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20610542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20610543, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20610544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20610545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20610546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20610547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20610548, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20610549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20610550, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20610551, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20610930, 'dashboard_result_id': 8943608, '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_P20610930_17-02-2025_16_17_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20610958, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20610959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20610960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20610961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20610962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20610963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20610964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20610965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20610966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20610967, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20610968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20610969, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20611466, 'dashboard_result_id': 8943609, '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_P20611466_17-02-2025_16_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20611494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20611495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20611496, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20611497, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20611498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20611499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20611500, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20611501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20611502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20611503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20611504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20611505, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20612080, 'dashboard_result_id': 8943610, '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_P20612080_17-02-2025_16_48_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20612141, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20612142, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20612143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20612144, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20612145, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20612146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20612147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20612148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20612149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20612150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20612151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20612152, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20612767, 'dashboard_result_id': 8943611, '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_P20612767_17-02-2025_17_02_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20612821, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20612822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20612823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20612824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20612825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20612826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20612827, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20612828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20612829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20612830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20612831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20612832, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20613570, 'dashboard_result_id': 8943612, '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_P20613570_17-02-2025_17_19_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20613598, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20613599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20613600, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20613601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20613602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20613603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20613604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20613605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20613606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20613607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20613608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20613609, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20614317, 'dashboard_result_id': 8943613, '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_P20614317_17-02-2025_17_32_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20614324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20614325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20614326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20614327, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20614328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20614329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20614330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20614331, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20614332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20614333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20614334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20614335, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20615941, 'dashboard_result_id': 8943614, '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_P20615941_17-02-2025_18_19_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20615944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20615945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20615946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20615947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20615948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20615949, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20615950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20615951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20615952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20615953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20615954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20615955, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20616392, 'dashboard_result_id': 8943615, '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_P20616392_17-02-2025_18_32_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20616395, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20616396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20616397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20616398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20616399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20616400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20616401, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20616402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20616403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20616404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20616405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20616406, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20616912, 'dashboard_result_id': 8943616, '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_P20616912_17-02-2025_18_46_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20616961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20616962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20616963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20616964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20616965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20616966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20616967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20616968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20616969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20616970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20616971, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20616972, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20617382, 'dashboard_result_id': 8943617, '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_P20617382_17-02-2025_19_03_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20617408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20617409, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20617410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20617411, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20617412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20617413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20617414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20617415, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20617416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20617417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20617418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20617419, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20617949, 'dashboard_result_id': 8943618, '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_P20617949_17-02-2025_19_16_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20617953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20617954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20617955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20617956, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20617957, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20617958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20617959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20617960, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20617961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20617962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20617963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20617964, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20618403, 'dashboard_result_id': 8943619, '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_P20618403_17-02-2025_19_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20618410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20618411, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20618412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20618413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20618414, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20618415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20618416, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20618417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20618418, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20618419, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20618420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20618421, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20619056, 'dashboard_result_id': 8943620, '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_P20619056_17-02-2025_19_46_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20619085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20619086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20619087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20619088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20619089, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20619090, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20619091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20619092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20619093, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20619094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20619095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20619096, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20619597, 'dashboard_result_id': 8943621, '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_P20619597_17-02-2025_20_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20619629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20619630, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20619631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20619632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20619633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20619634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20619635, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20619636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20619637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20619638, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20619639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20619640, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20620365, 'dashboard_result_id': 8943622, '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_P20620365_17-02-2025_20_16_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20620368, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20620369, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20620370, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20620371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20620372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20620373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20620374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20620375, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20620376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20620377, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20620378, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20620379, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20620922, 'dashboard_result_id': 8943623, '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_P20620922_17-02-2025_20_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20620954, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20620955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20620956, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20620957, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20620958, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20620959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20620960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20620961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20620962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20620963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20620964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20620965, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20621658, 'dashboard_result_id': 8943624, '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_P20621658_17-02-2025_21_08_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20621731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20621737, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20621738, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20621739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20621740, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20621741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20621742, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20621743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20621744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20621745, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20621746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20621747, 'pht': 3726}}"}, {'dashboat_entry_day': 1607134, 'dashboard_run_id': 1617283, 'mtr_portfolio_id': 20623013, 'dashboard_result_id': 8943625, '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_P20623013_17-02-2025_21_36_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20623015, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20623016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20623017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20623018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20623019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20623020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20623021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20623022, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20623023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20623024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20623025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20623026, '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 = 20594280 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': 2595239, 'mtr_portfolio_id': 20594280, 'created_at': datetime.datetime(2025, 2, 18, 5, 34, 28), 'result': '0.031063193329435315', 'result_long': None, 'result_double': None}] Qualite : 0.031063193329435315 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20594280 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20594280_18-02-2025_05_34_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20594280 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_P20594280_18-02-2025_05_34_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20594282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20594283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20594284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20594285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20594286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20594287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20594288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20594289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20594290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20594291, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20594292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20594293, 'pht': 3726}}" where mtr_portfolio_id = 20594280 and dashboard_run_id = 1617283 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`=20594280 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943577, 0.031063193329435315, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20594280_18-02-2025_05_34_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20594282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20594283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20594284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20594285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20594286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20594287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20594288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20594289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20594290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20594291, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20594292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20594293, '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 = 20594332 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': 2595240, 'mtr_portfolio_id': 20594332, 'created_at': datetime.datetime(2025, 2, 18, 5, 35, 33), 'result': '0.017859220760834744', 'result_long': None, 'result_double': None}] Qualite : 0.017859220760834744 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20594332 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20594332_18-02-2025_05_35_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20594332 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_P20594332_18-02-2025_05_35_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20594334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20594335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20594336, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20594337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20594338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20594339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20594340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20594341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20594342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20594343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20594344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20594345, 'pht': 3726}}" where mtr_portfolio_id = 20594332 and dashboard_run_id = 1617283 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`=20594332 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943578, 0.017859220760834744, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20594332_18-02-2025_05_35_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20594334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20594335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20594336, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20594337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20594338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20594339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20594340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20594341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20594342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20594343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20594344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20594345, '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 = 20594486 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': 2595241, 'mtr_portfolio_id': 20594486, 'created_at': datetime.datetime(2025, 2, 18, 5, 35, 57), 'result': '0.043166612285531536', 'result_long': None, 'result_double': None}] Qualite : 0.043166612285531536 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20594486 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20594486_18-02-2025_05_35_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20594486 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_P20594486_18-02-2025_05_35_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20594488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20594489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20594490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20594491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20594492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20594493, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20594494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20594495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20594496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20594497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20594498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20594499, 'pht': 3726}}" where mtr_portfolio_id = 20594486 and dashboard_run_id = 1617283 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`=20594486 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943579, 0.043166612285531536, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20594486_18-02-2025_05_35_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20594488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20594489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20594490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20594491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20594492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20594493, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20594494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20594495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20594496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20594497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20594498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20594499, '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 = 20594872 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': 2595242, 'mtr_portfolio_id': 20594872, 'created_at': datetime.datetime(2025, 2, 18, 5, 36, 33), 'result': '0.041389908026938274', 'result_long': None, 'result_double': None}] Qualite : 0.041389908026938274 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20594872 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20594872_18-02-2025_05_36_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20594872 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_P20594872_18-02-2025_05_36_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20594922, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20594923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20594924, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20594925, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20594926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20594927, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20594928, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20594929, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20594930, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20594931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20594932, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20594933, 'pht': 3726}}" where mtr_portfolio_id = 20594872 and dashboard_run_id = 1617283 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`=20594872 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943580, 0.041389908026938274, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20594872_18-02-2025_05_36_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20594922, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20594923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20594924, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20594925, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20594926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20594927, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20594928, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20594929, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20594930, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20594931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20594932, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20594933, '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 = 20595236 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': 2595243, 'mtr_portfolio_id': 20595236, 'created_at': datetime.datetime(2025, 2, 18, 5, 37, 31), 'result': '0.03426884123908907', 'result_long': None, 'result_double': None}] Qualite : 0.03426884123908907 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20595236 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20595236_18-02-2025_05_37_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20595236 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_P20595236_18-02-2025_05_37_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20595239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20595240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20595241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20595242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20595243, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20595244, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20595245, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20595246, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20595247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20595248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20595249, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20595250, 'pht': 3726}}" where mtr_portfolio_id = 20595236 and dashboard_run_id = 1617283 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`=20595236 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943581, 0.03426884123908907, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20595236_18-02-2025_05_37_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20595239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20595240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20595241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20595242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20595243, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20595244, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20595245, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20595246, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20595247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20595248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20595249, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20595250, '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 = 20595343 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': 2595244, 'mtr_portfolio_id': 20595343, 'created_at': datetime.datetime(2025, 2, 18, 5, 38, 1), 'result': '0.05130504646756856', 'result_long': None, 'result_double': None}] Qualite : 0.05130504646756856 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20595343 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20595343_18-02-2025_05_38_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20595343 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_P20595343_18-02-2025_05_38_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20595344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20595345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20595346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20595347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20595348, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20595349, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20595350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20595351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20595352, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20595353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20595354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20595355, 'pht': 3726}}" where mtr_portfolio_id = 20595343 and dashboard_run_id = 1617283 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`=20595343 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943582, 0.05130504646756856, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20595343_18-02-2025_05_38_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20595344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20595345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20595346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20595347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20595348, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20595349, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20595350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20595351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20595352, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20595353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20595354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20595355, '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 = 20595598 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': 2595245, 'mtr_portfolio_id': 20595598, 'created_at': datetime.datetime(2025, 2, 18, 5, 38, 32), 'result': '0.045798816004807036', 'result_long': None, 'result_double': None}] Qualite : 0.045798816004807036 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20595598 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20595598_18-02-2025_05_38_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20595598 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_P20595598_18-02-2025_05_38_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20595600, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20595601, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20595602, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20595603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20595604, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20595605, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20595606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20595607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20595608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20595609, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20595610, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20595611, 'pht': 3726}}" where mtr_portfolio_id = 20595598 and dashboard_run_id = 1617283 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`=20595598 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943583, 0.045798816004807036, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20595598_18-02-2025_05_38_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20595600, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20595601, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20595602, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20595603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20595604, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20595605, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20595606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20595607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20595608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20595609, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20595610, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20595611, '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 = 20595820 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': 2595246, 'mtr_portfolio_id': 20595820, 'created_at': datetime.datetime(2025, 2, 18, 5, 39, 29), 'result': '0.05063497672589863', 'result_long': None, 'result_double': None}] Qualite : 0.05063497672589863 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20595820 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20595820_18-02-2025_05_39_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20595820 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_P20595820_18-02-2025_05_39_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20595849, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20595850, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20595851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20595852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20595853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20595854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20595855, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20595856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20595857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20595858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20595859, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20595860, 'pht': 3726}}" where mtr_portfolio_id = 20595820 and dashboard_run_id = 1617283 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`=20595820 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943584, 0.05063497672589863, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20595820_18-02-2025_05_39_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20595849, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20595850, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20595851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20595852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20595853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20595854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20595855, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20595856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20595857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20595858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20595859, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20595860, '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 = 20596067 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': 2595247, 'mtr_portfolio_id': 20596067, 'created_at': datetime.datetime(2025, 2, 18, 5, 39, 59), 'result': '0.04278884657464817', 'result_long': None, 'result_double': None}] Qualite : 0.04278884657464817 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20596067 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20596067_18-02-2025_05_40_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20596067 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_P20596067_18-02-2025_05_40_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20596135, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20596136, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20596137, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20596138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20596139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20596140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20596141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20596142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20596143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20596144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20596145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20596146, 'pht': 3726}}" where mtr_portfolio_id = 20596067 and dashboard_run_id = 1617283 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`=20596067 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943585, 0.04278884657464817, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20596067_18-02-2025_05_40_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20596135, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20596136, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20596137, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20596138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20596139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20596140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20596141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20596142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20596143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20596144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20596145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20596146, '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 = 20596959 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': 2595248, 'mtr_portfolio_id': 20596959, 'created_at': datetime.datetime(2025, 2, 18, 5, 40, 27), 'result': '0.06365823375523438', 'result_long': None, 'result_double': None}] Qualite : 0.06365823375523438 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20596959 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20596959_18-02-2025_05_40_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20596959 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_P20596959_18-02-2025_05_40_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20596961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20596962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20596963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20596964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20596965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20596966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20596967, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20596968, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20596969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20596970, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20596971, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20596972, 'pht': 3726}}" where mtr_portfolio_id = 20596959 and dashboard_run_id = 1617283 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`=20596959 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943586, 0.06365823375523438, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20596959_18-02-2025_05_40_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20596961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20596962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20596963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20596964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20596965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20596966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20596967, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20596968, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20596969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20596970, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20596971, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20596972, '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 = 20597365 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': 2595249, 'mtr_portfolio_id': 20597365, 'created_at': datetime.datetime(2025, 2, 18, 5, 41, 33), 'result': '0.04739588051523087', 'result_long': None, 'result_double': None}] Qualite : 0.04739588051523087 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20597365 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20597365_18-02-2025_05_41_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20597365 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_P20597365_18-02-2025_05_41_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20597370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20597371, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20597372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20597373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20597374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20597375, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20597376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20597377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20597378, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20597379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20597380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20597381, 'pht': 3726}}" where mtr_portfolio_id = 20597365 and dashboard_run_id = 1617283 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`=20597365 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943587, 0.04739588051523087, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20597365_18-02-2025_05_41_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20597370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20597371, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20597372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20597373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20597374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20597375, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20597376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20597377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20597378, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20597379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20597380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20597381, '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 = 20597866 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': 2595250, 'mtr_portfolio_id': 20597866, 'created_at': datetime.datetime(2025, 2, 18, 5, 41, 59), 'result': '0.0507863640909435', 'result_long': None, 'result_double': None}] Qualite : 0.0507863640909435 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20597866 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20597866_18-02-2025_05_42_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20597866 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_P20597866_18-02-2025_05_42_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20597871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20597872, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20597873, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20597874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20597875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20597876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20597877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20597878, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20597879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20597880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20597881, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20597882, 'pht': 3726}}" where mtr_portfolio_id = 20597866 and dashboard_run_id = 1617283 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`=20597866 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943588, 0.0507863640909435, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20597866_18-02-2025_05_42_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20597871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20597872, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20597873, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20597874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20597875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20597876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20597877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20597878, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20597879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20597880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20597881, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20597882, '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 = 20598303 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': 2595251, 'mtr_portfolio_id': 20598303, 'created_at': datetime.datetime(2025, 2, 18, 5, 43, 1), 'result': '0.04057803057992565', 'result_long': None, 'result_double': None}] Qualite : 0.04057803057992565 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20598303 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20598303_18-02-2025_05_43_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20598303 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_P20598303_18-02-2025_05_43_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20598306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20598307, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20598308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20598309, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20598310, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20598311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20598312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20598313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20598314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20598315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20598316, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20598317, 'pht': 3726}}" where mtr_portfolio_id = 20598303 and dashboard_run_id = 1617283 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`=20598303 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943589, 0.04057803057992565, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20598303_18-02-2025_05_43_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20598306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20598307, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20598308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20598309, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20598310, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20598311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20598312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20598313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20598314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20598315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20598316, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20598317, '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 = 20598844 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': 2595252, 'mtr_portfolio_id': 20598844, 'created_at': datetime.datetime(2025, 2, 18, 5, 43, 29), 'result': '0.03931859027618542', 'result_long': None, 'result_double': None}] Qualite : 0.03931859027618542 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20598844 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20598844_18-02-2025_05_43_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20598844 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_P20598844_18-02-2025_05_43_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20598883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20598884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20598885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20598886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20598887, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20598888, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20598889, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20598890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20598891, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20598892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20598893, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20598894, 'pht': 3726}}" where mtr_portfolio_id = 20598844 and dashboard_run_id = 1617283 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`=20598844 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943590, 0.03931859027618542, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20598844_18-02-2025_05_43_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20598883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20598884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20598885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20598886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20598887, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20598888, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20598889, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20598890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20598891, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20598892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20598893, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20598894, '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 = 20599330 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': 2595253, 'mtr_portfolio_id': 20599330, 'created_at': datetime.datetime(2025, 2, 18, 5, 43, 59), 'result': '0.04143800630951649', 'result_long': None, 'result_double': None}] Qualite : 0.04143800630951649 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20599330 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20599330_18-02-2025_05_44_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20599330 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_P20599330_18-02-2025_05_44_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20599334, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20599335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20599336, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20599337, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20599338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20599339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20599340, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20599341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20599342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20599343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20599344, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20599345, 'pht': 3726}}" where mtr_portfolio_id = 20599330 and dashboard_run_id = 1617283 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`=20599330 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943591, 0.04143800630951649, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20599330_18-02-2025_05_44_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20599334, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20599335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20599336, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20599337, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20599338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20599339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20599340, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20599341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20599342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20599343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20599344, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20599345, '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 = 20600382 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': 2595254, 'mtr_portfolio_id': 20600382, 'created_at': datetime.datetime(2025, 2, 18, 5, 44, 29), 'result': '0.046303092472893076', 'result_long': None, 'result_double': None}] Qualite : 0.046303092472893076 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20600382 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20600382_18-02-2025_05_44_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20600382 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_P20600382_18-02-2025_05_44_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20600384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20600385, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20600386, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20600387, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20600388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20600389, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20600390, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20600391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20600392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20600393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20600394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20600395, 'pht': 3726}}" where mtr_portfolio_id = 20600382 and dashboard_run_id = 1617283 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`=20600382 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943592, 0.046303092472893076, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20600382_18-02-2025_05_44_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20600384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20600385, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20600386, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20600387, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20600388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20600389, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20600390, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20600391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20600392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20600393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20600394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20600395, '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 = 20600895 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': 2595255, 'mtr_portfolio_id': 20600895, 'created_at': datetime.datetime(2025, 2, 18, 5, 45, 31), 'result': '0.042865652131649', 'result_long': None, 'result_double': None}] Qualite : 0.042865652131649 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20600895 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20600895_18-02-2025_05_45_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20600895 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_P20600895_18-02-2025_05_45_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20600898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20600899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20600900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20600901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20600902, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20600903, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20600904, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20600905, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20600906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20600907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20600908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20600909, 'pht': 3726}}" where mtr_portfolio_id = 20600895 and dashboard_run_id = 1617283 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`=20600895 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943593, 0.042865652131649, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20600895_18-02-2025_05_45_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20600898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20600899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20600900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20600901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20600902, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20600903, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20600904, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20600905, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20600906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20600907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20600908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20600909, '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 = 20601335 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': 2595256, 'mtr_portfolio_id': 20601335, 'created_at': datetime.datetime(2025, 2, 18, 5, 45, 58), 'result': '0.04169821282805755', 'result_long': None, 'result_double': None}] Qualite : 0.04169821282805755 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20601335 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20601335_18-02-2025_05_46_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20601335 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_P20601335_18-02-2025_05_46_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20601363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20601364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20601365, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20601366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20601367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20601368, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20601369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20601370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20601371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20601372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20601373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20601374, 'pht': 3726}}" where mtr_portfolio_id = 20601335 and dashboard_run_id = 1617283 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`=20601335 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943594, 0.04169821282805755, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20601335_18-02-2025_05_46_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20601363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20601364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20601365, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20601366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20601367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20601368, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20601369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20601370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20601371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20601372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20601373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20601374, '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 = 20601878 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': 2595257, 'mtr_portfolio_id': 20601878, 'created_at': datetime.datetime(2025, 2, 18, 5, 47, 2), 'result': '0.04268416275530352', 'result_long': None, 'result_double': None}] Qualite : 0.04268416275530352 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20601878 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20601878_18-02-2025_05_47_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20601878 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_P20601878_18-02-2025_05_47_06.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20601906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20601907, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20601908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20601909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20601910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20601911, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20601912, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20601913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20601914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20601915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20601916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20601917, 'pht': 3726}}" where mtr_portfolio_id = 20601878 and dashboard_run_id = 1617283 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`=20601878 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943595, 0.04268416275530352, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20601878_18-02-2025_05_47_06.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20601906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20601907, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20601908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20601909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20601910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20601911, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20601912, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20601913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20601914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20601915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20601916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20601917, '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 = 20602408 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': 2595258, 'mtr_portfolio_id': 20602408, 'created_at': datetime.datetime(2025, 2, 18, 5, 47, 29), 'result': '0.040911869918705226', 'result_long': None, 'result_double': None}] Qualite : 0.040911869918705226 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20602408 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20602408_18-02-2025_05_47_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20602408 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_P20602408_18-02-2025_05_47_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20602437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20602438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20602439, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20602440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20602441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20602442, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20602443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20602444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20602445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20602446, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20602447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20602448, 'pht': 3726}}" where mtr_portfolio_id = 20602408 and dashboard_run_id = 1617283 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`=20602408 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943596, 0.040911869918705226, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20602408_18-02-2025_05_47_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20602437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20602438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20602439, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20602440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20602441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20602442, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20602443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20602444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20602445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20602446, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20602447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20602448, '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 = 20602902 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': 2595259, 'mtr_portfolio_id': 20602902, 'created_at': datetime.datetime(2025, 2, 18, 5, 47, 58), 'result': '0.040040156495877804', 'result_long': None, 'result_double': None}] Qualite : 0.040040156495877804 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20602902 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20602902_18-02-2025_05_48_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20602902 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_P20602902_18-02-2025_05_48_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20602954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20602955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20602956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20602957, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20602958, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20602959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20602960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20602961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20602962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20602963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20602964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20602965, 'pht': 3726}}" where mtr_portfolio_id = 20602902 and dashboard_run_id = 1617283 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`=20602902 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943597, 0.040040156495877804, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20602902_18-02-2025_05_48_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20602954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20602955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20602956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20602957, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20602958, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20602959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20602960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20602961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20602962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20602963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20602964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20602965, '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 = 20603399 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': 2595260, 'mtr_portfolio_id': 20603399, 'created_at': datetime.datetime(2025, 2, 18, 5, 48, 30), 'result': '0.04325324285966165', 'result_long': None, 'result_double': None}] Qualite : 0.04325324285966165 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20603399 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20603399_18-02-2025_05_48_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20603399 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_P20603399_18-02-2025_05_48_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20603419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20603420, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20603421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20603422, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20603424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20603425, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20603426, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20603427, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20603428, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20603429, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20603430, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20603431, 'pht': 3726}}" where mtr_portfolio_id = 20603399 and dashboard_run_id = 1617283 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`=20603399 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943598, 0.04325324285966165, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20603399_18-02-2025_05_48_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20603419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20603420, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20603421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20603422, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20603424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20603425, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20603426, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20603427, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20603428, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20603429, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20603430, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20603431, '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 = 20604235 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': 2595261, 'mtr_portfolio_id': 20604235, 'created_at': datetime.datetime(2025, 2, 18, 5, 49, 56), 'result': '0.04599580135235511', 'result_long': None, 'result_double': None}] Qualite : 0.04599580135235511 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20604235 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20604235_18-02-2025_05_50_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20604235 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_P20604235_18-02-2025_05_50_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20604266, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20604267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20604268, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20604269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20604270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20604271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20604272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20604273, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20604274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20604275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20604276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20604277, 'pht': 3726}}" where mtr_portfolio_id = 20604235 and dashboard_run_id = 1617283 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`=20604235 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943599, 0.04599580135235511, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20604235_18-02-2025_05_50_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20604266, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20604267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20604268, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20604269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20604270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20604271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20604272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20604273, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20604274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20604275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20604276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20604277, '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 = 20605068 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': 2595262, 'mtr_portfolio_id': 20605068, 'created_at': datetime.datetime(2025, 2, 18, 5, 50, 32), 'result': '0.03954835758593325', 'result_long': None, 'result_double': None}] Qualite : 0.03954835758593325 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20605068 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20605068_18-02-2025_05_50_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20605068 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_P20605068_18-02-2025_05_50_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20605077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20605078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20605079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20605080, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20605081, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20605082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20605083, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20605084, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20605085, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20605086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20605087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20605088, 'pht': 3726}}" where mtr_portfolio_id = 20605068 and dashboard_run_id = 1617283 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`=20605068 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943600, 0.03954835758593325, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20605068_18-02-2025_05_50_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20605077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20605078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20605079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20605080, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20605081, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20605082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20605083, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20605084, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20605085, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20605086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20605087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20605088, '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 = 20605919 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': 2595263, 'mtr_portfolio_id': 20605919, 'created_at': datetime.datetime(2025, 2, 18, 5, 51, 30), 'result': '0.04702874559763831', 'result_long': None, 'result_double': None}] Qualite : 0.04702874559763831 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20605919 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20605919_18-02-2025_05_51_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20605919 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_P20605919_18-02-2025_05_51_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20605924, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20605925, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20605926, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20605927, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20605928, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20605929, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20605930, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20605931, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20605932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20605933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20605934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20605935, 'pht': 3726}}" where mtr_portfolio_id = 20605919 and dashboard_run_id = 1617283 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`=20605919 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943601, 0.04702874559763831, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20605919_18-02-2025_05_51_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20605924, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20605925, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20605926, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20605927, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20605928, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20605929, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20605930, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20605931, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20605932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20605933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20605934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20605935, '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 = 20606546 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': 2595264, 'mtr_portfolio_id': 20606546, 'created_at': datetime.datetime(2025, 2, 18, 5, 51, 57), 'result': '0.04338361734014823', 'result_long': None, 'result_double': None}] Qualite : 0.04338361734014823 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20606546 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20606546_18-02-2025_05_51_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20606546 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_P20606546_18-02-2025_05_51_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20606575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20606576, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20606577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20606578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20606579, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20606580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20606581, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20606582, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20606583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20606584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20606585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20606586, 'pht': 3726}}" where mtr_portfolio_id = 20606546 and dashboard_run_id = 1617283 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`=20606546 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943602, 0.04338361734014823, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20606546_18-02-2025_05_51_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20606575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20606576, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20606577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20606578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20606579, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20606580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20606581, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20606582, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20606583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20606584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20606585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20606586, '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 = 20608349 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': 2595265, 'mtr_portfolio_id': 20608349, 'created_at': datetime.datetime(2025, 2, 18, 5, 52, 28), 'result': '0.038107950629785184', 'result_long': None, 'result_double': None}] Qualite : 0.038107950629785184 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20608349 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20608349_18-02-2025_05_52_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20608349 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_P20608349_18-02-2025_05_52_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20608351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20608352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20608353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20608354, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20608355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20608356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20608357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20608358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20608359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20608360, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20608361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20608362, 'pht': 3726}}" where mtr_portfolio_id = 20608349 and dashboard_run_id = 1617283 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`=20608349 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943603, 0.038107950629785184, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20608349_18-02-2025_05_52_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20608351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20608352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20608353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20608354, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20608355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20608356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20608357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20608358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20608359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20608360, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20608361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20608362, '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 = 20608630 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': 2595266, 'mtr_portfolio_id': 20608630, 'created_at': datetime.datetime(2025, 2, 18, 5, 53, 28), 'result': '0.05132864079102073', 'result_long': None, 'result_double': None}] Qualite : 0.05132864079102073 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20608630 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20608630_18-02-2025_05_53_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20608630 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_P20608630_18-02-2025_05_53_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20608634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20608635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20608636, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20608637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20608638, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20608639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20608640, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20608641, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20608642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20608643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20608644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20608645, 'pht': 3726}}" where mtr_portfolio_id = 20608630 and dashboard_run_id = 1617283 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`=20608630 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943604, 0.05132864079102073, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20608630_18-02-2025_05_53_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20608634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20608635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20608636, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20608637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20608638, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20608639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20608640, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20608641, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20608642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20608643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20608644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20608645, '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 = 20608978 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': 2593386, 'mtr_portfolio_id': 20608978, 'created_at': datetime.datetime(2025, 2, 18, 0, 2), 'result': '0.03701796209053796', 'result_long': None, 'result_double': None}] Qualite : 0.03701796209053796 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20608978 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20608978_18-02-2025_00_02_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20608978 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_P20608978_18-02-2025_00_02_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20608982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20608983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20608984, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20608985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20608986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20608987, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20608988, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20608989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20608990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20608991, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20608992, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20608993, 'pht': 3726}}" where mtr_portfolio_id = 20608978 and dashboard_run_id = 1617283 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`=20608978 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943605, 0.03701796209053796, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20608978_18-02-2025_00_02_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20608982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20608983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20608984, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20608985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20608986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20608987, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20608988, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20608989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20608990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20608991, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20608992, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20608993, '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 = 20610400 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': 2593593, 'mtr_portfolio_id': 20610400, 'created_at': datetime.datetime(2025, 2, 17, 15, 47, 1), 'result': '0.05991890464611853', 'result_long': None, 'result_double': None}] Qualite : 0.05991890464611853 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20610400 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20610400_17-02-2025_15_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20610400 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_P20610400_17-02-2025_15_47_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20610402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20610403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20610404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20610405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20610406, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20610407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20610408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20610409, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20610410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20610411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20610412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20610413, 'pht': 3726}}" where mtr_portfolio_id = 20610400 and dashboard_run_id = 1617283 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`=20610400 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943606, 0.05991890464611853, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20610400_17-02-2025_15_47_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20610402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20610403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20610404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20610405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20610406, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20610407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20610408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20610409, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20610410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20610411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20610412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20610413, '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 = 20610537 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': 2593603, 'mtr_portfolio_id': 20610537, 'created_at': datetime.datetime(2025, 2, 17, 16, 2, 57), 'result': '0.03986921501239806', 'result_long': None, 'result_double': None}] Qualite : 0.03986921501239806 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20610537 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20610537_17-02-2025_16_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20610537 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_P20610537_17-02-2025_16_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20610540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20610541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20610542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20610543, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20610544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20610545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20610546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20610547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20610548, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20610549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20610550, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20610551, 'pht': 3726}}" where mtr_portfolio_id = 20610537 and dashboard_run_id = 1617283 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`=20610537 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943607, 0.03986921501239806, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20610537_17-02-2025_16_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20610540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20610541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20610542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20610543, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20610544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20610545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20610546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20610547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20610548, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20610549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20610550, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20610551, '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 = 20610930 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': 2593646, 'mtr_portfolio_id': 20610930, 'created_at': datetime.datetime(2025, 2, 17, 16, 17), 'result': '0.03280718177372909', 'result_long': None, 'result_double': None}] Qualite : 0.03280718177372909 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20610930 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20610930_17-02-2025_16_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20610930 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_P20610930_17-02-2025_16_17_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20610958, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20610959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20610960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20610961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20610962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20610963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20610964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20610965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20610966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20610967, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20610968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20610969, 'pht': 3726}}" where mtr_portfolio_id = 20610930 and dashboard_run_id = 1617283 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`=20610930 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943608, 0.03280718177372909, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20610930_17-02-2025_16_17_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20610958, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20610959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20610960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20610961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20610962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20610963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20610964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20610965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20610966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20610967, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20610968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20610969, '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 = 20611466 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': 2593686, 'mtr_portfolio_id': 20611466, 'created_at': datetime.datetime(2025, 2, 17, 16, 32, 59), 'result': '0.06433049405998875', 'result_long': None, 'result_double': None}] Qualite : 0.06433049405998875 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20611466 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20611466_17-02-2025_16_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20611466 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_P20611466_17-02-2025_16_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20611494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20611495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20611496, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20611497, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20611498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20611499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20611500, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20611501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20611502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20611503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20611504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20611505, 'pht': 3726}}" where mtr_portfolio_id = 20611466 and dashboard_run_id = 1617283 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`=20611466 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943609, 0.06433049405998875, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20611466_17-02-2025_16_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20611494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20611495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20611496, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20611497, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20611498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20611499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20611500, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20611501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20611502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20611503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20611504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20611505, '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 = 20612080 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': 2593721, 'mtr_portfolio_id': 20612080, 'created_at': datetime.datetime(2025, 2, 17, 16, 48, 58), 'result': '0.06081060962300819', 'result_long': None, 'result_double': None}] Qualite : 0.06081060962300819 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20612080 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20612080_17-02-2025_16_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20612080 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_P20612080_17-02-2025_16_48_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20612141, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20612142, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20612143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20612144, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20612145, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20612146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20612147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20612148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20612149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20612150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20612151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20612152, 'pht': 3726}}" where mtr_portfolio_id = 20612080 and dashboard_run_id = 1617283 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`=20612080 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943610, 0.06081060962300819, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20612080_17-02-2025_16_48_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20612141, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20612142, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20612143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20612144, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20612145, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20612146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20612147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20612148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20612149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20612150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20612151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20612152, '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 = 20612767 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': 2593817, 'mtr_portfolio_id': 20612767, 'created_at': datetime.datetime(2025, 2, 17, 17, 2, 58), 'result': '0.03981537673826631', 'result_long': None, 'result_double': None}] Qualite : 0.03981537673826631 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20612767 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20612767_17-02-2025_17_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20612767 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_P20612767_17-02-2025_17_02_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20612821, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20612822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20612823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20612824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20612825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20612826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20612827, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20612828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20612829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20612830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20612831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20612832, 'pht': 3726}}" where mtr_portfolio_id = 20612767 and dashboard_run_id = 1617283 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`=20612767 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943611, 0.03981537673826631, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20612767_17-02-2025_17_02_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20612821, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20612822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20612823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20612824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20612825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20612826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20612827, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20612828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20612829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20612830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20612831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20612832, '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 = 20613570 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': 2593877, 'mtr_portfolio_id': 20613570, 'created_at': datetime.datetime(2025, 2, 17, 17, 19), 'result': '0.037063087370716605', 'result_long': None, 'result_double': None}] Qualite : 0.037063087370716605 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20613570 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20613570_17-02-2025_17_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20613570 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_P20613570_17-02-2025_17_19_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20613598, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20613599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20613600, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20613601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20613602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20613603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20613604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20613605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20613606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20613607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20613608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20613609, 'pht': 3726}}" where mtr_portfolio_id = 20613570 and dashboard_run_id = 1617283 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`=20613570 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943612, 0.037063087370716605, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20613570_17-02-2025_17_19_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20613598, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20613599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20613600, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20613601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20613602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20613603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20613604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20613605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20613606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20613607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20613608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20613609, '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 = 20614317 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': 2593921, 'mtr_portfolio_id': 20614317, 'created_at': datetime.datetime(2025, 2, 17, 17, 32, 31), 'result': '0.05028977903634978', 'result_long': None, 'result_double': None}] Qualite : 0.05028977903634978 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20614317 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20614317_17-02-2025_17_32_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20614317 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_P20614317_17-02-2025_17_32_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20614324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20614325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20614326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20614327, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20614328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20614329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20614330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20614331, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20614332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20614333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20614334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20614335, 'pht': 3726}}" where mtr_portfolio_id = 20614317 and dashboard_run_id = 1617283 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`=20614317 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943613, 0.05028977903634978, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20614317_17-02-2025_17_32_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20614324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20614325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20614326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20614327, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20614328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20614329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20614330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20614331, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20614332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20614333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20614334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20614335, '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 = 20615941 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': 2594055, 'mtr_portfolio_id': 20615941, 'created_at': datetime.datetime(2025, 2, 17, 18, 19, 1), 'result': '0.04804183858376754', 'result_long': None, 'result_double': None}] Qualite : 0.04804183858376754 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20615941 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20615941_17-02-2025_18_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20615941 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_P20615941_17-02-2025_18_19_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20615944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20615945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20615946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20615947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20615948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20615949, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20615950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20615951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20615952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20615953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20615954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20615955, 'pht': 3726}}" where mtr_portfolio_id = 20615941 and dashboard_run_id = 1617283 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`=20615941 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943614, 0.04804183858376754, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20615941_17-02-2025_18_19_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20615944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20615945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20615946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20615947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20615948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20615949, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20615950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20615951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20615952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20615953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20615954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20615955, '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 = 20616392 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': 2594082, 'mtr_portfolio_id': 20616392, 'created_at': datetime.datetime(2025, 2, 17, 18, 32, 57), 'result': '0.044569883535429025', 'result_long': None, 'result_double': None}] Qualite : 0.044569883535429025 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20616392 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20616392_17-02-2025_18_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20616392 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_P20616392_17-02-2025_18_32_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20616395, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20616396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20616397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20616398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20616399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20616400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20616401, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20616402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20616403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20616404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20616405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20616406, 'pht': 3726}}" where mtr_portfolio_id = 20616392 and dashboard_run_id = 1617283 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`=20616392 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943615, 0.044569883535429025, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20616392_17-02-2025_18_32_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20616395, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20616396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20616397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20616398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20616399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20616400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20616401, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20616402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20616403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20616404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20616405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20616406, '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 = 20616912 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': 2594114, 'mtr_portfolio_id': 20616912, 'created_at': datetime.datetime(2025, 2, 17, 18, 46, 30), 'result': '0.052944677734900324', 'result_long': None, 'result_double': None}] Qualite : 0.052944677734900324 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20616912 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20616912_17-02-2025_18_46_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20616912 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_P20616912_17-02-2025_18_46_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20616961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20616962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20616963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20616964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20616965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20616966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20616967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20616968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20616969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20616970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20616971, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20616972, 'pht': 3726}}" where mtr_portfolio_id = 20616912 and dashboard_run_id = 1617283 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`=20616912 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943616, 0.052944677734900324, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20616912_17-02-2025_18_46_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20616961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20616962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20616963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20616964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20616965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20616966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20616967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20616968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20616969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20616970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20616971, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20616972, '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 = 20617382 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': 2594155, 'mtr_portfolio_id': 20617382, 'created_at': datetime.datetime(2025, 2, 17, 19, 3), 'result': '0.03944870531546893', 'result_long': None, 'result_double': None}] Qualite : 0.03944870531546893 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20617382 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20617382_17-02-2025_19_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20617382 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_P20617382_17-02-2025_19_03_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20617408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20617409, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20617410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20617411, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20617412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20617413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20617414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20617415, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20617416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20617417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20617418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20617419, 'pht': 3726}}" where mtr_portfolio_id = 20617382 and dashboard_run_id = 1617283 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`=20617382 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943617, 0.03944870531546893, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20617382_17-02-2025_19_03_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20617408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20617409, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20617410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20617411, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20617412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20617413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20617414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20617415, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20617416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20617417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20617418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20617419, '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 = 20617949 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': 2594202, 'mtr_portfolio_id': 20617949, 'created_at': datetime.datetime(2025, 2, 17, 19, 16, 30), 'result': '0.05647628484828016', 'result_long': None, 'result_double': None}] Qualite : 0.05647628484828016 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20617949 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20617949_17-02-2025_19_16_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20617949 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_P20617949_17-02-2025_19_16_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20617953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20617954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20617955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20617956, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20617957, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20617958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20617959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20617960, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20617961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20617962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20617963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20617964, 'pht': 3726}}" where mtr_portfolio_id = 20617949 and dashboard_run_id = 1617283 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`=20617949 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943618, 0.05647628484828016, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20617949_17-02-2025_19_16_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20617953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20617954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20617955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20617956, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20617957, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20617958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20617959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20617960, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20617961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20617962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20617963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20617964, '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 = 20618403 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': 2594234, 'mtr_portfolio_id': 20618403, 'created_at': datetime.datetime(2025, 2, 17, 19, 32, 59), 'result': '0.024385629310053863', 'result_long': None, 'result_double': None}] Qualite : 0.024385629310053863 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20618403 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20618403_17-02-2025_19_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20618403 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_P20618403_17-02-2025_19_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20618410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20618411, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20618412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20618413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20618414, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20618415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20618416, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20618417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20618418, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20618419, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20618420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20618421, 'pht': 3726}}" where mtr_portfolio_id = 20618403 and dashboard_run_id = 1617283 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`=20618403 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943619, 0.024385629310053863, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20618403_17-02-2025_19_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20618410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20618411, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20618412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20618413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20618414, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20618415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20618416, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20618417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20618418, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20618419, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20618420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20618421, '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 = 20619056 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': 2594278, 'mtr_portfolio_id': 20619056, 'created_at': datetime.datetime(2025, 2, 17, 19, 46, 58), 'result': '0.03570127362771072', 'result_long': None, 'result_double': None}] Qualite : 0.03570127362771072 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20619056 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20619056_17-02-2025_19_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20619056 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_P20619056_17-02-2025_19_46_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20619085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20619086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20619087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20619088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20619089, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20619090, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20619091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20619092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20619093, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20619094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20619095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20619096, 'pht': 3726}}" where mtr_portfolio_id = 20619056 and dashboard_run_id = 1617283 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`=20619056 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943620, 0.03570127362771072, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20619056_17-02-2025_19_46_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20619085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20619086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20619087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20619088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20619089, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20619090, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20619091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20619092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20619093, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20619094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20619095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20619096, '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 = 20619597 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': 2594321, 'mtr_portfolio_id': 20619597, 'created_at': datetime.datetime(2025, 2, 17, 20, 2, 59), 'result': '0.0387327150760845', 'result_long': None, 'result_double': None}] Qualite : 0.0387327150760845 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20619597 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20619597_17-02-2025_20_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20619597 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_P20619597_17-02-2025_20_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20619629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20619630, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20619631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20619632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20619633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20619634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20619635, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20619636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20619637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20619638, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20619639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20619640, 'pht': 3726}}" where mtr_portfolio_id = 20619597 and dashboard_run_id = 1617283 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`=20619597 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943621, 0.0387327150760845, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20619597_17-02-2025_20_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20619629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20619630, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20619631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20619632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20619633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20619634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20619635, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20619636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20619637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20619638, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20619639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20619640, '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 = 20620365 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': 2594380, 'mtr_portfolio_id': 20620365, 'created_at': datetime.datetime(2025, 2, 17, 20, 16, 57), 'result': '0.043460360425658574', 'result_long': None, 'result_double': None}] Qualite : 0.043460360425658574 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20620365 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20620365_17-02-2025_20_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20620365 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_P20620365_17-02-2025_20_16_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20620368, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20620369, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20620370, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20620371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20620372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20620373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20620374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20620375, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20620376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20620377, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20620378, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20620379, 'pht': 3726}}" where mtr_portfolio_id = 20620365 and dashboard_run_id = 1617283 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`=20620365 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943622, 0.043460360425658574, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20620365_17-02-2025_20_16_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20620368, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20620369, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20620370, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20620371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20620372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20620373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20620374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20620375, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20620376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20620377, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20620378, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20620379, '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 = 20620922 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': 2594423, 'mtr_portfolio_id': 20620922, 'created_at': datetime.datetime(2025, 2, 17, 20, 32, 59), 'result': '0.04028064145147253', 'result_long': None, 'result_double': None}] Qualite : 0.04028064145147253 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20620922 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20620922_17-02-2025_20_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20620922 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_P20620922_17-02-2025_20_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20620954, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20620955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20620956, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20620957, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20620958, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20620959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20620960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20620961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20620962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20620963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20620964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20620965, 'pht': 3726}}" where mtr_portfolio_id = 20620922 and dashboard_run_id = 1617283 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`=20620922 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943623, 0.04028064145147253, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20620922_17-02-2025_20_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20620954, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20620955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20620956, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20620957, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20620958, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20620959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20620960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20620961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20620962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20620963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20620964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20620965, '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 = 20621658 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': 2594481, 'mtr_portfolio_id': 20621658, 'created_at': datetime.datetime(2025, 2, 17, 21, 8, 31), 'result': '0.05838019219771053', 'result_long': None, 'result_double': None}] Qualite : 0.05838019219771053 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20621658 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20621658_17-02-2025_21_08_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20621658 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_P20621658_17-02-2025_21_08_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20621731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20621737, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20621738, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20621739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20621740, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20621741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20621742, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20621743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20621744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20621745, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20621746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20621747, 'pht': 3726}}" where mtr_portfolio_id = 20621658 and dashboard_run_id = 1617283 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`=20621658 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943624, 0.05838019219771053, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20621658_17-02-2025_21_08_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20621731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20621737, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20621738, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20621739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20621740, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20621741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20621742, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20621743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20621744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20621745, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20621746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20621747, '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 = 20623013 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': 2594617, 'mtr_portfolio_id': 20623013, 'created_at': datetime.datetime(2025, 2, 17, 21, 36, 58), 'result': '0.03573001730286341', 'result_long': None, 'result_double': None}] Qualite : 0.03573001730286341 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20623013 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20623013_17-02-2025_21_36_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20623013 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_P20623013_17-02-2025_21_36_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20623015, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20623016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20623017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20623018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20623019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20623020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20623021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20623022, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20623023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20623024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20623025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20623026, 'pht': 3726}}" where mtr_portfolio_id = 20623013 and dashboard_run_id = 1617283 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`=20623013 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8943625, 0.03573001730286341, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20623013_17-02-2025_21_36_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20623015, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20623016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20623017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20623018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20623019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20623020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20623021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20623022, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20623023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20623024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20623025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20623026, '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 (20594280,20594332,20594486,20594872,20595236,20595343,20595598,20595820,20596067,20596959,20597365,20597866,20598303,20598844,20599330,20600382,20600895,20601335,20601878,20602408,20602902,20603399,20604235,20605068,20605919,20606546,20608349,20608630,20608978,20610400,20610537,20610930,20611466,20612080,20612767,20613570,20614317,20615941,20616392,20616912,20617382,20617949,20618403,20619056,20619597,20620365,20620922,20621658,20623013) result : ((1338111973,), (1338112020,), (1338112066,), (1338112067,), (1338112099,), (1338112100,), (1338112101,), (1338112118,), (1338112143,), (1338112156,), (1338112158,), (1338112160,), (1338112166,), (1338112175,), (1338112177,), (1338112179,), (1338112181,), (1338112183,), (1338112185,), (1338112193,), (1338112197,), (1338112208,), (1338112210,), (1338112213,), (1338112226,), (1338112228,), (1338112240,), (1338112262,), (1338112268,), (1338112273,), (1338112309,), (1338112311,), (1338112328,), (1338112395,), (1338112410,), (1338112412,), (1338112414,), (1338112431,), (1338112433,), (1338112435,), (1338112439,), (1338112441,), (1338112442,), (1338112455,), (1338112456,), (1338112457,), (1338112458,), (1338112459,), (1338112460,), (1338112473,), (1338112474,), (1338112475,), (1338112497,), (1338112498,), (1338112499,), (1338112500,), (1338112501,), (1338112502,), (1338112515,), (1338112516,), (1338112517,), (1338112518,), (1338112519,), (1338112547,), (1338112548,), (1338112561,), (1338112562,), (1338112597,), (1338112608,), (1338112612,), (1338112613,), (1338112614,), (1338112615,), (1338112628,), (1338112629,), (1338112630,), (1338112631,), (1338112632,), (1338112633,), (1338112654,), (1338112656,), (1338112658,), (1338112686,), (1338112697,), (1338112700,), (1338112706,), (1338112856,), (1338112999,), (1338113316,), (1338113319,), (1338113326,), (1338113331,), (1338113333,), (1338113493,), (1338113338,), (1338113480,), (1338113486,), (1338113709,), (1338113712,), (1338113715,), (1338113722,), (1338113729,), (1338113730,), (1338114367,), (1338114491,), (1338114493,), (1338114495,), (1338114510,), (1338114512,), (1338114514,), (1338114531,), (1338114533,), (1338114535,), (1338114538,), (1338114540,), (1338114543,), (1338114553,), (1338114555,), (1338114557,), (1338114559,), (1338114562,), (1338114575,), (1338114577,), (1338114579,), (1338114581,), (1338114595,), (1338114598,), (1338114601,), (1338114604,), (1338114607,), (1338114623,), (1338114625,), (1338114628,), (1338114629,), (1338114669,), (1338114672,), (1338114674,), (1338114720,), (1338114699,), (1338114702,), (1338114708,), (1338114734,), (1338114736,), (1338114738,), (1338114740,), (1338114742,), (1338114750,), (1338114772,), (1338114774,), (1338114776,), (1338114778,), (1338114780,), (1338114979,), (1338115064,), (1338115061,), (1338115062,), (1338115063,), (1338115081,), (1338115082,), (1338115083,), (1338115084,), (1338115086,), (1338115088,), (1338115105,), (1338115106,), (1338115121,), (1338115124,), (1338115125,), (1338115155,), (1338115163,), (1338115166,), (1338115182,), (1338115183,), (1338115184,), (1338115186,), (1338115189,), (1338115193,), (1338115220,), (1338115222,), (1338115503,), (1338115384,), (1338115502,), (1338115523,), (1338115525,), (1338115527,), (1338115529,), (1338115554,), (1338115556,), (1338115558,), (1338115559,), (1338115560,), (1338115586,), (1338115587,), (1338115607,), (1338115608,), (1338115609,), (1338115610,), (1338115643,), (1338115644,), (1338115645,), (1338115664,), (1338115665,), (1338115666,), (1338115667,), (1338115669,), (1338115699,), (1338115700,), (1338115701,), (1338115734,), (1338115738,), (1338115777,), (1338115768,), (1338115771,), (1338115773,), (1338115775,), (1338115793,), (1338115796,), (1338115799,), (1338115815,), (1338115818,), (1338115821,), (1338115824,), (1338115826,), (1338115839,), (1338115991,), (1338115994,), (1338115997,), (1338115999,), (1338116001,), (1338116021,), (1338116026,), (1338116029,), (1338116044,), (1338116047,), (1338116207,), (1338116284,), (1338116343,), (1338116351,), (1338116360,), (1338116364,), (1338116500,), (1338116503,), (1338116506,), (1338116540,), (1338116542,), (1338116545,), (1338116549,), (1338116553,), (1338116572,), (1338116574,), (1338116577,), (1338116607,), (1338116612,), (1338116616,), (1338116622,), (1338116628,), (1338116636,), (1338116646,), (1338116649,), (1338116651,), (1338116656,), (1338116661,), (1338116666,), (1338116698,), (1338116699,), (1338116719,), (1338116724,), (1338116726,), (1338116736,), (1338116739,), (1338116741,), (1338116743,), (1338116747,), (1338116750,), (1338116796,), (1338116799,), (1338116801,), (1338116804,), (1338116806,), (1338116812,), (1338116842,), (1338116871,), (1338116875,), (1338116904,), (1338116907,), (1338116909,), (1338116911,), (1338116915,), (1338116677,), (1338116678,), (1338116680,), (1338116682,), (1338116684,), (1338116685,), (1338116689,), (1338116690,), (1338116694,), (1338116695,), (1338116707,), (1338116711,), (1338116715,), (1338116760,), (1338116770,), (1338116774,), (1338116778,), (1338116782,), (1338116786,), (1338116826,), (1338116831,), (1338116835,), (1338116838,), (1338116840,), (1338116852,), (1338116858,), (1338116862,), (1338116867,), (1338116933,), (1338116943,), (1338116946,), (1338116949,), (1338116952,), (1338116956,), (1338116989,), (1338116992,), (1338117002,), (1338117006,), (1338117008,), (1338117015,), (1338117048,), (1338117055,), (1338117058,), (1338117061,), (1338117106,), (1338117118,), (1338117124,), (1338117132,), (1338117140,), (1338117148,), (1338117176,), (1338117180,), (1338117188,), (1338117217,), (1338117222,), (1338117231,), (1338117235,), (1338117241,), (1338117274,), (1338117283,), (1338117335,), (1338117346,), (1338117350,), (1338117354,), (1338117358,), (1338117378,), (1338117380,), (1338117384,), (1338117387,), (1338117418,), (1338117425,), (1338117430,), (1338117434,), (1338117480,), (1338117463,), (1338117467,), (1338117472,), (1338117476,), (1338117500,), (1338117513,), (1338117516,), (1338117520,), (1338117523,), (1338117529,), (1338117555,), (1338117558,), (1338117610,), (1338117614,), (1338117617,), (1338117619,), (1338117621,), (1338117625,), (1338117644,), (1338117647,), (1338117656,), (1338117666,), (1338117672,), (1338117699,), (1338117702,), (1338117704,), (1338117707,), (1338117743,), (1338117746,), (1338117750,), (1338117753,), (1338117759,), (1338117765,), (1338117811,), (1338117814,), (1338117818,), (1338117822,), (1338117881,), (1338117884,), (1338117887,), (1338117924,), (1338117968,), (1338118098,), (1338118100,), (1338118253,), (1338118242,), (1338118245,), (1338118248,), (1338118250,), (1338118283,), (1338118303,), (1338118318,), (1338118321,), (1338118328,), (1338118354,), (1338118398,), (1338118401,), (1338118431,), (1338118434,), (1338118437,), (1338118439,), (1338118473,), (1338118484,), (1338118495,), (1338118502,), (1338118512,), (1338118562,), (1338118564,), (1338118567,), (1338118641,), (1338118643,), (1338118646,), (1338118649,), (1338118651,), (1338118654,), (1338118687,), (1338118689,), (1338118692,), (1338118695,), (1338118698,), (1338118702,), (1338118726,), (1338118728,), (1338118731,), (1338118734,), (1338118737,), (1338118767,), (1338118778,), (1338118780,), (1338118820,), (1338118822,), (1338118825,), (1338118828,), (1338118831,), (1338118956,), (1338118959,), (1338118962,), (1338118965,), (1338118969,), (1338118972,), (1338119003,), (1338119006,), (1338119009,), (1338119011,), (1338119013,), (1338119088,), (1338119103,), (1338119115,), (1338119120,), (1338119127,), (1338119138,), (1338119149,), (1338119154,), (1338119180,), (1338119161,), (1338119166,), (1338119172,), (1338119177,), (1338119205,), (1338119206,), (1338119213,), (1338119268,), (1338119278,), (1338119284,), (1338119288,), (1338119294,), (1338119298,), (1338119398,), (1338119574,), (1338119792,), (1338119923,), (1338119926,), (1338120093,), (1338120179,), (1338120246,), (1338120248,), (1338120251,), (1338120254,), (1338120824,), (1338120826,), (1338120829,), (1338120833,), (1338120839,), (1338121337,), (1338121427,), (1338121435,), (1338121438,), (1338121441,), (1338121543,), (1338121545,), (1338121547,), (1338121549,), (1338121576,), (1338121577,), (1338121579,), (1338121621,), (1338121666,), (1338121670,), (1338121673,), (1338121719,), (1338121722,), (1338121724,), (1338121725,), (1338121726,), (1338121729,), (1338121752,), (1338121754,), (1338121791,), (1338121793,), (1338121796,), (1338121799,), (1338121823,), (1338121824,), (1338121828,), (1338121832,), (1338121836,), (1338121866,), (1338121868,), (1338121871,), (1338121911,), (1338121913,), (1338121943,), (1338121944,), (1338121970,), (1338121971,), (1338121972,), (1338122004,), (1338122006,), (1338122008,), (1338122010,), (1338122013,), (1338122016,), (1338122047,), (1338122041,), (1338122042,), (1338122103,), (1338122105,), (1338122107,), (1338122108,), (1338122109,), (1338122158,), (1338122162,), (1338122165,), (1338122168,), (1338122171,), (1338122176,), (1338122195,), (1338122196,), (1338122198,), (1338122247,), (1338122248,), (1338122250,), (1338122252,), (1338122255,), (1338122290,), (1338122299,), (1338122302,), (1338122305,), (1338122308,), (1338122311,), (1338122329,), (1338122331,), (1338122334,), (1338122366,), (1338122369,), (1338122373,), (1338122375,), (1338122377,), (1338122380,), (1338122405,), (1338122406,), (1338122409,), (1338122412,), (1338122415,), (1338122418,), (1338122444,), (1338122446,), (1338122447,), (1338122482,), (1338122487,), (1338122496,), (1338122499,), (1338122532,), (1338122533,), (1338122536,), (1338122539,), (1338122542,), (1338122551,), (1338122587,), (1338122595,), (1338122599,), (1338122636,), (1338122637,), (1338122640,), (1338122643,), (1338122646,), (1338122649,), (1338122669,), (1338122672,), (1338122674,), (1338122676,), (1338122744,), (1338122733,), (1338122736,), (1338122739,), (1338122742,), (1338122839,), (1338122842,), (1338122848,), (1338122853,), (1338122884,), (1338122888,), (1338122891,), (1338122894,), (1338122930,), (1338122935,), (1338122981,), (1338122983,), (1338122986,), (1338123048,), (1338123050,), (1338123052,), (1338123146,), (1338123148,), (1338123182,), (1338123183,), (1338123239,), (1338123240,), (1338123243,), (1338123265,), (1338123352,), (1338123358,), (1338123361,), (1338123414,), (1338123416,), (1338123419,), (1338123422,), (1338123423,), (1338123456,), (1338123459,), (1338123462,), (1338123464,), (1338123500,), (1338123505,), (1338123510,), (1338123517,), (1338123524,), (1338123530,), (1338123568,), (1338129881,), (1338129952,), (1338129956,), (1338130081,), (1338130085,), (1338130089,), (1338130108,), (1338130112,), (1338130168,), (1338130173,), (1338130177,), (1338130199,), (1338130201,), (1338130269,), (1338130280,), (1338130290,), (1338130477,), (1338130478,), (1338130481,), (1338130485,), (1338130488,), (1338130519,), (1338130521,), (1338130524,), (1338130526,), (1338130527,), (1338130530,), (1338130570,), (1338130572,), (1338130575,), (1338130578,), (1338130648,), (1338130659,), (1338130662,), (1338130664,), (1338130668,), (1338130674,), (1338130733,), (1338130736,), (1338130739,), (1338130743,), (1338130746,), (1338130752,), (1338130775,), (1338130782,), (1338130785,), (1338130790,), (1338130829,), (1338130830,), (1338130833,), (1338130835,), (1338130839,), (1338130843,), (1338130867,), (1338130871,), (1338130874,), (1338130876,), (1338130915,), (1338130925,), (1338130933,), (1338130938,), (1338131012,), (1338130997,), (1338130999,), (1338131004,), (1338131007,), (1338131009,), (1338131205,), (1338131206,), (1338131209,), (1338131211,), (1338131244,), (1338131246,), (1338131249,), (1338131254,), (1338131257,), (1338131278,), (1338131280,), (1338131283,), (1338131286,), (1338131309,), (1338131310,), (1338131432,), (1338131437,), (1338131504,), (1338131556,), (1338131559,), (1338131562,), (1338131608,), (1338131611,), (1338131655,), (1338131657,), (1338131659,), (1338131662,), (1338131683,), (1338131685,), (1338131688,), (1338131702,), (1338131706,), (1338131781,), (1338131783,), (1338131796,), (1338131798,), (1338131891,), (1338131893,), (1338131896,), (1338131899,), (1338131902,), (1338131941,), (1338131944,), (1338131948,), (1338131952,), (1338131992,), (1338132000,), (1338132013,), (1338132023,), (1338132027,), (1338132032,), (1338132095,), (1338132067,), (1338132070,), (1338132074,), (1338132092,), (1338132166,), (1338132169,), (1338132172,), (1338132175,), (1338132187,), (1338132190,), (1338132406,), (1338132568,), (1338132598,), (1338132601,), (1338132604,), (1338132608,), (1338132956,), (1338132958,), (1338132961,), (1338132999,), (1338133001,), (1338133004,), (1338133007,), (1338133009,), (1338133012,), (1338133040,), (1338133043,), (1338133046,), (1338133049,), (1338133052,), (1338133054,), (1338133092,), (1338133094,), (1338133097,), (1338133100,), (1338133330,), (1338133342,), (1338133347,), (1338133350,), (1338133352,), (1338133361,), (1338133386,), (1338133389,), (1338133392,), (1338133430,), (1338133432,), (1338133435,), (1338133438,), (1338133463,), (1338133465,), (1338133468,), (1338133470,), (1338133474,), (1338133479,), (1338133516,), (1338133518,), (1338133521,), (1338133541,), (1338133628,), (1338133630,), (1338133633,), (1338133636,), (1338134140,), (1338134142,), (1338134145,), (1338134148,), (1338134155,), (1338134251,), (1338134347,), (1338134349,), (1338134353,), (1338134356,), (1338134393,), (1338134386,), (1338134388,), (1338134390,), (1338134434,), (1338134446,), (1338134449,), (1338134452,), (1338134456,), (1338134463,), (1338134485,), (1338134490,), (1338134501,), (1338134505,), (1338134800,), (1338134878,), (1338134945,), (1338135153,), (1338135265,), (1338135406,), (1338135608,), (1338135610,), (1338135794,), (1338135836,), (1338135838,), (1338135850,), (1338135993,), (1338135996,), (1338135999,), (1338136002,), (1338136004,), (1338136029,), (1338136031,), (1338136034,), (1338136037,), (1338136041,), (1338136053,), (1338136076,), (1338136078,), (1338136082,), (1338136085,), (1338136087,), (1338136194,), (1338136197,), (1338136200,), (1338136203,), (1338136211,), (1338136218,), (1338136238,), (1338136261,), (1338136264,), (1338136267,), (1338136292,), (1338136294,), (1338136301,), (1338136310,), (1338136313,), (1338136318,), (1338136353,), (1338136356,), (1338136359,), (1338136442,), (1338136448,), (1338136451,), (1338136453,), (1338136456,), (1338136459,), (1338136493,), (1338136536,), (1338136625,), (1338136710,), (1338136817,), (1338136826,), (1338136830,), (1338136842,), (1338136851,), (1338136855,), (1338136897,), (1338136884,), (1338136886,), (1338136889,), (1338136892,), (1338136895,), (1338136932,), (1338136935,), (1338136938,), (1338136941,), (1338136976,), (1338136979,), (1338136982,), (1338136985,), (1338136987,), (1338136990,), (1338137028,), (1338137030,), (1338137042,), (1338137146,), (1338137148,), (1338137151,), (1338137181,), (1338137183,), (1338137186,), (1338137240,), (1338137242,), (1338137245,), (1338137248,), (1338137290,), (1338137293,), (1338137297,), (1338137301,), (1338137305,), (1338137311,), (1338137503,), (1338137505,), (1338137508,), (1338137511,), (1338137513,), (1338137550,), (1338137552,), (1338137555,), (1338137558,), (1338137594,), (1338137597,), (1338137610,), (1338137613,), (1338137615,), (1338137702,), (1338137745,), (1338137748,), (1338137751,), (1338137790,), (1338137794,), (1338137797,), (1338137800,), (1338137802,), (1338137804,), (1338137864,), (1338137866,), (1338137869,), (1338137872,), (1338137874,), (1338137914,), (1338137917,), (1338137924,), (1338137927,), (1338137930,), (1338137955,), (1338137960,), (1338137964,), (1338137969,), (1338137972,), (1338137978,), (1338138003,), (1338137996,), (1338137999,), (1338138214,), (1338138220,), (1338138225,), (1338138229,), (1338138233,), (1338138242,), (1338138290,), (1338138293,), (1338138297,), (1338138301,), (1338138336,), (1338138339,), (1338138354,), (1338138358,), (1338138362,), (1338138364,), (1338138387,), (1338138390,), (1338138400,), (1338138404,), (1338138406,), (1338138423,), (1338138456,), (1338138463,), (1338138468,), (1338138472,), (1338138682,), (1338138686,), (1338138691,), (1338138695,), (1338138697,), (1338138703,), (1338138766,), (1338138769,), (1338138772,), (1338138776,), (1338138779,), (1338138807,), (1338138810,), (1338138814,), (1338138818,), (1338138861,), (1338138893,), (1338138900,), (1338138904,), (1338138909,), (1338138914,), (1338138959,), (1338138962,), (1338138968,), (1338138973,), (1338138998,), (1338139048,), (1338139051,), (1338139057,), (1338139068,), (1338139124,), (1338139126,), (1338139147,), (1338139151,), (1338139154,), (1338139157,), (1338139161,), (1338139189,), (1338139195,), (1338139203,), (1338139210,), (1338139218,), (1338139267,), (1338139252,), (1338139255,), (1338139260,), (1338139264,), (1338139320,), (1338139345,), (1338139353,), (1338139356,), (1338139531,), (1338139537,), (1338139543,), (1338139555,), (1338139560,), (1338139611,), (1338139649,), (1338140528,), (1338140532,), (1338140535,), (1338140537,), (1338140598,), (1338140600,), (1338140602,), (1338140605,), (1338140608,), (1338140663,), (1338140664,), (1338140666,), (1338140670,), (1338140760,), (1338140761,), (1338140765,), (1338140772,), (1338140814,), (1338140817,), (1338140832,), (1338140931,), (1338140933,), (1338140936,), (1338140940,), (1338140949,), (1338140993,), (1338140998,), (1338141003,), (1338141006,), (1338141011,), (1338141083,), (1338141086,), (1338141093,), (1338141097,), (1338141434,), (1338141515,), (1338141612,), (1338141679,), (1338141681,), (1338141748,), (1338142010,), (1338142020,), (1338142026,), (1338142031,), (1338142035,), (1338142037,), (1338142143,), (1338142241,), (1338142135,), (1338142140,), (1338142159,), (1338142162,), (1338142164,), (1338142167,), (1338142169,), (1338142177,), (1338142219,), (1338142250,), (1338142254,), (1338142256,), (1338142308,), (1338142533,), (1338142878,), (1338142926,), (1338142977,), (1338143226,), (1338143228,), (1338143230,), (1338143232,), (1338143233,), (1338143235,), (1338143278,), (1338143279,), (1338143281,), (1338143283,), (1338143284,), (1338143355,), (1338143361,), (1338143374,), (1338143489,), (1338143495,), (1338143502,), (1338143508,), (1338143511,), (1338143517,), (1338143571,), (1338143573,), (1338143579,), (1338143596,), (1338143603,), (1338143636,), (1338143640,), (1338143651,), (1338143652,), (1338143655,), (1338143695,), (1338143696,), (1338143698,), (1338143700,), (1338143701,), (1338143754,), (1338143760,), (1338143764,), (1338143768,), (1338143862,), (1338143866,), (1338143870,), (1338143874,), (1338143878,), (1338143880,), (1338143899,), (1338143900,), (1338143901,), (1338143954,), (1338143978,), (1338143985,), (1338144003,), (1338144042,), (1338144044,), (1338144053,), (1338144068,), (1338144082,), (1338144091,), (1338144094,), (1338144096,), (1338144100,), (1338144131,), (1338144126,), (1338144127,), (1338144129,), (1338144157,), (1338144162,), (1338144166,), (1338144169,), (1338144172,), (1338144186,), (1338144262,), (1338144282,), (1338144301,), (1338144307,), (1338144317,), (1338144361,), (1338144366,), (1338144371,), (1338144373,), (1338144398,), (1338144400,), (1338144403,), (1338144406,), (1338144408,), (1338144415,), (1338144495,), (1338144498,), (1338144501,), (1338144510,), (1338144514,), (1338144708,), (1338144710,), (1338144713,), (1338144716,), (1338144726,), (1338144767,), (1338144769,), (1338144772,), (1338144775,), (1338144822,), (1338144828,), (1338144831,), (1338144834,), (1338144840,), (1338144868,), (1338144870,), (1338144873,), (1338144876,), (1338144878,), (1338144913,), (1338144915,), (1338144918,), (1338144921,), (1338145206,), (1338145209,), (1338145212,), (1338145217,), (1338145219,), (1338145223,), (1338145249,), (1338145253,), (1338145256,), (1338145267,), (1338145303,), (1338145306,), (1338145309,), (1338145313,), (1338145315,), (1338145318,), (1338145333,), (1338145340,), (1338145351,), (1338145359,), (1338145361,), (1338145381,), (1338145376,), (1338145378,), (1338145683,), (1338145687,), (1338145694,), (1338145696,), (1338145700,), (1338145735,), (1338145737,), (1338145740,), (1338145743,), (1338145745,), (1338145749,), (1338145769,), (1338145771,), (1338145774,), (1338145777,), (1338145822,), (1338145825,), (1338145828,), (1338145831,), (1338145833,), (1338145856,), (1338145858,), (1338145871,), (1338146154,), (1338146213,), (1338146216,), (1338146219,), (1338146277,), (1338146280,), (1338146330,), (1338146332,), (1338146335,), (1338146383,), (1338146386,), (1338146390,), (1338146394,), (1338146397,), (1338146401,), (1338146437,), (1338146440,), (1338146444,), (1338146448,), (1338146450,), (1338146691,), (1338146693,), (1338146696,), (1338146699,), (1338146702,), (1338146756,), (1338146759,), (1338146762,), (1338146811,), (1338146826,), (1338146829,), (1338146983,), (1338146991,), (1338147006,), (1338147057,), (1338147066,), (1338147077,), (1338147081,), (1338147202,), (1338147177,), (1338147180,), (1338147183,), (1338147186,), (1338147192,), (1338147230,), (1338147233,), (1338147236,), (1338147239,), (1338147241,), (1338147244,), (1338147284,), (1338147286,), (1338147289,), (1338147548,), (1338147787,), (1338147789,), (1338147792,), (1338147795,), (1338147798,), (1338147800,), (1338147835,), (1338147838,), (1338147841,), (1338148050,), (1338148053,), (1338148056,), (1338148059,), (1338148061,), (1338148064,), (1338148095,), (1338148097,), (1338148100,), (1338148103,), (1338148105,), (1338148135,), (1338148137,), (1338148140,), (1338148143,), (1338148145,), (1338148200,), (1338148288,), (1338148291,), (1338148294,), (1338148296,), (1338148299,), (1338148349,), (1338148355,), (1338148358,), (1338148360,), (1338148436,), (1338148437,), (1338148439,), (1338148441,), (1338159502,), (1338159500,), (1338159527,), (1338159532,), (1338160715,), (1338160718,), (1338160748,), (1338160752,), (1338160756,), (1338160760,), (1338160785,), (1338160788,), (1338160792,), (1338160796,), (1338160800,), (1338160820,), (1338160822,), (1338160826,), (1338160935,), (1338160938,), (1338160941,), (1338161130,), (1338161155,), (1338161178,), (1338161181,), (1338161183,), (1338161451,), (1338161285,), (1338161289,), (1338161291,), (1338161381,), (1338161515,), (1338161518,), (1338161521,), (1338161524,), (1338161529,), (1338161757,), (1338161764,), (1338161771,), (1338161774,), (1338161798,), (1338161800,), (1338161803,), (1338163539,), (1338163552,), (1338163791,), (1338163792,), (1338163794,), (1338163796,), (1338163832,), (1338163834,), (1338163836,), (1338163837,), (1338163869,), (1338163872,), (1338163874,), (1338163876,), (1338163879,), (1338163906,), (1338163907,), (1338163909,), (1338163912,), (1338163949,), (1338163951,), (1338163953,), (1338163955,), (1338163958,), (1338164017,), (1338164009,), (1338164010,), (1338164013,), (1338164015,), (1338164110,), (1338164151,), (1338164157,), (1338164158,), (1338164183,), (1338164184,), (1338164749,), (1338164751,), (1338164764,), (1338164828,), (1338164829,), (1338164835,), (1338165143,), (1338165211,), (1338165290,), (1338165368,), (1338165463,), (1338165805,), (1338165806,), (1338165810,), (1338166136,), (1338166173,), (1338166197,), (1338166371,), (1338166431,), (1338166443,), (1338166479,), (1338166485,), (1338166490,), (1338166492,), (1338166493,), (1338166496,), (1338166530,), (1338166532,), (1338166538,), (1338166541,), (1338166622,), (1338166623,), (1338166626,), (1338166631,), (1338166677,), (1338166685,), (1338166687,), (1338166689,), (1338166713,), (1338166715,), (1338166717,), (1338166718,), (1338166720,), (1338166744,), (1338166748,), (1338166750,), (1338174079,), (1338173907,), (1338174076,), (1338174077,), (1338174105,), (1338174106,), (1338174108,), (1338174111,), (1338174114,), (1338174141,), (1338174142,), (1338174144,), (1338174146,), (1338174176,), (1338174178,), (1338174181,), (1338174183,), (1338174412,), (1338174416,), (1338174418,), (1338174524,), (1338174487,), (1338174498,), (1338174500,), (1338174508,), (1338174569,), (1338174570,), (1338174572,), (1338174574,), (1338174575,), (1338174696,), (1338174697,), (1338174711,), (1338174712,), (1338174738,), (1338174745,), (1338174749,), (1338174789,), (1338174793,), (1338174799,), (1338174803,), (1338174805,), (1338174848,), (1338174854,), (1338174858,), (1338174864,), (1338174868,), (1338175107,), (1338175111,), (1338175116,), (1338175121,), (1338175142,), (1338175145,), (1338175148,), (1338175152,), (1338175178,), (1338175180,), (1338175183,), (1338175186,), (1338175191,), (1338175231,), (1338175234,), (1338175240,), (1338175246,), (1338175250,), (1338175280,), (1338175288,), (1338175290,), (1338175297,), (1338175734,), (1338175738,), (1338175743,), (1338175746,), (1338175750,), (1338175756,), (1338175785,), (1338175787,), (1338175790,), (1338176032,), (1338176038,), (1338176042,), (1338176063,), (1338176069,), (1338176074,), (1338176095,), (1338176097,), (1338176137,), (1338176124,), (1338176128,), (1338176132,), (1338176135,), (1338176463,), (1338176466,), (1338176470,), (1338176477,), (1338176483,), (1338176507,), (1338176510,), (1338176514,), (1338176527,), (1338176533,), (1338176589,), (1338176592,), (1338176596,), (1338176602,), (1338176922,), (1338177006,), (1338177130,), (1338177194,), (1338177198,), (1338177640,), (1338177750,), (1338177840,), (1338177936,), (1338178076,), (1338178520,), (1338178585,), (1338178592,), (1338178717,), (1338178719,), (1338178723,), (1338178727,), (1338178729,), (1338178750,), (1338178752,), (1338178755,), (1338178758,), (1338178761,), (1338178765,), (1338178782,), (1338178784,), (1338178794,), (1338178834,), (1338178837,), (1338178840,), (1338178843,), (1338179117,), (1338179159,), (1338179206,), (1338179208,), (1338179212,), (1338179216,), (1338179220,), (1338179223,), (1338179267,), (1338179270,), (1338179274,), (1338179302,), (1338179305,), (1338179310,), (1338179313,), (1338179315,), (1338179320,), (1338179352,), (1338179338,), (1338179341,), (1338179345,), (1338179349,), (1338179670,), (1338179674,), (1338179678,), (1338179689,), (1338179736,), (1338179740,), (1338179744,), (1338179749,), (1338179751,), (1338179908,), (1338179918,), (1338180031,), (1338180199,), (1338180399,), (1338180622,), (1338180624,), (1338180665,), (1338180746,), (1338180748,), (1338180751,), (1338180754,), (1338180756,), (1338180777,), (1338180780,), (1338180784,), (1338180793,), (1338180796,), (1338180842,), (1338180844,), (1338180847,), (1338180940,), (1338180941,), (1338180959,), (1338180961,), (1338180964,), (1338180967,), (1338180971,), (1338180973,), (1338181098,), (1338181101,), (1338181105,), (1338181109,), (1338181114,), (1338181161,), (1338181163,), (1338181167,), (1338181171,), (1338181228,), (1338181230,), (1338181233,), (1338181236,), (1338181239,), (1338181242,), (1338181261,), (1338181263,), (1338181266,), (1338181331,), (1338181334,), (1338181390,), (1338181396,), (1338181399,), (1338181402,), (1338181404,), (1338181428,), (1338181431,), (1338181434,), (1338181438,), (1338181442,), (1338181446,), (1338181713,), (1338181675,), (1338181694,), (1338181702,), (1338181744,), (1338181747,), (1338181751,), (1338181753,), (1338181755,), (1338181927,), (1338181981,), (1338181987,), (1338181990,), (1338181992,), (1338182015,), (1338182114,), (1338182115,), (1338182119,), (1338182122,), (1338182145,), (1338182148,), (1338182151,), (1338182155,), (1338182200,), (1338182202,), (1338182207,), (1338182214,), (1338182218,), (1338182221,), (1338182481,), (1338182486,), (1338182488,), (1338182491,), (1338182552,), (1338182556,), (1338182572,), (1338182601,), (1338182603,), (1338182606,), (1338182608,), (1338182614,), (1338182618,), (1338182633,), (1338182635,), (1338182638,), (1338182643,), (1338182672,), (1338182674,), (1338182677,), (1338182680,), (1338182708,), (1338182715,), (1338182718,), (1338182721,), (1338182724,), (1338182727,), (1338182743,), (1338182745,), (1338182748,), (1338182751,), (1338182762,), (1338182768,), (1338182803,), (1338182805,), (1338182808,), (1338182811,), (1338182847,), (1338182849,), (1338182852,), (1338182896,), (1338182876,), (1338182878,), (1338182881,), (1338182889,), (1338182893,), (1338182911,), (1338182967,), (1338183069,), (1338183171,), (1338183199,), (1338183205,), (1338183224,), (1338183226,), (1338183233,), (1338183307,), (1338183310,), (1338183315,), (1338183372,), (1338183375,), (1338183488,), (1338183504,), (1338183510,), (1338183515,), (1338183531,), (1338183618,), (1338183621,), (1338183625,), (1338183633,), (1338183662,), (1338183666,), (1338183673,), (1338183677,), (1338183681,), (1338183684,), (1338183719,), (1338183725,), (1338183730,), (1338183736,), (1338183745,), (1338183753,), (1338183783,), (1338183788,), (1338183792,), (1338183853,), (1338183857,), (1338183866,), (1338183884,), (1338183888,), (1338183909,), (1338183911,), (1338183913,), (1338183915,), (1338183918,), (1338183922,), (1338183982,), (1338183993,), (1338183996,), (1338183998,), (1338184001,), (1338184058,), (1338184061,), (1338184064,), (1338184067,), (1338184074,), (1338184141,), (1338184146,), (1338184240,), (1338184339,), (1338184433,), (1338184536,), (1338184840,), (1338184944,), (1338185040,), (1338185129,), (1338185196,), (1338185177,), (1338185181,), (1338185186,), (1338185189,), (1338185193,), (1338185221,), (1338185227,), (1338185230,), (1338185233,), (1338185235,), (1338185271,), (1338185273,), (1338185275,), (1338185278,), (1338185312,), (1338185316,), (1338185318,), (1338185320,), (1338185330,), (1338185340,), (1338185427,), (1338185428,), (1338185429,), (1338185431,), (1338185439,), (1338186144,), (1338186148,), (1338186253,), (1338186612,), (1338186613,), (1338186614,), (1338186616,), (1338186619,), (1338186621,), (1338186656,), (1338186661,), (1338186664,), (1338186665,), (1338186667,), (1338186671,), (1338186706,), (1338186707,), (1338186708,), (1338186710,), (1338186752,), (1338186753,), (1338186754,), (1338186756,), (1338186759,), (1338186811,), (1338186820,), (1338186836,), (1338186843,), (1338186856,), (1338186858,), (1338186983,), (1338187067,), (1338187170,), (1338187250,), (1338187256,), (1338187282,), (1338187284,), (1338187287,), (1338187290,), (1338187293,), (1338187354,), (1338187369,), (1338187375,), (1338187402,), (1338187409,), (1338187619,), (1338187621,), (1338187624,), (1338187627,), (1338187629,), (1338187682,), (1338187672,), (1338187675,), (1338187678,), (1338187680,), (1338187812,), (1338187896,), (1338187981,), (1338188051,), (1338188089,), (1338188091,), (1338188094,), (1338188097,), (1338188099,), (1338188102,), (1338188183,), (1338188193,), (1338188196,), (1338188199,), (1338188202,), (1338188391,), (1338188431,), (1338188484,), (1338188497,), (1338188501,), (1338188506,), (1338188508,), (1338188546,), (1338188552,), (1338188612,), (1338188614,), (1338188617,), (1338188684,), (1338188686,), (1338188689,), (1338188777,), (1338188779,), (1338188798,), (1338188901,), (1338189004,), (1338189084,), (1338189568,), (1338189570,), (1338189573,), (1338189580,), (1338189870,), (1338189879,), (1338189939,), (1338189960,), (1338189962,), (1338189966,), (1338189983,), (1338189985,), (1338189991,), (1338189995,), (1338190003,), (1338190007,), (1338190026,), (1338190030,), (1338190033,), (1338190054,), (1338196234,), (1338196347,), (1338196467,), (1338196469,), (1338196472,), (1338196474,), (1338196480,), (1338196484,), (1338196503,), (1338196504,), (1338196506,), (1338197156,), (1338197157,), (1338197168,), (1338197338,), (1338197352,), (1338197433,), (1338197434,), (1338197610,), (1338197612,), (1338197613,), (1338197647,), (1338197650,), (1338197653,), (1338197655,), (1338197840,), (1338197842,), (1338197843,), (1338197844,), (1338197845,), (1338197903,), (1338197922,), (1338197923,), (1338197931,), (1338197933,), (1338197935,), (1338197982,), (1338197983,), (1338197985,), (1338198028,), (1338198029,), (1338198031,), (1338198033,), (1338198034,), (1338198036,), (1338198255,), (1338198256,), (1338198261,), (1338198265,), (1338198267,), (1338198285,), (1338198287,), (1338198289,), (1338198331,), (1338198316,), (1338198321,), (1338198327,), (1338198329,), (1338198415,), (1338198416,), (1338198418,), (1338198487,), (1338198488,), (1338198490,), (1338198492,), (1338198946,), (1338198947,), (1338198949,), (1338198951,), (1338199157,), (1338199184,), (1338199276,), (1338199278,), (1338199280,), (1338199301,), (1338199302,), (1338199304,), (1338199306,), (1338199528,), (1338199549,), (1338199551,), (1338199553,), (1338199623,), (1338199625,), (1338199628,), (1338199631,), (1338199634,), (1338199653,), (1338199655,), (1338199658,), (1338199661,), (1338199665,), (1338199689,), (1338199695,), (1338199699,), (1338199702,), (1338199704,), (1338199707,), (1338199751,), (1338199754,), (1338199757,), (1338199760,), (1338199778,), (1338199780,), (1338199783,), (1338199790,), (1338199796,), (1338199824,), (1338199830,), (1338199841,), (1338199982,), (1338200003,), (1338200283,), (1338200287,), (1338200290,), (1338200337,), (1338200339,), (1338200342,), (1338200345,), (1338200347,), (1338200352,), (1338200495,), (1338200367,), (1338200369,), (1338200372,), (1338200488,), (1338200576,), (1338200578,), (1338200581,), (1338200584,), (1338200607,), (1338200609,), (1338200612,), (1338200615,), (1338200617,), (1338200621,), (1338200646,), (1338200650,), (1338200653,), (1338200655,), (1338200707,), (1338200710,), (1338200713,), (1338200717,), (1338200765,), (1338200769,), (1338200808,), (1338200815,), (1338200819,), (1338200823,), (1338200826,), (1338200830,), (1338200856,), (1338200859,), (1338200863,), (1338200867,), (1338200917,), (1338200920,), (1338200922,), (1338200924,), (1338200927,), (1338200932,), (1338200956,), (1338200959,), (1338200963,), (1338200967,), (1338200969,), (1338200972,), (1338201004,), (1338201006,), (1338201008,), (1338201055,), (1338201061,), (1338201064,), (1338201067,), (1338201070,), (1338201073,), (1338201103,), (1338201105,), (1338201112,), (1338201114,), (1338201116,), (1338201192,), (1338201194,), (1338201197,), (1338201200,), (1338201203,), (1338201299,), (1338201302,), (1338201306,), (1338201334,), (1338202509,), (1338202336,), (1338202418,), (1338202501,), (1338202508,), (1338202755,), (1338202811,), (1338202814,), (1338202821,), (1338202825,), (1338202874,), (1338202875,), (1338202877,), (1338202879,), (1338202882,), (1338202886,), (1338202920,), (1338202922,), (1338202925,), (1338202928,), (1338202962,), (1338202967,), (1338202968,), (1338202971,), (1338203008,), (1338203011,), (1338203014,), (1338203016,), (1338203019,), (1338203021,), (1338203050,), (1338203052,), (1338203055,), (1338203058,), (1338203060,), (1338203554,), (1338203557,), (1338203561,), (1338203565,), (1338203585,), (1338203590,), (1338203870,), (1338203873,), (1338203876,), (1338203879,), (1338203934,), (1338203943,), (1338203947,), (1338203951,), (1338203953,), (1338203958,), (1338203982,), (1338203985,), (1338203990,), (1338203994,), (1338203998,), (1338204241,), (1338204251,), (1338204258,), (1338204261,), (1338204342,), (1338204343,), (1338204374,), (1338204408,), (1338204414,), (1338204524,), (1338204533,), (1338204537,), (1338204542,), (1338204555,), (1338204612,), (1338204613,), (1338204616,), (1338204617,), (1338204621,), (1338204624,), (1338204660,), (1338204649,), (1338204652,), (1338204655,), (1338204658,), (1338204702,), (1338204710,), (1338204716,), (1338204726,), (1338204728,), (1338204731,), (1338204755,), (1338204757,), (1338204760,), (1338204789,), (1338204803,), (1338204806,), (1338204809,), (1338204818,), (1338205500,), (1338205502,), (1338205506,), (1338205509,), (1338205511,), (1338205814,), (1338205820,), (1338205824,), (1338205858,), (1338205860,), (1338205863,), (1338205866,), (1338205868,), (1338205873,), (1338205887,), (1338205890,), (1338205893,), (1338205901,), (1338205908,), (1338205923,), (1338205925,), (1338205928,), (1338205956,), (1338205959,), (1338205965,), (1338205968,), (1338205969,), (1338205972,), (1338205984,), (1338205986,), (1338205989,), (1338205992,), (1338205995,), (1338206019,), (1338206021,), (1338206024,), (1338206049,), (1338206051,), (1338206054,), (1338206057,), (1338206059,), (1338206083,), (1338206085,), (1338206089,), (1338206092,), (1338206094,), (1338206098,), (1338206116,), (1338206119,), (1338206122,), (1338206125,), (1338206166,), (1338206161,), (1338206163,), (1338206210,), (1338206214,), (1338206216,), (1338206222,), (1338206228,), (1338206237,), (1338206268,), (1338206270,), (1338206272,), (1338206273,), (1338206274,), (1338206290,), (1338206294,), (1338206297,), (1338206299,), (1338206321,), (1338206325,), (1338206385,), (1338207084,), (1338207085,), (1338207277,), (1338207642,), (1338207649,), (1338207652,), (1338207655,), (1338207658,), (1338207678,), (1338207680,), (1338207683,), (1338207686,), (1338207714,), (1338207716,), (1338207719,), (1338207722,), (1338207724,), (1338207747,), (1338207751,), (1338207755,), (1338207760,), (1338207763,), (1338207767,), (1338207795,), (1338207811,), (1338207815,), (1338207818,), (1338207842,), (1338207998,), (1338207990,), (1338207992,), (1338207995,), (1338208096,), (1338208133,), (1338208142,), (1338208146,), (1338208147,), (1338208149,), (1338208186,), (1338208188,), (1338208191,), (1338208194,), (1338208204,), (1338208463,), (1338208888,), (1338208890,), (1338208893,), (1338208896,), (1338208946,), (1338208953,), (1338208956,), (1338208990,), (1338209012,), (1338209026,), (1338209097,), (1338209099,), (1338209102,), (1338209105,), (1338209134,), (1338209136,), (1338209139,), (1338209187,), (1338209195,), (1338209198,), (1338209201,), (1338209203,), (1338209206,), (1338209228,), (1338209231,), (1338209235,), (1338209239,), (1338209242,), (1338209246,), (1338209265,), (1338209268,), (1338209272,), (1338209275,), (1338209292,), (1338209294,), (1338209297,), (1338209300,), (1338209328,), (1338209357,), (1338209358,), (1338209404,), (1338209407,), (1338209410,), (1338209413,), (1338209440,), (1338209451,), (1338209454,), (1338209542,), (1338209584,), (1338209587,), (1338209590,), (1338209594,), (1338209599,), (1338209627,), (1338209629,), (1338209688,), (1338209731,), (1338209733,), (1338209736,), (1338209765,), (1338209756,), (1338209760,), (1338209763,), (1338209802,), (1338209806,), (1338209808,), (1338209810,), (1338209813,), (1338209816,), (1338209832,), (1338209836,), (1338209885,), (1338209887,), (1338209896,), (1338209907,), (1338209924,), (1338210714,), (1338210718,), (1338210721,), (1338210723,), (1338211007,), (1338211009,), (1338211012,), (1338211015,), (1338211018,), (1338211128,), (1338211139,), (1338211142,), (1338211145,), (1338211187,), (1338211190,), (1338211193,), (1338211196,), (1338211197,), (1338211213,), (1338211215,), (1338211218,), (1338211221,), (1338211223,), (1338211230,), (1338211349,), (1338211354,), (1338211357,), (1338211360,), (1338211363,), (1338211369,), (1338211397,), (1338211399,), (1338211402,), (1338211405,), (1338211423,), (1338211425,), (1338211429,), (1338211448,), (1338211454,), (1338211626,), (1338211630,), (1338211654,), (1338211693,), (1338211684,), (1338211687,), (1338211690,), (1338211798,), (1338211809,), (1338211817,), (1338211818,), (1338211866,), (1338211868,), (1338211871,), (1338211874,), (1338211876,), (1338211895,), (1338211897,), (1338211900,), (1338211958,), (1338212067,), (1338212874,), (1338212878,), (1338212880,), (1338212976,), (1338213018,), (1338213131,), (1338213133,), (1338213158,), (1338213161,), (1338213163,), (1338213166,), (1338213169,), (1338213172,), (1338213216,), (1338213218,), (1338213221,), (1338213224,), (1338213227,), (1338213241,), (1338213243,), (1338213246,), (1338213249,), (1338213304,), (1338213306,), (1338213309,), (1338213311,), (1338213313,), (1338213328,), (1338213330,), (1338213333,), (1338213336,), (1338213339,), (1338213346,), (1338213523,), (1338213525,), (1338213528,), (1338213542,), (1338213547,), (1338213551,), (1338213580,), (1338213582,), (1338213585,), (1338213588,), (1338213590,), (1338213623,), (1338213626,), (1338213635,), (1338213643,), (1338213644,), (1338213646,), (1338213662,), (1338213663,), (1338213665,), (1338213699,), (1338213690,), (1338213691,), (1338213693,), (1338213695,), (1338213968,), (1338213970,), (1338213972,), (1338213973,), (1338213975,), (1338214002,), (1338214004,), (1338214006,), (1338214008,), (1338214031,), (1338214032,), (1338214037,), (1338214039,), (1338214042,), (1338214044,), (1338214074,), (1338214076,), (1338214079,), (1338214082,), (1338214084,), (1338214087,), (1338214118,), (1338214121,), (1338214125,), (1338214129,), (1338214166,), (1338214169,), (1338214173,), (1338214177,), (1338214180,), (1338214201,), (1338214204,), (1338214208,), (1338214213,), (1338214217,), (1338214229,), (1338214269,), (1338214275,), (1338214283,), (1338214310,), (1338214313,), (1338214317,), (1338214321,), (1338214323,), (1338214372,), (1338214374,), (1338214377,), (1338214380,), (1338214382,), (1338214555,), (1338214557,), (1338214560,), (1338214563,), (1338214565,), (1338214589,), (1338214590,), (1338214623,), (1338214627,), (1338214629,), (1338214631,), (1338214654,), (1338214656,), (1338214658,), (1338214660,), (1338214663,), (1338214690,), (1338214683,), (1338214684,), (1338214686,), (1338214688,), (1338214740,), (1338214742,), (1338214744,), (1338215209,), (1338215210,), (1338215212,), (1338215214,), (1338215253,), (1338215255,), (1338215358,), (1338215404,), (1338215438,), (1338215445,), (1338215453,), (1338215455,), (1338215457,), (1338215485,), (1338215487,), (1338215490,), (1338215494,), (1338215525,), (1338215569,), (1338215570,), (1338215572,), (1338215574,), (1338215575,), (1338215591,), (1338215592,), (1338215594,), (1338215596,), (1338215621,), (1338215624,), (1338215626,), (1338215628,), (1338215633,), (1338215638,), (1338215653,), (1338215654,), (1338215656,), (1338218878,), (1338219898,), (1338221075,), (1338221107,), (1338221123,), (1338221160,), (1338221173,), (1338221175,), (1338222535,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'17022025': {'nb_upload': 41, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20608630]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1338164017, 1338163958, 1338163955, 1338163953, 1338163951, 1338163949, 1338163912, 1338163909, 1338163907, 1338163906, 1338163879, 1338163876, 1338163874, 1338163872, 1338163869, 1338163837, 1338163836, 1338163834, 1338163832, 1338163796, 1338163794, 1338163792, 1338163791, 1338163552, 1338163539, 1338161803, 1338161800, 1338161798, 1338161774, 1338161771, 1338161764, 1338161757, 1338161529, 1338161524, 1338161521, 1338161518, 1338161515, 1338161381, 1338161291, 1338161289, 1338161285] map_info['map_portfolio_photo'] : {20608630: [1338164017, 1338163958, 1338163955, 1338163953, 1338163951, 1338163949, 1338163912, 1338163909, 1338163907, 1338163906, 1338163879, 1338163876, 1338163874, 1338163872, 1338163869, 1338163837, 1338163836, 1338163834, 1338163832, 1338163796, 1338163794, 1338163792, 1338163791, 1338163552, 1338163539, 1338161803, 1338161800, 1338161798, 1338161774, 1338161771, 1338161764, 1338161757, 1338161529, 1338161524, 1338161521, 1338161518, 1338161515, 1338161381, 1338161291, 1338161289, 1338161285]} final : True mtd_id 4302 list_pids : [1338164017, 1338163958, 1338163955, 1338163953, 1338163951, 1338163949, 1338163912, 1338163909, 1338163907, 1338163906, 1338163879, 1338163876, 1338163874, 1338163872, 1338163869, 1338163837, 1338163836, 1338163834, 1338163832, 1338163796, 1338163794, 1338163792, 1338163791, 1338163552, 1338163539, 1338161803, 1338161800, 1338161798, 1338161774, 1338161771, 1338161764, 1338161757, 1338161529, 1338161524, 1338161521, 1338161518, 1338161515, 1338161381, 1338161291, 1338161289, 1338161285] Looping around the photos to save general results len do output : 1 /20608630Didn'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, '2595266') ('4302', '20608630', '1338164017', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163958', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163955', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163953', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163951', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163949', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163912', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163909', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163907', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163906', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163879', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163876', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163874', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163872', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163869', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163837', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163836', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163834', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163832', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163796', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163794', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163792', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163791', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163552', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338163539', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161803', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161800', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161798', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161774', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161771', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161764', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161757', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161529', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161524', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161521', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161518', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161515', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161381', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161291', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161289', None, None, None, None, None, '2595266') ('4302', None, None, None, None, None, None, None, '2595266') ('4302', '20608630', '1338161285', None, None, None, None, None, '2595266') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '20608630', 'None', None, None, None, None, '2595266'), ('4302', '20608630', '1338164017', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163958', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163955', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163953', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163951', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163949', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163912', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163909', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163907', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163906', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163879', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163876', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163874', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163872', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163869', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163837', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163836', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163834', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163832', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163796', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163794', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163792', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163791', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163552', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338163539', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161803', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161800', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161798', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161774', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161771', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161764', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161757', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161529', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161524', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161521', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161518', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161515', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161381', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161291', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161289', None, None, None, None, None, '2595266'), ('4302', '20608630', '1338161285', None, None, None, None, None, '2595266')] time used for this insertion : 0.02141404151916504 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.6516435146331787 time spend to save output : 0.021857261657714844 total time spend for step 5 : 3.6735007762908936 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 (2595266) 3.07user 2.13system 0:18.89elapsed 27%CPU (0avgtext+0avgdata 169416maxresident)k 528inputs+34376outputs (9major+82200minor)pagefaults 0swaps